smoothly 1.0.0-alpha.4 → 1.0.0-alpha.6

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.
Files changed (79) hide show
  1. package/dist/cjs/{index-de46f836.js → index-8352a4e0.js} +104 -1
  2. package/dist/cjs/{index-879bbabb.js → index-b282ee83.js} +1 -1
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +4 -3
  5. package/dist/cjs/{smoothly-accordion_62.cjs.entry.js → smoothly-accordion_63.cjs.entry.js} +203 -144
  6. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  7. package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
  8. package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
  9. package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
  10. package/dist/cjs/smoothly-reorder.cjs.entry.js +1 -1
  11. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
  12. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
  13. package/dist/cjs/smoothly.cjs.js +7 -3
  14. package/dist/collection/collection-manifest.json +3 -2
  15. package/dist/collection/components/button/style.css +89 -2
  16. package/dist/collection/components/filter/index.js +54 -6
  17. package/dist/collection/components/filter/input/index.js +31 -6
  18. package/dist/collection/components/filter/input/style.css +2 -0
  19. package/dist/collection/components/filter/style.css +87 -1
  20. package/dist/collection/components/frame/index.js +12 -9
  21. package/dist/collection/components/input/index.js +1 -1
  22. package/dist/collection/components/input/style.css +24 -1
  23. package/dist/collection/components/input-demo/index.js +2 -2
  24. package/dist/collection/components/table/demo/filtered/index.js +17 -4
  25. package/dist/collection/components/toggle/style.css +37 -0
  26. package/dist/collection/components/toggle/toggle.js +127 -0
  27. package/dist/collection/components/toggle-switch/index.js +110 -0
  28. package/dist/collection/components/toggle-switch/style.css +42 -0
  29. package/dist/collection/index.js +1 -1
  30. package/dist/custom-elements/index.d.ts +12 -6
  31. package/dist/custom-elements/index.js +217 -153
  32. package/dist/esm/{index-d7a4e405.js → index-2e948fc3.js} +1 -1
  33. package/dist/esm/{index-d3421c35.js → index-7b57a52c.js} +104 -2
  34. package/dist/esm/index.js +2 -2
  35. package/dist/esm/loader.js +4 -3
  36. package/dist/esm/{smoothly-accordion_62.entry.js → smoothly-accordion_63.entry.js} +202 -144
  37. package/dist/esm/smoothly-color.entry.js +1 -1
  38. package/dist/esm/smoothly-country.entry.js +1 -1
  39. package/dist/esm/smoothly-google-font.entry.js +1 -1
  40. package/dist/esm/smoothly-radio-group.entry.js +1 -1
  41. package/dist/esm/smoothly-reorder.entry.js +1 -1
  42. package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
  43. package/dist/esm/smoothly-trigger-source.entry.js +1 -1
  44. package/dist/esm/smoothly.js +4 -3
  45. package/dist/smoothly/index.esm.js +1 -1
  46. package/dist/smoothly/{p-e0f4957d.entry.js → p-0ed63b7b.entry.js} +1 -1
  47. package/dist/smoothly/{p-6630d923.entry.js → p-42f65a5e.entry.js} +1 -1
  48. package/dist/smoothly/{p-7db49a38.entry.js → p-5fb08944.entry.js} +1 -1
  49. package/dist/smoothly/{p-5d41e3ca.entry.js → p-607abd83.entry.js} +1 -1
  50. package/dist/smoothly/{p-94e08cee.js → p-70280a11.js} +1 -1
  51. package/dist/smoothly/{p-4fecfc5d.entry.js → p-74b4e540.entry.js} +1 -1
  52. package/dist/smoothly/p-87e01e82.entry.js +1 -0
  53. package/dist/smoothly/p-c88ae468.js +2 -0
  54. package/dist/smoothly/{p-96e8781a.entry.js → p-ddbdd18d.entry.js} +1 -1
  55. package/dist/smoothly/{p-a718abc0.entry.js → p-e8a9a943.entry.js} +1 -1
  56. package/dist/smoothly/smoothly.esm.js +1 -1
  57. package/dist/types/components/filter/index.d.ts +8 -1
  58. package/dist/types/components/filter/input/index.d.ts +3 -1
  59. package/dist/types/components/frame/index.d.ts +2 -2
  60. package/dist/types/components/table/demo/filtered/Root.d.ts +25 -15
  61. package/dist/types/components/table/demo/filtered/index.d.ts +1 -0
  62. package/dist/types/components/toggle/toggle.d.ts +9 -0
  63. package/dist/types/components/toggle-switch/index.d.ts +8 -0
  64. package/dist/types/components.d.ts +50 -16
  65. package/dist/types/index.d.ts +1 -1
  66. package/dist/types/stencil-public-runtime.d.ts +20 -0
  67. package/loader/index.d.ts +9 -0
  68. package/package.json +2 -2
  69. package/dist/collection/components/filter/advanced-filter/index.js +0 -18
  70. package/dist/collection/components/filter/advanced-filter/style.css +0 -3
  71. package/dist/collection/components/table/demo/filtered/File.js +0 -1
  72. package/dist/collection/components/table/demo/filtered/Metadata.js +0 -1
  73. package/dist/collection/components/table/demo/filtered/Review.js +0 -1
  74. package/dist/smoothly/p-4a0b35b7.js +0 -2
  75. package/dist/smoothly/p-edc323a8.entry.js +0 -1
  76. package/dist/types/components/filter/advanced-filter/index.d.ts +0 -3
  77. package/dist/types/components/table/demo/filtered/File.d.ts +0 -14
  78. package/dist/types/components/table/demo/filtered/Metadata.d.ts +0 -23
  79. package/dist/types/components/table/demo/filtered/Review.d.ts +0 -9
