@3t-transform/threeteeui 0.0.7 → 0.0.8

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 (89) hide show
  1. package/dist/cjs/{index-253ca97c.js → index-8a4cb9bc.js} +26 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/tttx-button.cjs.entry.js +1 -1
  4. package/dist/cjs/tttx-checkbox.cjs.entry.js +2 -2
  5. package/dist/cjs/tttx-form.cjs.entry.js +1 -1
  6. package/dist/cjs/tttx-icon.cjs.entry.js +1861 -0
  7. package/dist/cjs/tttx-input.cjs.entry.js +44 -0
  8. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +26 -0
  9. package/dist/cjs/tttx-popover-content.cjs.entry.js +23 -0
  10. package/dist/cjs/tttx.cjs.js +2 -2
  11. package/dist/collection/collection-manifest.json +5 -3
  12. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +1 -4
  13. package/dist/collection/components/atoms/tttx-icon/tttx-icon.css +101 -0
  14. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +114 -0
  15. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +47 -0
  16. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.css +48 -0
  17. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +66 -0
  18. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +15 -0
  19. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.css +30 -0
  20. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.js +96 -0
  21. package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.stories.js +23 -0
  22. package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.css +1 -4
  23. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +18 -22
  24. package/dist/collection/components/{atoms/tttx-text-box/tttx-text-box.css → molecules/tttx-input/tttx-input.css} +11 -4
  25. package/dist/collection/components/{atoms/tttx-single-input/tttx-single-input.js → molecules/tttx-input/tttx-input.js} +5 -5
  26. package/dist/collection/components/molecules/tttx-input/tttx-input.stories.js +106 -0
  27. package/dist/collection/components/palette.stories.js +88 -0
  28. package/dist/components/index.d.ts +4 -2
  29. package/dist/components/index.js +4 -2
  30. package/dist/components/tttx-checkbox.js +1 -1
  31. package/dist/components/{tttx-text-box.d.ts → tttx-icon.d.ts} +4 -4
  32. package/dist/components/tttx-icon.js +6 -0
  33. package/dist/components/tttx-icon2.js +1875 -0
  34. package/dist/components/{tttx-single-input.d.ts → tttx-input.d.ts} +4 -4
  35. package/dist/components/tttx-input.js +77 -0
  36. package/dist/components/tttx-loading-spinner.d.ts +11 -0
  37. package/dist/components/tttx-loading-spinner.js +43 -0
  38. package/dist/components/tttx-popover-content.d.ts +11 -0
  39. package/dist/components/tttx-popover-content.js +42 -0
  40. package/dist/esm/{index-fcca6c58.js → index-9654537d.js} +26 -1
  41. package/dist/esm/loader.js +3 -3
  42. package/dist/esm/tttx-button.entry.js +1 -1
  43. package/dist/esm/tttx-checkbox.entry.js +2 -2
  44. package/dist/esm/tttx-form.entry.js +1 -1
  45. package/dist/esm/tttx-icon.entry.js +1857 -0
  46. package/dist/esm/tttx-input.entry.js +40 -0
  47. package/dist/esm/tttx-loading-spinner.entry.js +22 -0
  48. package/dist/esm/tttx-popover-content.entry.js +19 -0
  49. package/dist/esm/tttx.js +3 -3
  50. package/dist/tttx/p-1884203f.entry.js +1 -0
  51. package/dist/tttx/p-317b13d3.entry.js +1 -0
  52. package/dist/tttx/{p-8d1f2e5c.entry.js → p-3cb692d6.entry.js} +1 -1
  53. package/dist/tttx/p-3cd7ad04.entry.js +1 -0
  54. package/dist/tttx/p-674e2f18.entry.js +1 -0
  55. package/dist/tttx/p-a23389f1.entry.js +1 -0
  56. package/dist/tttx/p-b6cc2780.js +2 -0
  57. package/dist/tttx/{p-40709c59.entry.js → p-f30a0e84.entry.js} +1 -1
  58. package/dist/tttx/tttx.esm.js +1 -1
  59. package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +14 -0
  60. package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +21 -0
  61. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +6 -0
  62. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +5 -0
  63. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.d.ts +7 -0
  64. package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.stories.d.ts +18 -0
  65. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +12 -5
  66. package/dist/types/components/{atoms/tttx-single-input/tttx-single-input.d.ts → molecules/tttx-input/tttx-input.d.ts} +1 -1
  67. package/dist/types/components/molecules/tttx-input/tttx-input.stories.d.ts +60 -0
  68. package/dist/types/components.d.ts +63 -36
  69. package/package.json +67 -58
  70. package/readme.md +14 -27
  71. package/dist/cjs/tttx-single-input.cjs.entry.js +0 -44
  72. package/dist/cjs/tttx-text-box.cjs.entry.js +0 -38
  73. package/dist/collection/components/atoms/tttx-single-input/tttx-single-input.css +0 -142
  74. package/dist/collection/components/atoms/tttx-single-input/tttx-single-input.stories.js +0 -92
  75. package/dist/collection/components/atoms/tttx-text-box/tttx-text-box.js +0 -150
  76. package/dist/collection/components/atoms/tttx-text-box/tttx-text-box.stories.js +0 -17
  77. package/dist/collection/docs/template.stories.js +0 -10
  78. package/dist/components/tttx-single-input.js +0 -71
  79. package/dist/components/tttx-text-box.js +0 -59
  80. package/dist/esm/tttx-single-input.entry.js +0 -40
  81. package/dist/esm/tttx-text-box.entry.js +0 -34
  82. package/dist/tttx/p-05d7d002.entry.js +0 -1
  83. package/dist/tttx/p-64703252.entry.js +0 -1
  84. package/dist/tttx/p-9bf836ed.entry.js +0 -1
  85. package/dist/tttx/p-a7b95fd2.js +0 -2
  86. package/dist/types/components/atoms/tttx-single-input/tttx-single-input.stories.d.ts +0 -27
  87. package/dist/types/components/atoms/tttx-text-box/tttx-text-box.d.ts +0 -14
  88. package/dist/types/docs/template.stories.d.ts +0 -5
  89. /package/dist/types/components/{atoms/tttx-text-box/tttx-text-box.stories.d.ts → palette.stories.d.ts} +0 -0
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxSingleInput extends Components.TttxSingleInput, HTMLElement {}
4
- export const TttxSingleInput: {
5
- prototype: TttxSingleInput;
6
- new (): TttxSingleInput;
3
+ interface TttxInput extends Components.TttxInput, HTMLElement {}
4
+ export const TttxInput: {
5
+ prototype: TttxInput;
6
+ new (): TttxInput;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -0,0 +1,77 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './tttx-icon2.js';
3
+
4
+ const tttxInputCss = ".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}.field{clear:both}.container{display:flex;flex-wrap:wrap;box-sizing:border-box;height:36px;border:1px solid #c8c8c8;border-radius:4px}.icon-left,.icon-right{flex-basis:24px}.icon-left span,.icon-right span{font-size:24px;line-height:24px;text-align:center;display:block;width:24px;height:24px;margin-top:4px}.icon-left span{margin-left:4px}.icon-right span{margin-right:4px}.input{flex-grow:1;border:none;outline:none;font-size:16px;padding:8px 16px;background-color:transparent}.iconleft .input{padding-left:4px}.iconright .input{padding-right:4px}.label{display:block;height:18px;font-weight:600;color:#212121;font-size:16px;margin-bottom:4px;z-index:1}.disabled{background:#f0f0f0;color:#9e9e9e;border-color:#c8c8c8}.focused{border-color:#1479c6}.errormsg{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 .validationicon{width:16px;height:16px;font-size:16px;margin-right:4px;vertical-align:middle;color:#DC0000}.danger{color:#DC0000}.optional{color:#757575;font-weight:normal}:host{display:block}.spacing{margin-bottom:16px}.errorstate{border-color:#DC0000}.icon-right{margin-top:5px;margin-right:4px}.icon-left{margin-top:5px;margin-left:4px}";
5
+
6
+ const TttxInput$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.valueChanged = createEvent(this, "valueChanged", 7);
12
+ this.handleFocus = () => {
13
+ this.isfocused = true;
14
+ };
15
+ this.handleBlur = () => {
16
+ this.isfocused = false;
17
+ };
18
+ this.isfocused = false;
19
+ this.label = undefined;
20
+ this.valid = undefined;
21
+ this.showerrormsg = undefined;
22
+ this.errormsg = undefined;
23
+ this.value = undefined;
24
+ this.type = 'text';
25
+ this.placeholder = undefined;
26
+ this.pattern = undefined;
27
+ this.iconleft = undefined;
28
+ this.iconright = undefined;
29
+ this.required = undefined;
30
+ }
31
+ handleChange(event) {
32
+ const target = event.target;
33
+ this.value = target.value;
34
+ this.valueChanged.emit(target.value);
35
+ }
36
+ render() {
37
+ const inputClass = ['container', this.showerrormsg ? 'errorstate' : '', this.isfocused ? 'focused' : '', this.iconleft ? 'iconleft' : ''].join(' ');
38
+ return (h(Host, null, h("div", { class: "field spacing" }, this.label && h("label", { class: "label" }, this.label, !this.required ? h("span", { class: "optional" }, " (optional)") : ''), h("div", { class: inputClass }, this.iconleft && (h("div", { class: "icon-left" }, h("tttx-icon", { icon: this.iconleft, colour: "grey" }))), h("input", { class: "input", onFocus: this.handleFocus.bind(this), onBlur: this.handleBlur.bind(this), type: this.type, placeholder: this.placeholder, value: this.value, onInput: event => this.handleChange(event) }), this.iconright && (h("div", { class: "icon-right" }, h("tttx-icon", { icon: this.iconright, colour: "grey" })))), this.showerrormsg && this.errormsg && h("div", { class: "errormsg" }, h("span", { class: "material-symbols-rounded validationicon" }, "warning"), " ", this.errormsg))));
39
+ }
40
+ static get style() { return tttxInputCss; }
41
+ }, [1, "tttx-input", {
42
+ "label": [1],
43
+ "valid": [4],
44
+ "showerrormsg": [4],
45
+ "errormsg": [1],
46
+ "value": [1025],
47
+ "type": [1],
48
+ "placeholder": [1],
49
+ "pattern": [1],
50
+ "iconleft": [1],
51
+ "iconright": [1],
52
+ "required": [4],
53
+ "isfocused": [32]
54
+ }]);
55
+ function defineCustomElement$1() {
56
+ if (typeof customElements === "undefined") {
57
+ return;
58
+ }
59
+ const components = ["tttx-input", "tttx-icon"];
60
+ components.forEach(tagName => { switch (tagName) {
61
+ case "tttx-input":
62
+ if (!customElements.get(tagName)) {
63
+ customElements.define(tagName, TttxInput$1);
64
+ }
65
+ break;
66
+ case "tttx-icon":
67
+ if (!customElements.get(tagName)) {
68
+ defineCustomElement$2();
69
+ }
70
+ break;
71
+ } });
72
+ }
73
+
74
+ const TttxInput = TttxInput$1;
75
+ const defineCustomElement = defineCustomElement$1;
76
+
77
+ export { TttxInput, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxLoadingSpinner extends Components.TttxLoadingSpinner, HTMLElement {}
4
+ export const TttxLoadingSpinner: {
5
+ prototype: TttxLoadingSpinner;
6
+ new (): TttxLoadingSpinner;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,43 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+
3
+ 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)}}";
4
+
5
+ const TttxLoadingSpinner$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ this.loadingMessage = undefined;
11
+ this.size = 'large';
12
+ }
13
+ renderLoadingMessage() {
14
+ if (!this.loadingMessage)
15
+ return '';
16
+ return h("div", { class: 'loading-text' }, "Loading, please wait...");
17
+ }
18
+ render() {
19
+ return h("div", { class: 'spinner-container' }, h("div", { class: "loading-box" }, h("span", { class: `spinner ${this.size}` })), this.renderLoadingMessage());
20
+ }
21
+ static get style() { return tttxLoadingSpinnerCss; }
22
+ }, [1, "tttx-loading-spinner", {
23
+ "loadingMessage": [1028, "loading-message"],
24
+ "size": [1025]
25
+ }]);
26
+ function defineCustomElement$1() {
27
+ if (typeof customElements === "undefined") {
28
+ return;
29
+ }
30
+ const components = ["tttx-loading-spinner"];
31
+ components.forEach(tagName => { switch (tagName) {
32
+ case "tttx-loading-spinner":
33
+ if (!customElements.get(tagName)) {
34
+ customElements.define(tagName, TttxLoadingSpinner$1);
35
+ }
36
+ break;
37
+ } });
38
+ }
39
+
40
+ const TttxLoadingSpinner = TttxLoadingSpinner$1;
41
+ const defineCustomElement = defineCustomElement$1;
42
+
43
+ export { TttxLoadingSpinner, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxPopoverContent extends Components.TttxPopoverContent, HTMLElement {}
4
+ export const TttxPopoverContent: {
5
+ prototype: TttxPopoverContent;
6
+ new (): TttxPopoverContent;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,42 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const tttxPopoverContentCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:block;max-width:400px}h4{margin:0;font-size:15px;font-weight:700;color:black;margin-bottom:4px}p{margin:0;font-size:14px;font-weight:normal;color:black;margin-bottom:4px}.linky{color:#1479c6;text-decoration:none;cursor:pointer}";
4
+
5
+ const TttxPopoverContent$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ this.header = undefined;
11
+ this.body = undefined;
12
+ this.linkcontext = undefined;
13
+ this.linktext = undefined;
14
+ }
15
+ render() {
16
+ return (h(Host, null, this.header && h("h4", null, this.header), this.body && h("p", null, this.body), this.linkcontext && h("span", { class: "linky", onClick: (evt) => console.log(this.linkcontext, evt) }, this.linktext || 'More Information')));
17
+ }
18
+ static get style() { return tttxPopoverContentCss; }
19
+ }, [1, "tttx-popover-content", {
20
+ "header": [1],
21
+ "body": [1],
22
+ "linkcontext": [1],
23
+ "linktext": [1]
24
+ }]);
25
+ function defineCustomElement$1() {
26
+ if (typeof customElements === "undefined") {
27
+ return;
28
+ }
29
+ const components = ["tttx-popover-content"];
30
+ components.forEach(tagName => { switch (tagName) {
31
+ case "tttx-popover-content":
32
+ if (!customElements.get(tagName)) {
33
+ customElements.define(tagName, TttxPopoverContent$1);
34
+ }
35
+ break;
36
+ } });
37
+ }
38
+
39
+ const TttxPopoverContent = TttxPopoverContent$1;
40
+ const defineCustomElement = defineCustomElement$1;
41
+
42
+ export { TttxPopoverContent, defineCustomElement };
@@ -304,6 +304,12 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
304
304
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
305
305
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
306
306
  }
