@3t-transform/threeteeui 1.0.3 → 1.2.0
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_1_0_3.cjs.entry.js → tttx-button_1_2_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_0_3.cjs.entry.js → tttx-checkbox-group-caption_1_2_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_0_3.cjs.entry.js → tttx-checkbox-group-heading_1_2_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_0_3.cjs.entry.js → tttx-checkbox-group_1_2_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_0_3.cjs.entry.js → tttx-checkbox_1_2_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-data-pattern_1_0_3.cjs.entry.js → tttx-data-pattern_1_2_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-dialog-box_1_0_3.cjs.entry.js → tttx-dialog-box_1_2_0.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_0_3.cjs.entry.js → tttx-dialog_1_2_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_0_3.cjs.entry.js → tttx-expander_1_2_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_0_3_4.cjs.entry.js → tttx-filter_1_2_0_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_0_3.cjs.entry.js → tttx-form_1_2_0.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-icon_1_2_0.cjs.entry.js +34 -0
- package/dist/cjs/{tttx-keyvalue-block_1_0_3.cjs.entry.js → tttx-keyvalue-block_1_2_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_0_3.cjs.entry.js → tttx-loading-spinner_1_2_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-multiselect-box_1_0_3.cjs.entry.js → tttx-multiselect-box_1_2_0.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-percentage-bar_1_0_3.cjs.entry.js → tttx-percentage-bar_1_2_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_0_3.cjs.entry.js → tttx-qrcode_1_2_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_0_3.cjs.entry.js → tttx-select-box_1_2_0.cjs.entry.js} +3 -3
- package/dist/cjs/tttx-standalone-input_1_2_0.cjs.entry.js +94 -0
- package/dist/cjs/{tttx-tabs_1_0_3.cjs.entry.js → tttx-tabs_1_2_0.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag_1_0_3.cjs.entry.js → tttx-tag_1_2_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-textarea_1_0_3.cjs.entry.js → tttx-textarea_1_2_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_0_3.cjs.entry.js → tttx-tree-view_1_2_0.cjs.entry.js} +7 -32
- 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.css +7 -2
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +27 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +5 -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 +16 -54
- 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-form_1_0_3.d.ts → tttx-button_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-button_1_0_3.js → tttx-button_1_2_0.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_0_3.js → tttx-checkbox-group-caption_1_2_0.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_0_3.js → tttx-checkbox-group-heading_1_2_0.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_0_3.js → tttx-checkbox-group_1_2_0.js} +5 -5
- package/dist/components/{tttx-expander_1_0_3.d.ts → tttx-checkbox_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_0_3.js → tttx-checkbox_1_2_0.js} +7 -7
- package/dist/components/tttx-data-pattern_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_0_3.js → tttx-data-pattern_1_2_0.js} +13 -13
- package/dist/components/{tttx-dialog-box_1_0_3.d.ts → tttx-dialog-box_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-dialog-box_1_0_3.js → tttx-dialog-box_1_2_0.js} +9 -9
- package/dist/components/{tttx-button_1_0_3.d.ts → tttx-dialog_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_0_3.js → tttx-dialog_1_2_0.js} +8 -8
- package/dist/components/{tttx-checkbox_1_0_3.d.ts → tttx-expander_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-expander_1_0_3.js → tttx-expander_1_2_0.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_0_3.d.ts → tttx-filter_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_0_3.js → tttx-filter_1_2_0.js} +2 -2
- package/dist/components/{tttx-icon_1_0_3.d.ts → tttx-form_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-form_1_0_3.js → tttx-form_1_2_0.js} +9 -9
- package/dist/components/tttx-icon.js +14 -5
- package/dist/components/{tttx-list_1_0_3.d.ts → tttx-icon_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_0_3.js → tttx-icon_1_2_0.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_0_3.js → tttx-keyvalue-block_1_2_0.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-tabs_1_0_3.d.ts → tttx-list_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-list_1_0_3.js → tttx-list_1_2_0.js} +2 -2
- package/dist/components/tttx-loading-spinner_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_0_3.js → tttx-loading-spinner_1_2_0.js} +5 -5
- package/dist/components/tttx-multiselect-box_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_0_3.js → tttx-multiselect-box_1_2_0.js} +13 -13
- package/dist/components/tttx-percentage-bar_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_0_3.js → tttx-percentage-bar_1_2_0.js} +6 -6
- package/dist/components/{tttx-qrcode_1_0_3.d.ts → tttx-qrcode_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_0_3.js → tttx-qrcode_1_2_0.js} +5 -5
- package/dist/components/tttx-select-box.js +7 -7
- package/dist/components/tttx-select-box_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_0_3.js → tttx-select-box_1_2_0.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/{tttx-dialog_1_0_3.d.ts → tttx-sorter_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-sorter_1_0_3.js → tttx-sorter_1_2_0.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_0_3.js → tttx-standalone-input_1_2_0.js} +2 -2
- package/dist/components/tttx-tabs_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-tabs_1_0_3.js → tttx-tabs_1_2_0.js} +9 -9
- package/dist/components/{tttx-tag_1_0_3.d.ts → tttx-tag_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_0_3.js → tttx-tag_1_2_0.js} +5 -5
- package/dist/components/tttx-textarea_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_0_3.js → tttx-textarea_1_2_0.js} +6 -6
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/{tttx-toolbar_1_0_3.d.ts → tttx-toolbar_1_2_0.d.ts} +4 -4
- package/dist/components/{tttx-toolbar_1_0_3.js → tttx-toolbar_1_2_0.js} +2 -2
- package/dist/components/tttx-tree-view_1_2_0.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_0_3.js → tttx-tree-view_1_2_0.js} +14 -41
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_1_0_3.entry.js → tttx-button_1_2_0.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_0_3.entry.js → tttx-checkbox-group-caption_1_2_0.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_0_3.entry.js → tttx-checkbox-group-heading_1_2_0.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_0_3.entry.js → tttx-checkbox-group_1_2_0.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_0_3.entry.js → tttx-checkbox_1_2_0.entry.js} +2 -2
- package/dist/esm/{tttx-data-pattern_1_0_3.entry.js → tttx-data-pattern_1_2_0.entry.js} +2 -2
- package/dist/esm/{tttx-dialog-box_1_0_3.entry.js → tttx-dialog-box_1_2_0.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_0_3.entry.js → tttx-dialog_1_2_0.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_0_3.entry.js → tttx-expander_1_2_0.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_0_3_4.entry.js → tttx-filter_1_2_0_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_0_3.entry.js → tttx-form_1_2_0.entry.js} +2 -2
- package/dist/esm/tttx-icon_1_2_0.entry.js +30 -0
- package/dist/esm/{tttx-keyvalue-block_1_0_3.entry.js → tttx-keyvalue-block_1_2_0.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_0_3.entry.js → tttx-loading-spinner_1_2_0.entry.js} +1 -1
- package/dist/esm/{tttx-multiselect-box_1_0_3.entry.js → tttx-multiselect-box_1_2_0.entry.js} +6 -6
- package/dist/esm/{tttx-percentage-bar_1_0_3.entry.js → tttx-percentage-bar_1_2_0.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_0_3.entry.js → tttx-qrcode_1_2_0.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_0_3.entry.js → tttx-select-box_1_2_0.entry.js} +3 -3
- package/dist/esm/tttx-standalone-input_1_2_0.entry.js +90 -0
- package/dist/esm/{tttx-tabs_1_0_3.entry.js → tttx-tabs_1_2_0.entry.js} +4 -4
- package/dist/esm/{tttx-tag_1_0_3.entry.js → tttx-tag_1_2_0.entry.js} +1 -1
- package/dist/esm/{tttx-textarea_1_0_3.entry.js → tttx-textarea_1_2_0.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view_1_0_3.entry.js → tttx-tree-view_1_2_0.entry.js} +7 -32
- package/dist/esm/tttx.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-23f45005.entry.js +1 -1
- package/dist/tttx/p-34be6c6d.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-5d2706b1.entry.js +1 -1
- package/dist/tttx/p-63ad6fb7.entry.js +1 -1
- package/dist/tttx/p-6b1c7a21.entry.js +1 -0
- package/dist/tttx/p-6deb8699.entry.js +1 -0
- package/dist/tttx/p-796f699a.entry.js +1 -1
- package/dist/tttx/p-81aaafa0.entry.js +1 -1
- package/dist/tttx/p-884f37d3.entry.js +1 -1
- package/dist/tttx/p-9434561e.entry.js +1 -1
- package/dist/tttx/p-983d63ff.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-c8589436.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-f4db1cf2.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/atoms/tttx-icon/tttx-icon.d.ts +4 -0
- package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +5 -0
- 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/molecules/tttx-tree-view/tttx-tree-view.d.ts +2 -7
- package/dist/types/components.d.ts +306 -306
- package/package.json +1 -1
- package/dist/cjs/tttx-icon_1_0_3.cjs.entry.js +0 -26
- package/dist/cjs/tttx-standalone-input_1_0_3.cjs.entry.js +0 -94
- package/dist/components/tttx-checkbox-group-caption_1_0_3.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_0_3.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_0_3.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_0_3.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_0_3.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_0_3.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_0_3.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_0_3.d.ts +0 -11
- package/dist/components/tttx-select-box_1_0_3.d.ts +0 -11
- package/dist/components/tttx-sorter_1_0_3.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_0_3.d.ts +0 -11
- package/dist/components/tttx-textarea_1_0_3.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_0_3.d.ts +0 -11
- package/dist/esm/tttx-icon_1_0_3.entry.js +0 -22
- package/dist/esm/tttx-standalone-input_1_0_3.entry.js +0 -90
- package/dist/tttx/p-1c2a50d3.entry.js +0 -1
- package/dist/tttx/p-87481935.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './tttx-icon.js';
|
|
3
3
|
|
|
4
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-
|
|
4
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_2_0{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_2_0{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_2_0{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_2_0 .optional.sc-tttx-standalone-input_1_2_0{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0{position:relative}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 .left-icons.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 .right-icons.sc-tttx-standalone-input_1_2_0{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 .left-icons.sc-tttx-standalone-input_1_2_0 tttx-icon.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 .right-icons.sc-tttx-standalone-input_1_2_0 tttx-icon.sc-tttx-standalone-input_1_2_0{height:24px;width:24px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 .left-icons.sc-tttx-standalone-input_1_2_0{left:8px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 .right-icons.sc-tttx-standalone-input_1_2_0{right:8px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.sc-tttx-standalone-input_1_2_0{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_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.has-input-icon.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.has-input-icon.sc-tttx-standalone-input_1_2_0{padding-left:40px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_2_0{padding-left:72px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.has-left-icon.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.has-left-icon.sc-tttx-standalone-input_1_2_0{padding-left:40px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.has-right-icon.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.has-right-icon.sc-tttx-standalone-input_1_2_0{padding-right:40px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.invalid.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.invalid.sc-tttx-standalone-input_1_2_0{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.sc-tttx-standalone-input_1_2_0:not([type=submit]),label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.sc-tttx-standalone-input_1_2_0:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input[type=radio].sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea[type=radio].sc-tttx-standalone-input_1_2_0{width:20px;height:20px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input[type=date].sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea[type=date].sc-tttx-standalone-input_1_2_0{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input[readonly].sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea[readonly].sc-tttx-standalone-input_1_2_0{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.sc-tttx-standalone-input_1_2_0:focus,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.sc-tttx-standalone-input_1_2_0:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 input.sc-tttx-standalone-input_1_2_0:focus-visible,label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.sc-tttx-standalone-input_1_2_0:focus-visible{outline:none}label.sc-tttx-standalone-input_1_2_0 .outer-container.sc-tttx-standalone-input_1_2_0 textarea.sc-tttx-standalone-input_1_2_0{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_2_0 .outer-container.inputBlock.sc-tttx-standalone-input_1_2_0{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_2_0 .outer-container.inputBlock.sc-tttx-standalone-input_1_2_0 .left-icons.sc-tttx-standalone-input_1_2_0,label.sc-tttx-standalone-input_1_2_0 .outer-container.inputBlock.sc-tttx-standalone-input_1_2_0 .right-icons.sc-tttx-standalone-input_1_2_0{margin-top:4px}label.sc-tttx-standalone-input_1_2_0 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_2_0{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_2_0 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_2_0{display:block}label.sc-tttx-standalone-input_1_2_0 .outer-container.inputInline.sc-tttx-standalone-input_1_2_0{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_2_0 .outer-container.inputInline.sc-tttx-standalone-input_1_2_0 input.sc-tttx-standalone-input_1_2_0{margin-top:0}label.sc-tttx-standalone-input_1_2_0 .secondarylabel.sc-tttx-standalone-input_1_2_0{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_2_0 .errorBubble.sc-tttx-standalone-input_1_2_0{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_1_2_0 .errorBubble.sc-tttx-standalone-input_1_2_0:not(.visible){display:none}label.sc-tttx-standalone-input_1_2_0 .errorBubble.sc-tttx-standalone-input_1_2_0 span.sc-tttx-standalone-input_1_2_0{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_2_0{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_1_2_0-h{display:block}";
|
|
5
5
|
|
|
6
6
|
const TttxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -84,10 +84,10 @@ const TttxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
84
84
|
this.iconleft ? 'has-left-icon' : '',
|
|
85
85
|
this.iconright ? 'has-right-icon' : '',
|
|
86
86
|
].join(' ');
|
|
87
|
-
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-
|
|
87
|
+
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_1_2_0", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_2_0", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_2_0", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
88
88
|
}
|
|
89
89
|
static get style() { return tttxStandaloneInputCss; }
|
|
90
|
-
}, [2, "tttx-standalone-
|
|
90
|
+
}, [2, "tttx-standalone-input_1_2_0", {
|
|
91
91
|
"label": [1],
|
|
92
92
|
"secondarylabel": [1],
|
|
93
93
|
"showerrormsg": [4],
|
|
@@ -125,14 +125,14 @@ function defineCustomElement() {
|
|
|
125
125
|
if (typeof customElements === "undefined") {
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
|
-
const components = ["tttx-standalone-
|
|
128
|
+
const components = ["tttx-standalone-input_1_2_0", "tttx-icon_1_2_0"];
|
|
129
129
|
components.forEach(tagName => { switch (tagName) {
|
|
130
|
-
case "tttx-standalone-
|
|
130
|
+
case "tttx-standalone-input_1_2_0":
|
|
131
131
|
if (!customElements.get(tagName)) {
|
|
132
132
|
customElements.define(tagName, TttxInput);
|
|
133
133
|
}
|
|
134
134
|
break;
|
|
135
|
-
case "tttx-
|
|
135
|
+
case "tttx-icon_1_2_0":
|
|
136
136
|
if (!customElements.get(tagName)) {
|
|
137
137
|
defineCustomElement$1();
|
|
138
138
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxStandaloneInput_1_2_0 extends Components.TttxStandaloneInput_1_2_0, HTMLElement {}
|
|
4
|
+
export const TttxStandaloneInput_1_2_0: {
|
|
5
|
+
prototype: TttxStandaloneInput_1_2_0;
|
|
6
|
+
new (): TttxStandaloneInput_1_2_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxInput, d as defineCustomElement$1 } from './tttx-standalone-input.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxStandaloneInput_1_2_0 = TttxInput;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxStandaloneInput_1_2_0, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTabs_1_2_0 extends Components.TttxTabs_1_2_0, HTMLElement {}
|
|
4
|
+
export const TttxTabs_1_2_0: {
|
|
5
|
+
prototype: TttxTabs_1_2_0;
|
|
6
|
+
new (): TttxTabs_1_2_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
4
4
|
|
|
5
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
5
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_2_0{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_2_0-h{display:block}.tab-bar.sc-tttx-tabs_1_2_0{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_2_0>.left-navigation.sc-tttx-tabs_1_2_0,.tab-bar.sc-tttx-tabs_1_2_0>.right-navigation.sc-tttx-tabs_1_2_0{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_2_0>.left-navigation.sc-tttx-tabs_1_2_0>*.sc-tttx-tabs_1_2_0,.tab-bar.sc-tttx-tabs_1_2_0>.right-navigation.sc-tttx-tabs_1_2_0>*.sc-tttx-tabs_1_2_0{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_2_0>.tabs-container.sc-tttx-tabs_1_2_0{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_2_0>.tabs-container.wide.sc-tttx-tabs_1_2_0{flex-grow:1}.tab-bar.sc-tttx-tabs_1_2_0>.tabs-container.sc-tttx-tabs_1_2_0>*[role=tab].sc-tttx-tabs_1_2_0{padding:18px 16px;line-height:16.408px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs_1_2_0>.tabs-container.sc-tttx-tabs_1_2_0>*[role=tab].sc-tttx-tabs_1_2_0:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_2_0>.tabs-container.sc-tttx-tabs_1_2_0>*[role=tab][aria-selected].sc-tttx-tabs_1_2_0{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
6
6
|
|
|
7
7
|
const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
8
|
constructor() {
|
|
@@ -78,17 +78,17 @@ const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
80
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
81
|
-
return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-
|
|
81
|
+
return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_2_0", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(tab => {
|
|
82
82
|
return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
83
83
|
this.handleTabClick(tab);
|
|
84
84
|
} }, tab.tabName));
|
|
85
|
-
})), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-
|
|
85
|
+
})), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_2_0", { icon: "navigate_next", color: "black" })))), selectedTab && (h("article", { key: selectedTab.id, id: selectedTab.controls, role: "tabpanel", tabindex: "0", "aria-labelledby": selectedTab.id, "aria-expanded": selectedTab.selected, innerHTML: purify.sanitize(selectedTab.pageContent, domSanitiserOptions), hidden: !selectedTab.selected })))));
|
|
86
86
|
}
|
|
87
87
|
static get watchers() { return {
|
|
88
88
|
"tabs": ["onDataChange"]
|
|
89
89
|
}; }
|
|
90
90
|
static get style() { return tttxTabsCss; }
|
|
91
|
-
}, [2, "tttx-
|
|
91
|
+
}, [2, "tttx-tabs_1_2_0", {
|
|
92
92
|
"tabsName": [1, "tabs-name"],
|
|
93
93
|
"navigation": [4],
|
|
94
94
|
"wide": [4],
|
|
@@ -99,14 +99,14 @@ function defineCustomElement$1() {
|
|
|
99
99
|
if (typeof customElements === "undefined") {
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
|
-
const components = ["tttx-
|
|
102
|
+
const components = ["tttx-tabs_1_2_0", "tttx-icon_1_2_0"];
|
|
103
103
|
components.forEach(tagName => { switch (tagName) {
|
|
104
|
-
case "tttx-
|
|
104
|
+
case "tttx-tabs_1_2_0":
|
|
105
105
|
if (!customElements.get(tagName)) {
|
|
106
106
|
customElements.define(tagName, TttxTabs);
|
|
107
107
|
}
|
|
108
108
|
break;
|
|
109
|
-
case "tttx-
|
|
109
|
+
case "tttx-icon_1_2_0":
|
|
110
110
|
if (!customElements.get(tagName)) {
|
|
111
111
|
defineCustomElement$2();
|
|
112
112
|
}
|
|
@@ -114,7 +114,7 @@ function defineCustomElement$1() {
|
|
|
114
114
|
} });
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
const
|
|
117
|
+
const TttxTabs_1_2_0 = TttxTabs;
|
|
118
118
|
const defineCustomElement = defineCustomElement$1;
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { TttxTabs_1_2_0, 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 TttxTag_1_2_0 extends Components.TttxTag_1_2_0, HTMLElement {}
|
|
4
|
+
export const TttxTag_1_2_0: {
|
|
5
|
+
prototype: TttxTag_1_2_0;
|
|
6
|
+
new (): TttxTag_1_2_0;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -15,7 +15,7 @@ const TttxTag = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
15
15
|
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, h("span", null, this.text))));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return tttxTagCss; }
|
|
18
|
-
}, [1, "tttx-
|
|
18
|
+
}, [1, "tttx-tag_1_2_0", {
|
|
19
19
|
"text": [1],
|
|
20
20
|
"color": [1],
|
|
21
21
|
"textColor": [1, "text-color"]
|
|
@@ -24,9 +24,9 @@ function defineCustomElement$1() {
|
|
|
24
24
|
if (typeof customElements === "undefined") {
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
|
-
const components = ["tttx-
|
|
27
|
+
const components = ["tttx-tag_1_2_0"];
|
|
28
28
|
components.forEach(tagName => { switch (tagName) {
|
|
29
|
-
case "tttx-
|
|
29
|
+
case "tttx-tag_1_2_0":
|
|
30
30
|
if (!customElements.get(tagName)) {
|
|
31
31
|
customElements.define(tagName, TttxTag);
|
|
32
32
|
}
|
|
@@ -34,7 +34,7 @@ function defineCustomElement$1() {
|
|
|
34
34
|
} });
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
const
|
|
37
|
+
const TttxTag_1_2_0 = TttxTag;
|
|
38
38
|
const defineCustomElement = defineCustomElement$1;
|
|
39
39
|
|
|
40
|
-
export {
|
|
40
|
+
export { TttxTag_1_2_0, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTextarea_1_2_0 extends Components.TttxTextarea_1_2_0, HTMLElement {}
|
|
4
|
+
export const TttxTextarea_1_2_0: {
|
|
5
|
+
prototype: TttxTextarea_1_2_0;
|
|
6
|
+
new (): TttxTextarea_1_2_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
3
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_2_0{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_2_0-h{display:block}label.sc-tttx-textarea_1_2_0{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_2_0 .textarea-container.sc-tttx-textarea_1_2_0{position:relative}label.sc-tttx-textarea_1_2_0 .textarea-container.sc-tttx-textarea_1_2_0 textarea.sc-tttx-textarea_1_2_0{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_1_2_0 .textarea-container.sc-tttx-textarea_1_2_0 textarea.no-label.sc-tttx-textarea_1_2_0{margin-top:0}label.sc-tttx-textarea_1_2_0 .textarea-container.sc-tttx-textarea_1_2_0 textarea.sc-tttx-textarea_1_2_0~.errorBubble.sc-tttx-textarea_1_2_0{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_1_2_0 .textarea-container.sc-tttx-textarea_1_2_0 textarea.sc-tttx-textarea_1_2_0~.errorBubble.sc-tttx-textarea_1_2_0:not(.visible){display:none}label.sc-tttx-textarea_1_2_0 .textarea-container.sc-tttx-textarea_1_2_0 textarea.sc-tttx-textarea_1_2_0~.errorBubble.sc-tttx-textarea_1_2_0 span.sc-tttx-textarea_1_2_0{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_2_0 .textarea-container.sc-tttx-textarea_1_2_0 textarea.sc-tttx-textarea_1_2_0:focus{border-color:#1479c6}label.sc-tttx-textarea_1_2_0 .textarea-container.sc-tttx-textarea_1_2_0 textarea.sc-tttx-textarea_1_2_0:focus-visible{outline:none}label.sc-tttx-textarea_1_2_0 .secondarylabel.sc-tttx-textarea_1_2_0{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_2_0 .optional.sc-tttx-textarea_1_2_0{color:#757575;font-weight:normal}";
|
|
4
4
|
|
|
5
5
|
const TttxTextarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -51,7 +51,7 @@ const TttxTextarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
51
51
|
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: "textarea-container" }, h("textarea", { rows: this.rows, class: classNames, autofocus: this.textareaautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, disabled: this.disabled, maxlength: this.maxlength, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded validationicon" }, "warning"), " ", this.errormsg))))));
|
|
52
52
|
}
|
|
53
53
|
static get style() { return tttxTextareaCss; }
|
|
54
|
-
}, [2, "tttx-
|
|
54
|
+
}, [2, "tttx-textarea_1_2_0", {
|
|
55
55
|
"label": [1],
|
|
56
56
|
"secondarylabel": [1],
|
|
57
57
|
"showerrormsg": [4],
|
|
@@ -74,9 +74,9 @@ function defineCustomElement$1() {
|
|
|
74
74
|
if (typeof customElements === "undefined") {
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
|
-
const components = ["tttx-
|
|
77
|
+
const components = ["tttx-textarea_1_2_0"];
|
|
78
78
|
components.forEach(tagName => { switch (tagName) {
|
|
79
|
-
case "tttx-
|
|
79
|
+
case "tttx-textarea_1_2_0":
|
|
80
80
|
if (!customElements.get(tagName)) {
|
|
81
81
|
customElements.define(tagName, TttxTextarea);
|
|
82
82
|
}
|
|
@@ -84,7 +84,7 @@ function defineCustomElement$1() {
|
|
|
84
84
|
} });
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
const
|
|
87
|
+
const TttxTextarea_1_2_0 = TttxTextarea;
|
|
88
88
|
const defineCustomElement = defineCustomElement$1;
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { TttxTextarea_1_2_0, defineCustomElement };
|
|
@@ -28,7 +28,7 @@ const TttxToolbar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
28
28
|
return (h(Host, null, h("div", { class: `container ${this.border ? 'bordered' : ''} ${this.viewSize}` }, h("slot", { name: 'before' }), h("slot", { name: 'center' }), h("slot", { name: 'after' }))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return tttxToolbarCss; }
|
|
31
|
-
}, [1, "tttx-
|
|
31
|
+
}, [1, "tttx-toolbar_1_2_0", {
|
|
32
32
|
"border": [4],
|
|
33
33
|
"viewSize": [32]
|
|
34
34
|
}, [[9, "resize", "handleResize"]]]);
|
|
@@ -36,9 +36,9 @@ function defineCustomElement() {
|
|
|
36
36
|
if (typeof customElements === "undefined") {
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
const components = ["tttx-
|
|
39
|
+
const components = ["tttx-toolbar_1_2_0"];
|
|
40
40
|
components.forEach(tagName => { switch (tagName) {
|
|
41
|
-
case "tttx-
|
|
41
|
+
case "tttx-toolbar_1_2_0":
|
|
42
42
|
if (!customElements.get(tagName)) {
|
|
43
43
|
customElements.define(tagName, TttxToolbar);
|
|
44
44
|
}
|
|
@@ -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 TttxToolbar_1_2_0 extends Components.TttxToolbar_1_2_0, HTMLElement {}
|
|
4
|
+
export const TttxToolbar_1_2_0: {
|
|
5
|
+
prototype: TttxToolbar_1_2_0;
|
|
6
|
+
new (): TttxToolbar_1_2_0;
|
|
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 TttxToolbar, d as defineCustomElement$1 } from './tttx-toolbar.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxToolbar_1_2_0 = TttxToolbar;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxToolbar_1_2_0, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTreeView_1_2_0 extends Components.TttxTreeView_1_2_0, HTMLElement {}
|
|
4
|
+
export const TttxTreeView_1_2_0: {
|
|
5
|
+
prototype: TttxTreeView_1_2_0;
|
|
6
|
+
new (): TttxTreeView_1_2_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -13,26 +13,11 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
13
13
|
this.clickEvent = createEvent(this, "clickEvent", 7);
|
|
14
14
|
this.expandNode = createEvent(this, "expandNode", 7);
|
|
15
15
|
this.data = undefined;
|
|
16
|
-
this.firstSelected = undefined;
|
|
17
16
|
this.treeData = undefined;
|
|
18
|
-
this.selectedId = undefined;
|
|
19
17
|
}
|
|
20
|
-
onClickHandler(
|
|
18
|
+
onClickHandler(event, node) {
|
|
21
19
|
event.stopPropagation();
|
|
22
|
-
|
|
23
|
-
this.clickEvent.emit({ eventName: clickName, returnJsonObject });
|
|
24
|
-
if (clickName === 'row') {
|
|
25
|
-
this.selectedElement(event, node);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
//for testing as SelectedId is a state
|
|
29
|
-
updateSelectedId(newId) {
|
|
30
|
-
this.selectedId = newId;
|
|
31
|
-
}
|
|
32
|
-
selectedElement(event, node) {
|
|
33
|
-
event.stopPropagation();
|
|
34
|
-
this.selectedId = node.id;
|
|
35
|
-
this.treeData = [...this.treeData];
|
|
20
|
+
this.clickEvent.emit(node);
|
|
36
21
|
}
|
|
37
22
|
toggleNode(node, event) {
|
|
38
23
|
event.stopPropagation();
|
|
@@ -54,12 +39,6 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
54
39
|
});
|
|
55
40
|
}
|
|
56
41
|
}
|
|
57
|
-
updateSelected(node) {
|
|
58
|
-
let selected = false;
|
|
59
|
-
if (node.id === this.selectedId)
|
|
60
|
-
selected = true;
|
|
61
|
-
return selected;
|
|
62
|
-
}
|
|
63
42
|
treeConfigs(node) {
|
|
64
43
|
let checkboxIcon, checkboxColor;
|
|
65
44
|
if (node.checked) {
|
|
@@ -76,16 +55,14 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
76
55
|
return { checkboxColor, checkboxIcon, rowHoverActive, expanderIcon, selectedActive };
|
|
77
56
|
}
|
|
78
57
|
renderNode(node) {
|
|
79
|
-
if (node.selectable)
|
|
80
|
-
node.selected = this.updateSelected(node);
|
|
81
58
|
const options = this.treeConfigs(node);
|
|
82
59
|
if (node.child) {
|
|
83
60
|
return (h("li", null, h("div", { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: (event) => {
|
|
84
61
|
if (node.hasHover) {
|
|
85
62
|
event.stopPropagation();
|
|
86
|
-
this.onClickHandler(
|
|
63
|
+
this.onClickHandler(event, node);
|
|
87
64
|
}
|
|
88
|
-
} }, h("tttx-
|
|
65
|
+
} }, h("tttx-button_1_2_0", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor)), node.isOpen ? (h("ul", null, h("div", { class: "child-node" }, node.child.map(childNode => {
|
|
89
66
|
return this.renderNode(childNode);
|
|
90
67
|
})))) : null));
|
|
91
68
|
}
|
|
@@ -93,47 +70,43 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
93
70
|
return (h("li", null, h("div", { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: (event) => {
|
|
94
71
|
if (node.hasHover) {
|
|
95
72
|
event.stopPropagation();
|
|
96
|
-
this.onClickHandler(
|
|
73
|
+
this.onClickHandler(event, node);
|
|
97
74
|
}
|
|
98
75
|
} }, this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor))));
|
|
99
76
|
}
|
|
100
77
|
}
|
|
101
78
|
htmlcode(type, node, check_box, check_boxColor) {
|
|
102
|
-
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-
|
|
79
|
+
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-button_1_2_0", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && h("tttx-icon_1_2_0", { icon: node.icon, color: node.iconColor, class: "padding-icon" }), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
|
|
103
80
|
return htmlcode;
|
|
104
81
|
}
|
|
105
82
|
render() {
|
|
106
83
|
if (!this.data)
|
|
107
84
|
return;
|
|
108
|
-
if (this.firstSelected)
|
|
109
|
-
this.selectedId = this.data[0].id;
|
|
110
85
|
this.treeData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data;
|
|
111
86
|
return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node) => this.renderNode(node)))));
|
|
112
87
|
}
|
|
113
88
|
static get style() { return tttxTreeViewCss; }
|
|
114
|
-
}, [1, "tttx-tree-
|
|
89
|
+
}, [1, "tttx-tree-view_1_2_0", {
|
|
115
90
|
"data": [1040],
|
|
116
|
-
"
|
|
117
|
-
"treeData": [32],
|
|
118
|
-
"selectedId": [32]
|
|
91
|
+
"treeData": [32]
|
|
119
92
|
}]);
|
|
120
93
|
function defineCustomElement$1() {
|
|
121
94
|
if (typeof customElements === "undefined") {
|
|
122
95
|
return;
|
|
123
96
|
}
|
|
124
|
-
const components = ["tttx-tree-
|
|
97
|
+
const components = ["tttx-tree-view_1_2_0", "tttx-button_1_2_0", "tttx-icon_1_2_0"];
|
|
125
98
|
components.forEach(tagName => { switch (tagName) {
|
|
126
|
-
case "tttx-tree-
|
|
99
|
+
case "tttx-tree-view_1_2_0":
|
|
127
100
|
if (!customElements.get(tagName)) {
|
|
128
101
|
customElements.define(tagName, TttxTreeView);
|
|
129
102
|
}
|
|
130
103
|
break;
|
|
131
|
-
case "tttx-
|
|
104
|
+
case "tttx-button_1_2_0":
|
|
132
105
|
if (!customElements.get(tagName)) {
|
|
133
106
|
defineCustomElement$3();
|
|
134
107
|
}
|
|
135
108
|
break;
|
|
136
|
-
case "tttx-
|
|
109
|
+
case "tttx-icon_1_2_0":
|
|
137
110
|
if (!customElements.get(tagName)) {
|
|
138
111
|
defineCustomElement$2();
|
|
139
112
|
}
|
|
@@ -141,7 +114,7 @@ function defineCustomElement$1() {
|
|
|
141
114
|
} });
|
|
142
115
|
}
|
|
143
116
|
|
|
144
|
-
const
|
|
117
|
+
const TttxTreeView_1_2_0 = TttxTreeView;
|
|
145
118
|
const defineCustomElement = defineCustomElement$1;
|
|
146
119
|
|
|
147
|
-
export {
|
|
120
|
+
export { TttxTreeView_1_2_0, defineCustomElement };
|
package/dist/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["tttx-data-
|
|
14
|
+
return bootstrapLazy([["tttx-data-pattern_1_2_0",[[1,"tttx-data-pattern_1_2_0",{"data":[1],"sorteroptions":[1],"filteroptions":[1],"filterheader":[1]}]]],["tttx-form_1_2_0",[[1,"tttx-form_1_2_0",{"formschema":[1025],"data":[1032],"submit":[64],"setSelectOptions":[64]}]]],["tttx-multiselect-box_1_2_0",[[1,"tttx-multiselect-box_1_2_0",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-dialog-box_1_2_0",[[1,"tttx-dialog-box_1_2_0",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_2_0",[[1,"tttx-dialog_1_2_0",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_2_0",[[1,"tttx-tree-view_1_2_0",{"data":[1040],"treeData":[32]}]]],["tttx-checkbox_1_2_0",[[0,"tttx-checkbox_1_2_0",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-expander_1_2_0",[[1,"tttx-expander_1_2_0",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_2_0",[[2,"tttx-tabs_1_2_0",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_2_0",[[4,"tttx-checkbox-group-caption_1_2_0"]]],["tttx-checkbox-group-heading_1_2_0",[[4,"tttx-checkbox-group-heading_1_2_0"]]],["tttx-checkbox-group_1_2_0",[[1,"tttx-checkbox-group_1_2_0"]]],["tttx-keyvalue-block_1_2_0",[[1,"tttx-keyvalue-block_1_2_0",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-loading-spinner_1_2_0",[[1,"tttx-loading-spinner_1_2_0",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-percentage-bar_1_2_0",[[2,"tttx-percentage-bar_1_2_0",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_2_0",[[1,"tttx-qrcode_1_2_0",{"link":[1025],"size":[1026]}]]],["tttx-tag_1_2_0",[[1,"tttx-tag_1_2_0",{"text":[1],"color":[1],"textColor":[1,"text-color"]}]]],["tttx-textarea_1_2_0",[[2,"tttx-textarea_1_2_0",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-icon_1_2_0",[[1,"tttx-icon_1_2_0",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-standalone-input_1_2_0",[[2,"tttx-standalone-input_1_2_0",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-select-box_1_2_0",[[1,"tttx-select-box_1_2_0",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"open":[32],"selectedItem":[32],"searchTerm":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-filter_1_2_0_4",[[1,"tttx-filter_1_2_0",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_2_0",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_2_0",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_2_0",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_2_0",[[1,"tttx-button_1_2_0",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -24,9 +24,9 @@ const TttxButton = class {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
this._iconcolor = this.iconcolor;
|
|
27
|
-
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-
|
|
27
|
+
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_2_0", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_2_0", { icon: this.icon, color: this._iconcolor }))))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
TttxButton.style = tttxButtonCss;
|
|
31
31
|
|
|
32
|
-
export { TttxButton as
|
|
32
|
+
export { TttxButton as tttx_button_1_2_0 };
|
|
@@ -28,7 +28,7 @@ const TttxCheckbox = class {
|
|
|
28
28
|
render() {
|
|
29
29
|
const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
|
|
30
30
|
const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
|
|
31
|
-
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-
|
|
31
|
+
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_2_0", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
|
|
32
32
|
}
|
|
33
33
|
static get watchers() { return {
|
|
34
34
|
"indeterminate": ["watchIndeterminateChange"]
|
|
@@ -36,4 +36,4 @@ const TttxCheckbox = class {
|
|
|
36
36
|
};
|
|
37
37
|
TttxCheckbox.style = tttxCheckboxCss;
|
|
38
38
|
|
|
39
|
-
export { TttxCheckbox as
|
|
39
|
+
export { TttxCheckbox as tttx_checkbox_1_2_0 };
|
|
@@ -11,9 +11,9 @@ const TttxDataPattern = class {
|
|
|
11
11
|
this.filterheader = 'Filter';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
14
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_2_0", { border: true }, h("span", { slot: "before" }, h("tttx-sorter_1_2_0", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorteroptions, defaultOption: "Sort by" }), h("tttx-filter_1_2_0", { "filter-options": JSON.stringify(this.filteroptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterheader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_2_0", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: "Search", type: "text", maxlength: 30 }))), h("tttx-toolbar_1_2_0", { border: false }, h("span", { slot: "before" }, h("tttx-button_1_2_0", { design: "primary", icon: "add" }, "Add"))), h("tttx-list_1_2_0", { data: this.data }))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
TttxDataPattern.style = tttxDataPatternCss;
|
|
18
18
|
|
|
19
|
-
export { TttxDataPattern as
|
|
19
|
+
export { TttxDataPattern as tttx_data_pattern_1_2_0 };
|