@3t-transform/threeteeui 0.1.7 → 0.1.10

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 (114) hide show
  1. package/dist/cjs/{index-451f61dd.js → index-dc6cc829.js} +83 -2
  2. package/dist/cjs/loader.cjs.js +2 -18
  3. package/dist/cjs/tttx-button.cjs.entry.js +2 -2
  4. package/dist/cjs/tttx-filter.cjs.entry.js +162 -0
  5. package/dist/cjs/tttx-form.cjs.entry.js +1 -1
  6. package/dist/cjs/tttx-icon.cjs.entry.js +1 -1
  7. package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +4 -3
  8. package/dist/cjs/tttx-list.cjs.entry.js +4 -34
  9. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +1 -1
  10. package/dist/cjs/tttx-standalone-input.cjs.entry.js +1 -1
  11. package/dist/cjs/tttx-toolbar.cjs.entry.js +1 -1
  12. package/dist/cjs/tttx.cjs.js +4 -116
  13. package/dist/collection/collection-manifest.json +1 -0
  14. package/dist/collection/components/atoms/tttx-button/tttx-button.css +8 -0
  15. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.css +4 -0
  16. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +2 -1
  17. package/dist/collection/components/molecules/tttx-filter/tttx-filter.css +215 -0
  18. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +325 -0
  19. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +118 -0
  20. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +13 -0
  21. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +1 -1
  22. package/dist/components/index.d.ts +1 -0
  23. package/dist/components/index.js +1 -4
  24. package/dist/components/tttx-button.js +1 -1
  25. package/dist/components/tttx-filter.d.ts +11 -0
  26. package/dist/components/tttx-filter.js +195 -0
  27. package/dist/components/tttx-keyvalue-block.js +3 -2
  28. package/dist/components/tttx-list.js +3 -33
  29. package/dist/esm/{index-0350f122.js → index-86faeaab.js} +83 -3
  30. package/dist/esm/loader.js +2 -18
  31. package/dist/esm/tttx-button.entry.js +2 -2
  32. package/dist/esm/tttx-filter.entry.js +158 -0
  33. package/dist/esm/tttx-form.entry.js +1 -1
  34. package/dist/esm/tttx-icon.entry.js +1 -1
  35. package/dist/esm/tttx-keyvalue-block.entry.js +4 -3
  36. package/dist/esm/tttx-list.entry.js +4 -34
  37. package/dist/esm/tttx-loading-spinner.entry.js +1 -1
  38. package/dist/esm/tttx-standalone-input.entry.js +1 -1
  39. package/dist/esm/tttx-toolbar.entry.js +1 -1
  40. package/dist/esm/tttx.js +4 -116
  41. package/dist/tttx/index.esm.js +0 -1
  42. package/dist/tttx/{p-cd1565e0.entry.js → p-12fc0b16.entry.js} +1 -1
  43. package/dist/tttx/p-52a47b7c.js +2 -0
  44. package/dist/tttx/p-603f6ebe.entry.js +1 -0
  45. package/dist/tttx/{p-4f3958fa.entry.js → p-8f3badad.entry.js} +1 -1
  46. package/dist/tttx/{p-0a85dda4.entry.js → p-ae48fe5a.entry.js} +1 -1
  47. package/dist/tttx/{p-cc6644c9.entry.js → p-b0eedc78.entry.js} +1 -1
  48. package/dist/tttx/{p-5cae1beb.entry.js → p-bdb054b2.entry.js} +1 -1
  49. package/dist/tttx/p-dcd78796.entry.js +1 -0
  50. package/dist/tttx/{p-92465671.entry.js → p-e25d5fe2.entry.js} +1 -1
  51. package/dist/tttx/{p-1b015a9d.entry.js → p-f1d7eb35.entry.js} +1 -1
  52. package/dist/tttx/tttx.esm.js +1 -129
  53. package/dist/types/components/molecules/tttx-filter/tttx-filter.d.ts +37 -0
  54. package/dist/types/components/molecules/tttx-filter/tttx-filter.stories.d.ts +43 -0
  55. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +1 -0
  56. package/dist/types/components.d.ts +33 -0
  57. package/package.json +1 -1
  58. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  59. package/dist/cjs/css-shim-211819bc.js +0 -6
  60. package/dist/cjs/dom-9deb26c8.js +0 -75
  61. package/dist/cjs/index-11cfdabe.js +0 -3297
  62. package/dist/cjs/shadow-css-bf3843d2.js +0 -389
  63. package/dist/collection/components/atoms/tttx-button/test/tttx-button.e2e.js +0 -9
  64. package/dist/collection/components/atoms/tttx-button/test/tttx-button.spec.js +0 -83
  65. package/dist/collection/components/atoms/tttx-icon/test/tttx-icon.e2e.js +0 -9
  66. package/dist/collection/components/atoms/tttx-icon/test/tttx-icon.spec.js +0 -16
  67. package/dist/collection/components/atoms/tttx-keyvalue-block/test/tttx-keyvalue-block.spec.js +0 -216
  68. package/dist/collection/components/atoms/tttx-loading-spinner/Test/tttx-loading-spinner.spec.js +0 -64
  69. package/dist/collection/components/molecules/tttx-form/lib/setErrorState.spec.js +0 -38
  70. package/dist/collection/components/molecules/tttx-form/lib/validityCheck.spec.js +0 -214
  71. package/dist/collection/components/molecules/tttx-form/test/tttx-form.e2e.js +0 -9
  72. package/dist/collection/components/molecules/tttx-form/test/tttx-form.spec.js +0 -232
  73. package/dist/collection/components/molecules/tttx-list/test/ttttx-list.spec.e2e.js +0 -26
  74. package/dist/collection/components/molecules/tttx-list/test/tttx-list.spec.js +0 -183
  75. package/dist/collection/components/molecules/tttx-standalone-input/test/tttx-standalone-input.e2e.js +0 -9
  76. package/dist/collection/components/molecules/tttx-standalone-input/test/tttx-standalone-input.spec.js +0 -219
  77. package/dist/collection/components/molecules/tttx-toolbar/test/tttx-toolbar.test.js +0 -0
  78. package/dist/collection/shared/test/domsanitiser.options.spec.js +0 -23
  79. package/dist/esm/app-globals-0f993ce5.js +0 -3
  80. package/dist/esm/css-shim-9d54a2f2.js +0 -4
  81. package/dist/esm/dom-6be6f662.js +0 -73
  82. package/dist/esm/index-dbe25028.js +0 -3262
  83. package/dist/esm/shadow-css-ed4599f8.js +0 -387
  84. package/dist/tttx/app-globals-0f993ce5.js +0 -3
  85. package/dist/tttx/css-shim-9d54a2f2.js +0 -4
  86. package/dist/tttx/dom-6be6f662.js +0 -73
  87. package/dist/tttx/index-dbe25028.js +0 -3262
  88. package/dist/tttx/p-62869344.js +0 -2
  89. package/dist/tttx/p-a0179cb1.entry.js +0 -1
  90. package/dist/tttx/shadow-css-ed4599f8.js +0 -387
  91. package/dist/tttx/tttx-button.entry.js +0 -30
  92. package/dist/tttx/tttx-form.entry.js +0 -373
  93. package/dist/tttx/tttx-icon.entry.js +0 -17
  94. package/dist/tttx/tttx-keyvalue-block.entry.js +0 -63
  95. package/dist/tttx/tttx-list.entry.js +0 -1730
  96. package/dist/tttx/tttx-loading-spinner.entry.js +0 -22
  97. package/dist/tttx/tttx-standalone-input.entry.js +0 -66
  98. package/dist/tttx/tttx-toolbar.entry.js +0 -16
  99. package/dist/types/components/atoms/tttx-button/test/tttx-button.e2e.d.ts +0 -1
  100. package/dist/types/components/atoms/tttx-button/test/tttx-button.spec.d.ts +0 -1
  101. package/dist/types/components/atoms/tttx-icon/test/tttx-icon.e2e.d.ts +0 -1
  102. package/dist/types/components/atoms/tttx-icon/test/tttx-icon.spec.d.ts +0 -1
  103. package/dist/types/components/atoms/tttx-keyvalue-block/test/tttx-keyvalue-block.spec.d.ts +0 -1
  104. package/dist/types/components/atoms/tttx-loading-spinner/Test/tttx-loading-spinner.spec.d.ts +0 -1
  105. package/dist/types/components/molecules/tttx-form/lib/setErrorState.spec.d.ts +0 -1
  106. package/dist/types/components/molecules/tttx-form/lib/validityCheck.spec.d.ts +0 -1
  107. package/dist/types/components/molecules/tttx-form/test/tttx-form.e2e.d.ts +0 -1
  108. package/dist/types/components/molecules/tttx-form/test/tttx-form.spec.d.ts +0 -1
  109. package/dist/types/components/molecules/tttx-list/test/ttttx-list.spec.e2e.d.ts +0 -1
  110. package/dist/types/components/molecules/tttx-list/test/tttx-list.spec.d.ts +0 -1
  111. package/dist/types/components/molecules/tttx-standalone-input/test/tttx-standalone-input.e2e.d.ts +0 -1
  112. package/dist/types/components/molecules/tttx-standalone-input/test/tttx-standalone-input.spec.d.ts +0 -1
  113. package/dist/types/components/molecules/tttx-toolbar/test/tttx-toolbar.test.d.ts +0 -0
  114. package/dist/types/shared/test/domsanitiser.options.spec.d.ts +0 -1
