@3t-transform/threeteeui 1.0.0 → 1.0.1
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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-button_localcomponent.cjs.entry.js → tttx-button_1_0_1.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_localcomponent.cjs.entry.js → tttx-checkbox-group-caption_1_0_1.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_localcomponent.cjs.entry.js → tttx-checkbox-group-heading_1_0_1.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_localcomponent.cjs.entry.js → tttx-checkbox-group_1_0_1.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_localcomponent.cjs.entry.js → tttx-checkbox_1_0_1.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-data-pattern_localcomponent.cjs.entry.js → tttx-data-pattern_1_0_1.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-dialog-box_localcomponent.cjs.entry.js → tttx-dialog-box_1_0_1.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_localcomponent.cjs.entry.js → tttx-dialog_1_0_1.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_localcomponent.cjs.entry.js → tttx-expander_1_0_1.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_localcomponent_4.cjs.entry.js → tttx-filter_1_0_1_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_localcomponent.cjs.entry.js → tttx-form_1_0_1.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_localcomponent.cjs.entry.js → tttx-icon_1_0_1.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_localcomponent.cjs.entry.js → tttx-keyvalue-block_1_0_1.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_localcomponent.cjs.entry.js → tttx-loading-spinner_1_0_1.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-multiselect-box_localcomponent.cjs.entry.js → tttx-multiselect-box_1_0_1.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-percentage-bar_localcomponent.cjs.entry.js → tttx-percentage-bar_1_0_1.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_localcomponent.cjs.entry.js → tttx-qrcode_1_0_1.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_localcomponent.cjs.entry.js → tttx-select-box_1_0_1.cjs.entry.js} +3 -3
- package/dist/cjs/tttx-standalone-input_1_0_1.cjs.entry.js +94 -0
- package/dist/cjs/{tttx-tabs_localcomponent.cjs.entry.js → tttx-tabs_1_0_1.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag_localcomponent.cjs.entry.js → tttx-tag_1_0_1.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-textarea_localcomponent.cjs.entry.js → tttx-textarea_1_0_1.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_localcomponent.cjs.entry.js → tttx-tree-view_1_0_1.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +20 -20
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +5 -5
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +46 -46
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +6 -6
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +33 -33
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +3 -3
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +16 -16
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +2 -2
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +26 -26
- package/dist/components/index.js +26 -26
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_localcomponent.d.ts → tttx-button_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-button_localcomponent.js → tttx-button_1_0_1.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_localcomponent.js → tttx-checkbox-group-caption_1_0_1.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_localcomponent.js → tttx-checkbox-group-heading_1_0_1.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_localcomponent.js → tttx-checkbox-group_1_0_1.js} +5 -5
- package/dist/components/{tttx-expander_localcomponent.d.ts → tttx-checkbox_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_localcomponent.js → tttx-checkbox_1_0_1.js} +7 -7
- package/dist/components/tttx-data-pattern_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_localcomponent.js → tttx-data-pattern_1_0_1.js} +13 -13
- package/dist/components/{tttx-dialog-box_localcomponent.d.ts → tttx-dialog-box_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-dialog-box_localcomponent.js → tttx-dialog-box_1_0_1.js} +9 -9
- package/dist/components/{tttx-filter_localcomponent.d.ts → tttx-dialog_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-dialog_localcomponent.js → tttx-dialog_1_0_1.js} +8 -8
- package/dist/components/{tttx-checkbox_localcomponent.d.ts → tttx-expander_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-expander_localcomponent.js → tttx-expander_1_0_1.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-qrcode_localcomponent.d.ts → tttx-filter_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-filter_localcomponent.js → tttx-filter_1_0_1.js} +2 -2
- package/dist/components/{tttx-icon_localcomponent.d.ts → tttx-form_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-form_localcomponent.js → tttx-form_1_0_1.js} +9 -9
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_localcomponent.d.ts → tttx-icon_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-icon_localcomponent.js → tttx-icon_1_0_1.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_localcomponent.js → tttx-keyvalue-block_1_0_1.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-form_localcomponent.d.ts → tttx-list_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-list_localcomponent.js → tttx-list_1_0_1.js} +2 -2
- package/dist/components/tttx-loading-spinner_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_localcomponent.js → tttx-loading-spinner_1_0_1.js} +5 -5
- package/dist/components/tttx-multiselect-box_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_localcomponent.js → tttx-multiselect-box_1_0_1.js} +13 -13
- package/dist/components/tttx-percentage-bar_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_localcomponent.js → tttx-percentage-bar_1_0_1.js} +6 -6
- package/dist/components/{tttx-dialog_localcomponent.d.ts → tttx-qrcode_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_localcomponent.js → tttx-qrcode_1_0_1.js} +5 -5
- package/dist/components/tttx-select-box.js +7 -7
- package/dist/components/tttx-select-box_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-select-box_localcomponent.js → tttx-select-box_1_0_1.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-sorter_localcomponent.js → tttx-sorter_1_0_1.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_localcomponent.js → tttx-standalone-input_1_0_1.js} +2 -2
- package/dist/components/{tttx-tabs_localcomponent.d.ts → tttx-tabs_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-tabs_localcomponent.js → tttx-tabs_1_0_1.js} +9 -9
- package/dist/components/{tttx-tag_localcomponent.d.ts → tttx-tag_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-tag_localcomponent.js → tttx-tag_1_0_1.js} +5 -5
- package/dist/components/tttx-textarea_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-textarea_localcomponent.js → tttx-textarea_1_0_1.js} +6 -6
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/{tttx-toolbar_localcomponent.d.ts → tttx-toolbar_1_0_1.d.ts} +4 -4
- package/dist/components/{tttx-toolbar_localcomponent.js → tttx-toolbar_1_0_1.js} +2 -2
- package/dist/components/tttx-tree-view_1_0_1.d.ts +11 -0
- package/dist/components/{tttx-tree-view_localcomponent.js → tttx-tree-view_1_0_1.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_localcomponent.entry.js → tttx-button_1_0_1.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_localcomponent.entry.js → tttx-checkbox-group-caption_1_0_1.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_localcomponent.entry.js → tttx-checkbox-group-heading_1_0_1.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_localcomponent.entry.js → tttx-checkbox-group_1_0_1.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_localcomponent.entry.js → tttx-checkbox_1_0_1.entry.js} +2 -2
- package/dist/esm/{tttx-data-pattern_localcomponent.entry.js → tttx-data-pattern_1_0_1.entry.js} +2 -2
- package/dist/esm/{tttx-dialog-box_localcomponent.entry.js → tttx-dialog-box_1_0_1.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_localcomponent.entry.js → tttx-dialog_1_0_1.entry.js} +2 -2
- package/dist/esm/{tttx-expander_localcomponent.entry.js → tttx-expander_1_0_1.entry.js} +2 -2
- package/dist/esm/{tttx-filter_localcomponent_4.entry.js → tttx-filter_1_0_1_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_localcomponent.entry.js → tttx-form_1_0_1.entry.js} +2 -2
- package/dist/esm/{tttx-icon_localcomponent.entry.js → tttx-icon_1_0_1.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_localcomponent.entry.js → tttx-keyvalue-block_1_0_1.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_localcomponent.entry.js → tttx-loading-spinner_1_0_1.entry.js} +1 -1
- package/dist/esm/{tttx-multiselect-box_localcomponent.entry.js → tttx-multiselect-box_1_0_1.entry.js} +6 -6
- package/dist/esm/{tttx-percentage-bar_localcomponent.entry.js → tttx-percentage-bar_1_0_1.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_localcomponent.entry.js → tttx-qrcode_1_0_1.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_localcomponent.entry.js → tttx-select-box_1_0_1.entry.js} +3 -3
- package/dist/esm/tttx-standalone-input_1_0_1.entry.js +90 -0
- package/dist/esm/{tttx-tabs_localcomponent.entry.js → tttx-tabs_1_0_1.entry.js} +4 -4
- package/dist/esm/{tttx-tag_localcomponent.entry.js → tttx-tag_1_0_1.entry.js} +1 -1
- package/dist/esm/{tttx-textarea_localcomponent.entry.js → tttx-textarea_1_0_1.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view_localcomponent.entry.js → tttx-tree-view_1_0_1.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-05c242f0.entry.js +1 -1
- package/dist/tttx/p-0e515960.entry.js +1 -1
- package/dist/tttx/p-1e5ff5f8.entry.js +1 -1
- package/dist/tttx/p-1f6cb3c3.entry.js +1 -1
- package/dist/tttx/p-23f45005.entry.js +1 -1
- package/dist/tttx/p-56c8c353.entry.js +1 -1
- package/dist/tttx/p-59c7b049.entry.js +1 -1
- package/dist/tttx/p-5b3e1fae.entry.js +1 -1
- package/dist/tttx/p-63ad6fb7.entry.js +1 -1
- package/dist/tttx/p-6704ac94.entry.js +1 -1
- package/dist/tttx/p-6abfd043.entry.js +1 -1
- package/dist/tttx/p-72ede7d8.entry.js +1 -1
- package/dist/tttx/p-796f699a.entry.js +1 -1
- package/dist/tttx/p-7a7fb9b3.entry.js +1 -1
- package/dist/tttx/p-87481935.entry.js +1 -1
- package/dist/tttx/p-9434561e.entry.js +1 -1
- package/dist/tttx/p-a01e679a.entry.js +1 -1
- package/dist/tttx/p-a8e76e78.entry.js +1 -1
- package/dist/tttx/p-c170e3b8.entry.js +1 -1
- package/dist/tttx/p-c3d6914a.entry.js +1 -1
- package/dist/tttx/p-ee358ce4.entry.js +1 -1
- package/dist/tttx/p-f374e293.entry.js +1 -1
- package/dist/tttx/p-fe967031.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components.d.ts +304 -304
- package/package.json +1 -1
- package/dist/cjs/tttx-standalone-input_localcomponent.cjs.entry.js +0 -94
- package/dist/components/tttx-checkbox-group-caption_localcomponent.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_localcomponent.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_localcomponent.d.ts +0 -11
- package/dist/components/tttx-data-pattern_localcomponent.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_localcomponent.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_localcomponent.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_localcomponent.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_localcomponent.d.ts +0 -11
- package/dist/components/tttx-select-box_localcomponent.d.ts +0 -11
- package/dist/components/tttx-sorter_localcomponent.d.ts +0 -11
- package/dist/components/tttx-standalone-input_localcomponent.d.ts +0 -11
- package/dist/components/tttx-textarea_localcomponent.d.ts +0 -11
- package/dist/components/tttx-tree-view_localcomponent.d.ts +0 -11
- package/dist/esm/tttx-standalone-input_localcomponent.entry.js +0 -90
|
@@ -55,7 +55,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
55
55
|
const iconColor = header.iconColor;
|
|
56
56
|
const iconEnabled = header.hasIcon ? true : false;
|
|
57
57
|
const closeEnabled = header.hasClose ? true : false;
|
|
58
|
-
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-
|
|
58
|
+
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_1_0_1", { class: "dialog-box-icon", icon: iconName, color: iconColor }), h("h3", { class: "dialog-box-title" }, title), closeEnabled && (h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, h("tttx-icon_1_0_1", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
59
59
|
}
|
|
60
60
|
renderContent(content) {
|
|
61
61
|
if (content.isCustomHtml) {
|
|
@@ -72,7 +72,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
72
72
|
const button2Enabled = button.length > 1;
|
|
73
73
|
const button3Enabled = button.length == 3;
|
|
74
74
|
const isMobile = this.elementSize === 'mobile';
|
|
75
|
-
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-
|
|
75
|
+
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_1_0_1", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (h("tttx-button_1_0_1", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (h("tttx-button_1_0_1", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
76
76
|
}
|
|
77
77
|
componentWillLoad() {
|
|
78
78
|
if (window.innerWidth < 698) {
|
|
@@ -95,7 +95,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
95
95
|
}
|
|
96
96
|
get el() { return this; }
|
|
97
97
|
static get style() { return tttxDialogBoxCss; }
|
|
98
|
-
}, [1, "tttx-dialog-
|
|
98
|
+
}, [1, "tttx-dialog-box_1_0_1", {
|
|
99
99
|
"data": [1025],
|
|
100
100
|
"size": [1],
|
|
101
101
|
"open": [1028],
|
|
@@ -106,19 +106,19 @@ function defineCustomElement$1() {
|
|
|
106
106
|
if (typeof customElements === "undefined") {
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
const components = ["tttx-dialog-
|
|
109
|
+
const components = ["tttx-dialog-box_1_0_1", "tttx-button_1_0_1", "tttx-icon_1_0_1"];
|
|
110
110
|
components.forEach(tagName => { switch (tagName) {
|
|
111
|
-
case "tttx-dialog-
|
|
111
|
+
case "tttx-dialog-box_1_0_1":
|
|
112
112
|
if (!customElements.get(tagName)) {
|
|
113
113
|
customElements.define(tagName, TttxDialogBox);
|
|
114
114
|
}
|
|
115
115
|
break;
|
|
116
|
-
case "tttx-
|
|
116
|
+
case "tttx-button_1_0_1":
|
|
117
117
|
if (!customElements.get(tagName)) {
|
|
118
118
|
defineCustomElement$3();
|
|
119
119
|
}
|
|
120
120
|
break;
|
|
121
|
-
case "tttx-
|
|
121
|
+
case "tttx-icon_1_0_1":
|
|
122
122
|
if (!customElements.get(tagName)) {
|
|
123
123
|
defineCustomElement$2();
|
|
124
124
|
}
|
|
@@ -126,7 +126,7 @@ function defineCustomElement$1() {
|
|
|
126
126
|
} });
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
const
|
|
129
|
+
const TttxDialogBox_1_0_1 = TttxDialogBox;
|
|
130
130
|
const defineCustomElement = defineCustomElement$1;
|
|
131
131
|
|
|
132
|
-
export {
|
|
132
|
+
export { TttxDialogBox_1_0_1, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxDialog_1_0_1 extends Components.TttxDialog_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxDialog_1_0_1: {
|
|
5
|
+
prototype: TttxDialog_1_0_1;
|
|
6
|
+
new (): TttxDialog_1_0_1;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -50,7 +50,7 @@ const TttxDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
50
50
|
renderHeader() {
|
|
51
51
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
52
52
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
53
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
53
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_0_1", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_0_1", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
54
54
|
}
|
|
55
55
|
body() {
|
|
56
56
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -76,7 +76,7 @@ const TttxDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
76
76
|
}
|
|
77
77
|
get el() { return this; }
|
|
78
78
|
static get style() { return tttxDialogCss; }
|
|
79
|
-
}, [1, "tttx-
|
|
79
|
+
}, [1, "tttx-dialog_1_0_1", {
|
|
80
80
|
"header": [1],
|
|
81
81
|
"type": [1],
|
|
82
82
|
"size": [1],
|
|
@@ -89,19 +89,19 @@ function defineCustomElement$1() {
|
|
|
89
89
|
if (typeof customElements === "undefined") {
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
|
-
const components = ["tttx-
|
|
92
|
+
const components = ["tttx-dialog_1_0_1", "tttx-button_1_0_1", "tttx-icon_1_0_1"];
|
|
93
93
|
components.forEach(tagName => { switch (tagName) {
|
|
94
|
-
case "tttx-
|
|
94
|
+
case "tttx-dialog_1_0_1":
|
|
95
95
|
if (!customElements.get(tagName)) {
|
|
96
96
|
customElements.define(tagName, TttxDialog);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
|
-
case "tttx-
|
|
99
|
+
case "tttx-button_1_0_1":
|
|
100
100
|
if (!customElements.get(tagName)) {
|
|
101
101
|
defineCustomElement$3();
|
|
102
102
|
}
|
|
103
103
|
break;
|
|
104
|
-
case "tttx-
|
|
104
|
+
case "tttx-icon_1_0_1":
|
|
105
105
|
if (!customElements.get(tagName)) {
|
|
106
106
|
defineCustomElement$2();
|
|
107
107
|
}
|
|
@@ -109,7 +109,7 @@ function defineCustomElement$1() {
|
|
|
109
109
|
} });
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
const
|
|
112
|
+
const TttxDialog_1_0_1 = TttxDialog;
|
|
113
113
|
const defineCustomElement = defineCustomElement$1;
|
|
114
114
|
|
|
115
|
-
export {
|
|
115
|
+
export { TttxDialog_1_0_1, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxExpander_1_0_1 extends Components.TttxExpander_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxExpander_1_0_1: {
|
|
5
|
+
prototype: TttxExpander_1_0_1;
|
|
6
|
+
new (): TttxExpander_1_0_1;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -29,10 +29,10 @@ const TttxExpander = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
29
29
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-
|
|
32
|
+
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_1_0_1", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_1_0_1", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_1_0_1", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
|
|
33
33
|
}
|
|
34
34
|
static get style() { return tttxExpanderCss; }
|
|
35
|
-
}, [1, "tttx-
|
|
35
|
+
}, [1, "tttx-expander_1_0_1", {
|
|
36
36
|
"name": [1],
|
|
37
37
|
"open": [4],
|
|
38
38
|
"lefticon": [1],
|
|
@@ -43,14 +43,14 @@ function defineCustomElement$1() {
|
|
|
43
43
|
if (typeof customElements === "undefined") {
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
|
-
const components = ["tttx-
|
|
46
|
+
const components = ["tttx-expander_1_0_1", "tttx-icon_1_0_1"];
|
|
47
47
|
components.forEach(tagName => { switch (tagName) {
|
|
48
|
-
case "tttx-
|
|
48
|
+
case "tttx-expander_1_0_1":
|
|
49
49
|
if (!customElements.get(tagName)) {
|
|
50
50
|
customElements.define(tagName, TttxExpander);
|
|
51
51
|
}
|
|
52
52
|
break;
|
|
53
|
-
case "tttx-
|
|
53
|
+
case "tttx-icon_1_0_1":
|
|
54
54
|
if (!customElements.get(tagName)) {
|
|
55
55
|
defineCustomElement$2();
|
|
56
56
|
}
|
|
@@ -58,7 +58,7 @@ function defineCustomElement$1() {
|
|
|
58
58
|
} });
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
const
|
|
61
|
+
const TttxExpander_1_0_1 = TttxExpander;
|
|
62
62
|
const defineCustomElement = defineCustomElement$1;
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { TttxExpander_1_0_1, defineCustomElement };
|
|
@@ -179,15 +179,15 @@ const TttxFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
179
179
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
180
180
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
181
181
|
const filterKey = `filter__${this.filterKey}`;
|
|
182
|
-
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-
|
|
182
|
+
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_1_0_1", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (h("div", { class: 'search-field-container' }, h("tttx-icon_1_0_1", { icon: 'search', class: 'search-icon' }), h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), h("div", { class: 'filter-options-container' }, this.showSelectAll ? (h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, h("tttx-icon_1_0_1", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
183
183
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
184
184
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
185
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
185
|
+
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_1_0_1", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_1_0_1", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
|
|
186
186
|
})), h("div", { class: 'filter-popover-button-container' }, h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
187
187
|
}
|
|
188
188
|
get el() { return this; }
|
|
189
189
|
static get style() { return tttxFilterCss; }
|
|
190
|
-
}, [1, "tttx-
|
|
190
|
+
}, [1, "tttx-filter_1_0_1", {
|
|
191
191
|
"filterKey": [1, "filter-key"],
|
|
192
192
|
"filterOptions": [1, "filter-options"],
|
|
193
193
|
"showSelectAll": [4, "show-select-all"],
|
|
@@ -207,14 +207,14 @@ function defineCustomElement() {
|
|
|
207
207
|
if (typeof customElements === "undefined") {
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
210
|
-
const components = ["tttx-
|
|
210
|
+
const components = ["tttx-filter_1_0_1", "tttx-icon_1_0_1"];
|
|
211
211
|
components.forEach(tagName => { switch (tagName) {
|
|
212
|
-
case "tttx-
|
|
212
|
+
case "tttx-filter_1_0_1":
|
|
213
213
|
if (!customElements.get(tagName)) {
|
|
214
214
|
customElements.define(tagName, TttxFilter);
|
|
215
215
|
}
|
|
216
216
|
break;
|
|
217
|
-
case "tttx-
|
|
217
|
+
case "tttx-icon_1_0_1":
|
|
218
218
|
if (!customElements.get(tagName)) {
|
|
219
219
|
defineCustomElement$1();
|
|
220
220
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxFilter_1_0_1 extends Components.TttxFilter_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxFilter_1_0_1: {
|
|
5
|
+
prototype: TttxFilter_1_0_1;
|
|
6
|
+
new (): TttxFilter_1_0_1;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxFilter, d as defineCustomElement$1 } from './tttx-filter.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxFilter_1_0_1 = TttxFilter;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxFilter_1_0_1, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxForm_1_0_1 extends Components.TttxForm_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxForm_1_0_1: {
|
|
5
|
+
prototype: TttxForm_1_0_1;
|
|
6
|
+
new (): TttxForm_1_0_1;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -264,7 +264,7 @@ const TttxForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
264
264
|
});
|
|
265
265
|
if ((_a = this._data) === null || _a === void 0 ? void 0 : _a[formKey])
|
|
266
266
|
select.classList.remove('placeholder');
|
|
267
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
267
|
+
const tttxSelect = document.createElement('tttx-select-box_1_0_1');
|
|
268
268
|
tttxSelect.optionsData = (_b = formProperties.options) === null || _b === void 0 ? void 0 : _b.filter(o => !o.placeholder);
|
|
269
269
|
tttxSelect.placeholder = (_d = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => o.placeholder)[0]) === null || _d === void 0 ? void 0 : _d.label;
|
|
270
270
|
tttxSelect.inline = false;
|
|
@@ -800,7 +800,7 @@ const TttxForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
800
800
|
"data": ["onDataChange"]
|
|
801
801
|
}; }
|
|
802
802
|
static get style() { return tttxFormCss; }
|
|
803
|
-
}, [1, "tttx-
|
|
803
|
+
}, [1, "tttx-form_1_0_1", {
|
|
804
804
|
"formschema": [1025],
|
|
805
805
|
"data": [1032],
|
|
806
806
|
"submit": [64],
|
|
@@ -810,24 +810,24 @@ function defineCustomElement$1() {
|
|
|
810
810
|
if (typeof customElements === "undefined") {
|
|
811
811
|
return;
|
|
812
812
|
}
|
|
813
|
-
const components = ["tttx-
|
|
813
|
+
const components = ["tttx-form_1_0_1", "tttx-icon_1_0_1", "tttx-select-box_1_0_1", "tttx-standalone-input_1_0_1"];
|
|
814
814
|
components.forEach(tagName => { switch (tagName) {
|
|
815
|
-
case "tttx-
|
|
815
|
+
case "tttx-form_1_0_1":
|
|
816
816
|
if (!customElements.get(tagName)) {
|
|
817
817
|
customElements.define(tagName, TttxForm);
|
|
818
818
|
}
|
|
819
819
|
break;
|
|
820
|
-
case "tttx-
|
|
820
|
+
case "tttx-icon_1_0_1":
|
|
821
821
|
if (!customElements.get(tagName)) {
|
|
822
822
|
defineCustomElement$4();
|
|
823
823
|
}
|
|
824
824
|
break;
|
|
825
|
-
case "tttx-select-
|
|
825
|
+
case "tttx-select-box_1_0_1":
|
|
826
826
|
if (!customElements.get(tagName)) {
|
|
827
827
|
defineCustomElement$3();
|
|
828
828
|
}
|
|
829
829
|
break;
|
|
830
|
-
case "tttx-standalone-
|
|
830
|
+
case "tttx-standalone-input_1_0_1":
|
|
831
831
|
if (!customElements.get(tagName)) {
|
|
832
832
|
defineCustomElement$2();
|
|
833
833
|
}
|
|
@@ -835,7 +835,7 @@ function defineCustomElement$1() {
|
|
|
835
835
|
} });
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
-
const
|
|
838
|
+
const TttxForm_1_0_1 = TttxForm;
|
|
839
839
|
const defineCustomElement = defineCustomElement$1;
|
|
840
840
|
|
|
841
|
-
export {
|
|
841
|
+
export { TttxForm_1_0_1, defineCustomElement };
|
|
@@ -19,7 +19,7 @@ const TttxIcon = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
static get style() { return tttxIconCss; }
|
|
22
|
-
}, [1, "tttx-
|
|
22
|
+
}, [1, "tttx-icon_1_0_1", {
|
|
23
23
|
"icon": [1],
|
|
24
24
|
"color": [1]
|
|
25
25
|
}]);
|
|
@@ -27,9 +27,9 @@ function defineCustomElement() {
|
|
|
27
27
|
if (typeof customElements === "undefined") {
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
|
-
const components = ["tttx-
|
|
30
|
+
const components = ["tttx-icon_1_0_1"];
|
|
31
31
|
components.forEach(tagName => { switch (tagName) {
|
|
32
|
-
case "tttx-
|
|
32
|
+
case "tttx-icon_1_0_1":
|
|
33
33
|
if (!customElements.get(tagName)) {
|
|
34
34
|
customElements.define(tagName, TttxIcon);
|
|
35
35
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxIcon_1_0_1 extends Components.TttxIcon_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxIcon_1_0_1: {
|
|
5
|
+
prototype: TttxIcon_1_0_1;
|
|
6
|
+
new (): TttxIcon_1_0_1;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxIcon, d as defineCustomElement$1 } from './tttx-icon.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxIcon_1_0_1 = TttxIcon;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxIcon_1_0_1, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxKeyvalueBlock_1_0_1 extends Components.TttxKeyvalueBlock_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxKeyvalueBlock_1_0_1: {
|
|
5
|
+
prototype: TttxKeyvalueBlock_1_0_1;
|
|
6
|
+
new (): TttxKeyvalueBlock_1_0_1;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
package/dist/components/{tttx-keyvalue-block_localcomponent.js → tttx-keyvalue-block_1_0_1.js}
RENAMED
|
@@ -65,7 +65,7 @@ const TttxKeyvalueBlock = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
65
65
|
return (h(Host, null, h("dl", { class: [this.horizontal ? 'horizontal' : undefined, this.spacedout ? ' spacedout' : undefined].join(' ').trim() }, this._elements)));
|
|
66
66
|
}
|
|
67
67
|
static get style() { return tttxKeyvalueBlockCss; }
|
|
68
|
-
}, [1, "tttx-keyvalue-
|
|
68
|
+
}, [1, "tttx-keyvalue-block_1_0_1", {
|
|
69
69
|
"keyvalues": [1],
|
|
70
70
|
"horizontal": [4],
|
|
71
71
|
"spacedout": [4],
|
|
@@ -75,9 +75,9 @@ function defineCustomElement$1() {
|
|
|
75
75
|
if (typeof customElements === "undefined") {
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
78
|
-
const components = ["tttx-keyvalue-
|
|
78
|
+
const components = ["tttx-keyvalue-block_1_0_1"];
|
|
79
79
|
components.forEach(tagName => { switch (tagName) {
|
|
80
|
-
case "tttx-keyvalue-
|
|
80
|
+
case "tttx-keyvalue-block_1_0_1":
|
|
81
81
|
if (!customElements.get(tagName)) {
|
|
82
82
|
customElements.define(tagName, TttxKeyvalueBlock);
|
|
83
83
|
}
|
|
@@ -85,7 +85,7 @@ function defineCustomElement$1() {
|
|
|
85
85
|
} });
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
const
|
|
88
|
+
const TttxKeyvalueBlock_1_0_1 = TttxKeyvalueBlock;
|
|
89
89
|
const defineCustomElement = defineCustomElement$1;
|
|
90
90
|
|
|
91
|
-
export {
|
|
91
|
+
export { TttxKeyvalueBlock_1_0_1, defineCustomElement };
|
|
@@ -48,9 +48,9 @@ const TttxList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
48
48
|
}
|
|
49
49
|
renderListItem(item) {
|
|
50
50
|
const cleanHTML = purify.sanitize(item.element, domSanitiserOptions);
|
|
51
|
-
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-
|
|
51
|
+
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-icon_1_0_1", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
52
52
|
this.onRowCheckboxHandler(event, item);
|
|
53
|
-
} }))), item.element && h("span", { class: "item-content", innerHTML: cleanHTML }), item.icon && (h("span", { class: "icons" }, h("tttx-
|
|
53
|
+
} }))), item.element && h("span", { class: "item-content", innerHTML: cleanHTML }), item.icon && (h("span", { class: "icons" }, h("tttx-icon_1_0_1", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
if (!this._data)
|
|
@@ -67,7 +67,7 @@ const TttxList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
67
67
|
"data": ["onDataChange"]
|
|
68
68
|
}; }
|
|
69
69
|
static get style() { return tttxListCss; }
|
|
70
|
-
}, [1, "tttx-
|
|
70
|
+
}, [1, "tttx-list_1_0_1", {
|
|
71
71
|
"data": [1025],
|
|
72
72
|
"name": [1],
|
|
73
73
|
"_data": [32]
|
|
@@ -76,14 +76,14 @@ function defineCustomElement() {
|
|
|
76
76
|
if (typeof customElements === "undefined") {
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
|
-
const components = ["tttx-
|
|
79
|
+
const components = ["tttx-list_1_0_1", "tttx-icon_1_0_1"];
|
|
80
80
|
components.forEach(tagName => { switch (tagName) {
|
|
81
|
-
case "tttx-
|
|
81
|
+
case "tttx-list_1_0_1":
|
|
82
82
|
if (!customElements.get(tagName)) {
|
|
83
83
|
customElements.define(tagName, TttxList);
|
|
84
84
|
}
|
|
85
85
|
break;
|
|
86
|
-
case "tttx-
|
|
86
|
+
case "tttx-icon_1_0_1":
|
|
87
87
|
if (!customElements.get(tagName)) {
|
|
88
88
|
defineCustomElement$1();
|
|
89
89
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxList_1_0_1 extends Components.TttxList_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxList_1_0_1: {
|
|
5
|
+
prototype: TttxList_1_0_1;
|
|
6
|
+
new (): TttxList_1_0_1;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxList, d as defineCustomElement$1 } from './tttx-list.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxList_1_0_1 = TttxList;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxList_1_0_1, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxLoadingSpinner_1_0_1 extends Components.TttxLoadingSpinner_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxLoadingSpinner_1_0_1: {
|
|
5
|
+
prototype: TttxLoadingSpinner_1_0_1;
|
|
6
|
+
new (): TttxLoadingSpinner_1_0_1;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
package/dist/components/{tttx-loading-spinner_localcomponent.js → tttx-loading-spinner_1_0_1.js}
RENAMED
|
@@ -19,7 +19,7 @@ const TttxLoadingSpinner = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
19
19
|
return (h("div", null, h("div", { class: "loading-box" }, h("span", { class: `spinner ${this.size}` })), this.renderLoadingMessage()));
|
|
20
20
|
}
|
|
21
21
|
static get style() { return tttxLoadingSpinnerCss; }
|
|
22
|
-
}, [1, "tttx-loading-
|
|
22
|
+
}, [1, "tttx-loading-spinner_1_0_1", {
|
|
23
23
|
"loadingMessage": [1028, "loading-message"],
|
|
24
24
|
"size": [1025]
|
|
25
25
|
}]);
|
|
@@ -27,9 +27,9 @@ function defineCustomElement$1() {
|
|
|
27
27
|
if (typeof customElements === "undefined") {
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
|
-
const components = ["tttx-loading-
|
|
30
|
+
const components = ["tttx-loading-spinner_1_0_1"];
|
|
31
31
|
components.forEach(tagName => { switch (tagName) {
|
|
32
|
-
case "tttx-loading-
|
|
32
|
+
case "tttx-loading-spinner_1_0_1":
|
|
33
33
|
if (!customElements.get(tagName)) {
|
|
34
34
|
customElements.define(tagName, TttxLoadingSpinner);
|
|
35
35
|
}
|
|
@@ -37,7 +37,7 @@ function defineCustomElement$1() {
|
|
|
37
37
|
} });
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const TttxLoadingSpinner_1_0_1 = TttxLoadingSpinner;
|
|
41
41
|
const defineCustomElement = defineCustomElement$1;
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { TttxLoadingSpinner_1_0_1, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxMultiselectBox_1_0_1 extends Components.TttxMultiselectBox_1_0_1, HTMLElement {}
|
|
4
|
+
export const TttxMultiselectBox_1_0_1: {
|
|
5
|
+
prototype: TttxMultiselectBox_1_0_1;
|
|
6
|
+
new (): TttxMultiselectBox_1_0_1;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
package/dist/components/{tttx-multiselect-box_localcomponent.js → tttx-multiselect-box_1_0_1.js}
RENAMED
|
@@ -88,11 +88,11 @@ const TttxMultiselectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
88
88
|
const sanitisedHTML = purify.sanitize(option.html, domSanitiserOptions);
|
|
89
89
|
// This is tested in e2e tests
|
|
90
90
|
/* istanbul ignore next */
|
|
91
|
-
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
91
|
+
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_0_1", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { innerHTML: sanitisedHTML })));
|
|
92
92
|
}
|
|
93
93
|
// This is tested in e2e tests
|
|
94
94
|
/* istanbul ignore next */
|
|
95
|
-
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
95
|
+
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_0_1", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { class: "plaintext-option" }, option.label)));
|
|
96
96
|
}
|
|
97
97
|
// This is tested in e2e tests
|
|
98
98
|
/* istanbul ignore next */
|
|
@@ -124,18 +124,18 @@ const TttxMultiselectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
124
124
|
if (!this.unsavedSelectedItems)
|
|
125
125
|
this.unsavedSelectedItems = this.safelyCloneArray(this._optionsData);
|
|
126
126
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
127
|
-
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-
|
|
127
|
+
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_0_1", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
128
128
|
/* istanbul ignore next */
|
|
129
|
-
h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
129
|
+
h("div", { class: "searchbox" }, h("tttx-standalone-input_1_0_1", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), h("div", { class: "dropdown-options-list" }, this.unsavedSelectedItems.map((option) => {
|
|
130
130
|
return this.dropdownOption(option);
|
|
131
|
-
})), h("div", { class: 'footer' }, h("tttx-
|
|
131
|
+
})), h("div", { class: 'footer' }, h("tttx-button_1_0_1", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_0_1", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
132
132
|
}
|
|
133
133
|
get el() { return this; }
|
|
134
134
|
static get watchers() { return {
|
|
135
135
|
"optionsData": ["handleOptionsDataChange"]
|
|
136
136
|
}; }
|
|
137
137
|
static get style() { return tttxMultiselectBoxCss; }
|
|
138
|
-
}, [1, "tttx-multiselect-
|
|
138
|
+
}, [1, "tttx-multiselect-box_1_0_1", {
|
|
139
139
|
"optionsData": [1, "options-data"],
|
|
140
140
|
"label": [1],
|
|
141
141
|
"inline": [4],
|
|
@@ -151,24 +151,24 @@ function defineCustomElement$1() {
|
|
|
151
151
|
if (typeof customElements === "undefined") {
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
|
-
const components = ["tttx-multiselect-
|
|
154
|
+
const components = ["tttx-multiselect-box_1_0_1", "tttx-button_1_0_1", "tttx-icon_1_0_1", "tttx-standalone-input_1_0_1"];
|
|
155
155
|
components.forEach(tagName => { switch (tagName) {
|
|
156
|
-
case "tttx-multiselect-
|
|
156
|
+
case "tttx-multiselect-box_1_0_1":
|
|
157
157
|
if (!customElements.get(tagName)) {
|
|
158
158
|
customElements.define(tagName, TttxMultiselectBox);
|
|
159
159
|
}
|
|
160
160
|
break;
|
|
161
|
-
case "tttx-
|
|
161
|
+
case "tttx-button_1_0_1":
|
|
162
162
|
if (!customElements.get(tagName)) {
|
|
163
163
|
defineCustomElement$4();
|
|
164
164
|
}
|
|
165
165
|
break;
|
|
166
|
-
case "tttx-
|
|
166
|
+
case "tttx-icon_1_0_1":
|
|
167
167
|
if (!customElements.get(tagName)) {
|
|
168
168
|
defineCustomElement$3();
|
|
169
169
|
}
|
|
170
170
|
break;
|
|
171
|
-
case "tttx-standalone-
|
|
171
|
+
case "tttx-standalone-input_1_0_1":
|
|
172
172
|
if (!customElements.get(tagName)) {
|
|
173
173
|
defineCustomElement$2();
|
|
174
174
|
}
|
|
@@ -176,7 +176,7 @@ function defineCustomElement$1() {
|
|
|
176
176
|
} });
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
const
|
|
179
|
+
const TttxMultiselectBox_1_0_1 = TttxMultiselectBox;
|
|
180
180
|
const defineCustomElement = defineCustomElement$1;
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { TttxMultiselectBox_1_0_1, defineCustomElement };
|