@3t-transform/threeteeui 0.0.22 → 0.0.24

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 (120) hide show
  1. package/dist/cjs/{index-bf777121.js → index-bc080fb4.js} +2 -148
  2. package/dist/cjs/loader.cjs.js +3 -4
  3. package/dist/cjs/tttx-button.cjs.entry.js +1 -1
  4. package/dist/cjs/tttx-icon.cjs.entry.js +1 -1
  5. package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +1 -1
  6. package/dist/cjs/tttx-list.cjs.entry.js +14 -178
  7. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +1 -1
  8. package/dist/cjs/tttx-standalone-input.cjs.entry.js +1 -1
  9. package/dist/cjs/tttx-table.cjs.entry.js +1 -1
  10. package/dist/cjs/tttx.cjs.js +3 -7
  11. package/dist/collection/collection-manifest.json +2 -6
  12. package/dist/collection/components/atoms/tttx-button/test/tttx-button.e2e.js +9 -0
  13. package/dist/collection/components/atoms/tttx-button/test/tttx-button.spec.js +43 -0
  14. package/dist/collection/components/atoms/tttx-icon/test/tttx-icon.e2e.js +9 -0
  15. package/dist/collection/components/atoms/tttx-icon/test/tttx-icon.spec.js +16 -0
  16. package/dist/collection/components/atoms/tttx-keyvalue-block/test/tttx-keyvalue-block.spec.js +164 -0
  17. package/dist/collection/components/atoms/tttx-loading-spinner/Test/tttx-loading-spinner.spec.js +64 -0
  18. package/dist/collection/components/molecules/tttx-list/test/tttx-list.spec.js +151 -0
  19. package/dist/collection/components/molecules/tttx-list/tttx-list.css +17 -20
  20. package/dist/collection/components/molecules/tttx-list/tttx-list.js +22 -255
  21. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +34 -32
  22. package/dist/collection/components/molecules/tttx-standalone-input/test/tttx-standalone-input.e2e.js +9 -0
  23. package/dist/collection/components/molecules/tttx-standalone-input/test/tttx-standalone-input.spec.js +146 -0
  24. package/dist/collection/components/molecules/tttx-table/test/tttx-table.e2e.js +9 -0
  25. package/dist/components/index.d.ts +0 -13
  26. package/dist/components/index.js +1 -5
  27. package/dist/components/tttx-button.js +54 -1
  28. package/dist/components/tttx-list.js +19 -188
  29. package/dist/components/tttx-loading-spinner.js +38 -1
  30. package/dist/components/tttx-table.js +2 -8
  31. package/dist/esm/{index-a05bd606.js → index-901bfd55.js} +3 -147
  32. package/dist/esm/loader.js +3 -4
  33. package/dist/esm/polyfills/css-shim.js +1 -1
  34. package/dist/esm/tttx-button.entry.js +1 -1
  35. package/dist/esm/tttx-icon.entry.js +1 -1
  36. package/dist/esm/tttx-keyvalue-block.entry.js +1 -1
  37. package/dist/esm/tttx-list.entry.js +14 -178
  38. package/dist/esm/tttx-loading-spinner.entry.js +1 -1
  39. package/dist/esm/tttx-standalone-input.entry.js +1 -1
  40. package/dist/esm/tttx-table.entry.js +1 -1
  41. package/dist/esm/tttx.js +3 -4
  42. package/dist/tttx/{p-68ff0f39.entry.js → p-0ae51ec5.entry.js} +1 -1
  43. package/dist/tttx/{p-9536b8c4.entry.js → p-1ec23160.entry.js} +1 -1
  44. package/dist/tttx/p-300ff6a8.entry.js +1 -0
  45. package/dist/tttx/p-32ad02d3.entry.js +1 -0
  46. package/dist/tttx/{p-a96ca037.entry.js → p-80cf5236.entry.js} +1 -1
  47. package/dist/tttx/{p-a5808741.entry.js → p-9a382959.entry.js} +1 -1
  48. package/dist/tttx/{p-46b5551e.entry.js → p-a1bd16a1.entry.js} +1 -1
  49. package/dist/tttx/{p-93763d3c.entry.js → p-a4077908.entry.js} +1 -1
  50. package/dist/tttx/p-a6953900.entry.js +1 -0
  51. package/dist/tttx/p-b46e3c59.entry.js +1 -0
  52. package/dist/tttx/p-c290160b.js +2 -0
  53. package/dist/tttx/p-dc179257.entry.js +1 -0
  54. package/dist/tttx/p-e19eb07e.entry.js +1 -0
  55. package/dist/tttx/p-e4341658.entry.js +1 -0
  56. package/dist/tttx/tttx.esm.js +1 -1
  57. package/dist/types/components/atoms/tttx-button/test/tttx-button.e2e.d.ts +1 -0
  58. package/dist/types/components/atoms/tttx-button/test/tttx-button.spec.d.ts +1 -0
  59. package/dist/types/components/atoms/tttx-icon/test/tttx-icon.e2e.d.ts +1 -0
  60. package/dist/types/components/atoms/tttx-icon/test/tttx-icon.spec.d.ts +1 -0
  61. package/dist/types/components/atoms/tttx-keyvalue-block/test/tttx-keyvalue-block.spec.d.ts +1 -0
  62. package/dist/types/components/atoms/tttx-loading-spinner/Test/tttx-loading-spinner.spec.d.ts +1 -0
  63. package/dist/types/components/molecules/tttx-list/interfaces.d.ts +4 -0
  64. package/dist/types/components/molecules/tttx-list/test/tttx-list.spec.d.ts +1 -0
  65. package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +4 -46
  66. package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +2 -8
  67. package/dist/types/components/molecules/tttx-standalone-input/test/tttx-standalone-input.e2e.d.ts +1 -0
  68. package/dist/types/components/molecules/tttx-standalone-input/test/tttx-standalone-input.spec.d.ts +1 -0
  69. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +6 -6
  70. package/dist/types/components/molecules/tttx-table/test/tttx-table.e2e.d.ts +1 -0
  71. package/dist/types/components.d.ts +3 -91
  72. package/dist/types/stencil-public-runtime.d.ts +3 -59
  73. package/loader/index.d.ts +0 -9
  74. package/package.json +3 -2
  75. package/readme.md +20 -0
  76. package/dist/cjs/tttx-checkbox.cjs.entry.js +0 -28
  77. package/dist/cjs/tttx-form.cjs.entry.js +0 -374
  78. package/dist/cjs/tttx-input-calendar.cjs.entry.js +0 -125
  79. package/dist/cjs/tttx-popover-content.cjs.entry.js +0 -23
  80. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.css +0 -30
  81. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.js +0 -97
  82. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.stories.js +0 -23
  83. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.css +0 -181
  84. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.js +0 -102
  85. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.stories.js +0 -13
  86. package/dist/collection/components/molecules/tttx-form/tttx-form.css +0 -314
  87. package/dist/collection/components/molecules/tttx-form/tttx-form.js +0 -452
  88. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +0 -109
  89. package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.css +0 -93
  90. package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.js +0 -174
  91. package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.stories.js +0 -27
  92. package/dist/components/tttx-button2.js +0 -56
  93. package/dist/components/tttx-checkbox.d.ts +0 -11
  94. package/dist/components/tttx-checkbox.js +0 -46
  95. package/dist/components/tttx-form.d.ts +0 -11
  96. package/dist/components/tttx-form.js +0 -391
  97. package/dist/components/tttx-input-calendar.d.ts +0 -11
  98. package/dist/components/tttx-input-calendar.js +0 -157
  99. package/dist/components/tttx-loading-spinner2.js +0 -40
  100. package/dist/components/tttx-popover-content.d.ts +0 -11
  101. package/dist/components/tttx-popover-content.js +0 -6
  102. package/dist/components/tttx-popover-content2.js +0 -39
  103. package/dist/esm/tttx-checkbox.entry.js +0 -24
  104. package/dist/esm/tttx-form.entry.js +0 -370
  105. package/dist/esm/tttx-input-calendar.entry.js +0 -121
  106. package/dist/esm/tttx-popover-content.entry.js +0 -19
  107. package/dist/tttx/p-037d286f.entry.js +0 -1
  108. package/dist/tttx/p-07b134af.js +0 -2
  109. package/dist/tttx/p-1b63f16a.entry.js +0 -1
  110. package/dist/tttx/p-45afb84c.entry.js +0 -1
  111. package/dist/tttx/p-a92ca87e.entry.js +0 -1
  112. package/dist/tttx/p-f579ed1e.entry.js +0 -1
  113. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.d.ts +0 -7
  114. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.stories.d.ts +0 -18
  115. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.d.ts +0 -9
  116. package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.stories.d.ts +0 -6
  117. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +0 -134
  118. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +0 -12
  119. package/dist/types/components/molecules/tttx-input-calendar/tttx-input-calendar.d.ts +0 -19
  120. package/dist/types/components/molecules/tttx-input-calendar/tttx-input-calendar.stories.d.ts +0 -26
