smoothly 0.3.17 → 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.
@@ -1,23 +1,38 @@
1
- import { h, Host } from "@stencil/core";
1
+ import { h, Host, } from "@stencil/core";
2
2
  export class TableExpandableRow {
3
3
  constructor() {
4
+ this.allowSpotlight = true;
5
+ this.spotlight = true;
4
6
  this.align = "left";
5
7
  }
6
- openChanged(value) {
8
+ openChanged() {
7
9
  if (this.expansionElement)
8
10
  this.element.after(this.expansionElement);
11
+ this.expandableChange.emit(this.open);
9
12
  }
10
- onClick(e) {
11
- this.open = !this.open;
12
- e.stopPropagation();
13
+ handleSpotlight() {
14
+ this.spotlight = this.open && this.allowSpotlight;
15
+ }
16
+ componentWillLoad() {
17
+ this.expandableLoad.emit({
18
+ allowSpotlight: (allowed) => (this.allowSpotlight = allowed),
19
+ });
13
20
  }
14
21
  componentDidRender() {
15
22
  this.expansionOpen.emit(this.expansionElement);
16
23
  if (this.expansionElement && this.open)
17
24
  this.element.after(this.expansionElement);
18
25
  }
26
+ onClick(event) {
27
+ event.stopPropagation();
28
+ this.open = !this.open;
29
+ }
30
+ handleTableLoaded(event) {
31
+ event.stopPropagation();
32
+ event.detail(this.element);
33
+ }
19
34
  render() {
20
- return (h(Host, { style: { textAlign: this.align } }, h("slot", null), h("smoothly-icon", { name: "chevron-forward", size: "tiny" }), h("tr", { ref: e => (this.expansionElement = e) }, h("td", { colSpan: 999, class: !this.open ? "hide" : "" }, h("div", { class: "slot-detail" }, h("slot", { name: "detail" }))))));
35
+ return (h(Host, { style: { textAlign: this.align } }, h("slot", null), h("smoothly-icon", { name: "chevron-forward", size: "tiny" }), h("tr", { class: this.spotlight ? "spotlight" : "", ref: e => (this.expansionElement = e) }, h("td", { colSpan: 999, class: !this.open ? "hide" : "" }, h("slot", { name: "detail" })))));
21
36
  }
22
37
  static get is() { return "smoothly-table-expandable-row"; }
23
38
  static get encapsulation() { return "scoped"; }
@@ -70,6 +85,12 @@ export class TableExpandableRow {
70
85
  }
71
86
  };
72
87
  }
88
+ static get states() {
89
+ return {
90
+ "allowSpotlight": {},
91
+ "spotlight": {}
92
+ };
93
+ }
73
94
  static get events() {
74
95
  return [{
75
96
  "method": "expansionOpen",
@@ -90,6 +111,36 @@ export class TableExpandableRow {
90
111
  }
91
112
  }
92
113
  }
114
+ }, {
115
+ "method": "expandableChange",
116
+ "name": "expandableChange",
117
+ "bubbles": true,
118
+ "cancelable": true,
119
+ "composed": true,
120
+ "docs": {
121
+ "tags": [],
122
+ "text": ""
123
+ },
124
+ "complexType": {
125
+ "original": "boolean",
126
+ "resolved": "boolean",
127
+ "references": {}
128
+ }
129
+ }, {
130
+ "method": "expandableLoad",
131
+ "name": "expandableLoad",
132
+ "bubbles": true,
133
+ "cancelable": true,
134
+ "composed": true,
135
+ "docs": {
136
+ "tags": [],
137
+ "text": ""
138
+ },
139
+ "complexType": {
140
+ "original": "{ allowSpotlight: (allowed: boolean) => void }",
141
+ "resolved": "{ allowSpotlight: (allowed: boolean) => void; }",
142
+ "references": {}
143
+ }
93
144
  }];
94
145
  }
95
146
  static get elementRef() { return "element"; }
@@ -97,6 +148,12 @@ export class TableExpandableRow {
97
148
  return [{
98
149
  "propName": "open",
99
150
  "methodName": "openChanged"
151
+ }, {
152
+ "propName": "open",
153
+ "methodName": "handleSpotlight"
154
+ }, {
155
+ "propName": "allowSpotlight",
156
+ "methodName": "handleSpotlight"
100
157
  }];
101
158
  }
102
159
  static get listeners() {
@@ -106,6 +163,12 @@ export class TableExpandableRow {
106
163
  "target": undefined,
107
164
  "capture": false,
108
165
  "passive": false
166
+ }, {
167
+ "name": "tableLoad",
168
+ "method": "handleTableLoaded",
169
+ "target": undefined,
170
+ "capture": false,
171
+ "passive": false
109
172
  }];
