@3t-transform/threeteeui 0.2.117 → 0.2.118

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 (86) hide show
  1. package/dist/cjs/{index-992a9fb3.js → index-fdc30724.js} +0 -4
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/tttx-button.cjs.entry.js +1 -1
  4. package/dist/cjs/tttx-checkbox-group-caption.cjs.entry.js +1 -1
  5. package/dist/cjs/tttx-checkbox-group-heading.cjs.entry.js +1 -1
  6. package/dist/cjs/tttx-checkbox-group.cjs.entry.js +1 -1
  7. package/dist/cjs/tttx-checkbox.cjs.entry.js +1 -1
  8. package/dist/cjs/tttx-data-pattern.cjs.entry.js +1 -1
  9. package/dist/cjs/tttx-dialog-box.cjs.entry.js +12 -21
  10. package/dist/cjs/tttx-dialog.cjs.entry.js +5 -5
  11. package/dist/cjs/tttx-expander.cjs.entry.js +1 -1
  12. package/dist/cjs/tttx-filter_4.cjs.entry.js +1 -1
  13. package/dist/cjs/tttx-form.cjs.entry.js +1 -1
  14. package/dist/cjs/tttx-icon.cjs.entry.js +1 -1
  15. package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +1 -1
  16. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +1 -1
  17. package/dist/cjs/tttx-multiselect-box.cjs.entry.js +1 -1
  18. package/dist/cjs/tttx-percentage-bar.cjs.entry.js +1 -1
  19. package/dist/cjs/tttx-qrcode.cjs.entry.js +1 -1
  20. package/dist/cjs/tttx-select-box.cjs.entry.js +1 -1
  21. package/dist/cjs/tttx-standalone-input.cjs.entry.js +1 -1
  22. package/dist/cjs/tttx-tabs.cjs.entry.js +1 -1
  23. package/dist/cjs/tttx-tag.cjs.entry.js +1 -1
  24. package/dist/cjs/tttx-textarea.cjs.entry.js +1 -1
  25. package/dist/cjs/tttx-tree-view.cjs.entry.js +1 -1
  26. package/dist/cjs/tttx.cjs.js +1 -1
  27. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +4 -4
  28. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +11 -20
  29. package/dist/components/tttx-dialog-box.js +11 -20
  30. package/dist/components/tttx-dialog.js +4 -4
  31. package/dist/esm/{index-b11965d8.js → index-88bd2f60.js} +0 -4
  32. package/dist/esm/loader.js +2 -2
  33. package/dist/esm/tttx-button.entry.js +1 -1
  34. package/dist/esm/tttx-checkbox-group-caption.entry.js +1 -1
  35. package/dist/esm/tttx-checkbox-group-heading.entry.js +1 -1
  36. package/dist/esm/tttx-checkbox-group.entry.js +1 -1
  37. package/dist/esm/tttx-checkbox.entry.js +1 -1
  38. package/dist/esm/tttx-data-pattern.entry.js +1 -1
  39. package/dist/esm/tttx-dialog-box.entry.js +12 -21
  40. package/dist/esm/tttx-dialog.entry.js +5 -5
  41. package/dist/esm/tttx-expander.entry.js +1 -1
  42. package/dist/esm/tttx-filter_4.entry.js +1 -1
  43. package/dist/esm/tttx-form.entry.js +1 -1
  44. package/dist/esm/tttx-icon.entry.js +1 -1
  45. package/dist/esm/tttx-keyvalue-block.entry.js +1 -1
  46. package/dist/esm/tttx-loading-spinner.entry.js +1 -1
  47. package/dist/esm/tttx-multiselect-box.entry.js +1 -1
  48. package/dist/esm/tttx-percentage-bar.entry.js +1 -1
  49. package/dist/esm/tttx-qrcode.entry.js +1 -1
  50. package/dist/esm/tttx-select-box.entry.js +1 -1
  51. package/dist/esm/tttx-standalone-input.entry.js +1 -1
  52. package/dist/esm/tttx-tabs.entry.js +1 -1
  53. package/dist/esm/tttx-tag.entry.js +1 -1
  54. package/dist/esm/tttx-textarea.entry.js +1 -1
  55. package/dist/esm/tttx-tree-view.entry.js +1 -1
  56. package/dist/esm/tttx.js +2 -2
  57. package/dist/tttx/{p-0fb0d9eb.entry.js → p-02017641.entry.js} +1 -1
  58. package/dist/tttx/{p-7c3a76f3.entry.js → p-065ad72e.entry.js} +1 -1
  59. package/dist/tttx/{p-fe6c321b.entry.js → p-06a0f85e.entry.js} +1 -1
  60. package/dist/tttx/{p-e0662bf6.entry.js → p-0bd3d6cd.entry.js} +1 -1
  61. package/dist/tttx/{p-5b8bb736.entry.js → p-0d962a44.entry.js} +1 -1
  62. package/dist/tttx/p-1ecf24cc.entry.js +1 -0
  63. package/dist/tttx/{p-87b6e5a9.entry.js → p-2f46fcbc.entry.js} +1 -1
  64. package/dist/tttx/{p-bcf3844e.entry.js → p-30da2278.entry.js} +1 -1
  65. package/dist/tttx/{p-e6514754.entry.js → p-3511ae30.entry.js} +1 -1
  66. package/dist/tttx/p-3666b331.entry.js +1 -0
  67. package/dist/tttx/{p-61741832.entry.js → p-36f0dc1d.entry.js} +1 -1
  68. package/dist/tttx/{p-888fb9ee.entry.js → p-4e2bc070.entry.js} +1 -1
  69. package/dist/tttx/{p-e7b7d2e2.entry.js → p-54cedeca.entry.js} +1 -1
  70. package/dist/tttx/{p-f247443b.entry.js → p-706901da.entry.js} +1 -1
  71. package/dist/tttx/{p-3ea49576.entry.js → p-837a4008.entry.js} +1 -1
  72. package/dist/tttx/{p-f8c7f162.entry.js → p-85a1e8cd.entry.js} +1 -1
  73. package/dist/tttx/{p-78875ac9.entry.js → p-866047c1.entry.js} +1 -1
  74. package/dist/tttx/{p-f27adb48.entry.js → p-872cd825.entry.js} +1 -1
  75. package/dist/tttx/{p-be16cf2d.entry.js → p-bdee8c29.entry.js} +1 -1
  76. package/dist/tttx/{p-69642b71.entry.js → p-bf48f423.entry.js} +1 -1
  77. package/dist/tttx/{p-7f1452fb.entry.js → p-c45c095c.entry.js} +1 -1
  78. package/dist/tttx/{p-65bb4035.js → p-d490353a.js} +2 -2
  79. package/dist/tttx/{p-c3ca37bb.entry.js → p-d59980ee.entry.js} +1 -1
  80. package/dist/tttx/{p-15b7a577.entry.js → p-e0ed9a93.entry.js} +1 -1
  81. package/dist/tttx/tttx.esm.js +1 -1
  82. package/dist/types/components/molecules/tttx-dialog/tttx-dialog.d.ts +1 -1
  83. package/dist/types/components/molecules/tttx-dialog-box/tttx-dialog-box.d.ts +2 -4
  84. package/package.json +1 -1
  85. package/dist/tttx/p-20d3d8fb.entry.js +0 -1
  86. package/dist/tttx/p-c476e635.entry.js +0 -1