@@ -63,18 +63,6 @@ const isComplexType = (o) => {
63
63
  o = typeof o;
64
64
  return o === 'object' || o === 'function';
65
65
  };
66
- /**
67
- * Helper method for querying a `meta` tag that contains a nonce value
68
- * out of a DOM's head.
69
- *
70
- * @param doc The DOM containing the `head` to query against
71
- * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
72
- * exists or the tag has no content.
73
- */
74
- function queryNonceMetaTagContent(doc) {
75
- var _a, _b, _c;
76
- 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;
77
- }
78
66
  /**
79
67
  * Production h() function based on Preact by
80
68
  * Jason Miller (@developit)
@@ -83,6 +71,7 @@ function queryNonceMetaTagContent(doc) {
83
71
  *
84
72
  * Modified for Stencil's compiler and vdom
85
73
  */
74
+ // const stack: any[] = [];
86
75
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
87
76
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
88
77
  const h = (nodeName, vnodeData, ...children) => {
@@ -133,14 +122,6 @@ const h = (nodeName, vnodeData, ...children) => {
133
122
  }
134
123
  return vnode;
135
124
  };
136
- /**
137
- * A utility function for creating a virtual DOM node from a tag and some
138
- * possible text content.
139
- *
140
- * @param tag the tag for this element
141
- * @param text possible text content for the node
142
- * @returns a newly-minted virtual DOM node
143
- */
144
125
  const newVNode = (tag, text) => {
145
126
  const vnode = {
146
127
  $flags$: 0,
@@ -155,12 +136,6 @@ const newVNode = (tag, text) => {
155
136
  return vnode;
156
137
  };
157
138
  const Host = {};
158
- /**
159
- * Check whether a given node is a Host node or not
160
- *
161
- * @param node the virtual DOM node to check
162
- * @returns whether it's a Host node or not
163
- */
164
139
  const isHost = (node) => node && node.$tag$ === Host;
165
140
  /**
166
141
  * Parse a new property value for a given property type.
@@ -253,7 +228,6 @@ const registerStyle = (scopeId, cssText, allowCS) => {
253
228
  styles.set(scopeId, style);
254
229
  };
255
230
  const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
256
- var _a;
257
231
  let scopeId = getScopeId(cmpMeta);
258
232
  const style = styles.get(scopeId);
259
233
  // if an element is NOT connected then getRootNode() will return the wrong root node
@@ -273,11 +247,6 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
273
247
  styleElm = doc.createElement('style');
274
248
  styleElm.innerHTML = style;
275
249
  }
276
- // Apply CSP nonce to the style tag if it exists
277
- const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
278
- if (nonce != null) {
279
- styleElm.setAttribute('nonce', nonce);
280
- }
281
250
  styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
282
251
  }
283
252
  if (appliedStyles) {
@@ -333,12 +302,6 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
333
302
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
334
303
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
335
304
  }
336
- else if (memberName === 'ref') {
337
- // minifier will clean this up
338
- if (newValue) {
339
- newValue(elm);
340
- }
341
- }
342
305
  else if ((!isProp ) &&
343
306
  memberName[0] === 'o' &&
344
307
  memberName[1] === 'n') {
@@ -485,21 +448,6 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
485
448
  }
486
449
  return elm;
487
450
  };
488
- /**
489
- * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
490
- * add them to the DOM in the appropriate place.
491
- *
492
- * @param parentElm the DOM node which should be used as a parent for the new
493
- * DOM nodes
494
- * @param before a child of the `parentElm` which the new children should be
495
- * inserted before (optional)
496
- * @param parentVNode the parent virtual DOM node
497
- * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
498
- * @param startIdx the index in the child virtual DOM nodes at which to start
499
- * creating DOM nodes (inclusive)
500
- * @param endIdx the index in the child virtual DOM nodes at which to stop
501
- * creating DOM nodes (inclusive)
502
- */
503
451
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
504
452
  let containerElm = (parentElm);
505
453
  let childNode;
@@ -516,24 +464,10 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
516
464
  }
517
465
  }