110
173
  }
111
174
  }
@@ -7,7 +7,10 @@
7
7
  position: relative;
8
8
  z-index: 3;
9
9
  background-color: rgb(var(--smoothly-default-color));
10
- border: 2px solid rgb(var(--smoothly-dark-color));
10
+ box-shadow: -1px 0 0 0 rgb(var(--smoothly-dark-color)) inset,
11
+ 1px 0 0 0 rgb(var(--smoothly-dark-color)) inset;
12
+ }
13
+ :host[open]::slotted(smoothly-table-cell) {
11
14
  border-bottom: none;
12
15
  }
13
16
  :host smoothly-icon {
@@ -26,14 +29,43 @@
26
29
  .hide {
27
30
  display: none;
28
31
  }
29
- .slot-detail {
32
+ :host > tr > td {
33
+ position: relative;
34
+ }
35
+ td::slotted(*) {
36
+ --expansion-width: 1.5rem;
37
+ --expansion-border-width: 3px;
30
38
  position: relative;
31
39
  background-color: rgb(var(--smoothly-default-color));
32
- width: 104%;
33
- left: -2%;
34
- border-left-style: solid;
35
- border-left-color: rgb(var(--smoothly-tertiary-color));
40
+ width: calc(100% + 3rem - var(--expansion-border-width));
41
+ left: calc(-1 * var(--expansion-width));
42
+ border-left: var(--expansion-border-width) solid rgb(0, 0, 0, 0);
36
43
  box-shadow: 0px 0px 4px 2px rgb(var(--smoothly-dark-color));
37
44
  box-sizing: border-box;
38
- padding: 0.5rem 2%;
45
+ padding: 0.5rem calc(var(--expansion-width) - var(--expansion-border-width));
46
+ border-bottom: 1px solid rgb(var(--smoothly-dark-color));
47
+ border-left-width: 3px;
48
+ }
49
+ tr.spotlight > td::slotted(*) {
50
+ border-left-color: rgb(var(--smoothly-tertiary-color));
51
+ }
52
+ td::slotted(*)::before {
53
+ content: "";
54
+ position: absolute;
55
+ display: flex;
56
+ top: 0;
57
+ bottom: 0;
58
+ left: -3px;
59
+ width: calc(var(--expansion-width) + 1px);
60
+ border-top: 1px solid rgb(var(--smoothly-dark-color));
61
+ }
62
+ td::slotted(*)::after {
63
+ content: "";
64
+ position: absolute;
65
+ display: flex;
66
+ top: 0;
67
+ bottom: 0;
68
+ right: 0;
69
+ width: calc(var(--expansion-width) -1px);
70
+ border-top: 1px solid rgb(var(--smoothly-dark-color));
39
71
  }
@@ -1,8 +1,8 @@
1
1
  :host {
2
2
  display: table-cell;
3
3
  line-height: 2.5rem;
4
- background-color: rgb(var(--smoothly-color-shade));
5
4
  border-bottom: 1px solid rgb(var(--smoothly-dark-color));
5
+ border-top: 1px solid rgb(var(--smoothly-dark-color));
6
6
  padding-left: 1rem;
7
7
  font-weight: bold;
8
8
  }
@@ -1,5 +1,32 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class Table {
3
+ constructor() {
4
+ this.expandable = new Map();
5
+ this.expanded = new Set();
6
+ this.root = true;
7
+ }
8
+ componentWillLoad() {
9
+ this.smoothlyNestedTable.emit(() => (this.root = false));
10
+ this.tableLoad.emit((owner) => (this.owner = owner));
11
+ }
12
+ handleExpandableLoaded(event) {
13
+ event.stopPropagation();
14
+ event.target && this.expandable.set(event.target, event.detail);
15
+ }
16
+ handleExpandableState(event) {
17
+ event.stopPropagation();
18
+ event.target && (event.detail ? this.expanded.add(event.target) : this.expanded.delete(event.target));
19
+ this.spotlightChange.emit({ allowSpotlight: !this.expanded.size, owner: this.owner });
20
+ }
21
+ handleSpotlightState(event) {
22
+ var _a;
23
+ event.target != this.element &&
24
+ (event.stopPropagation(),
25
+ event.detail.owner && ((_a = this.expandable.get(event.detail.owner)) === null || _a === void 0 ? void 0 : _a.allowSpotlight(event.detail.allowSpotlight)));
26
+ }
27
+ handleNestedTable(event) {
28
+ event.target != this.element && (event.stopPropagation(), event.detail());
29
+ }
3
30
  handleEvents(event) {
4
31
  event.stopPropagation();
5
32
  }
@@ -18,10 +45,32 @@ export class Table {
18
45
  "$": ["style.css"]
19
46
  };
20
47
  }
48
+ static get properties() {
49
+ return {
50
+ "root": {
51
+ "type": "boolean",
52
+ "mutable": true,
53
+ "complexType": {
54
+ "original": "boolean",
55
+ "resolved": "boolean",
56
+ "references": {}
57
+ },
58
+ "required": false,
59
+ "optional": false,
60
+ "docs": {
61
+ "tags": [],
62
+ "text": ""
63
+ },
64
+ "attribute": "root",
65
+ "reflect": true,
66
+ "defaultValue": "true"
67
+ }
68
+ };
69
+ }
21
70
  static get events() {
22
71
  return [{
23
- "method": "loadMore",
24
- "name": "loadMore",
72
+ "method": "smoothlyNestedTable",
73
+ "name": "smoothlyNestedTable",
25
74
  "bubbles": true,
26
75
  "cancelable": true,
27
76
  "composed": true,
@@ -30,15 +79,77 @@ export class Table {
30
79
  "text": ""
31
80
  },
32
81
  "complexType": {
33
- "original": "void",
34
- "resolved": "void",
82
+ "original": "() => void",
83
+ "resolved": "() => void",
35
84
  "references": {}
36
85
  }
86
+ }, {
87
+ "method": "spotlightChange",
88
+ "name": "spotlightChange",
89
+ "bubbles": true,
90
+ "cancelable": true,
91
+ "composed": true,
92
+ "docs": {
93
+ "tags": [],
94
+ "text": ""
95
+ },
96
+ "complexType": {
97
+ "original": "{ allowSpotlight: boolean; owner?: EventTarget }",
98
+ "resolved": "{ allowSpotlight: boolean; owner?: EventTarget | undefined; }",
99
+ "references": {
100
+ "EventTarget": {
101
+ "location": "global"
102
+ }
103
+ }
104
+ }
105
+ }, {
106
+ "method": "tableLoad",
107
+ "name": "tableLoad",
108
+ "bubbles": true,
109
+ "cancelable": true,
110
+ "composed": true,
111
+ "docs": {
112
+ "tags": [],
113
+ "text": ""
114
+ },
115
+ "complexType": {
116
+ "original": "(owner: EventTarget) => void",
117
+ "resolved": "(owner: EventTarget) => void",
118
+ "references": {
119
+ "EventTarget": {
120
+ "location": "global"
121
+ }
122
+ }
123
+ }
37
124
  }];
38
125
  }
39
126
  static get elementRef() { return "element"; }
40
127
  static get listeners() {
41
128
  return [{
129
+ "name": "expandableLoad",
130
+ "method": "handleExpandableLoaded",
131
+ "target": undefined,
132
+ "capture": false,
133
+ "passive": false
134
+ }, {
135
+ "name": "expandableChange",
136
+ "method": "handleExpandableState",
137
+ "target": undefined,
138
+ "capture": false,
139
+ "passive": false
140
+ }, {
141
+ "name": "spotlightChange",
142
+ "method": "handleSpotlightState",
143
+ "target": undefined,
144
+ "capture": false,
145
+ "passive": false
146
+ }, {
147
+ "name": "smoothlyNestedTable",
148
+ "method": "handleNestedTable",
149
+ "target": undefined,
150
+ "capture": false,
151
+ "passive": false
152
+ }, {
42
153
  "name": "expansionLoad",
43
154
  "method": "handleEvents",
44
155
  "target": undefined,
@@ -1,9 +1,16 @@
1
1
  :host {
2
2
  display: table;
3
- border-collapse: collapse;
4
- border: 1px solid rgb(var(--smoothly-dark-color));
5
3
  width: var(--table-width, 80%);
6
4
  box-sizing: border-box;
7
5
  background-color: rgb(var(--smoothly-default-color));
8
- margin: auto;
6
+ }
7
+ :host[root] {
8
+ margin-left: auto;
9
+ margin-right: auto;
10
+ margin-left: 1.5rem;
11
+ margin-right: 1.5rem;
12
+ }
13
+ :host:not([root]) {
14
+ margin: 0;
15
+ width: 100%;
9
16
  }
@@ -48354,13 +48354,40 @@ const SmoothlyTabSwitch$1 = class extends HTMLElement {
48354
48354
  static get style() { return styleCss$a; }
48355
48355
  };
48356
48356
 
48357
- const styleCss$9 = ".sc-smoothly-table-h{display:table;border-collapse:collapse;border:1px solid rgb(var(--smoothly-dark-color));width:var(--table-width, 80%);box-sizing:border-box;background-color:rgb(var(--smoothly-default-color));margin:auto}";
48357
+ const styleCss$9 = ".sc-smoothly-table-h{display:table;width:var(--table-width, 80%);box-sizing:border-box;background-color:rgb(var(--smoothly-default-color))}[root].sc-smoothly-table-h{margin-left:auto;margin-right:auto;margin-left:1.5rem;margin-right:1.5rem}.sc-smoothly-table-h:not([root]){margin:0;width:100%}";
48358
48358
 
48359
48359
  const Table = class extends HTMLElement {
48360
48360
  constructor() {
48361
48361
  super();
48362
48362
  this.__registerHost();
48363
- this.loadMore = createEvent(this, "loadMore", 7);
48363
+ this.smoothlyNestedTable = createEvent(this, "smoothlyNestedTable", 7);
48364
+ this.spotlightChange = createEvent(this, "spotlightChange", 7);
48365
+ this.tableLoad = createEvent(this, "tableLoad", 7);
48366
+ this.expandable = new Map();
48367
+ this.expanded = new Set();
48368
+ this.root = true;
48369
+ }
48370
+ componentWillLoad() {
48371
+ this.smoothlyNestedTable.emit(() => (this.root = false));
48372
+ this.tableLoad.emit((owner) => (this.owner = owner));
48373
+ }
48374
+ handleExpandableLoaded(event) {
48375
+ event.stopPropagation();
48376
+ event.target && this.expandable.set(event.target, event.detail);
48377
+ }
48378
+ handleExpandableState(event) {
48379
+ event.stopPropagation();
48380
+ event.target && (event.detail ? this.expanded.add(event.target) : this.expanded.delete(event.target));
48381
+ this.spotlightChange.emit({ allowSpotlight: !this.expanded.size, owner: this.owner });
48382
+ }
48383
+ handleSpotlightState(event) {
48384
+ var _a;
48385
+ event.target != this.element &&
48386
+ (event.stopPropagation(),
48387
+ event.detail.owner && ((_a = this.expandable.get(event.detail.owner)) === null || _a === void 0 ? void 0 : _a.allowSpotlight(event.detail.allowSpotlight)));
48388
+ }
48389
+ handleNestedTable(event) {
48390
+ event.target != this.element && (event.stopPropagation(), event.detail());
48364
48391
  }
48365
48392
  handleEvents(event) {
48366
48393
  event.stopPropagation();
@@ -48372,7 +48399,7 @@ const Table = class extends HTMLElement {
48372
48399
  static get style() { return styleCss$9; }
48373
48400
  };
48374
48401
 
48375
- const styleCss$8 = ".sc-smoothly-table-cell-h{display:table-cell;line-height:1.5rem;white-space:nowrap;padding:0.3rem 0 0.3rem 1rem}";
48402
+ const styleCss$8 = ".sc-smoothly-table-cell-h{display:table-cell;line-height:1.5rem;white-space:nowrap;padding:0.3rem 0 0.3rem 1rem;border-bottom:1px solid rgb(var(--smoothly-dark-color))}";
48376
48403
 
48377
48404
  const TableCell = class extends HTMLElement {
48378
48405
  constructor() {
@@ -48385,7 +48412,7 @@ const TableCell = class extends HTMLElement {
48385
48412
  static get style() { return styleCss$8; }
48386
48413
  };
48387
48414
 
48388
- const styleCss$7 = "";
48415
+ const styleCss$7 = ".sc-smoothly-table-demo-h{display:flex;flex-direction:column;align-items:center;gap:3rem;padding-bottom:10rem}";
48389
48416
 
48390
48417
  const TableDemo = class extends HTMLElement {
48391
48418
  constructor() {
@@ -48396,12 +48423,13 @@ const TableDemo = class extends HTMLElement {
48396
48423
  return [
48397
48424
  h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header A"), h("smoothly-table-header", null, "Header B"), h("smoothly-table-header", null, "Header C"), h("smoothly-table-header", null, "Header D")), h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, "normal row (exp.cell)", h("div", { slot: "detail" }, "expandable cell 1 content")), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell 2 content")), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell 3 content")), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell 4 content"))), h("smoothly-table-row", null, h("smoothly-table-cell", null, "normal row (nor.cell)\""), h("smoothly-table-cell", null, "normal cell"), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell details.")), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell details."))), h("smoothly-table-expandable-row", null, h("smoothly-table-cell", null, "expandable row (nor.cell)"), h("smoothly-table-cell", null, "Normal cell"), h("smoothly-table-cell", null, "normal cell"), h("smoothly-table-cell", null, "Normal cell"), h("div", { slot: "detail" }, "expandable row content"))),
48398
48425
  h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header A")), h("smoothly-table-expandable-row", null, h("smoothly-table-cell", null, "A Content"), h("div", { slot: "detail" }, h("smoothly-tab-switch", null, h("smoothly-tab", { label: "innertable 1", open: true }, h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header B")), h("smoothly-table-expandable-row", null, "B Content"))), h("smoothly-tab", { label: "innertable 2" }, h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header C")), h("smoothly-table-expandable-row", null, h("smoothly-table-cell", null, "C Content")))))))),
48426
+ h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "A"), h("smoothly-table-header", null, "B")), h("smoothly-table-expandable-row", null, h("smoothly-table-cell", null, "a row"), h("smoothly-table-cell", null, "b row"), h("div", { slot: "detail" }, h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "C"), h("smoothly-table-header", null, "D")), h("smoothly-table-expandable-row", null, h("smoothly-table-cell", null, "c"), h("smoothly-table-cell", null, "d"), h("div", { slot: "detail" }, h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "E"), h("smoothly-table-header", null, "F")), h("smoothly-table-expandable-row", null, h("smoothly-table-cell", null, "e row"), h("smoothly-table-cell", null, "f row"), h("div", { slot: "detail" }, "nested expandable row expansion e f")))))))), h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, "a cell", h("div", { slot: "detail" }, h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "E"), h("smoothly-table-header", null, "F")), h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, "e cell", h("div", { slot: "detail" }, "nested expandable cell expansion e")), h("smoothly-table-expandable-cell", null, "f cell", h("div", { slot: "detail" }, "nested expandable cell expansion f")))))), h("smoothly-table-expandable-cell", null, "b cell", h("div", { slot: "detail" }, h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "C"), h("smoothly-table-header", null, "D")), h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, "c cell", h("div", { slot: "detail" }, "nested expandable cell expansion c")), h("smoothly-table-expandable-cell", null, "d cell", h("div", { slot: "detail" }, "nested expandable cell expansion d")))))))),
48399
48427
  ];