@@ -74,6 +74,18 @@ const isComplexType = (o) => {
74
74
  o = typeof o;
75
75
  return o === 'object' || o === 'function';
76
76
  };
77
+ /**
78
+ * Helper method for querying a `meta` tag that contains a nonce value
79
+ * out of a DOM's head.
80
+ *
81
+ * @param doc The DOM containing the `head` to query against
82
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
83
+ * exists or the tag has no content.
84
+ */
85
+ function queryNonceMetaTagContent(doc) {
86
+ var _a, _b, _c;
87
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
88
+ }
77
89
  /**
78
90
  * Production h() function based on Preact by
79
91
  * Jason Miller (@developit)
@@ -151,6 +163,14 @@ const h = (nodeName, vnodeData, ...children) => {
151
163
  }
152
164
  return vnode;
153
165
  };
166
+ /**
167
+ * A utility function for creating a virtual DOM node from a tag and some
168
+ * possible text content.
169
+ *
170
+ * @param tag the tag for this element
171
+ * @param text possible text content for the node
172
+ * @returns a newly-minted virtual DOM node
173
+ */
154
174
  const newVNode = (tag, text) => {
155
175
  const vnode = {
156
176
  $flags$: 0,
@@ -171,6 +191,12 @@ const newVNode = (tag, text) => {
171
191
  return vnode;
172
192
  };
173
193
  const Host = {};
194
+ /**
195
+ * Check whether a given node is a Host node or not
196
+ *
197
+ * @param node the virtual DOM node to check
198
+ * @returns whether it's a Host node or not
199
+ */
174
200
  const isHost = (node) => node && node.$tag$ === Host;
175
201
  /**
176
202
  * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
@@ -183,6 +209,13 @@ const vdomFnUtils = {
183
209
  forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
184
210
  map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
185
211
  };
212
+ /**
213
+ * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
214
+ * friendlier public interface (hence, 'convertToPublic').
215
+ *
216
+ * @param node the virtual DOM node to convert
217
+ * @returns a converted child node
218
+ */
186
219
  const convertToPublic = (node) => ({
187
220
  vattrs: node.$attrs$,
188
221
  vchildren: node.$children$,
@@ -191,6 +224,15 @@ const convertToPublic = (node) => ({
191
224
  vtag: node.$tag$,
192
225
  vtext: node.$text$,
193
226
  });
227
+ /**
228
+ * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
229
+ * order to use the resulting object in the virtual DOM. The initial object was
230
+ * likely created as part of presenting a public API, so converting it back
231
+ * involved making it 'private' again (hence, `convertToPrivate`).
232
+ *
233
+ * @param node the child node to convert
234
+ * @returns a converted virtual DOM node
235
+ */
194
236
  const convertToPrivate = (node) => {
195
237
  if (typeof node.vtag === 'function') {
196
238
  const vnodeData = Object.assign({}, node.vattrs);
@@ -300,6 +342,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
300
342
  styles.set(scopeId, style);
301
343
  };
302
344
  const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
345
+ var _a;
303
346
  let scopeId = getScopeId(cmpMeta);
304
347
  const style = styles.get(scopeId);
305
348
  // if an element is NOT connected then getRootNode() will return the wrong root node
@@ -319,6 +362,11 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
319
362
  styleElm = doc.createElement('style');
320
363
  styleElm.innerHTML = style;
321
364
  }
365
+ // Apply CSP nonce to the style tag if it exists
366
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
367
+ if (nonce != null) {
368
+ styleElm.setAttribute('nonce', nonce);
369
+ }
322
370
  styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
323
371
  }
324
372
  if (appliedStyles) {
@@ -655,6 +703,21 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
655
703
  }
656
704
  plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
657
705
  };
706
+ /**
707
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
708
+ * add them to the DOM in the appropriate place.
709
+ *
710
+ * @param parentElm the DOM node which should be used as a parent for the new
711
+ * DOM nodes
712
+ * @param before a child of the `parentElm` which the new children should be
713
+ * inserted before (optional)
714
+ * @param parentVNode the parent virtual DOM node
715
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
716
+ * @param startIdx the index in the child virtual DOM nodes at which to start
717
+ * creating DOM nodes (inclusive)
718
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
719
+ * creating DOM nodes (inclusive)
720
+ */
658
721
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
659
722
  let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
660
723
  let childNode;
@@ -671,6 +734,19 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
671
734
  }
672
735
  }