518
466
  };
519
- /**
520
- * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
521
- * This can be used to, for instance, clean up after a list of children which
522
- * should no longer be shown.
523
- *
524
- * This function also handles some of Stencil's slot relocation logic.
525
- *
526
- * @param vnodes a list of virtual DOM nodes to remove
527
- * @param startIdx the index at which to start removing nodes (inclusive)
528
- * @param endIdx the index at which to stop removing nodes (inclusive)
529
- * @param vnode a VNode
530
- * @param elm an element
531
- */
532
467
  const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
533
468
  for (; startIdx <= endIdx; ++startIdx) {
534
469
  if ((vnode = vnodes[startIdx])) {
535
470
  elm = vnode.$elm$;
536
- callNodeRefs(vnode);
537
471
  // remove the vnode's element from the dom
538
472
  elm.remove();
539
473
  }
@@ -721,8 +655,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
721
655
  *
722
656
  * So, in other words, if `key` attrs are not set on VNodes which may be
723
657
  * changing order within a `children` array or something along those lines then
724
- * we could obtain a false negative and then have to do needless re-rendering
725
- * (i.e. we'd say two VNodes aren't equal when in fact they should be).
658
+ * we could obtain a false positive and then have to do needless re-rendering.
726
659
  *
727
660
  * @param leftVNode the first VNode to check
728
661
  * @param rightVNode the second VNode to check
@@ -786,24 +719,6 @@ const patch = (oldVNode, newVNode) => {
786
719
  elm.data = text;
787
720
  }
788
721
  };
789
- const callNodeRefs = (vNode) => {
790
- {
791
- vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
792
- vNode.$children$ && vNode.$children$.map(callNodeRefs);
793
- }
794
- };
795
- /**
796
- * The main entry point for Stencil's virtual DOM-based rendering engine
797
- *
798
- * Given a {@link d.HostRef} container and some virtual DOM nodes, this
799
- * function will handle creating a virtual DOM tree with a single root, patching
800
- * the current virtual DOM tree onto an old one (if any), dealing with slot
801
- * relocation, and reflecting attributes.
802
- *
803
- * @param hostRef data needed to root and render the virtual DOM tree, such as
804
- * the DOM node into which it should be rendered.
805
- * @param renderFnResults the virtual DOM nodes to be rendered
806
- */
807
722
  const renderVdom = (hostRef, renderFnResults) => {
808
723
  const hostElm = hostRef.$hostElement$;
809
724
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
@@ -855,9 +770,6 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
855
770
  promise = safeCall(instance, 'componentWillLoad');
856
771
  }
