smoothly 0.3.10 → 0.3.12
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/getLanguage-aa9af88b.js +12003 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-accordion_53.cjs.entry.js +156 -12152
- package/dist/cjs/smoothly-country.cjs.entry.js +11948 -0
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/country/index.js +70 -0
- package/dist/collection/components/radio-button/index.js +23 -3
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +11949 -3
- package/dist/esm/getLanguage-3dbe8ccd.js +12001 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-accordion_53.entry.js +154 -12150
- package/dist/esm/smoothly-country.entry.js +11944 -0
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/p-41e29ef7.js +1 -0
- package/dist/smoothly/p-6acd7162.entry.js +1 -0
- package/dist/smoothly/p-70ffff42.entry.js +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/country/index.d.ts +9 -0
- package/dist/types/components/radio-button/index.d.ts +5 -1
- package/dist/types/components.d.ts +20 -1
- package/package.json +1 -1
- package/dist/smoothly/p-8863e314.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-af90d05a.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-3bd18eea",[[2,"smoothly-google-font",{value:[1]}]]],["p-a1c137fc",[[4,"smoothly-radio-group",{orientation:[513]}]]],["p-f67259c5",[[0,"smoothly-reorder"]]],["p-0833f25c",[[6,"smoothly-trigger-sink",{context:[16],destination:[1],filter:[1]},[[0,"trigger","TriggerListener"]]]]],["p-2bf8c660",[[6,"smoothly-trigger-source",{listen:[1]}]]],["p-
|
|
1
|
+
import{p as e,b as o}from"./p-af90d05a.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-6acd7162",[[2,"smoothly-country",{value:[1],text:[1],language:[32]}]]],["p-3bd18eea",[[2,"smoothly-google-font",{value:[1]}]]],["p-a1c137fc",[[4,"smoothly-radio-group",{orientation:[513]}]]],["p-f67259c5",[[0,"smoothly-reorder"]]],["p-0833f25c",[[6,"smoothly-trigger-sink",{context:[16],destination:[1],filter:[1]},[[0,"trigger","TriggerListener"]]]]],["p-2bf8c660",[[6,"smoothly-trigger-source",{listen:[1]}]]],["p-70ffff42",[[0,"smoothly-app-demo",{baseUrl:[1,"base-url"]}],[0,"smoothly-input-demo"],[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]],[0,"smoothly-display-demo"],[2,"smoothly-table-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-radio-button-item",{value:[8],selected:[1540],color:[513]}],[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-display-amount",{amount:[8],currency:[1],toInteger:[4,"to-integer"]}],[2,"smoothly-display-date-time",{datetime:[1]}],[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-radio-button",{name:[1],value:[1032],deselectable:[516],decoration:[513]},[[2,"radioItemSelectInternal","radioSelectHandler"]]],[6,"smoothly-select",{identifier:[1],background:[513],value:[1025]}],[2,"smoothly-skeleton",{widths:[16],width:[1025],color:[1],period:[2],distance:[1],align:[513]}],[2,"smoothly-svg",{url:[513],size:[513],color:[1]}],[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"]]],[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-spinner",{active:[516],size:[513]}],[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,11 +1,15 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import { Selected } from "./Selected";
|
|
3
3
|
export declare class SmoothlyRadioButton {
|
|
4
|
+
name?: string;
|
|
4
5
|
value?: any;
|
|
5
6
|
deselectable?: boolean;
|
|
6
7
|
decoration: "button" | "radio";
|
|
7
8
|
active?: Selected;
|
|
8
|
-
radioButtonSelected: EventEmitter<
|
|
9
|
+
radioButtonSelected: EventEmitter<{
|
|
10
|
+
name: string | undefined;
|
|
11
|
+
value: any;
|
|
12
|
+
}>;
|
|
9
13
|
radioSelectHandler(event: CustomEvent<Selected>): void;
|
|
10
14
|
render(): any;
|
|
11
15
|
}
|
|
@@ -56,6 +56,10 @@ export namespace Components {
|
|
|
56
56
|
"selected": boolean;
|
|
57
57
|
"size": "tiny" | "small" | "medium" | "large";
|
|
58
58
|
}
|
|
59
|
+
interface SmoothlyCountry {
|
|
60
|
+
"text": "alpha2" | "name" | "none";
|
|
61
|
+
"value": CountryCode.Alpha2;
|
|
62
|
+
}
|
|
59
63
|
interface SmoothlyDialog {
|
|
60
64
|
"closable": boolean;
|
|
61
65
|
"color": Color | undefined;
|
|
@@ -210,6 +214,7 @@ export namespace Components {
|
|
|
210
214
|
interface SmoothlyRadioButton {
|
|
211
215
|
"decoration": "button" | "radio";
|
|
212
216
|
"deselectable"?: boolean;
|
|
217
|
+
"name"?: string;
|
|
213
218
|
"value"?: any;
|
|
214
219
|
}
|
|
215
220
|
interface SmoothlyRadioButtonItem {
|
|
@@ -473,6 +478,12 @@ declare global {
|
|
|
473
478
|
prototype: HTMLSmoothlyCheckboxElement;
|
|
474
479
|
new (): HTMLSmoothlyCheckboxElement;
|
|
475
480
|
};
|
|
481
|
+
interface HTMLSmoothlyCountryElement extends Components.SmoothlyCountry, HTMLStencilElement {
|
|
482
|
+
}
|
|
483
|
+
var HTMLSmoothlyCountryElement: {
|
|
484
|
+
prototype: HTMLSmoothlyCountryElement;
|
|
485
|
+
new (): HTMLSmoothlyCountryElement;
|
|
486
|
+
};
|
|
476
487
|
interface HTMLSmoothlyDialogElement extends Components.SmoothlyDialog, HTMLStencilElement {
|
|
477
488
|
}
|
|
478
489
|
var HTMLSmoothlyDialogElement: {
|
|
@@ -782,6 +793,7 @@ declare global {
|
|
|
782
793
|
"smoothly-button": HTMLSmoothlyButtonElement;
|
|
783
794
|
"smoothly-calendar": HTMLSmoothlyCalendarElement;
|
|
784
795
|
"smoothly-checkbox": HTMLSmoothlyCheckboxElement;
|
|
796
|
+
"smoothly-country": HTMLSmoothlyCountryElement;
|
|
785
797
|
"smoothly-dialog": HTMLSmoothlyDialogElement;
|
|
786
798
|
"smoothly-dialog-demo": HTMLSmoothlyDialogDemoElement;
|
|
787
799
|
"smoothly-display": HTMLSmoothlyDisplayElement;
|
|
@@ -889,6 +901,10 @@ declare namespace LocalJSX {
|
|
|
889
901
|
"selected"?: boolean;
|
|
890
902
|
"size"?: "tiny" | "small" | "medium" | "large";
|
|
891
903
|
}
|
|
904
|
+
interface SmoothlyCountry {
|
|
905
|
+
"text"?: "alpha2" | "name" | "none";
|
|
906
|
+
"value"?: CountryCode.Alpha2;
|
|
907
|
+
}
|
|
892
908
|
interface SmoothlyDialog {
|
|
893
909
|
"closable"?: boolean;
|
|
894
910
|
"color"?: Color | undefined;
|
|
@@ -1055,7 +1071,8 @@ declare namespace LocalJSX {
|
|
|
1055
1071
|
interface SmoothlyRadioButton {
|
|
1056
1072
|
"decoration"?: "button" | "radio";
|
|
1057
1073
|
"deselectable"?: boolean;
|
|
1058
|
-
"
|
|
1074
|
+
"name"?: string;
|
|
1075
|
+
"onRadioButtonSelected"?: (event: SmoothlyRadioButtonCustomEvent<{ name: string | undefined; value: any }>) => void;
|
|
1059
1076
|
"value"?: any;
|
|
1060
1077
|
}
|
|
1061
1078
|
interface SmoothlyRadioButtonItem {
|
|
@@ -1178,6 +1195,7 @@ declare namespace LocalJSX {
|
|
|
1178
1195
|
"smoothly-button": SmoothlyButton;
|
|
1179
1196
|
"smoothly-calendar": SmoothlyCalendar;
|
|
1180
1197
|
"smoothly-checkbox": SmoothlyCheckbox;
|
|
1198
|
+
"smoothly-country": SmoothlyCountry;
|
|
1181
1199
|
"smoothly-dialog": SmoothlyDialog;
|
|
1182
1200
|
"smoothly-dialog-demo": SmoothlyDialogDemo;
|
|
1183
1201
|
"smoothly-display": SmoothlyDisplay;
|
|
@@ -1242,6 +1260,7 @@ declare module "@stencil/core" {
|
|
|
1242
1260
|
"smoothly-button": LocalJSX.SmoothlyButton & JSXBase.HTMLAttributes<HTMLSmoothlyButtonElement>;
|
|
1243
1261
|
"smoothly-calendar": LocalJSX.SmoothlyCalendar & JSXBase.HTMLAttributes<HTMLSmoothlyCalendarElement>;
|
|
1244
1262
|
"smoothly-checkbox": LocalJSX.SmoothlyCheckbox & JSXBase.HTMLAttributes<HTMLSmoothlyCheckboxElement>;
|
|
1263
|
+
"smoothly-country": LocalJSX.SmoothlyCountry & JSXBase.HTMLAttributes<HTMLSmoothlyCountryElement>;
|
|
1245
1264
|
"smoothly-dialog": LocalJSX.SmoothlyDialog & JSXBase.HTMLAttributes<HTMLSmoothlyDialogElement>;
|
|
1246
1265
|
"smoothly-dialog-demo": LocalJSX.SmoothlyDialogDemo & JSXBase.HTMLAttributes<HTMLSmoothlyDialogDemoElement>;
|
|
1247
1266
|
"smoothly-display": LocalJSX.SmoothlyDisplay & JSXBase.HTMLAttributes<HTMLSmoothlyDisplayElement>;
|