Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximBalaganskiy committed Dec 6, 2019
1 parent 9bb09df commit 0a9154f
Show file tree
Hide file tree
Showing 35 changed files with 84 additions and 48 deletions.
2 changes: 2 additions & 0 deletions dist/amd/config-builder.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export declare class ConfigBuilder {
noWavesAttach: boolean;
autoButtonWaves: boolean;
useGlobalResources: boolean;
lookupSearchingText: string;
lookupNoMatchesText: string;
useAll(): ConfigBuilder;
useAutoComplete(): ConfigBuilder;
useBadge(): ConfigBuilder;
Expand Down
2 changes: 2 additions & 0 deletions dist/amd/config-builder.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/amd/config-builder.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion dist/amd/lookup/lookup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import * as au from "../aurelia";
import { LookupState } from "./lookup-state";
import { ILookupOptionsFunctionParameter } from "./i-lookup-options-function-parameter";
import { DiscardablePromise } from "../common/discardable-promise";
import { ConfigBuilder } from "../config-builder";
export declare type BlurAction = "Nothing" | "ClearOnNoMatch" | "SetOnMatch" | "Both";
export declare class MdLookup {
private element;
private taskQueue;
constructor(element: Element, taskQueue: au.TaskQueue);
private configBuilder;
constructor(element: Element, taskQueue: au.TaskQueue, configBuilder: ConfigBuilder);
static searching: symbol;
static error: symbol;
errorMessage: string;
Expand Down
7 changes: 3 additions & 4 deletions dist/amd/lookup/lookup.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@

<div style="position: relative">
<div class="input-field">
<input id="${controlId}" type="text" value.bind="filter & debounce: debounce" ref="input" readonly.bind="readonly" blur.trigger="blur()"
focus.trigger="focus()" class="${validationClass}"/>
<input id="${controlId}" type="text" value.bind="filter & debounce: debounce" ref="input" readonly.bind="readonly" blur.trigger="blur()" focus.trigger="focus()" class="${validationClass}" />
<label for="${controlId}" ref="labelElement">${label}</label>
<span repeat.for="r of validateResults" class="helper-text" data-error.bind="r.message"></span>
<div ref="dropdown" if.bind="isOpen" class="dropdown-div z-depth-1">
<ul ref="dropdownUl" class="collection">
<li if.bind="state === LookupState.searching" class="disabled collection-item" md-wait-cursor.bind="true">
<template replaceable part="searching-template">
Searching...
${configBuilder.lookupSearchingText}
</template>
</li>
<li if.bind="state === LookupState.noMatches" class="disabled collection-item">
<template replaceable part="no-matches-template">
No Matches
${configBuilder.lookupNoMatchesText}
</template>
</li>
<li if.bind="state === LookupState.error" class="disabled collection-item">
Expand Down
7 changes: 4 additions & 3 deletions dist/amd/lookup/lookup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0a9154f

Please sign in to comment.