@@ -1789,16 +1789,12 @@ const setContentReference = (elm) => {
1789
1789
  const disconnectedCallback = (elm) => {
1790
1790
  if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1791
1791
  const hostRef = getHostRef(elm);
1792
- const instance = hostRef.$lazyInstance$ ;
1793
1792
  {
1794
1793
  if (hostRef.$rmListeners$) {
1795
1794
  hostRef.$rmListeners$.map((rmListener) => rmListener());
1796
1795
  hostRef.$rmListeners$ = undefined;
1797
1796
  }
1798
1797
  }
1799
- {
1800
- safeCall(instance, 'disconnectedCallback');
1801
- }
1802
1798
  }
1803
1799
  };
1804
1800
  const bootstrapLazy = (lazyBundles, options = {}) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.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:500}.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:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:inline-block}tttx-icon{cursor:inherit}.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-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxCheckboxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox{padding:8px;display:flex;justify-content:flex-start;font-size:16px;align-items:center;font-weight:normal;line-height:18.752px}.tttx-checkbox tttx-icon{height:24px}.tttx-checkbox.--inline{display:inline-flex}.tttx-checkbox__input{display:none}.tttx-checkbox__label{margin-left:8px;padding-right:0;color:#212121;font-weight:normal}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxDataPatternCss = ":host{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-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-32e670aa.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
@@ -13,6 +13,9 @@ const TttxDialogBox = class {
13
13
  index.registerInstance(this, hostRef);
14
14
  this.closeButtonClick = index.createEvent(this, "closeButtonClick", 6);
15
15
  this.buttonClick = index.createEvent(this, "buttonClick", 7);
16
+ this.emitDialogClose = () => {
17
+ this.closeButtonClick.emit();
18
+ };
16
19
  this.data = undefined;
17
20
  this.size = 'regular';
18
21
  this.open = false;
@@ -28,37 +31,25 @@ const TttxDialogBox = class {
28
31
  }
29
32
  }
30
33
  componentDidRender() {
31
- if (!this.dialog())
34
+ if (!this.dialog)
32
35
  return;
36
+ this.dialog.removeEventListener('close', this.emitDialogClose);
37
+ this.dialog.addEventListener('close', this.emitDialogClose);
33
38
  if (!this.open) {
34
- this.dialog().close();
39
+ this.dialog.close();
35
40
  return;
36
41
  }
37
42
  // istanbul ignore next
38
- if (!this.dialog().open)
39
- this.dialog().showModal();
40
- }
41
- preventCancelOnDialog(event) {
42
- event.preventDefault();
43
- }
44
- componentDidLoad() {
45
- var _a;
46
- (_a = this.dialog()) === null || _a === void 0 ? void 0 : _a.addEventListener('cancel', this.preventCancelOnDialog);
47
- }
48
- disconnectedCallback() {
49
- var _a;
50
- (_a = this.dialog()) === null || _a === void 0 ? void 0 : _a.removeEventListener('cancel', this.preventCancelOnDialog);
43
+ if (!this.dialog.open)
44
+ this.dialog.showModal();
51
45
  }
52
46
  onCloseClickHandler() {
53
47
  this.open = false;
54
- this.closeButtonClick.emit({ close: true });
48
+ this.dialog.close();
55
49
  }
56
50
  onButtonClickHandler(index) {
57
51
  this.buttonClick.emit({ buttonNumber: index, buttonClicked: true });
58
52
  }
59
- dialog() {
60
- return this.el.shadowRoot.querySelector('dialog');
61
- }
62
53
  renderHeader(header) {
63
54
  const title = header.title;
64
55
  const iconName = header.iconName;
@@ -101,7 +92,7 @@ const TttxDialogBox = class {
101
92
  else {
102
93
  this._data = this.data;
103
94
  }
104
- return (index.h("dialog", { class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, index.h("div", { class: "contents" }, index.h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), index.h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), index.h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
95
+ return (index.h("dialog", { ref: (el) => this.dialog = el, class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, index.h("div", { class: "contents" }, index.h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), index.h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), index.h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
105
96
  }
106
97
  get el() { return index.getElement(this); }
107
98
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const ICON_TYPES = {
8
8
  critical: { iconName: 'report', iconColor: 'red' },
@@ -33,14 +33,14 @@ const TttxDialog = class {
33
33
  this.elementSize = this.size;
34
34
  }
35
35
  }
36
- preventCancelOnDialog(event) {
37
- event.preventDefault();
36
+ emitDialogClose() {
37
+ this.closeButtonClick.emit();
38
38
  }
39
39
  componentDidLoad() {
40
- this.dialog.addEventListener('cancel', this.preventCancelOnDialog);
40
+ this.dialog.addEventListener('close', this.emitDialogClose.bind(this));
41
41
  }
42
42
  onCloseClickHandler() {
43
- this.closeButtonClick.emit();
43
+ this.dialog.close();
44
44
  }
45
45
  headerIconDetails(iconEnabled) {
46
46
  if (!iconEnabled)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxExpanderCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:block}.expander{border-bottom:1px solid #d5d5d5}.expander[open] .panel .open{display:initial}.expander[open] .panel .closed{display:none}.expander:not([open]) .panel .open{display:none}.expander:not([open]) .panel .closed{display:initial}.expander .panel{display:flex;gap:4px;height:36px;align-items:center;justify-content:space-between;cursor:pointer;user-select:none}.expander .panel .panel-frame{display:flex;gap:4px;height:36px;align-items:center}.expander .panel .panel-frame .name{font-size:16px;font-weight:500;color:#212121}.expander .panel .left-icons,.expander .panel .expand-button{display:flex;height:36px;width:36px;align-items:center;justify-content:center}.expander .panel .left-icons>tttx-icon,.expander .panel .expand-button>tttx-icon{height:24px;cursor:inherit}.expander .content{margin-top:8px;margin-bottom:8px}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-32e670aa.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-32e670aa.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.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,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.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;font-size:16px;margin-bottom:4px}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}dd:not(:last-child){margin-bottom:16px}dl.spacedout,dl.horizontal{display:flex;flex-direction:row;width:100%}dl.spacedout{justify-content:space-between}dl.horizontal div{flex-grow:1}@media (max-width: 769px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%;max-width:50% !important}}@media (max-width: 600px){dl.horizontal div{width:100%;max-width:100% !important}}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxLoadingSpinnerCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.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-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-32e670aa.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxPercentageBarCss = ".sc-tttx-percentage-bar-h{display:block}.progress.sc-tttx-percentage-bar{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar .bar.sc-tttx-percentage-bar{height:20px}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
  const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
7
7
 
8
8
  var qrcode_min = _commonjsHelpers.createCommonjsModule(function (module, exports) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-32e670aa.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.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-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input .optional.sc-tttx-standalone-input{color:#757575;font-weight:normal}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input{position:relative}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input .left-icons.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input .right-icons.sc-tttx-standalone-input{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input .left-icons.sc-tttx-standalone-input tttx-icon.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input .right-icons.sc-tttx-standalone-input tttx-icon.sc-tttx-standalone-input{height:24px;width:24px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input .left-icons.sc-tttx-standalone-input{left:8px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input .right-icons.sc-tttx-standalone-input{right:8px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.sc-tttx-standalone-input{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;padding:0;padding-left:16px;padding-right:16px;margin-top:4px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.has-input-icon.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.has-input-icon.sc-tttx-standalone-input{padding-left:40px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.has-input-icon.has-left-icon.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input{padding-left:72px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.has-left-icon.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.has-left-icon.sc-tttx-standalone-input{padding-left:40px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.has-right-icon.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.has-right-icon.sc-tttx-standalone-input{padding-right:40px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.invalid.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.invalid.sc-tttx-standalone-input{border:1px solid #dc0000}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.sc-tttx-standalone-input:not([type=submit]),label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.sc-tttx-standalone-input:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input[type=radio].sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea[type=radio].sc-tttx-standalone-input{width:20px;height:20px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input[type=date].sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea[type=date].sc-tttx-standalone-input{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input[readonly].sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea[readonly].sc-tttx-standalone-input{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.sc-tttx-standalone-input:focus,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.sc-tttx-standalone-input:focus{border-color:#1479c6}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input input.sc-tttx-standalone-input:focus-visible,label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.sc-tttx-standalone-input:focus-visible{outline:none}label.sc-tttx-standalone-input .outer-container.sc-tttx-standalone-input textarea.sc-tttx-standalone-input{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input .outer-container.inputBlock.sc-tttx-standalone-input{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input .outer-container.inputBlock.sc-tttx-standalone-input .left-icons.sc-tttx-standalone-input,label.sc-tttx-standalone-input .outer-container.inputBlock.sc-tttx-standalone-input .right-icons.sc-tttx-standalone-input{margin-top:4px}label.sc-tttx-standalone-input .outer-container.inputBlock.readonly.sc-tttx-standalone-input{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input{display:block}label.sc-tttx-standalone-input .outer-container.inputInline.sc-tttx-standalone-input{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input .outer-container.inputInline.sc-tttx-standalone-input input.sc-tttx-standalone-input{margin-top:0}label.sc-tttx-standalone-input .secondarylabel.sc-tttx-standalone-input{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input .errorBubble.sc-tttx-standalone-input{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-standalone-input .errorBubble.sc-tttx-standalone-input:not(.visible){display:none}label.sc-tttx-standalone-input .errorBubble.sc-tttx-standalone-input span.sc-tttx-standalone-input{color:#dc0000;font-size:16px;margin-right:4px}.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}.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-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-32e670aa.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxTagCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.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:500}.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:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:inline-block}.tag{border-radius:20px;padding:4px;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:400}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea-h{display:block}label.sc-tttx-textarea{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea .textarea-container.sc-tttx-textarea{position:relative}label.sc-tttx-textarea .textarea-container.sc-tttx-textarea textarea.sc-tttx-textarea{font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea .textarea-container.sc-tttx-textarea textarea.no-label.sc-tttx-textarea{margin-top:0}label.sc-tttx-textarea .textarea-container.sc-tttx-textarea textarea.sc-tttx-textarea~.errorBubble.sc-tttx-textarea{font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-textarea .textarea-container.sc-tttx-textarea textarea.sc-tttx-textarea~.errorBubble.sc-tttx-textarea:not(.visible){display:none}label.sc-tttx-textarea .textarea-container.sc-tttx-textarea textarea.sc-tttx-textarea~.errorBubble.sc-tttx-textarea span.sc-tttx-textarea{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea .textarea-container.sc-tttx-textarea textarea.sc-tttx-textarea:focus{border-color:#1479c6}label.sc-tttx-textarea .textarea-container.sc-tttx-textarea textarea.sc-tttx-textarea:focus-visible{outline:none}label.sc-tttx-textarea .secondarylabel.sc-tttx-textarea{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea .optional.sc-tttx-textarea{color:#757575;font-weight:normal}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
  const domsanitiser_options = require('./domsanitiser.options-32e670aa.js');
7
7
  require('./_commonjsHelpers-537d719a.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-992a9fb3.js');
5
+ const index = require('./index-fdc30724.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -19,14 +19,14 @@ export class TttxDialog {
19
19
  this.elementSize = this.size;
20
20
  }
21
21
  }
22
- preventCancelOnDialog(event) {
23
- event.preventDefault();
22
+ emitDialogClose() {
23
+ this.closeButtonClick.emit();
24
24
  }
25
25
  componentDidLoad() {
26
- this.dialog.addEventListener('cancel', this.preventCancelOnDialog);
26
+ this.dialog.addEventListener('close', this.emitDialogClose.bind(this));
27
27
  }
28
28
  onCloseClickHandler() {
29
- this.closeButtonClick.emit();
29
+ this.dialog.close();
30
30
  }
31
31
  headerIconDetails(iconEnabled) {
32
32
  if (!iconEnabled)
@@ -4,6 +4,9 @@ import * as DOMPurify from 'dompurify';
4
4
  import domSanitiserOptions from '../../../shared/domsanitiser.options';
5
5
  export class TttxDialogBox {
6
6
  constructor() {
7
+ this.emitDialogClose = () => {
8
+ this.closeButtonClick.emit();
9
+ };
7
10
  this.data = undefined;
8
11
  this.size = 'regular';
9
12
  this.open = false;
@@ -19,37 +22,25 @@ export class TttxDialogBox {
19
22
  }
20
23
  }
21
24
  componentDidRender() {
22
- if (!this.dialog())
25
+ if (!this.dialog)
23
26
  return;
27
+ this.dialog.removeEventListener('close', this.emitDialogClose);
28
+ this.dialog.addEventListener('close', this.emitDialogClose);
24
29
  if (!this.open) {
25
- this.dialog().close();
30
+ this.dialog.close();
26
31
  return;
27
32
  }
28
33
  // istanbul ignore next
29
- if (!this.dialog().open)
30
- this.dialog().showModal();
31
- }
32
- preventCancelOnDialog(event) {
33
- event.preventDefault();
34
- }
35
- componentDidLoad() {
36
- var _a;
37
- (_a = this.dialog()) === null || _a === void 0 ? void 0 : _a.addEventListener('cancel', this.preventCancelOnDialog);
38
- }
39
- disconnectedCallback() {
40
- var _a;
41
- (_a = this.dialog()) === null || _a === void 0 ? void 0 : _a.removeEventListener('cancel', this.preventCancelOnDialog);
34
+ if (!this.dialog.open)
35
+ this.dialog.showModal();
42
36
  }
43
37
  onCloseClickHandler() {
44
38
  this.open = false;
45
- this.closeButtonClick.emit({ close: true });
39
+ this.dialog.close();
46
40
  }
47
41
  onButtonClickHandler(index) {
48
42
  this.buttonClick.emit({ buttonNumber: index, buttonClicked: true });
49
43
  }
50
- dialog() {
51
- return this.el.shadowRoot.querySelector('dialog');
52
- }
53
44
  renderHeader(header) {
54
45
  const title = header.title;
55
46
  const iconName = header.iconName;
@@ -92,7 +83,7 @@ export class TttxDialogBox {
92
83
  else {
93
84
  this._data = this.data;
94
85
  }
95
- return (h("dialog", { class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, h("div", { class: "contents" }, h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
86
+ return (h("dialog", { ref: (el) => this.dialog = el, class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, h("div", { class: "contents" }, h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
96
87
  }
97
88
  static get is() { return "tttx-dialog-box"; }
98
89
  static get encapsulation() { return "shadow"; }
@@ -12,6 +12,9 @@ const TttxDialogBox$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
12
12
  this.__attachShadow();
13
13
  this.closeButtonClick = createEvent(this, "closeButtonClick", 6);
14
14
  this.buttonClick = createEvent(this, "buttonClick", 7);
15
+ this.emitDialogClose = () => {
16
+ this.closeButtonClick.emit();
17
+ };
15
18
  this.data = undefined;
16
19
  this.size = 'regular';
17
20
  this.open = false;
@@ -27,37 +30,25 @@ const TttxDialogBox$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
27
30
  }
28
31
  }
29
32
  componentDidRender() {
30
- if (!this.dialog())
33
+ if (!this.dialog)
31
34
  return;
35
+ this.dialog.removeEventListener('close', this.emitDialogClose);
36
+ this.dialog.addEventListener('close', this.emitDialogClose);
32
37
  if (!this.open) {
33
- this.dialog().close();
38
+ this.dialog.close();
34
39
  return;
35
40
  }
36
41
  // istanbul ignore next
37
- if (!this.dialog().open)
38
- this.dialog().showModal();
39
- }
40
- preventCancelOnDialog(event) {
41
- event.preventDefault();
42
- }
43
- componentDidLoad() {
44
- var _a;
45
- (_a = this.dialog()) === null || _a === void 0 ? void 0 : _a.addEventListener('cancel', this.preventCancelOnDialog);
46
- }
47
- disconnectedCallback() {
48
- var _a;
49
- (_a = this.dialog()) === null || _a === void 0 ? void 0 : _a.removeEventListener('cancel', this.preventCancelOnDialog);
42
+ if (!this.dialog.open)
43
+ this.dialog.showModal();
50
44
  }
51
45
  onCloseClickHandler() {
52
46
  this.open = false;
53
- this.closeButtonClick.emit({ close: true });
47
+ this.dialog.close();
54
48
  }
55
49
  onButtonClickHandler(index) {
56
50
  this.buttonClick.emit({ buttonNumber: index, buttonClicked: true });
57
51
  }
58
- dialog() {
59
- return this.el.shadowRoot.querySelector('dialog');
60
- }
61
52
  renderHeader(header) {
62
53
  const title = header.title;
63
54
  const iconName = header.iconName;
@@ -100,7 +91,7 @@ const TttxDialogBox$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
100
91
  else {
101
92
  this._data = this.data;
102
93
  }
103
- return (h("dialog", { class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, h("div", { class: "contents" }, h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
94
+ return (h("dialog", { ref: (el) => this.dialog = el, class: `dialog-box ${this.allowOverflow ? 'overflow-visible' : ''} ${this.elementSize}` }, h("div", { class: "contents" }, h("div", { class: `dialog-box-padding dialog-box-header-box ${this._data.type || ''}` }, this.renderHeader(this._data.header)), h("div", { class: "dialog-box-padding dialog-box-body-box" }, this.renderContent(this._data.body)), h("div", { class: "dialog-box-padding dialog-box-footer-box" }, this.renderFooter(this._data.footer)))));
104
95
  }
105
96
  get el() { return this; }
106
97
  static get style() { return tttxDialogBoxCss; }
@@ -32,14 +32,14 @@ const TttxDialog$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
32
32
  this.elementSize = this.size;
33
33
  }
34
34
  }
35
- preventCancelOnDialog(event) {
36
- event.preventDefault();
35
+ emitDialogClose() {
36
+ this.closeButtonClick.emit();
37
37
  }
38
38
  componentDidLoad() {
39
- this.dialog.addEventListener('cancel', this.preventCancelOnDialog);
39
+ this.dialog.addEventListener('close', this.emitDialogClose.bind(this));
40
40
  }
41
41
  onCloseClickHandler() {
42
- this.closeButtonClick.emit();
42
+ this.dialog.close();
43
43
  }
44
44
  headerIconDetails(iconEnabled) {
45
45
  if (!iconEnabled)
@@ -1767,16 +1767,12 @@ const setContentReference = (elm) => {
1767
1767
  const disconnectedCallback = (elm) => {
1768
1768
  if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1769
1769
  const hostRef = getHostRef(elm);
1770
- const instance = hostRef.$lazyInstance$ ;
1771
1770
  {
1772
1771
  if (hostRef.$rmListeners$) {
1773
1772
  hostRef.$rmListeners$.map((rmListener) => rmListener());
1774
1773
  hostRef.$rmListeners$ = undefined;
1775
1774
  }
1776
1775
  }
1777
- {
1778
- safeCall(instance, 'disconnectedCallback');
1779
- }
1780
1776
  }
1781
1777
  };
1782
1778
  const bootstrapLazy = (lazyBundles, options = {}) => {
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-b11965d8.js';
2
- export { s as setNonce } from './index-b11965d8.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-88bd2f60.js';
2
+ export { s as setNonce } from './index-88bd2f60.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-b11965d8.js';
1
+ import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
2
2
 
3
3
  const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.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:500}.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:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:inline-block}tttx-icon{cursor:inherit}.spacingleft{margin-left:8px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-b11965d8.js';
1
+ import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
2
2
 
3
3
  const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-b11965d8.js';
1
+ import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
2
2
 
3
3
  const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-b11965d8.js';
1
+ import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
2
2
 
3
3
  const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-b11965d8.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-88bd2f60.js';
2
2
 
3
3
  const tttxCheckboxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox{padding:8px;display:flex;justify-content:flex-start;font-size:16px;align-items:center;font-weight:normal;line-height:18.752px}.tttx-checkbox tttx-icon{height:24px}.tttx-checkbox.--inline{display:inline-flex}.tttx-checkbox__input{display:none}.tttx-checkbox__label{margin-left:8px;padding-right:0;color:#212121;font-weight:normal}";
4
4