smoothly 0.2.11 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-accordion_50.cjs.entry.js +41 -30
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/components/app-demo/index.js +10 -10
- package/dist/collection/components/display-amount/index.js +22 -1
- package/dist/collection/components/display-demo/index.js +9 -0
- package/dist/collection/components/menu-options/index.js +31 -10
- package/dist/collection/components/option/index.js +81 -6
- package/dist/collection/components/option/style.css +31 -35
- package/dist/collection/components/picker/index.js +26 -21
- package/dist/collection/components/select-demo/index.js +4 -4
- package/dist/collection/components/skeleton/index.js +1 -1
- package/dist/collection/model/{OptionType.js → Option.js} +0 -0
- package/dist/custom-elements/index.js +46 -35
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-accordion_50.entry.js +41 -30
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/p-b92b1eb7.entry.js +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/display-amount/index.d.ts +1 -0
- package/dist/types/components/menu-options/index.d.ts +10 -6
- package/dist/types/components/option/index.d.ts +7 -0
- package/dist/types/components/picker/index.d.ts +11 -10
- package/dist/types/components.d.ts +22 -11
- package/dist/types/index.d.ts +1 -1
- package/dist/types/model/Option.d.ts +7 -0
- package/dist/types/model/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/smoothly/p-956089d5.entry.js +0 -1
- package/dist/types/model/OptionType.d.ts +0 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-191ee4b8.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-8e4e941e",[[2,"smoothly-google-font",{value:[1]}]]],["p-9bc77fba",[[4,"smoothly-radio-group",{orientation:[513]}]]],["p-7a5eda51",[[0,"smoothly-reorder"]]],["p-8aefcb54",[[2,"smoothly-svg",{url:[513],size:[513],color:[1]}]]],["p-d5d4832d",[[6,"smoothly-trigger-sink",{context:[16],destination:[1],filter:[1]},[[0,"trigger","TriggerListener"]]]]],["p-919ae3e8",[[6,"smoothly-trigger-source",{listen:[1]}]]],["p-
|
|
1
|
+
import{p as e,b as o}from"./p-191ee4b8.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-8e4e941e",[[2,"smoothly-google-font",{value:[1]}]]],["p-9bc77fba",[[4,"smoothly-radio-group",{orientation:[513]}]]],["p-7a5eda51",[[0,"smoothly-reorder"]]],["p-8aefcb54",[[2,"smoothly-svg",{url:[513],size:[513],color:[1]}]]],["p-d5d4832d",[[6,"smoothly-trigger-sink",{context:[16],destination:[1],filter:[1]},[[0,"trigger","TriggerListener"]]]]],["p-919ae3e8",[[6,"smoothly-trigger-source",{listen:[1]}]]],["p-b92b1eb7",[[0,"smoothly-app-demo",{baseUrl:[1,"base-url"]}],[0,"smoothly-input-demo"],[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]],[2,"smoothly-table-demo"],[0,"smoothly-display-demo"],[4,"smoothly-app",{color:[1]}],[0,"smoothly-dialog-demo"],[2,"smoothly-icon-demo"],[6,"smoothly-button",{color:[513],expand:[513],fill:[513],disabled:[516],type:[513],link:[1],download:[4]}],[4,"smoothly-room",{label:[1],icon:[1],path:[1],to:[1]}],[2,"smoothly-input-date-range",{value:[1025],start:[1025],end:[1025],max:[1025],min:[1025],open:[1028],showLabel:[516,"show-label"]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]],[1,"smoothly-picker",{disabled:[516],readonly:[516],maxMenuHeight:[1,"max-menu-height"],maxHeight:[1,"max-height"],emptyMenuLabel:[1025,"empty-menu-label"],multiple:[516],mutable:[4],optionStyle:[8,"option-style"],options:[1040],labelSetting:[513,"label-setting"],label:[513],selections:[1040],selectNoneName:[1025,"select-none-name"],selectAllName:[1025,"select-all-name"],selectionName:[1025,"selection-name"],newOptionLabel:[1025,"new-option-label"],valueValidator:[16],isOpen:[32],empty:[32]},[[0,"optionSelect","optionSelectHandler"],[0,"optionUnselect","optionSelectHandler"],[0,"optionAdd","optionAddHandler"],[0,"menuEmpty","emptyHandler"]]],[6,"smoothly-notifier",{notices:[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[6,"smoothly-dialog",{color:[513],open:[1540],closable:[516],header:[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-backtotop",{opacity:[1],bottom:[1],right:[1],visible:[32]}],[2,"smoothly-checkbox",{selectAll:[4,"select-all"],size:[1],intermediate:[1540],selected:[1540],disabled:[1540],t:[32]}],[6,"smoothly-submit",{processing:[1540],color:[513],expand:[513],fill:[513],disabled:[516],prevent:[4],submit:[64]},[[0,"click","handleSubmit"]]],[6,"smoothly-table-expandable-cell",{align:[1],open:[1540]},[[0,"click","onClick"]]],[6,"smoothly-table-expandable-row",{align:[1],open:[1540]},[[0,"click","onClick"]]],[0,"smoothly-urlencoded",{data:[1]}],[6,"smoothly-accordion",{value:[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]],[6,"smoothly-accordion-item",{name:[1],brand:[1],open:[1540]}],[2,"smoothly-display",{type:[1],value:[8],currency:[1],country:[1],format:[16]}],[2,"smoothly-frame",{url:[1],name:[1],origin:[1],send:[64]}],[6,"smoothly-popup",{visible:[1540],direction:[1537],cssVariables:[32]}],[6,"smoothly-radio",{name:[1],value:[1],checked:[1540],tabIndex:[2,"tab-index"]}],[6,"smoothly-select",{identifier:[1],background:[513],value:[1025]}],[2,"smoothly-skeleton",{widths:[16],width:[1025],color:[1],period:[2],distance:[1],align:[513]}],[6,"smoothly-table",null,[[0,"expansionLoad","handleEvents"],[0,"expansionOpen","handleEvents"]]],[6,"smoothly-table-cell"],[6,"smoothly-table-header",{name:[1]}],[6,"smoothly-table-row",null,[[0,"expansionLoad","onExpansionLoad"],[0,"expansionOpen","onExpansionOpen"]]],[6,"smoothly-input-date",{name:[513],value:[1025],open:[1028],max:[1025],min:[1025],disabled:[1028]},[[0,"dateSet","dateSetHandler"]]],[1,"smoothly-menu-options",{toggle:[4],emptyMenuLabel:[1025,"empty-menu-label"],newOptionLabel:[1,"new-option-label"],maxMenuHeight:[1,"max-menu-height"],order:[4],optionStyle:[8,"option-style"],options:[1040],resetHighlightOnOptionsChange:[1028,"reset-highlight-on-options-change"],mutable:[4],filteredOptions:[32],highlightIndex:[32],keyword:[32],moveHighlight:[64],setHighlight:[64],getHighlighted:[64],filterOptions:[64]},[[0,"optionHover","optionHoverHandler"]]],[2,"smoothly-notification",{notice:[16],tick:[32]},[[0,"trigger","onTrigger"]]],[2,"smoothly-display-amount",{amount:[8],currency:[1],toInteger:[4,"to-integer"]}],[2,"smoothly-display-date-time",{datetime:[1]}],[2,"smoothly-spinner",{active:[516],size:[513]}],[6,"smoothly-tab",{label:[1],open:[1540]},[[0,"click","onClick"]]],[6,"smoothly-tab-switch",{selectedElement:[32]},[[0,"expansionOpen","openChanged"]]],[0,"smoothly-tuple",{tuple:[16]}],[1,"smoothly-option",{aliases:[513],dataHighlight:[1540,"data-highlight"],name:[1537],value:[1537],divider:[1540],checkbox:[4],new:[4],toggle:[4],checked:[1028]}],[2,"smoothly-calendar",{month:[1025],value:[1025],start:[1025],end:[1025],max:[1025],min:[1025],doubleInput:[516,"double-input"],firstSelected:[32]}],[6,"smoothly-input",{name:[513],value:[1032],type:[513],required:[1540],minLength:[1026,"min-length"],showLabel:[516,"show-label"],maxLength:[1026,"max-length"],autocomplete:[1028],pattern:[1040],placeholder:[1025],disabled:[1028],readonly:[1028],currency:[513],initialValue:[32],getFormData:[64],setKeepFocusOnReRender:[64],setSelectionRange:[64]}],[2,"smoothly-input-month",{value:[1025]}],[6,"smoothly-quiet",{color:[1]}],[6,"smoothly-selector",{opened:[32],selectedElement:[32],missing:[32],filter:[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]],[6,"smoothly-item",{value:[8],selected:[1540],filter:[64]},[[0,"click","onClick"]]],[6,"smoothly-trigger",{color:[513],expand:[513],fill:[513],disabled:[516],type:[513],name:[1],value:[8]},[[0,"click","onClick"]]],[2,"smoothly-icon",{color:[513],fill:[513],name:[1],size:[513],toolTip:[1,"tool-tip"],document:[32]}]]]],e)));
|
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Option } from "../../model";
|
|
3
3
|
export declare class SmoothlyMenuOptions {
|
|
4
4
|
private firstOptionsElement;
|
|
5
|
+
private optionElements;
|
|
5
6
|
element: HTMLElement;
|
|
6
|
-
filteredOptions:
|
|
7
|
+
filteredOptions: (Option & {
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
})[];
|
|
7
10
|
highlightIndex: number;
|
|
8
11
|
keyword?: string;
|
|
12
|
+
toggle: boolean;
|
|
9
13
|
emptyMenuLabel: string;
|
|
10
14
|
newOptionLabel: string;
|
|
11
15
|
maxMenuHeight: "inherit";
|
|
12
16
|
order: boolean;
|
|
13
17
|
optionStyle: any;
|
|
14
|
-
options:
|
|
18
|
+
options: Option[];
|
|
15
19
|
resetHighlightOnOptionsChange: boolean;
|
|
16
20
|
mutable: boolean;
|
|
17
21
|
menuEmpty: EventEmitter<boolean>;
|
|
18
|
-
optionsChangeHandler(
|
|
22
|
+
optionsChangeHandler(): void;
|
|
19
23
|
optionHoverHandler(event: CustomEvent<{
|
|
20
24
|
value: any;
|
|
21
25
|
name: string;
|
|
22
26
|
}>): void;
|
|
23
27
|
moveHighlight(step: number): Promise<void>;
|
|
24
28
|
setHighlight(newIndex: number | string, scrollToHighlight?: boolean): Promise<void>;
|
|
25
|
-
getHighlighted(): Promise<
|
|
29
|
+
getHighlighted(): Promise<Option | undefined>;
|
|
26
30
|
filterOptions(keyword: string, excludeValues?: string[]): Promise<void>;
|
|
27
31
|
sortOptions(keyword: string): void;
|
|
28
|
-
getPriorityScore(option:
|
|
32
|
+
getPriorityScore(option: Option, keywordLowercase: string): number;
|
|
29
33
|
scrollTo(optionIndex: number): void;
|
|
30
34
|
render(): any;
|
|
31
35
|
}
|
|
@@ -6,7 +6,10 @@ export declare class SmoothlyOption {
|
|
|
6
6
|
name: string;
|
|
7
7
|
value: string;
|
|
8
8
|
divider?: boolean;
|
|
9
|
+
checkbox: boolean;
|
|
9
10
|
new?: boolean;
|
|
11
|
+
toggle: boolean;
|
|
12
|
+
checked: boolean;
|
|
10
13
|
optionHover: EventEmitter<{
|
|
11
14
|
value: any;
|
|
12
15
|
name: string;
|
|
@@ -15,6 +18,10 @@ export declare class SmoothlyOption {
|
|
|
15
18
|
value: any;
|
|
16
19
|
name: string;
|
|
17
20
|
}>;
|
|
21
|
+
optionUnselect: EventEmitter<{
|
|
22
|
+
value: any;
|
|
23
|
+
name: string;
|
|
24
|
+
}>;
|
|
18
25
|
optionAdd: EventEmitter<{
|
|
19
26
|
name: string;
|
|
20
27
|
value: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { Notice,
|
|
2
|
+
import { Notice, Option } from "../../model";
|
|
3
3
|
export declare class SmoothlyPicker {
|
|
4
4
|
private inputElement;
|
|
5
5
|
private keepFocusOnReRender;
|
|
@@ -9,35 +9,37 @@ export declare class SmoothlyPicker {
|
|
|
9
9
|
empty: boolean;
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
readonly: boolean;
|
|
12
|
-
maxMenuHeight:
|
|
12
|
+
maxMenuHeight: string;
|
|
13
13
|
maxHeight: string;
|
|
14
14
|
emptyMenuLabel: string;
|
|
15
15
|
multiple: boolean;
|
|
16
16
|
mutable: boolean;
|
|
17
17
|
optionStyle: any;
|
|
18
|
-
options:
|
|
18
|
+
options: (Option & {
|
|
19
|
+
checked?: boolean;
|
|
20
|
+
})[];
|
|
19
21
|
labelSetting: "hide" | "default";
|
|
20
22
|
label: string;
|
|
21
|
-
selections:
|
|
23
|
+
selections: Option[];
|
|
22
24
|
selectNoneName: string;
|
|
23
25
|
selectAllName: string;
|
|
24
26
|
selectionName: string;
|
|
25
27
|
newOptionLabel: string;
|
|
26
28
|
valueValidator: (value: any) => [boolean, Notice | undefined];
|
|
27
|
-
menuClose: EventEmitter<
|
|
29
|
+
menuClose: EventEmitter<Option[]>;
|
|
28
30
|
notice: EventEmitter<Notice>;
|
|
29
31
|
isOpenChangeHandler(): void;
|
|
30
32
|
componentDidRender(): void;
|
|
31
|
-
optionSelectHandler(event: CustomEvent<
|
|
33
|
+
optionSelectHandler(event: CustomEvent<Option>): void;
|
|
32
34
|
optionAddHandler(event: CustomEvent<{
|
|
33
35
|
name: string;
|
|
34
36
|
value: string;
|
|
35
37
|
}>): void;
|
|
36
38
|
emptyHandler(event: CustomEvent<boolean>): void;
|
|
37
|
-
toggle(option:
|
|
39
|
+
toggle(option: Option): void;
|
|
38
40
|
toggleAll(): void;
|
|
39
|
-
unselect(selection:
|
|
40
|
-
select(selection:
|
|
41
|
+
unselect(selection: Option): void;
|
|
42
|
+
select(selection: Option): void;
|
|
41
43
|
toggleHighlighted(): void;
|
|
42
44
|
highlightDefault(): void;
|
|
43
45
|
filterOptions(): void;
|
|
@@ -45,6 +47,5 @@ export declare class SmoothlyPicker {
|
|
|
45
47
|
onKeyDown(event: KeyboardEvent): void;
|
|
46
48
|
onClick(): void;
|
|
47
49
|
onBlur(): void;
|
|
48
|
-
getCheckHtml(checked: boolean): HTMLElement;
|
|
49
50
|
render(): any;
|
|
50
51
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { Color, Expand, Fill, Message, Notice,
|
|
8
|
+
import { Color, Expand, Fill, Message, Notice, Option, Trigger } from "./model";
|
|
9
9
|
import { CountryCode, Currency, Date, DateRange, DateTime } from "isoly";
|
|
10
10
|
import { Direction, Type } from "tidily";
|
|
11
11
|
import { GoogleFont } from "./model/GoogleFont";
|
|
@@ -73,6 +73,7 @@ export namespace Components {
|
|
|
73
73
|
interface SmoothlyDisplayAmount {
|
|
74
74
|
"amount": number | string;
|
|
75
75
|
"currency": Currency;
|
|
76
|
+
"toInteger": boolean;
|
|
76
77
|
}
|
|
77
78
|
interface SmoothlyDisplayDateTime {
|
|
78
79
|
"datetime": DateTime;
|
|
@@ -145,16 +146,17 @@ export namespace Components {
|
|
|
145
146
|
interface SmoothlyMenuOptions {
|
|
146
147
|
"emptyMenuLabel": string;
|
|
147
148
|
"filterOptions": (keyword: string, excludeValues?: string[]) => Promise<void>;
|
|
148
|
-
"getHighlighted": () => Promise<
|
|
149
|
+
"getHighlighted": () => Promise<Option | undefined>;
|
|
149
150
|
"maxMenuHeight": "inherit";
|
|
150
151
|
"moveHighlight": (step: number) => Promise<void>;
|
|
151
152
|
"mutable": boolean;
|
|
152
153
|
"newOptionLabel": string;
|
|
153
154
|
"optionStyle": any;
|
|
154
|
-
"options":
|
|
155
|
+
"options": Option[];
|
|
155
156
|
"order": boolean;
|
|
156
157
|
"resetHighlightOnOptionsChange": boolean;
|
|
157
158
|
"setHighlight": (newIndex: number | string, scrollToHighlight?: boolean) => Promise<void>;
|
|
159
|
+
"toggle": boolean;
|
|
158
160
|
}
|
|
159
161
|
interface SmoothlyNotification {
|
|
160
162
|
"notice": Notice;
|
|
@@ -163,10 +165,13 @@ export namespace Components {
|
|
|
163
165
|
}
|
|
164
166
|
interface SmoothlyOption {
|
|
165
167
|
"aliases": string;
|
|
168
|
+
"checkbox": boolean;
|
|
169
|
+
"checked": boolean;
|
|
166
170
|
"dataHighlight": boolean;
|
|
167
171
|
"divider"?: boolean;
|
|
168
172
|
"name": string;
|
|
169
173
|
"new"?: boolean;
|
|
174
|
+
"toggle": boolean;
|
|
170
175
|
"value": string;
|
|
171
176
|
}
|
|
172
177
|
interface SmoothlyPicker {
|
|
@@ -175,17 +180,17 @@ export namespace Components {
|
|
|
175
180
|
"label": string;
|
|
176
181
|
"labelSetting": "hide" | "default";
|
|
177
182
|
"maxHeight": string;
|
|
178
|
-
"maxMenuHeight":
|
|
183
|
+
"maxMenuHeight": string;
|
|
179
184
|
"multiple": boolean;
|
|
180
185
|
"mutable": boolean;
|
|
181
186
|
"newOptionLabel": string;
|
|
182
187
|
"optionStyle": any;
|
|
183
|
-
"options":
|
|
188
|
+
"options": (Option & { checked?: boolean })[];
|
|
184
189
|
"readonly": boolean;
|
|
185
190
|
"selectAllName": string;
|
|
186
191
|
"selectNoneName": string;
|
|
187
192
|
"selectionName": string;
|
|
188
|
-
"selections":
|
|
193
|
+
"selections": Option[];
|
|
189
194
|
"valueValidator": (value: any) => [boolean, Notice | undefined];
|
|
190
195
|
}
|
|
191
196
|
interface SmoothlyPopup {
|
|
@@ -869,6 +874,7 @@ declare namespace LocalJSX {
|
|
|
869
874
|
interface SmoothlyDisplayAmount {
|
|
870
875
|
"amount"?: number | string;
|
|
871
876
|
"currency"?: Currency;
|
|
877
|
+
"toInteger"?: boolean;
|
|
872
878
|
}
|
|
873
879
|
interface SmoothlyDisplayDateTime {
|
|
874
880
|
"datetime"?: DateTime;
|
|
@@ -951,9 +957,10 @@ declare namespace LocalJSX {
|
|
|
951
957
|
"newOptionLabel"?: string;
|
|
952
958
|
"onMenuEmpty"?: (event: SmoothlyMenuOptionsCustomEvent<boolean>) => void;
|
|
953
959
|
"optionStyle"?: any;
|
|
954
|
-
"options"?:
|
|
960
|
+
"options"?: Option[];
|
|
955
961
|
"order"?: boolean;
|
|
956
962
|
"resetHighlightOnOptionsChange"?: boolean;
|
|
963
|
+
"toggle"?: boolean;
|
|
957
964
|
}
|
|
958
965
|
interface SmoothlyNotification {
|
|
959
966
|
"notice"?: Notice;
|
|
@@ -963,6 +970,8 @@ declare namespace LocalJSX {
|
|
|
963
970
|
}
|
|
964
971
|
interface SmoothlyOption {
|
|
965
972
|
"aliases"?: string;
|
|
973
|
+
"checkbox"?: boolean;
|
|
974
|
+
"checked"?: boolean;
|
|
966
975
|
"dataHighlight"?: boolean;
|
|
967
976
|
"divider"?: boolean;
|
|
968
977
|
"name"?: string;
|
|
@@ -970,6 +979,8 @@ declare namespace LocalJSX {
|
|
|
970
979
|
"onOptionAdd"?: (event: SmoothlyOptionCustomEvent<{ name: string; value: string }>) => void;
|
|
971
980
|
"onOptionHover"?: (event: SmoothlyOptionCustomEvent<{ value: any; name: string }>) => void;
|
|
972
981
|
"onOptionSelect"?: (event: SmoothlyOptionCustomEvent<{ value: any; name: string }>) => void;
|
|
982
|
+
"onOptionUnselect"?: (event: SmoothlyOptionCustomEvent<{ value: any; name: string }>) => void;
|
|
983
|
+
"toggle"?: boolean;
|
|
973
984
|
"value"?: string;
|
|
974
985
|
}
|
|
975
986
|
interface SmoothlyPicker {
|
|
@@ -978,19 +989,19 @@ declare namespace LocalJSX {
|
|
|
978
989
|
"label"?: string;
|
|
979
990
|
"labelSetting"?: "hide" | "default";
|
|
980
991
|
"maxHeight"?: string;
|
|
981
|
-
"maxMenuHeight"?:
|
|
992
|
+
"maxMenuHeight"?: string;
|
|
982
993
|
"multiple"?: boolean;
|
|
983
994
|
"mutable"?: boolean;
|
|
984
995
|
"newOptionLabel"?: string;
|
|
985
|
-
"onMenuClose"?: (event: SmoothlyPickerCustomEvent<
|
|
996
|
+
"onMenuClose"?: (event: SmoothlyPickerCustomEvent<Option[]>) => void;
|
|
986
997
|
"onNotice"?: (event: SmoothlyPickerCustomEvent<Notice>) => void;
|
|
987
998
|
"optionStyle"?: any;
|
|
988
|
-
"options"?:
|
|
999
|
+
"options"?: (Option & { checked?: boolean })[];
|
|
989
1000
|
"readonly"?: boolean;
|
|
990
1001
|
"selectAllName"?: string;
|
|
991
1002
|
"selectNoneName"?: string;
|
|
992
1003
|
"selectionName"?: string;
|
|
993
|
-
"selections"?:
|
|
1004
|
+
"selections"?: Option[];
|
|
994
1005
|
"valueValidator"?: (value: any) => [boolean, Notice | undefined];
|
|
995
1006
|
}
|
|
996
1007
|
interface SmoothlyPopup {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Components, JSX } from "./components";
|
|
2
2
|
export { App, redirect } from "./components/App";
|
|
3
|
-
export { Autocomplete, ClientIdentifier, Color, Expand, Fill, GoogleFont, Message, Notice, Trigger,
|
|
3
|
+
export { Autocomplete, ClientIdentifier, Color, Expand, Fill, GoogleFont, Message, Notice, Trigger, Option, } from "./model";
|
|
4
4
|
export { Cosmetic } from "./utilities";
|
|
@@ -6,5 +6,5 @@ export { Fill } from "./Fill";
|
|
|
6
6
|
export { GoogleFont } from "./GoogleFont";
|
|
7
7
|
export { Message } from "./Message";
|
|
8
8
|
export { Notice } from "./Notice";
|
|
9
|
-
export {
|
|
9
|
+
export { Option } from "./Option";
|
|
10
10
|
export { Trigger } from "./Trigger";
|