307
+ else if (memberName === 'ref') {
308
+ // minifier will clean this up
309
+ if (newValue) {
310
+ newValue(elm);
311
+ }
312
+ }
307
313
  else if ((!isProp ) &&
308
314
  memberName[0] === 'o' &&
309
315
  memberName[1] === 'n') {
@@ -498,6 +504,7 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
498
504
  for (; startIdx <= endIdx; ++startIdx) {
499
505
  if ((vnode = vnodes[startIdx])) {
500
506
  elm = vnode.$elm$;
507
+ callNodeRefs(vnode);
501
508
  // remove the vnode's element from the dom
502
509
  elm.remove();
503
510
  }
@@ -750,6 +757,12 @@ const patch = (oldVNode, newVNode) => {
750
757
  elm.data = text;
751
758
  }
752
759
  };
760
+ const callNodeRefs = (vNode) => {
761
+ {
762
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
763
+ vNode.$children$ && vNode.$children$.map(callNodeRefs);
764
+ }
765
+ };
753
766
  /**
754
767
  * The main entry point for Stencil's virtual DOM-based rendering engine
755
768
  *
@@ -809,6 +822,9 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
809
822
  hostRef.$queuedListeners$ = null;
810
823
  }
811
824
  }
825
+ {
826
+ promise = safeCall(instance, 'componentWillLoad');
827
+ }
812
828
  }
813
829
  endSchedule();
814
830
  return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
@@ -1183,12 +1199,16 @@ const connectedCallback = (elm) => {
1183
1199
  const disconnectedCallback = (elm) => {
1184
1200
  if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1185
1201
  const hostRef = getHostRef(elm);
1202
+ const instance = hostRef.$lazyInstance$ ;
1186
1203
  {
1187
1204
  if (hostRef.$rmListeners$) {
1188
1205
  hostRef.$rmListeners$.map((rmListener) => rmListener());
1189
1206
  hostRef.$rmListeners$ = undefined;
1190
1207
  }
1191
1208
  }
1209
+ {
1210
+ safeCall(instance, 'disconnectedCallback');
1211
+ }
1192
1212
  }
1193
1213
  };
1194
1214
  const bootstrapLazy = (lazyBundles, options = {}) => {
@@ -1292,7 +1312,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1292
1312
  const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1293
1313
  if (listeners) {
1294
1314
  listeners.map(([flags, name, method]) => {
1295
- const target = elm;
1315
+ const target = getHostListenerTarget(elm, flags) ;
1296
1316
  const handler = hostListenerProxy(hostRef, method);
1297
1317
  const opts = hostListenerOpts(flags);
1298
1318
  plt.ael(target, name, handler, opts);
@@ -1316,6 +1336,11 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1316
1336
  consoleError(e);
1317
1337
  }
1318
1338
  };
1339
+ const getHostListenerTarget = (elm, flags) => {
1340
+ if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
1341
+ return doc;
1342
+ return elm;
1343
+ };
1319
1344
  // prettier-ignore
1320
1345
  const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
1321
1346
  /**
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-fcca6c58.js';
2
- export { s as setNonce } from './index-fcca6c58.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-9654537d.js';
2
+ export { s as setNonce } from './index-9654537d.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy([["tttx-button",[[1,"tttx-button",{"fontColor":[1,"font-color"],"buttonStyle":[1,"button-style"]},[[0,"clickEvent","onClicked"]]]]],["tttx-checkbox",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form",[[1,"tttx-form",{"dataAttribute":[1,"data-attribute"],"functionAttribute":[1,"function-attribute"]}]]],["tttx-single-input",[[1,"tttx-single-input",{"label":[1],"valid":[4],"showerrormsg":[4],"errormsg":[1],"value":[1025],"type":[1],"placeholder":[1],"pattern":[1],"iconleft":[1],"iconright":[1],"required":[4],"isfocused":[32]}]]],["tttx-text-box",[[1,"tttx-text-box",{"label":[1],"showerrormsg":[4],"errormsg":[1],"required":[4],"value":[1025],"isfocused":[32]}]]]], options);
14
+ return bootstrapLazy([["tttx-input",[[1,"tttx-input",{"label":[1],"valid":[4],"showerrormsg":[4],"errormsg":[1],"value":[1025],"type":[1],"placeholder":[1],"pattern":[1],"iconleft":[1],"iconright":[1],"required":[4],"isfocused":[32]}]]],["tttx-button",[[1,"tttx-button",{"fontColor":[1,"font-color"],"buttonStyle":[1,"button-style"]},[[0,"clickEvent","onClicked"]]]]],["tttx-checkbox",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form",[[1,"tttx-form",{"dataAttribute":[1,"data-attribute"],"functionAttribute":[1,"function-attribute"]}]]],["tttx-loading-spinner",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon",[[1,"tttx-icon",{"icon":[1],"colour":[1]},[[4,"click","handleDocumentClick"]]]]]], options);
15
15
  });
16
16
  };
17
17
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-fcca6c58.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-9654537d.js';
2
2
 
3
3
  const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.button{height:36px;padding:8px 16px;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:hover{background:#f0f0f0}.button:active{background:#e3e3e3}.primary-blue{background:#1479c6;border:1px solid #1479c6}.primary-blue:hover{background:#1169ba}.primary-blue:active{background:#0951a8}.secondary-white{background:white;border:1px solid #212121}:host{display:inline-block}.spacingleft{margin-left:8px}.font-white{color:white}.font-black{color:#212121}";
4
4
 
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-fcca6c58.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-9654537d.js';
2
2
 
3
- const tttxCheckboxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{font-family:\"Material Symbols Rounded\";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}.field{clear:both}.container{display:flex;flex-wrap:wrap;box-sizing:border-box;height:36px;border:1px solid #c8c8c8;border-radius:4px}.icon-left,.icon-right{flex-basis:24px}.icon-left span,.icon-right span{font-size:24px;line-height:24px;text-align:center;display:block;width:24px;height:24px;margin-top:4px}.icon-left span{margin-left:4px}.icon-right span{margin-right:4px}.input{flex-grow:1;border:none;outline:none;font-size:16px;padding:8px 16px;background-color:transparent}.iconleft .input{padding-left:4px}.iconright .input{padding-right:4px}.label{display:block;font-size:16px;height:18px;font-weight:600;color:#212121;font-size:16px;margin-bottom:4px;z-index:1}.disabled{background:#f0f0f0;color:#9e9e9e;border-color:#c8c8c8}.focused{border-color:#1479c6}.errormsg{height:16px;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;color:white;border-radius:none;z-index:2;color:#DC0000}.errormsg .validationicon{width:16px;height:16px;font-size:16px;margin-right:4px;vertical-align:middle;color:#DC0000}.danger{color:#DC0000}.optional{color:#757575;font-weight:normal}:host{display:block}.spacing{margin-bottom:16px}";
3
+ const tttxCheckboxCss = ".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}.field{clear:both}.container{display:flex;flex-wrap:wrap;box-sizing:border-box;height:36px;border:1px solid #c8c8c8;border-radius:4px}.icon-left,.icon-right{flex-basis:24px}.icon-left span,.icon-right span{font-size:24px;line-height:24px;text-align:center;display:block;width:24px;height:24px;margin-top:4px}.icon-left span{margin-left:4px}.icon-right span{margin-right:4px}.input{flex-grow:1;border:none;outline:none;font-size:16px;padding:8px 16px;background-color:transparent}.iconleft .input{padding-left:4px}.iconright .input{padding-right:4px}.label{display:block;height:18px;font-weight:600;color:#212121;font-size:16px;margin-bottom:4px;z-index:1}.disabled{background:#f0f0f0;color:#9e9e9e;border-color:#c8c8c8}.focused{border-color:#1479c6}.errormsg{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 .validationicon{width:16px;height:16px;font-size:16px;margin-right:4px;vertical-align:middle;color:#DC0000}.danger{color:#DC0000}.optional{color:#757575;font-weight:normal}:host{display:block}.spacing{margin-bottom:16px}";
4
4
 
5
5
  const TttxCheckbox = class {
6
6
  constructor(hostRef) {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-fcca6c58.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9654537d.js';
2
2
 
3
3
  const TttxForm = class {
4
4
  constructor(hostRef) {