673
736
  };
737
+ /**
738
+ * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
739
+ * This can be used to, for instance, clean up after a list of children which
740
+ * should no longer be shown.
741
+ *
742
+ * This function also handles some of Stencil's slot relocation logic.
743
+ *
744
+ * @param vnodes a list of virtual DOM nodes to remove
745
+ * @param startIdx the index at which to start removing nodes (inclusive)
746
+ * @param endIdx the index at which to stop removing nodes (inclusive)
747
+ * @param vnode a VNode
748
+ * @param elm an element
749
+ */
674
750
  const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
675
751
  for (; startIdx <= endIdx; ++startIdx) {
676
752
  if ((vnode = vnodes[startIdx])) {
@@ -949,7 +1025,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
949
1025
  *
950
1026
  * So, in other words, if `key` attrs are not set on VNodes which may be
951
1027
  * changing order within a `children` array or something along those lines then
952
- * we could obtain a false positive and then have to do needless re-rendering.
1028
+ * we could obtain a false negative and then have to do needless re-rendering
1029
+ * (i.e. we'd say two VNodes aren't equal when in fact they should be).
953
1030
  *
954
1031
  * @param leftVNode the first VNode to check
955
1032
  * @param rightVNode the second VNode to check
@@ -1177,6 +1254,18 @@ const callNodeRefs = (vNode) => {
1177
1254
  vNode.$children$ && vNode.$children$.map(callNodeRefs);
1178
1255
  }
1179
1256
  };
1257
+ /**
1258
+ * The main entry point for Stencil's virtual DOM-based rendering engine
1259
+ *
1260
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
1261
+ * function will handle creating a virtual DOM tree with a single root, patching
1262
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
1263
+ * relocation, and reflecting attributes.
1264
+ *
1265
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
1266
+ * the DOM node into which it should be rendered.
1267
+ * @param renderFnResults the virtual DOM nodes to be rendered
1268
+ */
1180
1269
  const renderVdom = (hostRef, renderFnResults) => {
1181
1270
  const hostElm = hostRef.$hostElement$;
1182
1271
  const cmpMeta = hostRef.$cmpMeta$;
@@ -1784,6 +1873,7 @@ const disconnectedCallback = (elm) => {
1784
1873
  }
1785
1874
  };
1786
1875
  const bootstrapLazy = (lazyBundles, options = {}) => {
1876
+ var _a;
1787
1877
  const endBootstrap = createTime();
1788
1878
  const cmpTags = [];
1789
1879
  const exclude = options.exclude || [];
@@ -1866,6 +1956,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1866
1956
  {
1867
1957
  visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1868
1958
  visibilityStyle.setAttribute('data-styles', '');
1959
+ // Apply CSP nonce to the style tag if it exists
1960
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1961
+ if (nonce != null) {
1962
+ visibilityStyle.setAttribute('nonce', nonce);
1963
+ }
1869
1964
  head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1870
1965
  }
1871
1966
  // Process deferred connectedCallbacks now all components have been registered
@@ -1910,6 +2005,13 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1910
2005
  };
1911
2006
  // prettier-ignore
1912
2007
  const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
2008
+ /**
2009
+ * Assigns the given value to the nonce property on the runtime platform object.
2010
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
2011
+ * @param nonce The value to be assigned to the platform nonce property.
2012
+ * @returns void
2013
+ */
2014
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
1913
2015
  const hostRefs = /*@__PURE__*/ new WeakMap();
1914
2016
  const getHostRef = (ref) => hostRefs.get(ref);
1915
2017
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
@@ -2029,3 +2131,4 @@ exports.getRenderingRef = getRenderingRef;
2029
2131
  exports.h = h;
2030
2132
  exports.promiseResolve = promiseResolve;
2031
2133
  exports.registerInstance = registerInstance;
2134
+ exports.setNonce = setNonce;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-de46f836.js');
3
+ const index = require('./index-8352a4e0.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  const items = map.get(propName);
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-879bbabb.js');
5
+ const index = require('./index-b282ee83.js');
6
6
  const Listenable = require('./Listenable-c8d2f8ef.js');
7
7
  const GoogleFont = require('./GoogleFont-6c4f0da1.js');
8
- require('./index-de46f836.js');
8
+ require('./index-8352a4e0.js');
9
9
 
10
10
  class ClientIdentifier {
11
11
  constructor() { }
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-de46f836.js');
5
+ const index = require('./index-8352a4e0.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.21.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.22.2 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -14,8 +14,9 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["smoothly-color.cjs",[[6,"smoothly-color",{"color":[513]}]]],["smoothly-country.cjs",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["smoothly-google-font.cjs",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group.cjs",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder.cjs",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink.cjs",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source.cjs",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-accordion_62.cjs",[[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"],[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}],[2,"smoothly-table-demo-filtered",{"criteria":[32],"data":[32]}],[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028],"showLabel":[516,"show-label"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]],[2,"smoothly-addresses",{"value":[16],"editable":[16]}],[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],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]],[6,"smoothly-summary",{"color":[1],"fill":[1],"size":[1]}],[6,"smoothly-table-cell"],[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]}],[4,"smoothly-form",{"looks":[513]}],[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-expandable-row",{"align":[1],"open":[1540],"allowSpotlight":[32],"spotlight":[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]],[6,"smoothly-input-date",{"name":[513],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"disabled":[1028]},[[0,"dateSet","dateSetHandler"]]],[2,"smoothly-filter-input",{"name":[513],"value":[8],"type":[513],"required":[1540],"minLength":[2,"min-length"],"showLabel":[516,"show-label"],"maxLength":[2,"max-length"],"autocomplete":[4],"pattern":[16],"placeholder":[1],"disabled":[4],"readonly":[4],"currency":[513],"comparison":[1],"isExpanded":[32]}],[2,"smoothly-address",{"value":[16],"editable":[4]}],[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"]]],[6,"smoothly-filter",{"criteria":[1040]},[[0,"filter","filterHandler"]]],[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]],[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"allowSpotlight":[32],"spotlight":[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]],[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]],[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]],[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-header",{"name":[1]}],[6,"smoothly-table-row",null,[[0,"expansionLoad","onExpansionLoad"],[0,"expansionOpen","onExpansionOpen"]]],[0,"smoothly-tuple",{"tuple":[16]}],[2,"smoothly-address-display",{"value":[16],"editable":[4]}],[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537],"divider":[1540],"checkbox":[4],"new":[4],"toggle":[4],"checked":[1028]}],[6,"smoothly-filter-advanced"],[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]}],[1,"smoothly-button",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"link":[1],"download":[4]}],[2,"smoothly-input-month",{"value":[1025]}],[6,"smoothly-quiet",{"color":[1]}],[6,"smoothly-selector",{"initialPrompt":[1,"initial-prompt"],"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32],"reset":[64]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]],[6,"smoothly-item",{"value":[8],"selected":[1540],"marked":[1540],"filter":[64]},[[0,"click","onClick"]]],[6,"smoothly-trigger",{"color":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]],[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-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]]], options);
17
+ return index.bootstrapLazy([["smoothly-color.cjs",[[6,"smoothly-color",{"color":[513]}]]],["smoothly-country.cjs",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["smoothly-google-font.cjs",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group.cjs",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder.cjs",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink.cjs",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source.cjs",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-accordion_63.cjs",[[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"],[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}],[2,"smoothly-table-demo-filtered",{"criteria":[32],"data":[32]},[[0,"filters","onFilterUpdate"]]],[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028],"showLabel":[516,"show-label"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]],[2,"smoothly-addresses",{"value":[16],"editable":[16]}],[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],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]],[6,"smoothly-summary",{"color":[1],"fill":[1],"size":[1]}],[6,"smoothly-table-cell"],[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]}],[1,"smoothly-button",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"link":[1],"download":[4]}],[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]}],[4,"smoothly-form",{"looks":[513]}],[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-expandable-row",{"align":[1],"open":[1540],"allowSpotlight":[32],"spotlight":[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]],[6,"smoothly-toggle",{"selected":[1540],"shape":[513],"disabled":[516],"name":[1],"value":[8]},[[0,"click","onClick"]]],[1,"smoothly-toggle-switch",{"selected":[1540],"disabled":[516],"name":[1],"value":[8]},[[0,"click","onClick"]]],[6,"smoothly-input-date",{"name":[513],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"disabled":[1028]},[[0,"dateSet","dateSetHandler"]]],[2,"smoothly-address",{"value":[16],"editable":[4]}],[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"]]],[1,"smoothly-filter",{"criteria":[1040],"inputValue":[1032,"input-value"],"isExpanded":[32],"freeSearchValue":[32]},[[0,"filter","filterHandler"]]],[1,"smoothly-filter-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[2,"min-length"],"showLabel":[516,"show-label"],"maxLength":[2,"max-length"],"autocomplete":[4],"pattern":[16],"placeholder":[1],"disabled":[4],"readonly":[4],"currency":[513],"comparison":[1],"criteria":[32],"clear":[64]}],[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]],[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"allowSpotlight":[32],"spotlight":[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]],[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]],[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]],[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-header",{"name":[1]}],[6,"smoothly-table-row",null,[[0,"expansionLoad","onExpansionLoad"],[0,"expansionOpen","onExpansionOpen"]]],[0,"smoothly-tuple",{"tuple":[16]}],[2,"smoothly-address-display",{"value":[16],"editable":[4]}],[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]}],[2,"smoothly-input-month",{"value":[1025]}],[6,"smoothly-quiet",{"color":[1]}],[6,"smoothly-selector",{"initialPrompt":[1,"initial-prompt"],"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32],"reset":[64]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]],[6,"smoothly-item",{"value":[8],"selected":[1540],"marked":[1540],"filter":[64]},[[0,"click","onClick"]]],[6,"smoothly-trigger",{"color":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]],[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-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]]], options);
18
18
  });
19
19
  };
20
20
 
21
+ exports.setNonce = index.setNonce;
21
22
  exports.defineCustomElements = defineCustomElements;