@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
package/package.json
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-fdc30724.js');
|
|
6
|
-
|
|
7
|
-
const tttxIconCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}:host{display:inline-block;cursor:default;user-select:none}.icon-size{width:24px;height:24px}.tooltip{background:#ffffff;color:#343434;font-weight:bold;padding:8px 16px;font-size:13px;border-radius:4px;box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.3);display:none}.tooltip[data-show]{display:block}.arrow,.arrow::before{position:absolute;width:8px;height:8px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:\"\";transform:rotate(45deg)}.tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}.tooltip[data-popper-placement^=left]>.arrow{right:-4px}.tooltip[data-popper-placement^=right]>.arrow{left:-4px}.red{color:#dc0000}.darkred{color:#A20000}.orange{color:#f59500}.blue{color:#1479c6}.green{color:#a2bb31}.gray{color:#757575}.black{color:#212121}.white{color:white}";
|
|
8
|
-
|
|
9
|
-
const TttxIcon = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.icon = undefined;
|
|
13
|
-
this.color = 'grey';
|
|
14
|
-
}
|
|
15
|
-
render() {
|
|
16
|
-
if (this.color.startsWith('#')) {
|
|
17
|
-
return (index.h(index.Host, null, index.h("span", { class: 'material-symbols-rounded', style: { color: this.color } }, this.icon)));
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
return (index.h(index.Host, null, index.h("span", { class: `material-symbols-rounded ${this.color}` }, this.icon)));
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
TttxIcon.style = tttxIconCss;
|
|
25
|
-
|
|
26
|
-
exports.tttx_icon_1_0_3 = TttxIcon;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-fdc30724.js');
|
|
6
|
-
|
|
7
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_0_3{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_0_3{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_0_3{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_0_3 .optional.sc-tttx-standalone-input_1_0_3{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3{position:relative}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .left-icons.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .right-icons.sc-tttx-standalone-input_1_0_3{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .left-icons.sc-tttx-standalone-input_1_0_3 tttx-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .right-icons.sc-tttx-standalone-input_1_0_3 tttx-icon.sc-tttx-standalone-input_1_0_3{height:24px;width:24px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .left-icons.sc-tttx-standalone-input_1_0_3{left:8px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .right-icons.sc-tttx-standalone-input_1_0_3{right:8px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3{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_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.has-input-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.has-input-icon.sc-tttx-standalone-input_1_0_3{padding-left:40px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_0_3{padding-left:72px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.has-left-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.has-left-icon.sc-tttx-standalone-input_1_0_3{padding-left:40px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.has-right-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.has-right-icon.sc-tttx-standalone-input_1_0_3{padding-right:40px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.invalid.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.invalid.sc-tttx-standalone-input_1_0_3{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3:not([type=submit]),label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input[type=radio].sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea[type=radio].sc-tttx-standalone-input_1_0_3{width:20px;height:20px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input[type=date].sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea[type=date].sc-tttx-standalone-input_1_0_3{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input[readonly].sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea[readonly].sc-tttx-standalone-input_1_0_3{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3:focus,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3:focus-visible,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3:focus-visible{outline:none}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.sc-tttx-standalone-input_1_0_3{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.sc-tttx-standalone-input_1_0_3 .left-icons.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.sc-tttx-standalone-input_1_0_3 .right-icons.sc-tttx-standalone-input_1_0_3{margin-top:4px}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_0_3{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_0_3{display:block}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputInline.sc-tttx-standalone-input_1_0_3{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputInline.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3{margin-top:0}label.sc-tttx-standalone-input_1_0_3 .secondarylabel.sc-tttx-standalone-input_1_0_3{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_0_3 .errorBubble.sc-tttx-standalone-input_1_0_3{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_0_3 .errorBubble.sc-tttx-standalone-input_1_0_3:not(.visible){display:none}label.sc-tttx-standalone-input_1_0_3 .errorBubble.sc-tttx-standalone-input_1_0_3 span.sc-tttx-standalone-input_1_0_3{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_0_3{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_0_3-h{display:block}";
|
|
8
|
-
|
|
9
|
-
const TttxInput = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.valueChanged = index.createEvent(this, "valueChanged", 7);
|
|
13
|
-
this.focusChanged = index.createEvent(this, "focusChanged", 7);
|
|
14
|
-
this.blurChanged = index.createEvent(this, "blurChanged", 7);
|
|
15
|
-
this.invalidChanged = index.createEvent(this, "invalidChanged", 7);
|
|
16
|
-
this.inputIconClick = index.createEvent(this, "inputIconClick", 7);
|
|
17
|
-
this.leftIconClick = index.createEvent(this, "leftIconClick", 7);
|
|
18
|
-
this.rightIconClick = index.createEvent(this, "rightIconClick", 7);
|
|
19
|
-
this.label = undefined;
|
|
20
|
-
this.secondarylabel = undefined;
|
|
21
|
-
this.showerrormsg = undefined;
|
|
22
|
-
this.showerrorbubble = true;
|
|
23
|
-
this.errormsg = undefined;
|
|
24
|
-
this.iconleft = undefined;
|
|
25
|
-
this.iconleftcolor = 'grey';
|
|
26
|
-
this.iconright = undefined;
|
|
27
|
-
this.iconrightcolor = 'grey';
|
|
28
|
-
this.inputicon = undefined;
|
|
29
|
-
this.inputiconcolor = 'grey';
|
|
30
|
-
this.inline = undefined;
|
|
31
|
-
this.inputautocapitalize = undefined;
|
|
32
|
-
this.inputautofocus = undefined;
|
|
33
|
-
this.inputkeyhint = undefined;
|
|
34
|
-
this.inputindex = undefined;
|
|
35
|
-
this.inputtitle = undefined;
|
|
36
|
-
this.autocomplete = undefined;
|
|
37
|
-
this.checked = undefined;
|
|
38
|
-
this.disabled = undefined;
|
|
39
|
-
this.max = undefined;
|
|
40
|
-
this.maxlength = undefined;
|
|
41
|
-
this.min = undefined;
|
|
42
|
-
this.minlength = undefined;
|
|
43
|
-
this.name = undefined;
|
|
44
|
-
this.pattern = undefined;
|
|
45
|
-
this.placeholder = undefined;
|
|
46
|
-
this.readonly = undefined;
|
|
47
|
-
this.required = undefined;
|
|
48
|
-
this.step = undefined;
|
|
49
|
-
this.type = 'text';
|
|
50
|
-
this.value = undefined;
|
|
51
|
-
}
|
|
52
|
-
handleChange(event) {
|
|
53
|
-
const target = event.target;
|
|
54
|
-
this.value = target.value;
|
|
55
|
-
this.valueChanged.emit(target.value);
|
|
56
|
-
}
|
|
57
|
-
handleFocus(event) {
|
|
58
|
-
const target = event.target;
|
|
59
|
-
this.focusChanged.emit(target.value);
|
|
60
|
-
}
|
|
61
|
-
handleBlur(event) {
|
|
62
|
-
const target = event.target;
|
|
63
|
-
this.blurChanged.emit(target.value);
|
|
64
|
-
}
|
|
65
|
-
handleInvalid(event) {
|
|
66
|
-
event.preventDefault();
|
|
67
|
-
const target = event.target;
|
|
68
|
-
this.invalidChanged.emit(target.value);
|
|
69
|
-
}
|
|
70
|
-
handleInputIconClick(event) {
|
|
71
|
-
event.preventDefault();
|
|
72
|
-
this.inputIconClick.emit();
|
|
73
|
-
}
|
|
74
|
-
handleLeftIconClick(event) {
|
|
75
|
-
event.preventDefault();
|
|
76
|
-
this.leftIconClick.emit();
|
|
77
|
-
}
|
|
78
|
-
handleRightIconClick(event) {
|
|
79
|
-
event.preventDefault();
|
|
80
|
-
this.rightIconClick.emit();
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
const classNames = [
|
|
84
|
-
this.showerrormsg ? 'invalid' : '',
|
|
85
|
-
this.inputicon ? 'has-input-icon' : '',
|
|
86
|
-
this.iconleft ? 'has-left-icon' : '',
|
|
87
|
-
this.iconright ? 'has-right-icon' : '',
|
|
88
|
-
].join(' ');
|
|
89
|
-
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.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) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-icon_1_0_3", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (index.h("tttx-icon_1_0_3", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (index.h("span", { class: "right-icons" }, index.h("tttx-icon_1_0_3", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && index.h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (index.h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
TttxInput.style = tttxStandaloneInputCss;
|
|
93
|
-
|
|
94
|
-
exports.tttx_standalone_input_1_0_3 = TttxInput;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxCheckboxGroupCaption_1_0_3 extends Components.TttxCheckboxGroupCaption_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxCheckboxGroupCaption_1_0_3: {
|
|
5
|
-
prototype: TttxCheckboxGroupCaption_1_0_3;
|
|
6
|
-
new (): TttxCheckboxGroupCaption_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxCheckboxGroupHeading_1_0_3 extends Components.TttxCheckboxGroupHeading_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxCheckboxGroupHeading_1_0_3: {
|
|
5
|
-
prototype: TttxCheckboxGroupHeading_1_0_3;
|
|
6
|
-
new (): TttxCheckboxGroupHeading_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxCheckboxGroup_1_0_3 extends Components.TttxCheckboxGroup_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxCheckboxGroup_1_0_3: {
|
|
5
|
-
prototype: TttxCheckboxGroup_1_0_3;
|
|
6
|
-
new (): TttxCheckboxGroup_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxDataPattern_1_0_3 extends Components.TttxDataPattern_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxDataPattern_1_0_3: {
|
|
5
|
-
prototype: TttxDataPattern_1_0_3;
|
|
6
|
-
new (): TttxDataPattern_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxKeyvalueBlock_1_0_3 extends Components.TttxKeyvalueBlock_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxKeyvalueBlock_1_0_3: {
|
|
5
|
-
prototype: TttxKeyvalueBlock_1_0_3;
|
|
6
|
-
new (): TttxKeyvalueBlock_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxLoadingSpinner_1_0_3 extends Components.TttxLoadingSpinner_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxLoadingSpinner_1_0_3: {
|
|
5
|
-
prototype: TttxLoadingSpinner_1_0_3;
|
|
6
|
-
new (): TttxLoadingSpinner_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxMultiselectBox_1_0_3 extends Components.TttxMultiselectBox_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxMultiselectBox_1_0_3: {
|
|
5
|
-
prototype: TttxMultiselectBox_1_0_3;
|
|
6
|
-
new (): TttxMultiselectBox_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxPercentageBar_1_0_3 extends Components.TttxPercentageBar_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxPercentageBar_1_0_3: {
|
|
5
|
-
prototype: TttxPercentageBar_1_0_3;
|
|
6
|
-
new (): TttxPercentageBar_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxSelectBox_1_0_3 extends Components.TttxSelectBox_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxSelectBox_1_0_3: {
|
|
5
|
-
prototype: TttxSelectBox_1_0_3;
|
|
6
|
-
new (): TttxSelectBox_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxSorter_1_0_3 extends Components.TttxSorter_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxSorter_1_0_3: {
|
|
5
|
-
prototype: TttxSorter_1_0_3;
|
|
6
|
-
new (): TttxSorter_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxStandaloneInput_1_0_3 extends Components.TttxStandaloneInput_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxStandaloneInput_1_0_3: {
|
|
5
|
-
prototype: TttxStandaloneInput_1_0_3;
|
|
6
|
-
new (): TttxStandaloneInput_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxTextarea_1_0_3 extends Components.TttxTextarea_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxTextarea_1_0_3: {
|
|
5
|
-
prototype: TttxTextarea_1_0_3;
|
|
6
|
-
new (): TttxTextarea_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxTreeView_1_0_3 extends Components.TttxTreeView_1_0_3, HTMLElement {}
|
|
4
|
-
export const TttxTreeView_1_0_3: {
|
|
5
|
-
prototype: TttxTreeView_1_0_3;
|
|
6
|
-
new (): TttxTreeView_1_0_3;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
|
|
2
|
-
|
|
3
|
-
const tttxIconCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}:host{display:inline-block;cursor:default;user-select:none}.icon-size{width:24px;height:24px}.tooltip{background:#ffffff;color:#343434;font-weight:bold;padding:8px 16px;font-size:13px;border-radius:4px;box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.3);display:none}.tooltip[data-show]{display:block}.arrow,.arrow::before{position:absolute;width:8px;height:8px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:\"\";transform:rotate(45deg)}.tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}.tooltip[data-popper-placement^=left]>.arrow{right:-4px}.tooltip[data-popper-placement^=right]>.arrow{left:-4px}.red{color:#dc0000}.darkred{color:#A20000}.orange{color:#f59500}.blue{color:#1479c6}.green{color:#a2bb31}.gray{color:#757575}.black{color:#212121}.white{color:white}";
|
|
4
|
-
|
|
5
|
-
const TttxIcon = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.icon = undefined;
|
|
9
|
-
this.color = 'grey';
|
|
10
|
-
}
|
|
11
|
-
render() {
|
|
12
|
-
if (this.color.startsWith('#')) {
|
|
13
|
-
return (h(Host, null, h("span", { class: 'material-symbols-rounded', style: { color: this.color } }, this.icon)));
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
return (h(Host, null, h("span", { class: `material-symbols-rounded ${this.color}` }, this.icon)));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
TttxIcon.style = tttxIconCss;
|
|
21
|
-
|
|
22
|
-
export { TttxIcon as tttx_icon_1_0_3 };
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-88bd2f60.js';
|
|
2
|
-
|
|
3
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_0_3{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_0_3{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_0_3{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_0_3 .optional.sc-tttx-standalone-input_1_0_3{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3{position:relative}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .left-icons.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .right-icons.sc-tttx-standalone-input_1_0_3{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .left-icons.sc-tttx-standalone-input_1_0_3 tttx-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .right-icons.sc-tttx-standalone-input_1_0_3 tttx-icon.sc-tttx-standalone-input_1_0_3{height:24px;width:24px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .left-icons.sc-tttx-standalone-input_1_0_3{left:8px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 .right-icons.sc-tttx-standalone-input_1_0_3{right:8px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3{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_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.has-input-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.has-input-icon.sc-tttx-standalone-input_1_0_3{padding-left:40px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_0_3{padding-left:72px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.has-left-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.has-left-icon.sc-tttx-standalone-input_1_0_3{padding-left:40px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.has-right-icon.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.has-right-icon.sc-tttx-standalone-input_1_0_3{padding-right:40px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.invalid.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.invalid.sc-tttx-standalone-input_1_0_3{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3:not([type=submit]),label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input[type=radio].sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea[type=radio].sc-tttx-standalone-input_1_0_3{width:20px;height:20px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input[type=date].sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea[type=date].sc-tttx-standalone-input_1_0_3{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input[readonly].sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea[readonly].sc-tttx-standalone-input_1_0_3{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3:focus,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3:focus-visible,label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3:focus-visible{outline:none}label.sc-tttx-standalone-input_1_0_3 .outer-container.sc-tttx-standalone-input_1_0_3 textarea.sc-tttx-standalone-input_1_0_3{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.sc-tttx-standalone-input_1_0_3{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.sc-tttx-standalone-input_1_0_3 .left-icons.sc-tttx-standalone-input_1_0_3,label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.sc-tttx-standalone-input_1_0_3 .right-icons.sc-tttx-standalone-input_1_0_3{margin-top:4px}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_0_3{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_0_3{display:block}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputInline.sc-tttx-standalone-input_1_0_3{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_0_3 .outer-container.inputInline.sc-tttx-standalone-input_1_0_3 input.sc-tttx-standalone-input_1_0_3{margin-top:0}label.sc-tttx-standalone-input_1_0_3 .secondarylabel.sc-tttx-standalone-input_1_0_3{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_0_3 .errorBubble.sc-tttx-standalone-input_1_0_3{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_0_3 .errorBubble.sc-tttx-standalone-input_1_0_3:not(.visible){display:none}label.sc-tttx-standalone-input_1_0_3 .errorBubble.sc-tttx-standalone-input_1_0_3 span.sc-tttx-standalone-input_1_0_3{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_0_3{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_0_3-h{display:block}";
|
|
4
|
-
|
|
5
|
-
const TttxInput = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
9
|
-
this.focusChanged = createEvent(this, "focusChanged", 7);
|
|
10
|
-
this.blurChanged = createEvent(this, "blurChanged", 7);
|
|
11
|
-
this.invalidChanged = createEvent(this, "invalidChanged", 7);
|
|
12
|
-
this.inputIconClick = createEvent(this, "inputIconClick", 7);
|
|
13
|
-
this.leftIconClick = createEvent(this, "leftIconClick", 7);
|
|
14
|
-
this.rightIconClick = createEvent(this, "rightIconClick", 7);
|
|
15
|
-
this.label = undefined;
|
|
16
|
-
this.secondarylabel = undefined;
|
|
17
|
-
this.showerrormsg = undefined;
|
|
18
|
-
this.showerrorbubble = true;
|
|
19
|
-
this.errormsg = undefined;
|
|
20
|
-
this.iconleft = undefined;
|
|
21
|
-
this.iconleftcolor = 'grey';
|
|
22
|
-
this.iconright = undefined;
|
|
23
|
-
this.iconrightcolor = 'grey';
|
|
24
|
-
this.inputicon = undefined;
|
|
25
|
-
this.inputiconcolor = 'grey';
|
|
26
|
-
this.inline = undefined;
|
|
27
|
-
this.inputautocapitalize = undefined;
|
|
28
|
-
this.inputautofocus = undefined;
|
|
29
|
-
this.inputkeyhint = undefined;
|
|
30
|
-
this.inputindex = undefined;
|
|
31
|
-
this.inputtitle = undefined;
|
|
32
|
-
this.autocomplete = undefined;
|
|
33
|
-
this.checked = undefined;
|
|
34
|
-
this.disabled = undefined;
|
|
35
|
-
this.max = undefined;
|
|
36
|
-
this.maxlength = undefined;
|
|
37
|
-
this.min = undefined;
|
|
38
|
-
this.minlength = undefined;
|
|
39
|
-
this.name = undefined;
|
|
40
|
-
this.pattern = undefined;
|
|
41
|
-
this.placeholder = undefined;
|
|
42
|
-
this.readonly = undefined;
|
|
43
|
-
this.required = undefined;
|
|
44
|
-
this.step = undefined;
|
|
45
|
-
this.type = 'text';
|
|
46
|
-
this.value = undefined;
|
|
47
|
-
}
|
|
48
|
-
handleChange(event) {
|
|
49
|
-
const target = event.target;
|
|
50
|
-
this.value = target.value;
|
|
51
|
-
this.valueChanged.emit(target.value);
|
|
52
|
-
}
|
|
53
|
-
handleFocus(event) {
|
|
54
|
-
const target = event.target;
|
|
55
|
-
this.focusChanged.emit(target.value);
|
|
56
|
-
}
|
|
57
|
-
handleBlur(event) {
|
|
58
|
-
const target = event.target;
|
|
59
|
-
this.blurChanged.emit(target.value);
|
|
60
|
-
}
|
|
61
|
-
handleInvalid(event) {
|
|
62
|
-
event.preventDefault();
|
|
63
|
-
const target = event.target;
|
|
64
|
-
this.invalidChanged.emit(target.value);
|
|
65
|
-
}
|
|
66
|
-
handleInputIconClick(event) {
|
|
67
|
-
event.preventDefault();
|
|
68
|
-
this.inputIconClick.emit();
|
|
69
|
-
}
|
|
70
|
-
handleLeftIconClick(event) {
|
|
71
|
-
event.preventDefault();
|
|
72
|
-
this.leftIconClick.emit();
|
|
73
|
-
}
|
|
74
|
-
handleRightIconClick(event) {
|
|
75
|
-
event.preventDefault();
|
|
76
|
-
this.rightIconClick.emit();
|
|
77
|
-
}
|
|
78
|
-
render() {
|
|
79
|
-
const classNames = [
|
|
80
|
-
this.showerrormsg ? 'invalid' : '',
|
|
81
|
-
this.inputicon ? 'has-input-icon' : '',
|
|
82
|
-
this.iconleft ? 'has-left-icon' : '',
|
|
83
|
-
this.iconright ? 'has-right-icon' : '',
|
|
84
|
-
].join(' ');
|
|
85
|
-
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_0_3", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_0_3", { 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_0_3", { 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)))));
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
TttxInput.style = tttxStandaloneInputCss;
|
|
89
|
-
|
|
90
|
-
export { TttxInput as tttx_standalone_input_1_0_3 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as o}from"./p-d490353a.js";import{p as i,d as n}from"./p-55799798.js";import"./p-112455b1.js";const s=class{constructor(o){e(this,o),this.clickEvent=t(this,"clickEvent",7),this.expandNode=t(this,"expandNode",7),this.data=void 0,this.firstSelected=void 0,this.treeData=void 0,this.selectedId=void 0}onClickHandler(e,t,o){t.stopPropagation();const i=JSON.stringify(o);this.clickEvent.emit({eventName:e,returnJsonObject:i}),"row"===e&&this.selectedElement(t,o)}updateSelectedId(e){this.selectedId=e}selectedElement(e,t){e.stopPropagation(),this.selectedId=t.id,this.treeData=[...this.treeData]}toggleNode(e,t){t.stopPropagation(),e.isOpen=!e.isOpen,this.treeData=[...this.treeData],this.expandNode.emit({node:e,treeViewData:this.treeData})}handleCheckboxChange(e,t){t.stopPropagation(),e.checked=!e.checked,this.updateChildrenCheckStatus(e),this.treeData=[...this.treeData]}updateChildrenCheckStatus(e){e.child&&e.child.forEach((t=>{t.checked=e.checked,this.updateChildrenCheckStatus(t)}))}updateSelected(e){let t=!1;return e.id===this.selectedId&&(t=!0),t}treeConfigs(e){let t,o;return e.checked?(t="check_box",o="blue"):(t="check_box_outline_blank",o="grey"),{checkboxColor:o,checkboxIcon:t,rowHoverActive:e.hasHover?"rowHover":"",expanderIcon:e.isOpen?"arrow_drop_down":"arrow_right",selectedActive:e.selectable&&e.selected?"rowSelected":""}}renderNode(e){e.selectable&&(e.selected=this.updateSelected(e));const t=this.treeConfigs(e);return e.child?o("li",null,o("div",{class:`inline-tree-item element-row ${t.rowHoverActive} ${t.selectedActive}`,onClick:t=>{e.hasHover&&(t.stopPropagation(),this.onClickHandler("row",t,e))}},o("tttx-button_1_0_3",{class:"toggleNode",design:"borderless-circle",notext:!0,icon:t.expanderIcon,color:"black",onClick:t=>this.toggleNode(e,t)}),this.htmlcode("treeNode",e,t.checkboxIcon,t.checkboxColor)),e.isOpen?o("ul",null,o("div",{class:"child-node"},e.child.map((e=>this.renderNode(e))))):null):o("li",null,o("div",{class:`inline-tree-item element-row ${t.rowHoverActive} ${t.selectedActive}`,onClick:t=>{e.hasHover&&(t.stopPropagation(),this.onClickHandler("row",t,e))}},this.htmlcode("treeLeaf",e,t.checkboxIcon,t.checkboxColor)))}htmlcode(e,t,s,r){return o("div",{class:"inline-tree-item element"},t.hasCheckbox&&o("tttx-button_1_0_3",{design:"borderless-circle",notext:!0,icon:s,iconcolor:r,class:"padding-icon checkbox",onClick:e=>this.handleCheckboxChange(t,e)}),!t.html&&t.hasIcon&&o("tttx-icon_1_0_3",{icon:t.icon,color:t.iconColor,class:"padding-icon"}),!t.html&&o("div",{class:e},t.title),t.html&&o("div",{class:e,innerHTML:i.sanitize(t.html,n)}))}render(){if(this.data)return this.firstSelected&&(this.selectedId=this.data[0].id),this.treeData="string"==typeof this.data?JSON.parse(this.data):this.data,o("div",{class:"tree-view-element"},o("ul",null,this.treeData.map((e=>this.renderNode(e)))))}};s.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tree-view-element{margin-left:-50px}.inline-tree-item{display:flex;align-items:center}.element{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;width:100%}.element-row{min-height:36px;font-family:"Roboto", serif;font-size:16px;padding:8px 0px;position:relative}.element-row::before{content:"";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #d5d5d5;pointer-events:none}.element-row.rowSelected::before{content:"";position:absolute;left:-50%;top:0;bottom:0;right:0;background-color:rgba(17, 17, 17, 0.1);pointer-events:none}li{list-style-type:none}.toggleNode{padding-right:3px}.padding-icon{padding:6px 6px;height:24px;width:24px;display:flex;align-items:center;justify-content:center}.treeNode{width:100%;font-weight:500}.treeLeaf{width:100%;font-weight:400}.borderless:active{outline-style:none}@media (hover: hover){.element-row.rowHover:hover{cursor:pointer}.element-row.rowHover:hover::before{content:"";position:absolute;left:-50%;top:0;bottom:0;background-color:rgba(17, 17, 17, 0.05);opacity:0.5;right:0;pointer-events:none}}';export{s as tttx_tree_view_1_0_3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as t,H as r}from"./p-d490353a.js";const e=class{constructor(t){o(this,t),this.icon=void 0,this.color="grey"}render(){return this.color.startsWith("#")?t(r,null,t("span",{class:"material-symbols-rounded",style:{color:this.color}},this.icon)):t(r,null,t("span",{class:`material-symbols-rounded ${this.color}`},this.icon))}};e.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.material-symbols-rounded{font-family:"Material Symbols Rounded", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}:host{display:inline-block;cursor:default;user-select:none}.icon-size{width:24px;height:24px}.tooltip{background:#ffffff;color:#343434;font-weight:bold;padding:8px 16px;font-size:13px;border-radius:4px;box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.3);display:none}.tooltip[data-show]{display:block}.arrow,.arrow::before{position:absolute;width:8px;height:8px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:"";transform:rotate(45deg)}.tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}.tooltip[data-popper-placement^=left]>.arrow{right:-4px}.tooltip[data-popper-placement^=right]>.arrow{left:-4px}.red{color:#dc0000}.darkred{color:#A20000}.orange{color:#f59500}.blue{color:#1479c6}.green{color:#a2bb31}.gray{color:#757575}.black{color:#212121}.white{color:white}';export{e as tttx_icon_1_0_3}
|