857
772
  }
858
- {
859
- promise = then(promise, () => safeCall(instance, 'componentWillRender'));
860
- }
861
773
  endSchedule();
862
774
  return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
863
775
  };
@@ -925,20 +837,13 @@ const postUpdateComponent = (hostRef) => {
925
837
  const tagName = hostRef.$cmpMeta$.$tagName$;
926
838
  const elm = hostRef.$hostElement$;
927
839
  const endPostUpdate = createTime('postUpdate', tagName);
928
- const instance = hostRef.$lazyInstance$ ;
929
840
  const ancestorComponent = hostRef.$ancestorComponent$;
930
- {
931
- safeCall(instance, 'componentDidRender');
932
- }
933
841
  if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
934
842
  hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
935
843
  {
936
844
  // DOM WRITE!
937
845
  addHydratedFlag(elm);
938
846
  }
939
- {
940
- safeCall(instance, 'componentDidLoad');
941
- }
942
847
  endPostUpdate();
943
848
  {
944
849
  hostRef.$onReadyResolve$(elm);
@@ -994,7 +899,6 @@ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propNam
994
899
  const setValue = (ref, propName, newVal, cmpMeta) => {
995
900
  // check our new property value against our internal value
996
901
  const hostRef = getHostRef(ref);
997
- const elm = hostRef.$hostElement$ ;
998
902
  const oldVal = hostRef.$instanceValues$.get(propName);
999
903
  const flags = hostRef.$flags$;
1000
904
  const instance = hostRef.$lazyInstance$ ;
@@ -1007,22 +911,6 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1007
911
  // set our new value!
1008
912
  hostRef.$instanceValues$.set(propName, newVal);
1009
913
  if (instance) {
1010
- // get an array of method names of watch functions to call
1011
- if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1012
- const watchMethods = cmpMeta.$watchers$[propName];
1013
- if (watchMethods) {
1014
- // this instance is watching for when this property changed
1015
- watchMethods.map((watchMethodName) => {
1016
- try {
1017
- // fire off each of the watch methods that are watching this property
1018
- instance[watchMethodName](newVal, oldVal, propName);
1019
- }
1020
- catch (e) {
1021
- consoleError(e, elm);
1022
- }
1023
- });
1024
- }
1025
- }
1026
914
  if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1027
915
  // looks like this value actually changed, so we've got work to do!
1028
916
  // but only if we've already rendered, otherwise just chill out
@@ -1045,9 +933,6 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1045
933
  */
1046
934
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1047
935
  if (cmpMeta.$members$) {
1048
- if (Cstr.watchers) {
1049
- cmpMeta.$watchers$ = Cstr.watchers;
1050
- }
1051
936
  // It's better to have a const than two Object.entries()
1052
937
  const members = Object.entries(cmpMeta.$members$);
1053
938
  const prototype = Cstr.prototype;
@@ -1152,12 +1037,6 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1152
1037
  endLoad();
1153
1038
  }
1154
1039
  if (!Cstr.isProxied) {
1155
- // we've never proxied this Constructor before
1156
- // let's add the getters/setters to its prototype before
1157
- // the first time we create an instance of the implementation
1158
- {
1159
- cmpMeta.$watchers$ = Cstr.watchers;
1160
- }
1161
1040
  proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1162
1041
  Cstr.isProxied = true;
1163
1042
  }
@@ -1181,9 +1060,6 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1181
1060
  {
1182
1061
  hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1183
1062
  }
1184
- {
1185
- hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1186
- }
1187
1063
  endNewInstance();
1188
1064
  }
1189
1065
  if (Cstr.style) {
@@ -1263,20 +1139,15 @@ const connectedCallback = (elm) => {
1263
1139
  const disconnectedCallback = (elm) => {
1264
1140
  if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1265
1141
  const hostRef = getHostRef(elm);
1266
- const instance = hostRef.$lazyInstance$ ;
1267
1142
  {
1268
1143
  if (hostRef.$rmListeners$) {
1269
1144
  hostRef.$rmListeners$.map((rmListener) => rmListener());
1270
1145
  hostRef.$rmListeners$ = undefined;
1271
1146
  }
1272
1147
  }
1273
- {
1274
- safeCall(instance, 'disconnectedCallback');
1275
- }
1276
1148
  }
1277
1149
  };
1278
1150
  const bootstrapLazy = (lazyBundles, options = {}) => {
1279
- var _a;
1280
1151
  const endBootstrap = createTime();
1281
1152
  const cmpTags = [];
1282
1153
  const exclude = options.exclude || [];
@@ -1303,9 +1174,6 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1303
1174
  {
1304
1175
  cmpMeta.$listeners$ = compactMeta[3];
1305
1176
  }
1306
- {
1307
- cmpMeta.$watchers$ = {};
1308
- }
1309
1177
  const tagName = cmpMeta.$tagName$;
1310
1178
  const HostElement = class extends HTMLElement {
1311
1179
  // StencilLazyHost
@@ -1356,11 +1224,6 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1356
1224
  {
1357
1225
  visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1358
1226
  visibilityStyle.setAttribute('data-styles', '');
1359
- // Apply CSP nonce to the style tag if it exists
1360
- const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1361
- if (nonce != null) {
1362
- visibilityStyle.setAttribute('nonce', nonce);
1363
- }
1364
1227
  head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1365
1228
  }
1366
1229
  // Process deferred connectedCallbacks now all components have been registered
@@ -1410,13 +1273,6 @@ const getHostListenerTarget = (elm, flags) => {
1410
1273
  };
1411
1274
  // prettier-ignore
1412
1275
  const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
1413
- /**
1414
- * Assigns the given value to the nonce property on the runtime platform object.
1415
- * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
1416
- * @param nonce The value to be assigned to the platform nonce property.
1417
- * @returns void
1418
- */
1419
- const setNonce = (nonce) => (plt.$nonce$ = nonce);
1420
1276
  const hostRefs = /*@__PURE__*/ new WeakMap();
1421
1277
  const getHostRef = (ref) => hostRefs.get(ref);
1422
1278
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
@@ -1527,8 +1383,6 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1527
1383
  exports.Host = Host;
1528
1384
  exports.bootstrapLazy = bootstrapLazy;
1529
1385
  exports.createEvent = createEvent;
1530
- exports.getElement = getElement;
1531
1386
  exports.h = h;
1532
1387
  exports.promiseResolve = promiseResolve;
1533
1388
  exports.registerInstance = registerInstance;
1534
- exports.setNonce = setNonce;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf777121.js');
5
+ const index = require('./index-bc080fb4.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.20.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -14,9 +14,8 @@ 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([["tttx-input-calendar.cjs",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table.cjs",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"inputAutocapitalize":[1,"input-autocapitalize"],"inputAutofocus":[4,"input-autofocus"],"inputKeyhint":[1,"input-keyhint"],"inputIndex":[8,"input-index"],"inputTitle":[1,"input-title"],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox.cjs",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content.cjs",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
17
+ return index.bootstrapLazy([["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-list.cjs",[[1,"tttx-list",{"data":[1]}]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"inputAutocapitalize":[1,"input-autocapitalize"],"inputAutofocus":[4,"input-autofocus"],"inputKeyhint":[1,"input-keyhint"],"inputIndex":[8,"input-index"],"inputTitle":[1,"input-title"],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-table.cjs",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]]], options);
18
18
  });
19
19
  };
20
20
 
21
- exports.setNonce = index.setNonce;
22
21
  exports.defineCustomElements = defineCustomElements;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf777121.js');
5
+ const index = require('./index-bc080fb4.js');
6
6
 
7
7
  const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:400}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #D5D5D5}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #D5D5D5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:hover{background:#146EB3;border:1px solid #146EB3}.primary:active{background:#1464A2;border:1px solid #1464A2}.borderless{background:transparent;border:none;color:#212121}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.danger{background:#DC0000;border:1px solid #DC0000;color:white}.danger:hover{background:#C60000;border:1px solid #C60000}.danger:active{background:#B00000;border:1px solid #B00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}:host{display:inline-block}.spacingleft{margin-left:8px}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf777121.js');
5
+ const index = require('./index-bc080fb4.js');
6
6
 
7
7
  const tttxIconCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}:host{display:inline-block;cursor:default;user-select:none}.icon-size{width:24px;height:24px}.tooltip{background:#ffffff;color:#343434;font-weight:bold;padding:8px 16px;font-size:13px;border-radius:4px;box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.3);display:none}.tooltip[data-show]{display:block}.arrow,.arrow::before{position:absolute;width:8px;height:8px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:\"\";transform:rotate(45deg)}.tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}.tooltip[data-popper-placement^=left]>.arrow{right:-4px}.tooltip[data-popper-placement^=right]>.arrow{left:-4px}.red{color:#dc0000}.orange{color:#f59500}.blue{color:#1479c6}.green{color:#a2bb31}.gray{color:#757575}.black{color:#212121}.white{color:white}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf777121.js');
5
+ const index = require('./index-bc080fb4.js');
6
6
 
7
7
  const tttxKeyvalueBlockCss = ":host{display:block}dl{margin:0;padding:0;font-family:\"Roboto\", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dd{margin:0;font-weight:400;font-size:16px;color:#212121;line-height:21px;margin-bottom:18px}dl.horizontal{display:flex;flex-direction:row;width:100%}dl.horizontal div{flex-grow:1}@media (max-width: 769px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%}}@media (max-width: 600px){dl.horizontal div{width:100%}}";
8
8
 
@@ -2,196 +2,32 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf777121.js');
5
+ const index = require('./index-bc080fb4.js');
6
6
 
7
- const tttxListCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}:host{display:flex;flex-direction:column}.tttx-list__row{min-height:52px;line-height:36px;padding:8px;display:flex;flex-direction:row;align-items:center;cursor:pointer;border-bottom:1px solid #d5d5d5}.tttx-list__row .generic-template__content{width:100%;display:flex;align-items:center;gap:8px}.tttx-list__row:first-of-type{border-top:1px solid #d5d5d5}.tttx-list__row:focus,.tttx-list__row:active{background-color:#e6e6e6}.tttx-list__row.selected{background-color:#e7f1f9}.load-indicator{display:flex;justify-content:center}";
7
+ const tttxListCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}:host{display:flex;flex-direction:column}.list{margin:0;padding:0}.item{list-style:none;margin:0;padding:0;border-bottom:1px solid #d5d5d5;height:36px;display:flex;align-items:center}.item:first-of-type{border-top:1px solid #d5d5d5}.align-right{margin-left:auto}.item-content{display:flex;align-items:center}";
8
8
 
9
9
  const TttxList = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
- this.listPaginate = index.createEvent(this, "listPaginate", 7);
13
- this.listSelectedEvent = index.createEvent(this, "listSelectedEvent", 7);
14
- this.listItemClick = index.createEvent(this, "listItemClick", 7);
15
- this.rowCount = 0;
16
- this.name = undefined;
17
- this.selectable = undefined;
18
- this.items = [];
19
- this.selectedIds = [];
20
- this.loading = true;
21
- this.lastPage = false;
12
+ this.listSelectedEvent = index.createEvent(this, "listItemClick", 7);
13
+ this.data = undefined;
22
14
  }
23
- listLoadHandler(event) {
24
- if (event.detail.name !== this.name)
25
- return;
26
- this.items = [...this.items, ...event.detail.items];
27
- this.loading = false;
28
- this.lastPage = event.detail.lastPage;
29
- this.renderRows(event.detail.items);
30
- if (this.scrollableParent.clientHeight === this.scrollableParent.scrollHeight)
31
- this.listPaginateHandler();
32
- }
33
- listPaginateHandler() {
34
- // We don't want to emit an event to load the next page if this is the last page, or if we're already loading
35
- if (this.lastPage || this.loading)
36
- return;
37
- this.loading = true;
38
- this.listPaginate.emit({ name: this.name });
39
- }
40
- listClearDataCacheHandler(event) {
41
- if (event.detail.name !== this.name)
42
- return;
43
- this.items = [];
44
- this.selectedIds = [];
45
- this.listItemContainer()
46
- .querySelectorAll('.tttx-list__row')
47
- .forEach((node) => {
48
- node.remove();
49
- });
50
- this.rowCount = 0;
51
- this.lastPage = false;
52
- this.loading = false;
53
- }
54
- listActionSelectedEventHandler(event) {
55
- if (event.detail.name !== this.name || !this.selectable || this.selectedIds.length === 0)
56
- return;
57
- const selectedRows = this.selectedIds.map(id => {
58
- return this.items[id];
59
- });
60
- if (event.detail.removeRows)
61
- this.removeSelectedRows();
62
- this.listSelectedEvent.emit({
63
- name: this.name,
64
- eventName: event.detail.eventName,
65
- selectedRows,
66
- });
15
+ renderListItem(item) {
16
+ // Onclick should return some row data. May need to rethink how we handle data, since we don't want to return a template
17
+ // Alternatively, could return some sort of row id/index instead
18
+ return index.h("li", { class: "item", onClick: () => { this.listSelectedEvent.emit({}); } }, item.element && index.h("span", { class: "item-content", innerHTML: item.element }), item.chevron && index.h("tttx-icon", { class: "align-right", icon: "chevron_right" }));
67
19
  }
68
- removeSelectedRows() {
69
- const orderedSelectedIds = [...this.selectedIds].sort((a, b) => {
70
- return b - a;
71
- });
72
- orderedSelectedIds.forEach(itemIndex => {
73
- this.items.splice(itemIndex, 1);
74
- this.listItemContainer().removeChild(this.listItemContainer().querySelector(`[data-row-id="${itemIndex}"]`));
75
- // If this removes the scrollbar and we're not on the last page, load in a new page
76
- if (this.scrollableParent.clientHeight === this.scrollableParent.scrollHeight)
77
- this.listPaginateHandler();
78
- });
79
- // Empty selected ids with mutation rather than assignment to avoid unecessary component rerender
80
- this.selectedIds.splice(0, this.selectedIds.length);
81
- }
82
- listItemClickHandler(itemData) {
83
- if (this.selectedIds.length !== 0)
20
+ render() {
21
+ if (!this.data)
84
22
  return;
85
- this.listItemClick.emit({ itemData, name: this.name });
86
- }
87
- componentWillLoad() {
88
- this.template = this.host.querySelector('template');
89
- this.scrollableParent = this.getScrollableParent(this.host);
90
- const scrollableContext = this.scrollableParent === document.scrollingElement ? document : this.scrollableParent;
91
- scrollableContext.addEventListener('scroll', this.scrollHandler.bind(this));
92
- window.addEventListener('resize', this.scrollHandler.bind(this));
93
- }
94
- componentDidLoad() {
95
- // Emit event to load first page
96
- this.listPaginate.emit({ name: this.name });
97
- }
98
- listItemContainer() {
99
- return this.host.shadowRoot.querySelector('.list-item-container');
100
- }
101
- async scrollHandler() {
102
- const { clientHeight, scrollTop, scrollHeight } = this.scrollableParent;
103
- if (Math.abs(scrollHeight - clientHeight - scrollTop) < 26)
104
- this.listPaginateHandler();
105
- }
106
- isScrollable(node) {
107
- const hasScrollbar = ['scroll', 'auto'].includes(node.style.overflowY);
108
- return hasScrollbar;
109
- }
110
- getScrollableParent(node) {
111
- if (!node || node === document.body) {
112
- return document.scrollingElement;
23
+ if (typeof this.data === 'string') {
24
+ this._data = JSON.parse(this.data);
113
25
  }
114
26
  else {
115
- return this.isScrollable(node) ? node : this.getScrollableParent(node.parentElement);
27
+ this._data = this.data;
116
28
  }
29
+ return (index.h("ul", { class: "list" }, this._data && this._data.map((item) => this.renderListItem(item))));
117
30
  }
118
- appendRowCheckbox(rowContainer) {
119
- if (!this.selectable)
120
- return;
121
- const rowId = this.rowCount;
122
- const checkbox = document.createElement('input');
123
- checkbox.setAttribute('type', 'checkbox');
124
- checkbox.addEventListener('click', e => {
125
- e.stopPropagation();
126
- if (e.target.checked) {
127
- this.selectedIds = [...this.selectedIds, rowId];
128
- rowContainer.classList.add('selected');
129
- }
130
- else {
131
- this.selectedIds = this.selectedIds.filter(id => {
132
- return id !== rowId;
133
- });
134
- rowContainer.classList.remove('selected');
135
- }
136
- });
137
- rowContainer.setAttribute('data-row-id', `${rowId}`);
138
- this.rowCount++;
139
- rowContainer.appendChild(checkbox);
140
- }
141
- appendSeededTemplate(rowData, rowContainer) {
142
- this.template.childNodes.forEach(child => {
143
- const clone = child.cloneNode(false);
144
- if (clone.getAttribute('data-fields')) {
145
- const fields = clone.getAttribute('data-fields').replace(/\s/g, '').split(',');
146
- const filteredRowData = Object.fromEntries(fields.map((field) => {
147
- return [field, rowData[field]];
148
- }));
149
- clone.setAttribute('row-data', JSON.stringify(filteredRowData));
150
- }
151
- else {
152
- clone.setAttribute('row-data', JSON.stringify(rowData));
153
- }
154
- rowContainer.appendChild(clone);
155
- });
156
- }
157
- appendGenericTemplate(rowData, rowContainer) {
158
- const row = document.createElement('div');
159
- row.classList.add('generic-template__content');
160
- row.textContent = rowData.text;
161
- rowContainer.appendChild(row);
162
- if (!rowData.icon)
163
- return;
164
- const icon = document.createElement('span');
165
- icon.classList.add('material-symbols-rounded');
166
- icon.textContent = rowData.icon;
167
- if (rowData.iconColor)
168
- icon.style['color'] = rowData.iconColor;
169
- row.prepend(icon);
170
- }
171
- row(rowData) {
172
- const rowContainer = document.createElement('div');
173
- rowContainer.classList.add('tttx-list__row');
174
- rowContainer.addEventListener('click', () => {
175
- this.listItemClickHandler(rowData);
176
- });
177
- this.appendRowCheckbox(rowContainer);
178
- this.template ? this.appendSeededTemplate(rowData, rowContainer) : this.appendGenericTemplate(rowData, rowContainer);
179
- return rowContainer;
180
- }
181
- renderRows(batchData) {
182
- batchData.forEach(rowData => {
183
- this.listItemContainer().appendChild(this.row(rowData));
184
- });
185
- }
186
- loadIndicator() {
187
- if (!this.loading)
188
- return;
189
- return index.h("div", { class: "load-indicator" }, index.h("tttx-loading-spinner", { size: 'large' }));
190
- }
191
- render() {
192
- return (index.h(index.Host, null, index.h("div", { class: "list-item-container", tabindex: "0" }, !this.loading && this.items.length === 0 ? 'No data to display' : undefined), this.loadIndicator()));
193
- }
194
- get host() { return index.getElement(this); }
195
31
  };
196
32
  TttxList.style = tttxListCss;
197
33
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf777121.js');
5
+ const index = require('./index-bc080fb4.js');
6
6
 
7
7
  const tttxLoadingSpinnerCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.spinner-container{position:absolute}.loading-box{display:flex;align-items:center;justify-content:center}.loading-text{font-size:16px;font-weight:400;padding-top:10px;text-align:center}.spinner{border:solid #1479c6;border-bottom-color:#d5d5d5;border-radius:50%;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.spinner.small{height:20px;width:20px;border-width:4px}.spinner.large{height:60px;width:60px;border-width:8px}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf777121.js');
5
+ const index = require('./index-bc080fb4.js');
6
6
 
7
7
  const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.icon-left.sc-tttx-standalone-input,.icon-right.sc-tttx-standalone-input{flex-basis:24px}.icon-left.sc-tttx-standalone-input span.sc-tttx-standalone-input,.icon-right.sc-tttx-standalone-input span.sc-tttx-standalone-input{font-size:24px;line-height:24px;text-align:center;display:block;width:24px;height:24px;margin-top:4px}.icon-left.sc-tttx-standalone-input span.sc-tttx-standalone-input{margin-left:4px}.icon-right.sc-tttx-standalone-input span.sc-tttx-standalone-input{margin-right:4px}.icon-right.sc-tttx-standalone-input{margin-top:5px;margin-right:4px}.icon-left.sc-tttx-standalone-input{margin-top:5px;margin-left:4px}.iconleft.sc-tttx-standalone-input .input.sc-tttx-standalone-input{padding-left:4px}.iconright.sc-tttx-standalone-input .input.sc-tttx-standalone-input{padding-right:4px}.focused.sc-tttx-standalone-input{border-color:#1479c6}.errormsg.sc-tttx-standalone-input{display:flex;justify-content:center;align-items:center;float:left;margin-bottom:16px;box-sizing:border-box;background-color:transparent;height:26px;font-size:14px;border-radius:none;z-index:2;color:#dc0000}.errormsg.sc-tttx-standalone-input .validationicon.sc-tttx-standalone-input{width:16px;height:16px;font-size:16px;margin-right:4px;vertical-align:middle;color:#dc0000}.danger.sc-tttx-standalone-input{color:#dc0000}.optional.sc-tttx-standalone-input{color:#757575;font-weight:normal}label.inputBlock.sc-tttx-standalone-input{display:block;position:relative;line-height:21px}label.sc-tttx-standalone-input{font-weight:500;font-size:16px}input.sc-tttx-standalone-input:not([type=submit]){font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;height:36px;padding:0 16px;font-size:16px;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px}input[type=date].sc-tttx-standalone-input{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}input.invalid.sc-tttx-standalone-input:invalid,input.standalone.invalid.sc-tttx-standalone-input{border:1px solid #dc0000}input.sc-tttx-standalone-input~.errorBubble.sc-tttx-standalone-input{min-height:27px;position:relative;font-size:14px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center}input.sc-tttx-standalone-input~.errorBubble.sc-tttx-standalone-input:not(.visible){visibility:hidden}input.sc-tttx-standalone-input~.errorBubble.sc-tttx-standalone-input span.sc-tttx-standalone-input{color:#dc0000;font-size:16px;margin-right:4px;height:16px}input.invalid.sc-tttx-standalone-input:invalid~.errorBubble.sc-tttx-standalone-input{position:relative;font-size:14px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;visibility:visible}input.sc-tttx-standalone-input:focus{border-color:#1479c6}.sc-tttx-standalone-input-h{display:block}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf777121.js');
5
+ const index = require('./index-bc080fb4.js');
6
6
 
7
7
  const tttxTableCss = "// SPACING $spacing-unit: 4px; // REGULAR $horizontal-spacing: $spacing-unit * 4; $vertical-spacing: $spacing-unit * 2; $base-padding: $vertical-spacing $horizontal-spacing; $base-height: $spacing-unit * 9; $component-spacing: $spacing-unit * 4; // SMALL $horizontal-spacing-sm: $spacing-unit * 2; $vertical-spacing-sm: $spacing-unit * 1; $base-padding-sm: $vertical-spacing-sm $horizontal-spacing-sm; $base-height-sm: $spacing-unit * 7; // COLOURS $grey-0: #212121; $grey-1: #363636; $grey-2: #4c4c4c; $grey-3: #636363; $grey-4: #757575; $grey-5: #9e9e9e; $grey-6: #aeaeae; $grey-7: #c8c8c8; $grey-8: #e3e3e3; $grey-9: #f0f0f0; $white: white; $black: $grey-0; $transparent: transparent; $blue-0: #00187c; $blue-1: #032e8c; $blue-2: #0849a3; $blue-3: #0951a8; $blue-4: #1169ba; $blue-5: #1479c6; $blue-6: #5194d2; $blue-7: #7aacdd; $blue-8: #b9d5ed; $blue-9: #e7f1f9; $red-0: #7c0000; $red-1: #8c0000; $red-2: #a30000; $red-3: #a80000; $red-4: #ba0000; $red-5: #dc0000; $red-6: #d25151; $red-7: #dd7a7a; $red-8: #edc1c1; $red-9: #f9e7e7; $black-1: #e6e6e6; $brand: $blue-0; $accent: $blue-5; $accent-selected: $blue-9; $error: $red-5; $severity-critical: #dc0000; $severity-warning: #f59500; $severity-success: #a2bb31; $severity-info: $accent; $ui-primary: $black; $ui-secondary: $grey-4; $ui-disabled: $grey-2; $ui-placeholder: $grey-5; $ui-background: $grey-9; $ui-sheet: $white; $ui-border: #d5d5d5; // BORDERS $ui-border-radius: 4px; $ui-border-width: 1px; // TYPOGRAPHY $font-size-default: 16px; $font-size-small: 14px; .material-symbols-rounded{font-variation-settings:'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24}.skeleton{animation:skeleton-loading 1s linear infinite alternate;border-radius:4px;width:100%}@keyframes skeleton-loading{0%{background-color:hsl(200, 20%, 80%)}100%{background-color:hsl(200, 20%, 95%)}}:host{display:block}table{box-sizing:border-box;width:100%;border-collapse:collapse;border-spacing:0;border:1px solid #ddd;border-bottom:none}thead tr{height:52px;color:#757575}tbody tr{height:48px;color:#212121}tr{font-family:'Roboto', sans-serif;font-weight:400;font-size:16px;display:flex;align-items:center;border-bottom:1px solid #ddd}.selected{background-color:#F0F0F0}.checked{background-color:#e7f1f9}td,th{min-width:300px;margin-left:16px;display:flex;align-items:left}.skeleton{height:24px;display:block}.align-right{margin-left:auto}";
8
8