48400
48428
  }
48401
48429
  static get style() { return styleCss$7; }
48402
48430
  };
48403
48431
 
48404
- const styleCss$6 = ".sc-smoothly-table-expandable-cell-h{display:table-cell;padding:0.3rem 0 0.3rem 0;cursor:pointer;line-height:1.5rem}[open].sc-smoothly-table-expandable-cell-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-default-color));border:2px solid rgb(var(--smoothly-dark-color));border-bottom:none}.sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{width:0.6rem;float:left;padding:0 0.3rem;transition:transform 0.2s;display:flex;height:100%;align-self:center}[open].sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{transform:rotate(90deg)}aside.sc-smoothly-table-expandable-cell{display:flex}.hide.sc-smoothly-table-expandable-cell{display:none}.slot-detail.sc-smoothly-table-expandable-cell{position:relative;background-color:rgb(var(--smoothly-default-color));width:104%;left:-2%;border-left:2px solid rgb(var(--smoothly-tertiary-color));box-shadow:0px 0px 5px 4px rgb(var(--smoothly-dark-color), 0.5);box-sizing:border-box;padding:0.5rem 2%}";
48432
+ const styleCss$6 = ".sc-smoothly-table-expandable-cell-h{display:table-cell;padding:0.3rem 0 0.3rem 0;cursor:pointer;line-height:1.5rem;border-bottom:1px solid rgb(var(--smoothly-dark-color))}[open].sc-smoothly-table-expandable-cell-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-default-color));box-shadow:-1px 0 0 rgb(var(--smoothly-dark-color)) inset, \n\t\t1px 0 0 rgb(var(--smoothly-dark-color)) inset;border-bottom:none}.sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{width:0.6rem;float:left;padding:0 0.3rem;transition:transform 0.2s;display:flex;height:100%;align-self:center}[open].sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{transform:rotate(90deg)}aside.sc-smoothly-table-expandable-cell{display:flex}.hide.sc-smoothly-table-expandable-cell{display:none}td.sc-smoothly-table-expandable-cell-s>*{--expansion-width:1.5rem;--expansion-border-width:3px;position:relative;background-color:rgb(var(--smoothly-default-color));width:calc(100% + 3rem - var(--expansion-border-width));left:calc(-1 * var(--expansion-width));border-left:var(--expansion-border-width) solid rgb(0, 0, 0, 0);box-shadow:0px 0px 4px 2px rgb(var(--smoothly-dark-color));box-sizing:border-box;padding:0.5rem calc(var(--expansion-width) - var(--expansion-border-width));border-bottom:1px solid rgb(var(--smoothly-dark-color));border-left-width:3px}tr.spotlight>td.sc-smoothly-table-expandable-cell-s>*{border-left-color:rgb(var(--smoothly-tertiary-color))}td.sc-smoothly-table-expandable-cell-s>*::before{content:\"\";position:absolute;display:flex;top:-1px;bottom:0;left:-3px;width:calc(var(--expansion-width) + 1px);border-top:1px solid rgb(var(--smoothly-dark-color))}td.sc-smoothly-table-expandable-cell-s>*::after{content:\"\";position:absolute;display:flex;top:-1px;bottom:0;right:0;width:calc(var(--expansion-width) -1px);border-top:1px solid rgb(var(--smoothly-dark-color))}";
48405
48433
 