@@ -76,6 +76,7 @@ const isComplexType = (o) => {
76
76
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
77
77
  const h = (nodeName, vnodeData, ...children) => {
78
78
  let child = null;
79
+ let key = null;
79
80
  let simple = false;
80
81
  let lastSimple = false;
81
82
  const vNodeChildren = [];
@@ -103,6 +104,10 @@ const h = (nodeName, vnodeData, ...children) => {
103
104
  };
104
105
  walk(children);
105
106
  if (vnodeData) {
107
+ // normalize class / classname attributes
108
+ if (vnodeData.key) {
109
+ key = vnodeData.key;
110
+ }
106
111
  {
107
112
  const classData = vnodeData.className || vnodeData.class;
108
113
  if (classData) {
@@ -120,6 +125,9 @@ const h = (nodeName, vnodeData, ...children) => {
120
125
  if (vNodeChildren.length > 0) {
121
126
  vnode.$children$ = vNodeChildren;
122
127
  }
128
+ {
129
+ vnode.$key$ = key;
130
+ }
123
131
  return vnode;
124
132
  };
125
133
  const newVNode = (tag, text) => {
@@ -133,6 +141,9 @@ const newVNode = (tag, text) => {
133
141
  {
134
142
  vnode.$attrs$ = null;
135
143
  }
144
+ {
145
+ vnode.$key$ = null;
146
+ }
136
147
  return vnode;
137
148
  };
138
149
  const Host = {};
@@ -298,6 +309,33 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
298
309
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
299
310
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
300
311
  }
312
+ else if (memberName === 'style') {
313
+ // update style attribute, css properties and values
314
+ {
315
+ for (const prop in oldValue) {
316
+ if (!newValue || newValue[prop] == null) {
317
+ if (prop.includes('-')) {
318
+ elm.style.removeProperty(prop);
319
+ }
320
+ else {
321
+ elm.style[prop] = '';
322
+ }
323
+ }
324
+ }
325
+ }
326
+ for (const prop in newValue) {
327
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
328
+ if (prop.includes('-')) {
329
+ elm.style.setProperty(prop, newValue[prop]);
330
+ }
331
+ else {
332
+ elm.style[prop] = newValue[prop];
333
+ }
334
+ }
335
+ }
336
+ }
337
+ else if (memberName === 'key')
338
+ ;
301
339
  else if (memberName === 'ref') {
302
340
  // minifier will clean this up
303
341
  if (newValue) {
@@ -547,6 +585,8 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
547
585
  const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
548
586
  let oldStartIdx = 0;
549
587
  let newStartIdx = 0;
588
+ let idxInOld = 0;
589
+ let i = 0;
550
590
  let oldEndIdx = oldCh.length - 1;
551
591
  let oldStartVnode = oldCh[0];
552
592
  let oldEndVnode = oldCh[oldEndIdx];
@@ -554,6 +594,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
554
594
  let newStartVnode = newCh[0];
555
595
  let newEndVnode = newCh[newEndIdx];
556
596
  let node;
597
+ let elmToMove;
557
598
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
558
599
  if (oldStartVnode == null) {
559
600
  // VNode might have been moved left
@@ -620,7 +661,41 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
620
661
  newStartVnode = newCh[++newStartIdx];
621
662
  }
622
663
  else {
664
+ // Here we do some checks to match up old and new nodes based on the
665
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
666
+ // in the JSX for a DOM element in the implementation of a Stencil
667
+ // component.
668
+ //
669
+ // First we check to see if there are any nodes in the array of old
670
+ // children which have the same key as the first node in the new
671
+ // children.
672
+ idxInOld = -1;
623
673
  {
674
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
675
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
676
+ idxInOld = i;
677
+ break;
678
+ }
679
+ }
680
+ }
681
+ if (idxInOld >= 0) {
682
+ // We found a node in the old children which matches up with the first
683
+ // node in the new children! So let's deal with that
684
+ elmToMove = oldCh[idxInOld];
685
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
686
+ // the tag doesn't match so we'll need a new DOM element
687
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld);
688
+ }
689
+ else {
690
+ patch(elmToMove, newStartVnode);
691
+ // invalidate the matching old node so that we won't try to update it
692
+ // again later on
693
+ oldCh[idxInOld] = undefined;
694
+ node = elmToMove.$elm$;
695
+ }
696
+ newStartVnode = newCh[++newStartIdx];
697
+ }
698
+ else {
624
699
  // We either didn't find an element in the old children that matches
625
700
  // the key of the first new child OR the build is not using `key`
626
701
  // attributes at all. In either case we need to create a new element
@@ -668,7 +743,10 @@ const isSameVnode = (leftVNode, rightVNode) => {
668
743
  // compare if two vnode to see if they're "technically" the same
669
744
  // need to have the same element tag, and same key to be the same
670
745
  if (leftVNode.$tag$ === rightVNode.$tag$) {
671
- return true;
746
+ // this will be set if components in the build have `key` attrs set on them
747
+ {
748
+ return leftVNode.$key$ === rightVNode.$key$;
749
+ }
672
750
  }
673
751
  return false;
674
752
  };
@@ -1200,7 +1278,9 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1200
1278
  {
1201
1279
  cmpMeta.$watchers$ = {};
1202
1280
  }
1203
- const tagName = cmpMeta.$tagName$;
1281
+ const tagName = options.transformTagName
1282
+ ? options.transformTagName(cmpMeta.$tagName$)
1283
+ : cmpMeta.$tagName$;
1204
1284
  const HostElement = class extends HTMLElement {
1205
1285
  // StencilLazyHost
1206
1286
  constructor(self) {
@@ -1374,6 +1454,7 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1374
1454
  exports.Host = Host;
1375
1455
  exports.bootstrapLazy = bootstrapLazy;
1376
1456
  exports.createEvent = createEvent;
1457
+ exports.getElement = getElement;
1377
1458
  exports.h = h;
1378
1459
  exports.promiseResolve = promiseResolve;
1379
1460
  exports.registerInstance = registerInstance;
@@ -2,35 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-11cfdabe.js');
6
- const appGlobals = require('./app-globals-3a1e7e63.js');
5
+ const index = require('./index-dc6cc829.js');
7
6
 
8
7
  /*
9
8
  Stencil Client Patch Esm v2.20.0 | MIT Licensed | https://stenciljs.com
10
9
  */
11
10
  const patchEsm = () => {
12
- // NOTE!! This fn cannot use async/await!
13
- // @ts-ignore
14
- if (index.BUILD.cssVarShim && !(index.CSS && index.CSS.supports && index.CSS.supports('color', 'var(--c)'))) {
15
- // @ts-ignore
16
- return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-211819bc.js'); }).then(() => {
17
- if ((index.plt.$cssShim$ = index.win.__cssshim)) {
18
- return index.plt.$cssShim$.i();
19
- }
20
- else {
21
- // for better minification
22
- return 0;
23
- }
24
- });
25
- }
26
11
  return index.promiseResolve();
27
12
  };
28
13
 
29
14
  const defineCustomElements = (win, options) => {
30
15
  if (typeof window === 'undefined') return Promise.resolve();
31
16
  return patchEsm().then(() => {
32
- appGlobals.globalScripts();
33
- return index.bootstrapLazy([["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-list.cjs",[[1,"tttx-list",{"data":[1025],"name":[1]}]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"inputicon":[1],"inline":[4],"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-form.cjs",[[1,"tttx-form",{"formschema":[1032],"submitValue":[1032,"submit-value"]}]]],["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]}]]],["tttx-toolbar.cjs",[[1,"tttx-toolbar",{"border":[4]}]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
17
+ return index.bootstrapLazy([["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-filter.cjs",[[1,"tttx-filter",{"filterKey":[1,"filter-key"],"filterOptions":[16],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"showPopover":[32],"selectedFilters":[32],"filterSearchTerm":[32],"displayedFilterSettings":[32],"allSelected":[32]}]]],["tttx-list.cjs",[[1,"tttx-list",{"data":[1025],"name":[1]}]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"inputicon":[1],"inline":[4],"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-form.cjs",[[1,"tttx-form",{"formschema":[1032],"submitValue":[1032,"submit-value"]}]]],["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]}]]],["tttx-toolbar.cjs",[[1,"tttx-toolbar",{"border":[4]}]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
34
18
  });
35
19
  };
36
20
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-11cfdabe.js');
5
+ const index = require('./index-dc6cc829.js');
6
6
 
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}";
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}button{cursor:pointer}tttx-icon{cursor:inherit}.spacingleft{margin-left:8px}";
8
8
 
9
9
  const TttxButton = class {
10
10
  constructor(hostRef) {
@@ -0,0 +1,162 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-dc6cc829.js');
6
+
7
+ const tttxFilterCss = ".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}.filter-container .filter-button{display:inline-flex;justify-content:center;align-items:center;font-size:14px;font-weight:400;font-family:\"Roboto\", serif;text-transform:uppercase;color:#212121;border:1px solid #d5d5d5;border-radius:4px;background:transparent;height:36px;width:95px;margin:0;padding-right:16px}.filter-container .filter-button .filter-icon{padding-left:8px;padding-right:4px}.filter-container .filter-button.--list-icon{font-size:0;width:36px;height:36px;padding:0}.filter-container .filter-button.--list-icon .filter-icon{padding:0}.filter-container .filter-button.--list-icon:hover{background:#e3e3e3}.filter-container .filter-button.--table-icon{font-size:0;width:36px;height:36px;padding:0;border:none}.filter-container .filter-button.--table-icon .filter-icon{padding:0;width:24px;height:24px}.filter-container .filter-button.--table-icon:hover{background:#e3e3e3;border-radius:50%;width:36px;height:36px}.filter-container .filter-button:hover{background:#e3e3e3}.filter-container .filter-popover-container{display:block;width:196px;border-radius:4px;box-shadow:0px 1px 5px #1111114D;position:absolute}.filter-container .filter-popover-container .filter-header{color:#757575;text-transform:uppercase;font-size:14px;font-weight:500;font-family:\"Roboto\", serif;padding-left:16px;padding-top:12px;padding-bottom:12px;margin:0}.filter-container .filter-popover-container .popover-divider{border:none;width:164px;display:flex;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:8px;height:1px;background-color:#d5d5d5}.filter-container .filter-popover-container .filter-option{display:flex;flex-direction:row;align-items:center;height:36px;padding-left:22px;padding-bottom:4px}.filter-container .filter-popover-container .filter-option .select-all-icon{padding-right:6px}.filter-container .filter-popover-container .filter-option .checkbox-icon{padding-right:8px}.filter-container .filter-popover-container .filter-option .filter-label{padding-left:8px;padding-bottom:3px;font-size:16px;font-weight:500;font-family:\"Roboto\", serif}.filter-container .filter-popover-container .filter-option:first-child{margin-top:8px}.filter-container .filter-popover-container .filter-option:last-child{margin-bottom:8px}.filter-container .filter-popover-container .filter-popover-button-container{display:flex;justify-content:flex-end;align-items:center;padding-bottom:8px}.filter-container .filter-popover-container .filter-popover-button-container .close-button{height:36px;width:74px;background-color:white;border:1px solid #d5d5d5;border-radius:4px;text-transform:uppercase;margin-right:8px;font-size:14px;font-weight:400;font-family:\"Roboto\", serif}.filter-container .filter-popover-container .filter-popover-button-container .apply-button{height:36px;width:73px;background-color:#1479c6;color:white;border-radius:4px;border:none;text-transform:uppercase;margin-right:16px;font-size:14px;font-weight:400;font-family:\"Roboto\", serif}.filter-container .filter-popover-container.--with-search-field{width:252px}.filter-container .filter-popover-container.--with-search-field .popover-divider{width:220px}.filter-container .filter-popover-container.--with-search-field .popover-divider:first-child{top:44px}.filter-container .filter-popover-container.--with-search-field .search-field-container{position:relative;color:#d5d5d5;width:220px;height:36px;padding:0 16px}.filter-container .filter-popover-container.--with-search-field .search-field-container .search-icon{position:absolute;top:50%;padding-left:8px;padding-bottom:9.2px;height:17px;width:17px;transform:translateY(-50%)}.filter-container .filter-popover-container.--with-search-field .search-field-container .search-input{padding-left:36px;border:1px solid #d5d5d5;border-radius:4px;height:36px;width:220px;font-size:16px;font-family:\"Roboto\", serif;font-weight:500;color:#9e9e9e;box-sizing:border-box}.filter-container .filter-popover-container.--with-search-field .search-field-container .search-input:focus-visible,.filter-container .filter-popover-container.--with-search-field .search-field-container .search-input:focus{outline:none;border:1px solid #1479c6}.filter-container .filter-popover-container.--with-search-field .search-field-container .search-input::placeholder{color:#9e9e9e;font-size:16px;font-family:\"Roboto\", serif;font-weight:500}.filter-container .filter-popover-container.--with-search-field .search-field-container .popover-divider{margin-top:8px}.filter-container .filter-popover-container.--with-search-field .filter-option:first-child{padding-top:8px}";
8
+
9
+ const TttxFilter = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.filterChangeEvent = index.createEvent(this, "filterChangeEvent", 7);
13
+ this.filterKey = undefined;
14
+ this.filterOptions = [
15
+ { optionIcon: 'cancel', optionIconColor: 'darkred', optionText: 'Expired' },
16
+ { optionIcon: 'warning', optionIconColor: 'orange', optionText: 'Expiring soon' },
17
+ { optionIcon: 'check_circle', optionIconColor: 'green', optionText: 'Active' },
18
+ ];
19
+ this.showSelectAll = true;
20
+ this.showSearchField = false;
21
+ this.showOptionIcons = true;
22
+ this.filterButtonStyle = 'list filter';
23
+ this.filterHeader = 'Qualification status';
24
+ this.showPopover = false;
25
+ this.selectedFilters = this.filterOptions.map((filterOption) => filterOption.optionText);
26
+ this.filterSearchTerm = '';
27
+ this.displayedFilterSettings = this.filterOptions;
28
+ this.allSelected = true;
29
+ }
30
+ emitFilterEvent() {
31
+ this.filterChangeEvent.emit({
32
+ selectedFilters: this.selectedFilters,
33
+ filterKey: this.filterKey,
34
+ allSelected: this.allSelected,
35
+ });
36
+ }
37
+ onFilterButtonClick() {
38
+ this.togglePopover();
39
+ }
40
+ onCloseButtonClick() {
41
+ this.togglePopover();
42
+ }
43
+ onApplyFilterButtonClick() {
44
+ this.emitFilterEvent();
45
+ this.togglePopover();
46
+ }
47
+ onFilterOptionSelected(selectedOption) {
48
+ this.allSelected = false;
49
+ if (this.selectedFilters.includes(selectedOption)) {
50
+ this.selectedFilters = this.selectedFilters.filter((filter) => filter != selectedOption);
51
+ }
52
+ else {
53
+ this.selectedFilters = [...this.selectedFilters, selectedOption];
54
+ }
55
+ }
56
+ togglePopover() {
57
+ this.showPopover = !this.showPopover;
58
+ // if(!this.showPopover) {
59
+ // // this._focussedElementIndex = -1;
60
+ // }
61
+ }
62
+ // Commented out keyboard interaction for now
63
+ // @Listen('keyup')
64
+ // handleKeyUp(event: KeyboardEvent) {
65
+ // const keyboardEventValue = event.key;
66
+ // if (document.activeElement.id != `filter__${this.filterKey}`) return;
67
+ // if (event.key == " " || event.code == "Space" || event.keyCode == 32) {
68
+ // if (this._focussedElementIndex == 0) {
69
+ // this.onSelectAllClick()
70
+ // } else {
71
+ // const options = this.el.shadowRoot.querySelectorAll('.filter-option') as HTMLElement[];
72
+ // this.onFilterOptionSelected(options[this._focussedElementIndex].textContent)
73
+ // }
74
+ // return;
75
+ // }
76
+ // switch (keyboardEventValue) {
77
+ // case 'Enter':
78
+ // if(!this.showPopover) {
79
+ // this.showPopover=true
80
+ // } else {
81
+ // this.emitFilterEvent()
82
+ // }
83
+ // break;
84
+ // case 'Escape':
85
+ // this.showPopover = false;
86
+ // this._focussedElementIndex = -1;
87
+ // break;
88
+ // case 'ArrowDown':
89
+ // this.showPopover = true;
90
+ // if (this._focussedElementIndex == -1) {
91
+ // this._focussedElementIndex = 0;
92
+ // } else {
93
+ // const options = this.el.shadowRoot.querySelectorAll('.filter-option') as HTMLElement[];
94
+ // const currentOption = options[this._focussedElementIndex] as HTMLElement;
95
+ // currentOption.blur();
96
+ // // options[this._focussedElementIndex].focus();
97
+ // this._focussedElementIndex + 1 < options.length ? this._focussedElementIndex++ : (this._focussedElementIndex = 0);
98
+ // }
99
+ // break;
100
+ // case 'ArrowUp':
101
+ // if (this._focussedElementIndex == -1) {
102
+ // this.showPopover = true;
103
+ // this._focussedElementIndex = 0;
104
+ // } else {
105
+ // const options = this.el.shadowRoot.querySelectorAll('.filter-option') as HTMLElement[];
106
+ // const currentOption = options[this._focussedElementIndex] as HTMLElement;
107
+ // currentOption.blur();
108
+ // // options[this._focussedElementIndex].focus();
109
+ // this._focussedElementIndex > 0 ? this._focussedElementIndex-- : (this._focussedElementIndex = options.length - 1);
110
+ // }
111
+ // break;
112
+ // }
113
+ // }
114
+ handleFilterChange(event) {
115
+ const target = event.target;
116
+ this.filterSearchTerm = target.value;
117
+ const filteredResults = this.filterOptions.filter((filterOption) => {
118
+ const lowercaseOption = filterOption.optionText.toLowerCase();
119
+ const filterTerm = this.filterSearchTerm.toLowerCase();
120
+ return lowercaseOption.includes(filterTerm);
121
+ });
122
+ this.displayedFilterSettings = filteredResults;
123
+ }
124
+ onSelectAllClick() {
125
+ this.allSelected = !this.allSelected;
126
+ if (this.allSelected) {
127
+ this.displayedFilterSettings.forEach((filterSetting) => { this.selectedFilters = [...this.selectedFilters, filterSetting.optionText]; });
128
+ }
129
+ else {
130
+ this.selectedFilters = [];
131
+ }
132
+ }
133
+ getFilterButtonClassName(buttonStyle) {
134
+ switch (buttonStyle) {
135
+ case 'table icon': {
136
+ return '--table-icon';
137
+ }
138
+ case 'list icon': {
139
+ return '--list-icon';
140
+ }
141
+ default: {
142
+ return '';
143
+ }
144
+ }
145
+ }
146
+ render() {
147
+ const filterPopoverContainerClassNameModifier = this.showSearchField ? '--with-search-field' : '';
148
+ const selectAllCheckboxIcon = this.allSelected ? 'check_box' : 'check_box_outline_blank';
149
+ const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
150
+ const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
151
+ const filterKey = `filter__${this.filterKey}`;
152
+ return (index.h(index.Host, { id: filterKey }, index.h("div", { class: 'filter-container' }, index.h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, index.h("tttx-icon", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (index.h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}` }, index.h("h4", { class: 'filter-header' }, this.filterHeader), index.h("hr", { class: 'popover-divider' }), this.showSearchField ? (index.h("div", { class: 'search-field-container' }, index.h("tttx-icon", { icon: 'search', class: 'search-icon' }), index.h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }), index.h("hr", { class: 'popover-divider' }))) : (''), index.h("div", { class: 'filter-options-container' }, this.showSelectAll ? (index.h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, index.h("tttx-icon", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), index.h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
153
+ const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
154
+ const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
155
+ return index.h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, index.h("tttx-icon", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && index.h("tttx-icon", { icon: option.optionIcon, color: option.optionIconColor }), index.h("label", { class: 'filter-label' }, option.optionText));
156
+ })), index.h("hr", { class: 'popover-divider' }), index.h("div", { class: 'filter-popover-button-container' }, index.h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), index.h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
157
+ }
158
+ get el() { return index.getElement(this); }
159
+ };
160
+ TttxFilter.style = tttxFilterCss;
161
+
162
+ exports.tttx_filter = TttxFilter;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-11cfdabe.js');
5
+ const index = require('./index-dc6cc829.js');
6
6
 
7
7
  /**
8
8
  * Validates the input field on focusout event by checking its validity state,
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-11cfdabe.js');
5
+ const index = require('./index-dc6cc829.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}.darkred{color:#A20000}.orange{color:#f59500}.blue{color:#1479c6}.green{color:#a2bb31}.gray{color:#757575}.black{color:#212121}.white{color:white}";
8
8
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-11cfdabe.js');
5
+ const index = require('./index-dc6cc829.js');
6
6
 
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%}}";
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}dt,dd{overflow-wrap:anywhere}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
 
9
9
  const TttxKeyvalueBlock = class {
10
10
  constructor(hostRef) {
@@ -28,10 +28,11 @@ const TttxKeyvalueBlock = class {
28
28
  }
29
29
  renderArrayElements(values) {
30
30
  const elements = [];
31
+ const divSize = (100 / values.length).toString();
31
32
  for (let i = 0; i < values.length; i++) {
32
33
  const value = values[i];
33
34
  if (this.horizontal) {
34
- elements.push(index.h("div", null, index.h("dt", { class: 'mainTitle' }, value.title), index.h("dt", { class: 'subTitle' }, value.subTitle), index.h("dd", null, value.data)));
35
+ elements.push(index.h("div", { style: { maxWidth: divSize } }, index.h("dt", { class: 'mainTitle' }, value.title), index.h("dt", { class: 'subTitle' }, value.subTitle), index.h("dd", null, value.data)));
35
36
  }
36
37
  else {
37
38
  elements.push(index.h("dt", { class: 'mainTitle' }, value.title));
@@ -2,47 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-11cfdabe.js');
5
+ const index = require('./index-dc6cc829.js');
6
6
 
7
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
9
- function getDefaultExportFromCjs (x) {
10
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
11
- }
12
-
13
9
  function createCommonjsModule(fn, basedir, module) {
14
10
  return module = {
15
11
  path: basedir,
16
12
  exports: {},
17
13
  require: function (path, base) {
18
- return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
14
+ return commonjsRequire();
19
15
  }
20
16
  }, fn(module, module.exports), module.exports;
21
17
  }
22
18
 
23
- function getDefaultExportFromNamespaceIfPresent (n) {
24
- return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
25
- }
26
-
27
- function getDefaultExportFromNamespaceIfNotNamed (n) {
28
- return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
29
- }
30
-
31
- function getAugmentedNamespace(n) {
32
- if (n.__esModule) return n;
33
- var a = Object.defineProperty({}, '__esModule', {value: true});
34
- Object.keys(n).forEach(function (k) {
35
- var d = Object.getOwnPropertyDescriptor(n, k);
36
- Object.defineProperty(a, k, d.get ? d : {
37
- enumerable: true,
38
- get: function () {
39
- return n[k];
40
- }
41
- });
42
- });
43
- return a;
44
- }
45
-
46
19
  function commonjsRequire () {
47
20
  throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
48
21
  }
@@ -51,11 +24,8 @@ var purify = createCommonjsModule(function (module, exports) {
51
24
  /*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */
52
25
 
53
26
  (function (global, factory) {
54
- 'object' === 'object' && 'object' !== 'undefined' ? module.exports = factory() :
55
- typeof undefined === 'function' && undefined.amd ? undefined(factory) :
56
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.DOMPurify = factory());
57
- })(commonjsGlobal, (function () { 'use strict';
58
-
27
+ module.exports = factory() ;
28
+ })(commonjsGlobal, (function () {
59
29
  const {
60
30
  entries,
61
31
  setPrototypeOf,
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-11cfdabe.js');
5
+ const index = require('./index-dc6cc829.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-11cfdabe.js');
5
+ const index = require('./index-dc6cc829.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}.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}.input-icon.sc-tttx-standalone-input{position:absolute;margin-top:9px;margin-left:4px}.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.inputInline.sc-tttx-standalone-input{display:flex;white-space:nowrap;align-items:center}label.inputInline.sc-tttx-standalone-input .input-container.sc-tttx-standalone-input{margin:0 4px;width:100%;display:flex;align-items:center;gap:4px;position:relative}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}@media (max-width: 600px){input[type=date].sc-tttx-standalone-input{padding-top:6px}}input.invalid.sc-tttx-standalone-input:invalid,input.standalone.invalid.sc-tttx-standalone-input{border:1px solid #dc0000}.input-icon.sc-tttx-standalone-input~input.sc-tttx-standalone-input{padding:0 32px}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}input.sc-tttx-standalone-input:focus-visible{outline:none}.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-11cfdabe.js');
5
+ const index = require('./index-dc6cc829.js');
6
6
 
7
7
  const tttxToolbarCss = ":host{height:36px;display:flex;padding:8px 0;gap:8px}:host(.bordered){border-bottom:1px solid #d5d5d5}slot[name=before]{display:flex;flex:1 1 0px;gap:8px}slot[name=center]{display:flex;justify-content:center;flex:1 1 0px;gap:8px}slot[name=after]{display:flex;justify-content:end;flex:1 1 0px;gap:8px}";
8
8