smoothly 0.3.16 → 0.3.18
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_53.cjs.entry.js +80 -18
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/components/table/cell/style.css +1 -0
- package/dist/collection/components/table/demo/index.js +1 -0
- package/dist/collection/components/table/demo/style.css +7 -0
- package/dist/collection/components/table/expandable/cell/index.js +66 -5
- package/dist/collection/components/table/expandable/cell/style.css +39 -8
- package/dist/collection/components/table/expandable/row/index.js +69 -6
- package/dist/collection/components/table/expandable/row/style.css +41 -7
- package/dist/collection/components/table/header/style.css +1 -1
- package/dist/collection/components/table/index.js +115 -4
- package/dist/collection/components/table/style.css +10 -3
- package/dist/custom-elements/index.js +83 -21
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-accordion_53.entry.js +80 -18
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/{p-113c55a9.entry.js → p-3a3ea962.entry.js} +1 -1
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/table/expandable/cell/index.d.ts +16 -8
- package/dist/types/components/table/expandable/row/index.d.ts +15 -6
- package/dist/types/components/table/index.d.ts +22 -3
- package/dist/types/components.d.ts +9 -1
- package/package.json +1 -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-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-
|
|
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-3a3ea962",[[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],allowSpotlight:[32],spotlight:[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]],[6,"smoothly-table-expandable-row",{align:[1],open:[1540],allowSpotlight:[32],spotlight:[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]],[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",{root:[1540]},[[0,"expandableLoad","handleExpandableLoaded"],[0,"expandableChange","handleExpandableState"],[0,"spotlightChange","handleSpotlightState"],[0,"smoothlyNestedTable","handleNestedTable"],[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,15 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class TableExpandableCell implements
|
|
1
|
+
import { ComponentWillLoad, EventEmitter } from "../../../../stencil-public-runtime";
|
|
2
|
+
export declare class TableExpandableCell implements ComponentWillLoad {
|
|
3
|
+
private expansionElement?;
|
|
4
|
+
private beginOpen;
|
|
3
5
|
element: HTMLSmoothlyTableExpandableCellElement;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
expansionLoad: EventEmitter<void>;
|
|
6
|
+
allowSpotlight: boolean;
|
|
7
|
+
spotlight: boolean;
|
|
7
8
|
align: "left" | "center" | "right";
|
|
8
9
|
open: boolean;
|
|
9
|
-
|
|
10
|
+
expansionOpen: EventEmitter<HTMLElement>;
|
|
11
|
+
expansionLoad: EventEmitter<void>;
|
|
12
|
+
expandableChange: EventEmitter<boolean>;
|
|
13
|
+
expandableLoad: EventEmitter<{
|
|
14
|
+
allowSpotlight: (allowed: boolean) => void;
|
|
15
|
+
}>;
|
|
10
16
|
openChanged(value: boolean): void;
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
handleSpotlight(): void;
|
|
18
|
+
componentWillLoad(): void;
|
|
13
19
|
componentDidRender(): void;
|
|
20
|
+
onClick(): void;
|
|
21
|
+
handleTableLoaded(event: CustomEvent<(owner: EventTarget) => void>): void;
|
|
14
22
|
render(): any;
|
|
15
23
|
}
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { EventEmitter } from "../../../../stencil-public-runtime";
|
|
2
|
-
export declare class TableExpandableRow {
|
|
1
|
+
import { ComponentWillLoad, EventEmitter } from "../../../../stencil-public-runtime";
|
|
2
|
+
export declare class TableExpandableRow implements ComponentWillLoad {
|
|
3
|
+
private expansionElement?;
|
|
3
4
|
element: HTMLSmoothlyTableRowElement;
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
allowSpotlight: boolean;
|
|
6
|
+
spotlight: boolean;
|
|
6
7
|
align: "left" | "center" | "right";
|
|
7
8
|
open: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
expansionOpen: EventEmitter<HTMLElement>;
|
|
10
|
+
expandableChange: EventEmitter<boolean>;
|
|
11
|
+
expandableLoad: EventEmitter<{
|
|
12
|
+
allowSpotlight: (allowed: boolean) => void;
|
|
13
|
+
}>;
|
|
14
|
+
openChanged(): void;
|
|
15
|
+
handleSpotlight(): void;
|
|
16
|
+
componentWillLoad(): void;
|
|
10
17
|
componentDidRender(): void;
|
|
18
|
+
onClick(event: UIEvent): void;
|
|
19
|
+
handleTableLoaded(event: CustomEvent<(owner: EventTarget) => void>): void;
|
|
11
20
|
render(): any;
|
|
12
21
|
}
|
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
export declare class Table {
|
|
1
|
+
import { ComponentWillLoad, EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class Table implements ComponentWillLoad {
|
|
3
|
+
private owner?;
|
|
4
|
+
private expandable;
|
|
5
|
+
private expanded;
|
|
3
6
|
element: HTMLSmoothlyTableElement;
|
|
4
|
-
|
|
7
|
+
root: boolean;
|
|
8
|
+
smoothlyNestedTable: EventEmitter<() => void>;
|
|
9
|
+
spotlightChange: EventEmitter<{
|
|
10
|
+
allowSpotlight: boolean;
|
|
11
|
+
owner?: EventTarget;
|
|
12
|
+
}>;
|
|
13
|
+
tableLoad: EventEmitter<(owner: EventTarget) => void>;
|
|
14
|
+
componentWillLoad(): void;
|
|
15
|
+
handleExpandableLoaded(event: CustomEvent<{
|
|
16
|
+
allowSpotlight: (allowed: boolean) => void;
|
|
17
|
+
}>): void;
|
|
18
|
+
handleExpandableState(event: CustomEvent<boolean>): void;
|
|
19
|
+
handleSpotlightState(event: CustomEvent<{
|
|
20
|
+
allowSpotlight: boolean;
|
|
21
|
+
owner?: EventTarget;
|
|
22
|
+
}>): void;
|
|
23
|
+
handleNestedTable(event: CustomEvent<() => void>): void;
|
|
5
24
|
handleEvents(event: Event): void;
|
|
6
25
|
render(): any[];
|
|
7
26
|
}
|
|
@@ -275,6 +275,7 @@ export namespace Components {
|
|
|
275
275
|
interface SmoothlyTabSwitch {
|
|
276
276
|
}
|
|
277
277
|
interface SmoothlyTable {
|
|
278
|
+
"root": boolean;
|
|
278
279
|
}
|
|
279
280
|
interface SmoothlyTableCell {
|
|
280
281
|
}
|
|
@@ -1138,7 +1139,10 @@ declare namespace LocalJSX {
|
|
|
1138
1139
|
interface SmoothlyTabSwitch {
|
|
1139
1140
|
}
|
|
1140
1141
|
interface SmoothlyTable {
|
|
1141
|
-
"
|
|
1142
|
+
"onSmoothlyNestedTable"?: (event: SmoothlyTableCustomEvent<() => void>) => void;
|
|
1143
|
+
"onSpotlightChange"?: (event: SmoothlyTableCustomEvent<{ allowSpotlight: boolean; owner?: EventTarget }>) => void;
|
|
1144
|
+
"onTableLoad"?: (event: SmoothlyTableCustomEvent<(owner: EventTarget) => void>) => void;
|
|
1145
|
+
"root"?: boolean;
|
|
1142
1146
|
}
|
|
1143
1147
|
interface SmoothlyTableCell {
|
|
1144
1148
|
}
|
|
@@ -1146,12 +1150,16 @@ declare namespace LocalJSX {
|
|
|
1146
1150
|
}
|
|
1147
1151
|
interface SmoothlyTableExpandableCell {
|
|
1148
1152
|
"align"?: "left" | "center" | "right";
|
|
1153
|
+
"onExpandableChange"?: (event: SmoothlyTableExpandableCellCustomEvent<boolean>) => void;
|
|
1154
|
+
"onExpandableLoad"?: (event: SmoothlyTableExpandableCellCustomEvent<{ allowSpotlight: (allowed: boolean) => void }>) => void;
|
|
1149
1155
|
"onExpansionLoad"?: (event: SmoothlyTableExpandableCellCustomEvent<void>) => void;
|
|
1150
1156
|
"onExpansionOpen"?: (event: SmoothlyTableExpandableCellCustomEvent<HTMLElement>) => void;
|
|
1151
1157
|
"open"?: boolean;
|
|
1152
1158
|
}
|
|
1153
1159
|
interface SmoothlyTableExpandableRow {
|
|
1154
1160
|
"align"?: "left" | "center" | "right";
|
|
1161
|
+
"onExpandableChange"?: (event: SmoothlyTableExpandableRowCustomEvent<boolean>) => void;
|
|
1162
|
+
"onExpandableLoad"?: (event: SmoothlyTableExpandableRowCustomEvent<{ allowSpotlight: (allowed: boolean) => void }>) => void;
|
|
1155
1163
|
"onExpansionOpen"?: (event: SmoothlyTableExpandableRowCustomEvent<HTMLElement>) => void;
|
|
1156
1164
|
"open"?: boolean;
|
|
1157
1165
|
}
|