48406
48434
  const TableExpandableCell = class extends HTMLElement {
48407
48435
  constructor() {
@@ -48409,6 +48437,10 @@ const TableExpandableCell = class extends HTMLElement {
48409
48437
  this.__registerHost();
48410
48438
  this.expansionOpen = createEvent(this, "expansionOpen", 7);
48411
48439
  this.expansionLoad = createEvent(this, "expansionLoad", 7);
48440
+ this.expandableChange = createEvent(this, "expandableChange", 7);
48441
+ this.expandableLoad = createEvent(this, "expandableLoad", 7);
48442
+ this.allowSpotlight = true;
48443
+ this.spotlight = true;
48412
48444
  this.align = "left";
48413
48445
  }
48414
48446
  openChanged(value) {
@@ -48417,12 +48449,16 @@ const TableExpandableCell = class extends HTMLElement {
48417
48449
  this.beginOpen = true;
48418
48450
  else
48419
48451
  this.element.append(this.expansionElement);
48452
+ this.expandableChange.emit(this.open);
48420
48453
  }
48421
- onClick() {
48422
- this.open = !this.open;
48454
+ handleSpotlight() {
48455
+ this.spotlight = this.open && this.allowSpotlight;
48423
48456
  }
48424
- componentDidLoad() {
48457
+ componentWillLoad() {
48425
48458
  this.expansionLoad.emit();
48459
+ this.expandableLoad.emit({
48460
+ allowSpotlight: (allowed) => (this.allowSpotlight = allowed),
48461
+ });
48426
48462
  }
48427
48463
  componentDidRender() {
48428
48464
  if (this.beginOpen) {
@@ -48430,49 +48466,75 @@ const TableExpandableCell = class extends HTMLElement {
48430
48466
  this.expansionOpen.emit(this.expansionElement);
48431
48467
  }
48432
48468
  }
48469
+ onClick() {
48470
+ this.open = !this.open;
48471
+ }
48472
+ handleTableLoaded(event) {
48473
+ event.stopPropagation();
48474
+ event.detail(this.element);
48475
+ }
48433
48476
  render() {
48434
- return (h(Host, { style: { textAlign: this.align } }, h("aside", null, h("smoothly-icon", { name: "chevron-forward", size: "tiny" }), h("slot", null)), h("tr", { ref: e => (this.expansionElement = e) }, h("td", { colSpan: 999, class: !this.open ? "hide" : "" }, h("div", { class: "slot-detail" }, h("slot", { name: "detail" }))))));
48477
+ return (h(Host, { style: { textAlign: this.align } }, h("aside", null, h("smoothly-icon", { name: "chevron-forward", size: "tiny" }), h("slot", null)), h("tr", { class: this.spotlight ? "spotlight" : "", ref: e => (this.expansionElement = e) }, h("td", { colSpan: 999, class: !this.open ? "hide" : "" }, h("slot", { name: "detail" })))));
48435
48478
  }
48436
48479
  get element() { return this; }
48437
48480
  static get watchers() { return {
48438
- "open": ["openChanged"]
48481
+ "open": ["openChanged", "handleSpotlight"],
48482
+ "allowSpotlight": ["handleSpotlight"]
48439
48483
  }; }
48440
48484
  static get style() { return styleCss$6; }
48441
48485
  };
48442
48486
 
48443
- const styleCss$5 = ".sc-smoothly-table-expandable-row-h{display:table-row;cursor:pointer;line-height:1.5rem}[open].sc-smoothly-table-expandable-row-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-default-color));border:2px solid rgb(var(--smoothly-dark-color));border-bottom:none}.sc-smoothly-table-expandable-row-h smoothly-icon.sc-smoothly-table-expandable-row{width:0.6rem;height:1rem;margin-top:-1rem;margin-left:-1rem;transition:transform 0.2s;display:flex;height:100%}[open].sc-smoothly-table-expandable-row-h smoothly-icon.sc-smoothly-table-expandable-row{transform:rotate(90deg)}.hide.sc-smoothly-table-expandable-row{display:none}.slot-detail.sc-smoothly-table-expandable-row{position:relative;background-color:rgb(var(--smoothly-default-color));width:104%;left:-2%;border-left-style:solid;border-left-color:rgb(var(--smoothly-tertiary-color));box-shadow:0px 0px 4px 2px rgb(var(--smoothly-dark-color));box-sizing:border-box;padding:0.5rem 2%}";
48487
+ const styleCss$5 = ".sc-smoothly-table-expandable-row-h{display:table-row;cursor:pointer;line-height:1.5rem}[open].sc-smoothly-table-expandable-row-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-default-color));box-shadow:-1px 0 0 0 rgb(var(--smoothly-dark-color)) inset, \n\t\t1px 0 0 0 rgb(var(--smoothly-dark-color)) inset}.sc-smoothly-table-expandable-row-h[open].sc-smoothly-table-expandable-row-s>smoothly-table-cell{border-bottom:none}.sc-smoothly-table-expandable-row-h smoothly-icon.sc-smoothly-table-expandable-row{width:0.6rem;height:1rem;margin-top:-1rem;margin-left:-1rem;transition:transform 0.2s;display:flex;height:100%}[open].sc-smoothly-table-expandable-row-h smoothly-icon.sc-smoothly-table-expandable-row{transform:rotate(90deg)}.hide.sc-smoothly-table-expandable-row{display:none}.sc-smoothly-table-expandable-row-h>tr.sc-smoothly-table-expandable-row>td.sc-smoothly-table-expandable-row{position:relative}td.sc-smoothly-table-expandable-row-s>*{--expansion-width:1.5rem;--expansion-border-width:3px;position:relative;background-color:rgb(var(--smoothly-default-color));width:calc(100% + 3rem - var(--expansion-border-width));left:calc(-1 * var(--expansion-width));border-left:var(--expansion-border-width) solid rgb(0, 0, 0, 0);box-shadow:0px 0px 4px 2px rgb(var(--smoothly-dark-color));box-sizing:border-box;padding:0.5rem calc(var(--expansion-width) - var(--expansion-border-width));border-bottom:1px solid rgb(var(--smoothly-dark-color));border-left-width:3px}tr.spotlight>td.sc-smoothly-table-expandable-row-s>*{border-left-color:rgb(var(--smoothly-tertiary-color))}td.sc-smoothly-table-expandable-row-s>*::before{content:\"\";position:absolute;display:flex;top:0;bottom:0;left:-3px;width:calc(var(--expansion-width) + 1px);border-top:1px solid rgb(var(--smoothly-dark-color))}td.sc-smoothly-table-expandable-row-s>*::after{content:\"\";position:absolute;display:flex;top:0;bottom:0;right:0;width:calc(var(--expansion-width) -1px);border-top:1px solid rgb(var(--smoothly-dark-color))}";
48444
48488
 
48445
48489
  const TableExpandableRow = class extends HTMLElement {
48446
48490
  constructor() {
48447
48491
  super();
48448
48492
  this.__registerHost();
48449
48493
  this.expansionOpen = createEvent(this, "expansionOpen", 7);
48494
+ this.expandableChange = createEvent(this, "expandableChange", 7);
48495
+ this.expandableLoad = createEvent(this, "expandableLoad", 7);
48496
+ this.allowSpotlight = true;
48497
+ this.spotlight = true;
48450
48498
  this.align = "left";
48451
48499
  }
48452
- openChanged(value) {
48500
+ openChanged() {
48453
48501
  if (this.expansionElement)
48454
48502
  this.element.after(this.expansionElement);
48503
+ this.expandableChange.emit(this.open);
48455
48504
  }
48456
- onClick(e) {
48457
- this.open = !this.open;
48458
- e.stopPropagation();
48505
+ handleSpotlight() {
48506
+ this.spotlight = this.open && this.allowSpotlight;
48507
+ }
48508
+ componentWillLoad() {
48509
+ this.expandableLoad.emit({
48510
+ allowSpotlight: (allowed) => (this.allowSpotlight = allowed),
48511
+ });
48459
48512
  }
48460
48513
  componentDidRender() {
48461
48514
  this.expansionOpen.emit(this.expansionElement);
48462
48515
  if (this.expansionElement && this.open)
48463
48516
  this.element.after(this.expansionElement);
48464
48517
  }
48518
+ onClick(event) {
48519
+ event.stopPropagation();
48520
+ this.open = !this.open;
48521
+ }
48522
+ handleTableLoaded(event) {
48523
+ event.stopPropagation();
48524
+ event.detail(this.element);
48525
+ }
48465
48526
  render() {
48466
- return (h(Host, { style: { textAlign: this.align } }, h("slot", null), h("smoothly-icon", { name: "chevron-forward", size: "tiny" }), h("tr", { ref: e => (this.expansionElement = e) }, h("td", { colSpan: 999, class: !this.open ? "hide" : "" }, h("div", { class: "slot-detail" }, h("slot", { name: "detail" }))))));
48527
+ return (h(Host, { style: { textAlign: this.align } }, h("slot", null), h("smoothly-icon", { name: "chevron-forward", size: "tiny" }), h("tr", { class: this.spotlight ? "spotlight" : "", ref: e => (this.expansionElement = e) }, h("td", { colSpan: 999, class: !this.open ? "hide" : "" }, h("slot", { name: "detail" })))));
48467
48528
  }
48468
48529
  get element() { return this; }
48469
48530
  static get watchers() { return {
48470
- "open": ["openChanged"]
48531
+ "open": ["openChanged", "handleSpotlight"],
48532
+ "allowSpotlight": ["handleSpotlight"]
48471
48533
  }; }
48472
48534
  static get style() { return styleCss$5; }
48473
48535
  };
48474
48536
 
48475
- const styleCss$4 = ".sc-smoothly-table-header-h{display:table-cell;line-height:2.5rem;background-color:rgb(var(--smoothly-color-shade));border-bottom:1px solid rgb(var(--smoothly-dark-color));padding-left:1rem;font-weight:bold}";
48537
+ const styleCss$4 = ".sc-smoothly-table-header-h{display:table-cell;line-height:2.5rem;border-bottom:1px solid rgb(var(--smoothly-dark-color));border-top:1px solid rgb(var(--smoothly-dark-color));padding-left:1rem;font-weight:bold}";
48476
48538
 
48477
48539
  const TableHeader = class extends HTMLElement {
48478
48540
  constructor() {
@@ -48660,11 +48722,11 @@ const SmoothlySubmit = /*@__PURE__*/proxyCustomElement(SmoothlySubmit$1, [6,"smo
48660
48722
  const SmoothlySvg = /*@__PURE__*/proxyCustomElement(SmoothlySvg$1, [2,"smoothly-svg",{"url":[513],"size":[513],"color":[1]}]);
48661
48723
  const SmoothlyTab = /*@__PURE__*/proxyCustomElement(SmoothlyTab$1, [6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]);
48662
48724
  const SmoothlyTabSwitch = /*@__PURE__*/proxyCustomElement(SmoothlyTabSwitch$1, [6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]);
48663
- const SmoothlyTable = /*@__PURE__*/proxyCustomElement(Table, [6,"smoothly-table",null,[[0,"expansionLoad","handleEvents"],[0,"expansionOpen","handleEvents"]]]);
48725
+ const SmoothlyTable = /*@__PURE__*/proxyCustomElement(Table, [6,"smoothly-table",{"root":[1540]},[[0,"expandableLoad","handleExpandableLoaded"],[0,"expandableChange","handleExpandableState"],[0,"spotlightChange","handleSpotlightState"],[0,"smoothlyNestedTable","handleNestedTable"],[0,"expansionLoad","handleEvents"],[0,"expansionOpen","handleEvents"]]]);
48664
48726
  const SmoothlyTableCell = /*@__PURE__*/proxyCustomElement(TableCell, [6,"smoothly-table-cell"]);
48665
48727
  const SmoothlyTableDemo = /*@__PURE__*/proxyCustomElement(TableDemo, [2,"smoothly-table-demo"]);
48666
- const SmoothlyTableExpandableCell = /*@__PURE__*/proxyCustomElement(TableExpandableCell, [6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540]},[[0,"click","onClick"]]]);
48667
- const SmoothlyTableExpandableRow = /*@__PURE__*/proxyCustomElement(TableExpandableRow, [6,"smoothly-table-expandable-row",{"align":[1],"open":[1540]},[[0,"click","onClick"]]]);
48728
+ const SmoothlyTableExpandableCell = /*@__PURE__*/proxyCustomElement(TableExpandableCell, [6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"allowSpotlight":[32],"spotlight":[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]]);
48729
+ const SmoothlyTableExpandableRow = /*@__PURE__*/proxyCustomElement(TableExpandableRow, [6,"smoothly-table-expandable-row",{"align":[1],"open":[1540],"allowSpotlight":[32],"spotlight":[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]]);
48668
48730
  const SmoothlyTableHeader = /*@__PURE__*/proxyCustomElement(TableHeader, [6,"smoothly-table-header",{"name":[1]}]);
48669
48731
  const SmoothlyTableRow = /*@__PURE__*/proxyCustomElement(TableRow, [6,"smoothly-table-row",null,[[0,"expansionLoad","onExpansionLoad"],[0,"expansionOpen","onExpansionOpen"]]]);
48670
48732
  const SmoothlyTrigger = /*@__PURE__*/proxyCustomElement(SmoothlyTrigger$1, [6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]);
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["smoothly-country",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["smoothly-google-font",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-accordion_53",[[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]}]]]], options);
13
+ return bootstrapLazy([["smoothly-country",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["smoothly-google-font",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-accordion_53",[[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]}]]]], options);
14
14
  });
15
15
  };
16
16