@3t-transform/threeteeui 1.9.72 → 1.9.74
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-action-dropdown_1_9_72.cjs.entry.js → tttx-action-dropdown_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_72.cjs.entry.js → tttx-button-v2_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_72.cjs.entry.js → tttx-button_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_72.cjs.entry.js → tttx-chart_1_9_74.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_72.cjs.entry.js → tttx-checkbox-group-caption_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_72.cjs.entry.js → tttx-checkbox-group-heading_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_72.cjs.entry.js → tttx-checkbox-group_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_72.cjs.entry.js → tttx-checkbox_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_72.cjs.entry.js → tttx-comments_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_72.cjs.entry.js → tttx-data-pattern_1_9_74.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_72.cjs.entry.js → tttx-datacard_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/{tttx-dialog-box_1_9_72.cjs.entry.js → tttx-dialog-box_1_9_74.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_72.cjs.entry.js → tttx-dialog_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_72.cjs.entry.js → tttx-expander_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_72_4.cjs.entry.js → tttx-filter_1_9_74_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_72.cjs.entry.js → tttx-form_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_72.cjs.entry.js → tttx-graph_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_72.cjs.entry.js → tttx-icon_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_72.cjs.entry.js → tttx-keyvalue-block_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_72_3.cjs.entry.js → tttx-loading-spinner_1_9_74_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_72.cjs.entry.js → tttx-multiselect-box_1_9_74.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_72.cjs.entry.js → tttx-percentage-bar_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_72.cjs.entry.js → tttx-qrcode_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_72.cjs.entry.js → tttx-range-slider_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_72.cjs.entry.js → tttx-select-box_1_9_74.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_72.cjs.entry.js → tttx-skeleton_loader_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_72.cjs.entry.js → tttx-table_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_72.cjs.entry.js → tttx-tabs_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag-v2_1_9_72.cjs.entry.js → tttx-tag-v2_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-textarea_1_9_72.cjs.entry.js → tttx-textarea_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_72.cjs.entry.js → tttx-toggle_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_72.cjs.entry.js → tttx-tooltip_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_72.cjs.entry.js → tttx-tree-view_1_9_74.cjs.entry.js} +66 -19
- 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 +24 -24
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +3 -3
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +15 -15
- 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-datacard/tttx-datacard.js +4 -4
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
- 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-skeleton-loader/tttx-skeleton-loader.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.js +2 -2
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.js +2 -2
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +3 -3
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +4 -4
- 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-comments/tttx-comments.js +4 -4
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
- 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 +8 -8
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +1 -1
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +3 -3
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
- 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-table/tttx-table.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
- 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-tooltip/tttx-tooltip.js +1 -1
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.css +95 -31
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +66 -19
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +101 -52
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +38 -38
- package/dist/components/index.js +38 -38
- package/dist/components/tttx-action-dropdown_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_72.js → tttx-action-dropdown_1_9_74.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_72.d.ts → tttx-button-v2_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_72.js → tttx-button-v2_1_9_74.js} +9 -9
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_72.d.ts → tttx-button_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_72.js → tttx-button_1_9_74.js} +2 -2
- package/dist/components/{tttx-table_1_9_72.d.ts → tttx-chart_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_72.js → tttx-chart_1_9_74.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_72.js → tttx-checkbox-group-caption_1_9_74.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_72.js → tttx-checkbox-group-heading_1_9_74.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_72.js → tttx-checkbox-group_1_9_74.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_72.d.ts → tttx-checkbox_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_72.js → tttx-checkbox_1_9_74.js} +7 -7
- package/dist/components/tttx-comments_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_72.js → tttx-comments_1_9_74.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_72.js → tttx-data-pattern_1_9_74.js} +16 -16
- package/dist/components/tttx-datacard_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_72.js → tttx-datacard_1_9_74.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_72.js → tttx-dialog-box_1_9_74.js} +9 -9
- package/dist/components/{tttx-filter_1_9_72.d.ts → tttx-dialog_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_72.js → tttx-dialog_1_9_74.js} +8 -8
- package/dist/components/tttx-expander_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_72.js → tttx-expander_1_9_74.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_72.d.ts → tttx-filter_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_72.js → tttx-filter_1_9_74.js} +2 -2
- package/dist/components/{tttx-form_1_9_72.d.ts → tttx-form_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_72.js → tttx-form_1_9_74.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_72.d.ts → tttx-graph_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_72.js → tttx-graph_1_9_74.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_72.d.ts → tttx-icon_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_72.js → tttx-icon_1_9_74.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_72.js → tttx-keyvalue-block_1_9_74.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_72.d.ts → tttx-list_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_72.js → tttx-list_1_9_74.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_72.js → tttx-loading-spinner_1_9_74.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_72.js → tttx-multiselect-box_1_9_74.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_72.js → tttx-percentage-bar_1_9_74.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_72.d.ts → tttx-qrcode_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_72.js → tttx-qrcode_1_9_74.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_72.js → tttx-range-slider_1_9_74.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_72.js → tttx-select-box_1_9_74.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_72.js → tttx-skeleton_loader_1_9_74.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_72.js → tttx-sorter_1_9_74.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_72.js → tttx-standalone-input_1_9_74.js} +2 -2
- package/dist/components/{tttx-tag-v2_1_9_72.d.ts → tttx-table_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_72.js → tttx-table_1_9_74.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_72.d.ts → tttx-tabs_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_72.js → tttx-tabs_1_9_74.js} +9 -9
- package/dist/components/{tttx-chart_1_9_72.d.ts → tttx-tag-v2_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-tag-v2_1_9_72.js → tttx-tag-v2_1_9_74.js} +7 -7
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_72.d.ts → tttx-tag_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_72.js → tttx-tag_1_9_74.js} +2 -2
- package/dist/components/tttx-textarea_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_72.js → tttx-textarea_1_9_74.js} +6 -6
- package/dist/components/tttx-toggle_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_72.js → tttx-toggle_1_9_74.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_72.js → tttx-toolbar_1_9_74.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_72.js → tttx-tooltip_1_9_74.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_72.js → tttx-tree-view_1_9_74.js} +73 -26
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_72.entry.js → tttx-action-dropdown_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_72.entry.js → tttx-button-v2_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_72.entry.js → tttx-button_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_72.entry.js → tttx-chart_1_9_74.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_72.entry.js → tttx-checkbox-group-caption_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_72.entry.js → tttx-checkbox-group-heading_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_72.entry.js → tttx-checkbox-group_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_72.entry.js → tttx-checkbox_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_72.entry.js → tttx-comments_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_72.entry.js → tttx-data-pattern_1_9_74.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_72.entry.js → tttx-datacard_1_9_74.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +1 -1
- package/dist/esm/{tttx-dialog-box_1_9_72.entry.js → tttx-dialog-box_1_9_74.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_72.entry.js → tttx-dialog_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_72.entry.js → tttx-expander_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_72_4.entry.js → tttx-filter_1_9_74_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_72.entry.js → tttx-form_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_72.entry.js → tttx-graph_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_72.entry.js → tttx-icon_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_72.entry.js → tttx-keyvalue-block_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_72_3.entry.js → tttx-loading-spinner_1_9_74_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_72.entry.js → tttx-multiselect-box_1_9_74.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_72.entry.js → tttx-percentage-bar_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_72.entry.js → tttx-qrcode_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_72.entry.js → tttx-range-slider_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_72.entry.js → tttx-select-box_1_9_74.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_72.entry.js → tttx-skeleton_loader_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_72.entry.js → tttx-table_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_72.entry.js → tttx-tabs_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-tag-v2_1_9_72.entry.js → tttx-tag-v2_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-textarea_1_9_72.entry.js → tttx-textarea_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_72.entry.js → tttx-toggle_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_72.entry.js → tttx-tooltip_1_9_74.entry.js} +1 -1
- package/dist/esm/tttx-tree-view_1_9_74.entry.js +250 -0
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0e1e86bc.entry.js +1 -0
- package/dist/tttx/p-13272658.entry.js +1 -1
- package/dist/tttx/p-1f75b5d3.entry.js +1 -1
- package/dist/tttx/p-32cf4137.entry.js +1 -1
- package/dist/tttx/p-36edf716.entry.js +1 -1
- package/dist/tttx/p-384f7c70.entry.js +1 -1
- package/dist/tttx/p-47fadd24.entry.js +1 -1
- package/dist/tttx/p-4c63f7da.entry.js +1 -1
- package/dist/tttx/p-4ddf7946.entry.js +1 -1
- package/dist/tttx/p-5765b7da.entry.js +1 -1
- package/dist/tttx/p-5b7c20ff.entry.js +1 -1
- package/dist/tttx/p-5e14d6aa.entry.js +1 -1
- package/dist/tttx/p-620b18f6.entry.js +1 -1
- package/dist/tttx/p-66340f2f.entry.js +1 -1
- package/dist/tttx/p-71bb2f21.entry.js +1 -1
- package/dist/tttx/p-74a8c484.entry.js +1 -1
- package/dist/tttx/p-789defe0.entry.js +1 -1
- package/dist/tttx/p-86cdb616.entry.js +1 -1
- package/dist/tttx/p-8beccdc9.entry.js +1 -1
- package/dist/tttx/p-969a4944.entry.js +1 -1
- package/dist/tttx/p-a2979a57.entry.js +1 -1
- package/dist/tttx/p-a50d9105.entry.js +1 -1
- package/dist/tttx/p-a8526f90.entry.js +1 -1
- package/dist/tttx/p-b1a24af0.entry.js +1 -1
- package/dist/tttx/p-b2a0053a.entry.js +1 -1
- package/dist/tttx/p-b4fe2853.entry.js +1 -1
- package/dist/tttx/p-b69ae246.entry.js +1 -1
- package/dist/tttx/p-b97e0e3c.entry.js +1 -1
- package/dist/tttx/p-c33f9022.entry.js +1 -1
- package/dist/tttx/p-ca58259a.entry.js +1 -1
- package/dist/tttx/p-ee41fe8f.entry.js +1 -1
- package/dist/tttx/p-f30833e3.entry.js +1 -1
- package/dist/tttx/p-f69b4685.entry.js +1 -1
- package/dist/tttx/p-ff7edd81.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.d.ts +3 -1
- package/dist/types/components.d.ts +449 -449
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_72.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_72.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_72.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_72.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_72.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_72.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_72.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_72.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_72.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_72.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_72.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_72.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_72.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_72.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_72.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_72.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_72.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_72.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_72.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_72.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_72.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_72.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_72.d.ts +0 -11
- package/dist/esm/tttx-tree-view_1_9_72.entry.js +0 -203
- package/dist/tttx/p-d1ee41dd.entry.js +0 -1
|
@@ -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 TttxTabs_1_9_74 extends Components.TttxTabs_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxTabs_1_9_74: {
|
|
5
|
+
prototype: TttxTabs_1_9_74;
|
|
6
|
+
new (): TttxTabs_1_9_74;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -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_9_74{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_74-h{display:block}.tab-bar.sc-tttx-tabs_1_9_74{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_74>.left-navigation.sc-tttx-tabs_1_9_74,.tab-bar.sc-tttx-tabs_1_9_74>.right-navigation.sc-tttx-tabs_1_9_74{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_74>.left-navigation.sc-tttx-tabs_1_9_74>*.sc-tttx-tabs_1_9_74,.tab-bar.sc-tttx-tabs_1_9_74>.right-navigation.sc-tttx-tabs_1_9_74>*.sc-tttx-tabs_1_9_74{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_74>.tabs-container.sc-tttx-tabs_1_9_74{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_74>.tabs-container.wide.sc-tttx-tabs_1_9_74{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_74>.tabs-container.sc-tttx-tabs_1_9_74>*[role=tab].sc-tttx-tabs_1_9_74{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_9_74>.tabs-container.sc-tttx-tabs_1_9_74>*[role=tab].sc-tttx-tabs_1_9_74:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_74>.tabs-container.sc-tttx-tabs_1_9_74>*[role=tab][aria-selected].sc-tttx-tabs_1_9_74{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
6
6
|
|
|
7
7
|
const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
8
|
constructor() {
|
|
@@ -80,7 +80,7 @@ const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
80
80
|
}
|
|
81
81
|
generateTab(tab) {
|
|
82
82
|
var _a, _b, _c;
|
|
83
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-
|
|
83
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_74", { style: { pointerEvents: 'none', marginTop: (_b = tab.marginTop) !== null && _b !== void 0 ? _b : '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_c = tab.tabIconSize) !== null && _c !== void 0 ? _c : 24 }));
|
|
84
84
|
return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
85
85
|
this.handleTabClick(tab);
|
|
86
86
|
} }, tabTitle));
|
|
@@ -99,13 +99,13 @@ const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
101
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
102
|
-
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-
|
|
102
|
+
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_9_74", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_9_74", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
103
103
|
}
|
|
104
104
|
static get watchers() { return {
|
|
105
105
|
"tabs": ["onDataChange"]
|
|
106
106
|
}; }
|
|
107
107
|
static get style() { return tttxTabsCss; }
|
|
108
|
-
}, [2, "tttx-
|
|
108
|
+
}, [2, "tttx-tabs_1_9_74", {
|
|
109
109
|
"tabsName": [1, "tabs-name"],
|
|
110
110
|
"navigation": [4],
|
|
111
111
|
"wide": [4],
|
|
@@ -116,14 +116,14 @@ function defineCustomElement$1() {
|
|
|
116
116
|
if (typeof customElements === "undefined") {
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
119
|
-
const components = ["tttx-
|
|
119
|
+
const components = ["tttx-tabs_1_9_74", "tttx-icon_1_9_74"];
|
|
120
120
|
components.forEach(tagName => { switch (tagName) {
|
|
121
|
-
case "tttx-
|
|
121
|
+
case "tttx-tabs_1_9_74":
|
|
122
122
|
if (!customElements.get(tagName)) {
|
|
123
123
|
customElements.define(tagName, TttxTabs);
|
|
124
124
|
}
|
|
125
125
|
break;
|
|
126
|
-
case "tttx-
|
|
126
|
+
case "tttx-icon_1_9_74":
|
|
127
127
|
if (!customElements.get(tagName)) {
|
|
128
128
|
defineCustomElement$2();
|
|
129
129
|
}
|
|
@@ -131,7 +131,7 @@ function defineCustomElement$1() {
|
|
|
131
131
|
} });
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
const
|
|
134
|
+
const TttxTabs_1_9_74 = TttxTabs;
|
|
135
135
|
const defineCustomElement = defineCustomElement$1;
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { TttxTabs_1_9_74, 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 TttxTagV2_1_9_74 extends Components.TttxTagV2_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxTagV2_1_9_74: {
|
|
5
|
+
prototype: TttxTagV2_1_9_74;
|
|
6
|
+
new (): TttxTagV2_1_9_74;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -73,10 +73,10 @@ const TttxTagV2 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
const colors = this.getColors();
|
|
76
|
-
return (h(Host, null, h("div", { class: `tag ${this.state} ${this.size} ${this.variant || ''}`, style: { 'background-color': colors.bg, color: colors.text } }, this.hasStartIcon && this.iconStart && (h("tttx-
|
|
76
|
+
return (h(Host, null, h("div", { class: `tag ${this.state} ${this.size} ${this.variant || ''}`, style: { 'background-color': colors.bg, color: colors.text } }, this.hasStartIcon && this.iconStart && (h("tttx-icon_1_9_74", { role: "icon", class: "tag_icon", "aria-label": colors.text, icon: this.iconStart, color: colors.icon, size: this.size === 'S' ? 12 : 16 })), h("span", null, this.text), this.hasEndIcon && this.iconEnd && (h("tttx-icon_1_9_74", { role: "icon", class: "tag_icon", "aria-label": colors.text, icon: this.iconEnd, color: colors.icon, size: this.iconSize })))));
|
|
77
77
|
}
|
|
78
78
|
static get style() { return tttxTagV2Css; }
|
|
79
|
-
}, [1, "tttx-tag-
|
|
79
|
+
}, [1, "tttx-tag-v2_1_9_74", {
|
|
80
80
|
"text": [1],
|
|
81
81
|
"color": [1],
|
|
82
82
|
"textColor": [1, "text-color"],
|
|
@@ -93,14 +93,14 @@ function defineCustomElement$1() {
|
|
|
93
93
|
if (typeof customElements === "undefined") {
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
|
-
const components = ["tttx-tag-
|
|
96
|
+
const components = ["tttx-tag-v2_1_9_74", "tttx-icon_1_9_74"];
|
|
97
97
|
components.forEach(tagName => { switch (tagName) {
|
|
98
|
-
case "tttx-tag-
|
|
98
|
+
case "tttx-tag-v2_1_9_74":
|
|
99
99
|
if (!customElements.get(tagName)) {
|
|
100
100
|
customElements.define(tagName, TttxTagV2);
|
|
101
101
|
}
|
|
102
102
|
break;
|
|
103
|
-
case "tttx-
|
|
103
|
+
case "tttx-icon_1_9_74":
|
|
104
104
|
if (!customElements.get(tagName)) {
|
|
105
105
|
defineCustomElement$2();
|
|
106
106
|
}
|
|
@@ -108,7 +108,7 @@ function defineCustomElement$1() {
|
|
|
108
108
|
} });
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
const
|
|
111
|
+
const TttxTagV2_1_9_74 = TttxTagV2;
|
|
112
112
|
const defineCustomElement = defineCustomElement$1;
|
|
113
113
|
|
|
114
|
-
export {
|
|
114
|
+
export { TttxTagV2_1_9_74, defineCustomElement };
|
|
@@ -18,10 +18,10 @@ const TttxTag = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
21
|
-
h("tttx-
|
|
21
|
+
h("tttx-icon_1_9_74", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return tttxTagCss; }
|
|
24
|
-
}, [1, "tttx-
|
|
24
|
+
}, [1, "tttx-tag_1_9_74", {
|
|
25
25
|
"text": [1],
|
|
26
26
|
"color": [1],
|
|
27
27
|
"textColor": [1, "text-color"],
|
|
@@ -34,14 +34,14 @@ function defineCustomElement() {
|
|
|
34
34
|
if (typeof customElements === "undefined") {
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
const components = ["tttx-
|
|
37
|
+
const components = ["tttx-tag_1_9_74", "tttx-icon_1_9_74"];
|
|
38
38
|
components.forEach(tagName => { switch (tagName) {
|
|
39
|
-
case "tttx-
|
|
39
|
+
case "tttx-tag_1_9_74":
|
|
40
40
|
if (!customElements.get(tagName)) {
|
|
41
41
|
customElements.define(tagName, TttxTag);
|
|
42
42
|
}
|
|
43
43
|
break;
|
|
44
|
-
case "tttx-
|
|
44
|
+
case "tttx-icon_1_9_74":
|
|
45
45
|
if (!customElements.get(tagName)) {
|
|
46
46
|
defineCustomElement$1();
|
|
47
47
|
}
|
|
@@ -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_9_74 extends Components.TttxTag_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxTag_1_9_74: {
|
|
5
|
+
prototype: TttxTag_1_9_74;
|
|
6
|
+
new (): TttxTag_1_9_74;
|
|
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 TttxTag, d as defineCustomElement$1 } from './tttx-tag.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxTag_1_9_74 = TttxTag;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxTag_1_9_74, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTextarea_1_9_74 extends Components.TttxTextarea_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxTextarea_1_9_74: {
|
|
5
|
+
prototype: TttxTextarea_1_9_74;
|
|
6
|
+
new (): TttxTextarea_1_9_74;
|
|
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_9_74{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_74-h{display:block}label.sc-tttx-textarea_1_9_74{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_74 .textarea-container.sc-tttx-textarea_1_9_74{position:relative}label.sc-tttx-textarea_1_9_74 .textarea-container.sc-tttx-textarea_1_9_74 textarea.sc-tttx-textarea_1_9_74{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_9_74 .textarea-container.sc-tttx-textarea_1_9_74 textarea.no-label.sc-tttx-textarea_1_9_74{margin-top:0}label.sc-tttx-textarea_1_9_74 .textarea-container.sc-tttx-textarea_1_9_74 textarea.sc-tttx-textarea_1_9_74~.errorBubble.sc-tttx-textarea_1_9_74{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_9_74 .textarea-container.sc-tttx-textarea_1_9_74 textarea.sc-tttx-textarea_1_9_74~.errorBubble.sc-tttx-textarea_1_9_74:not(.visible){display:none}label.sc-tttx-textarea_1_9_74 .textarea-container.sc-tttx-textarea_1_9_74 textarea.sc-tttx-textarea_1_9_74~.errorBubble.sc-tttx-textarea_1_9_74 span.sc-tttx-textarea_1_9_74{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_74 .textarea-container.sc-tttx-textarea_1_9_74 textarea.sc-tttx-textarea_1_9_74:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_74 .textarea-container.sc-tttx-textarea_1_9_74 textarea.sc-tttx-textarea_1_9_74:focus-visible{outline:none}label.sc-tttx-textarea_1_9_74 .secondarylabel.sc-tttx-textarea_1_9_74{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_74 .optional.sc-tttx-textarea_1_9_74{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_9_74", {
|
|
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_9_74"];
|
|
78
78
|
components.forEach(tagName => { switch (tagName) {
|
|
79
|
-
case "tttx-
|
|
79
|
+
case "tttx-textarea_1_9_74":
|
|
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_9_74 = TttxTextarea;
|
|
88
88
|
const defineCustomElement = defineCustomElement$1;
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { TttxTextarea_1_9_74, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxToggle_1_9_74 extends Components.TttxToggle_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxToggle_1_9_74: {
|
|
5
|
+
prototype: TttxToggle_1_9_74;
|
|
6
|
+
new (): TttxToggle_1_9_74;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -33,7 +33,7 @@ const TttxToggle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
33
33
|
return (h("div", { id: 'toggle-switch' }, checkbox, h("div", { id: 'toggle-body' })));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return tttxToggleCss; }
|
|
36
|
-
}, [1, "tttx-
|
|
36
|
+
}, [1, "tttx-toggle_1_9_74", {
|
|
37
37
|
"initialstate": [8],
|
|
38
38
|
"_state": [32]
|
|
39
39
|
}]);
|
|
@@ -41,9 +41,9 @@ function defineCustomElement$1() {
|
|
|
41
41
|
if (typeof customElements === "undefined") {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
const components = ["tttx-
|
|
44
|
+
const components = ["tttx-toggle_1_9_74"];
|
|
45
45
|
components.forEach(tagName => { switch (tagName) {
|
|
46
|
-
case "tttx-
|
|
46
|
+
case "tttx-toggle_1_9_74":
|
|
47
47
|
if (!customElements.get(tagName)) {
|
|
48
48
|
customElements.define(tagName, TttxToggle);
|
|
49
49
|
}
|
|
@@ -51,7 +51,7 @@ function defineCustomElement$1() {
|
|
|
51
51
|
} });
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
const
|
|
54
|
+
const TttxToggle_1_9_74 = TttxToggle;
|
|
55
55
|
const defineCustomElement = defineCustomElement$1;
|
|
56
56
|
|
|
57
|
-
export {
|
|
57
|
+
export { TttxToggle_1_9_74, 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_9_74", {
|
|
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_9_74"];
|
|
40
40
|
components.forEach(tagName => { switch (tagName) {
|
|
41
|
-
case "tttx-
|
|
41
|
+
case "tttx-toolbar_1_9_74":
|
|
42
42
|
if (!customElements.get(tagName)) {
|
|
43
43
|
customElements.define(tagName, TttxToolbar);
|
|
44
44
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxToolbar_1_9_74 extends Components.TttxToolbar_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxToolbar_1_9_74: {
|
|
5
|
+
prototype: TttxToolbar_1_9_74;
|
|
6
|
+
new (): TttxToolbar_1_9_74;
|
|
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 TttxToolbar, d as defineCustomElement$1 } from './tttx-toolbar.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxToolbar_1_9_74 = TttxToolbar;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxToolbar_1_9_74, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTooltip_1_9_74 extends Components.TttxTooltip_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxTooltip_1_9_74: {
|
|
5
|
+
prototype: TttxTooltip_1_9_74;
|
|
6
|
+
new (): TttxTooltip_1_9_74;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -54,7 +54,7 @@ const TttxTooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
54
54
|
}
|
|
55
55
|
get el() { return this; }
|
|
56
56
|
static get style() { return tttxTooltipCss; }
|
|
57
|
-
}, [1, "tttx-
|
|
57
|
+
}, [1, "tttx-tooltip_1_9_74", {
|
|
58
58
|
"text": [1],
|
|
59
59
|
"placement": [1],
|
|
60
60
|
"trigger": [16],
|
|
@@ -67,9 +67,9 @@ function defineCustomElement$1() {
|
|
|
67
67
|
if (typeof customElements === "undefined") {
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
|
-
const components = ["tttx-
|
|
70
|
+
const components = ["tttx-tooltip_1_9_74"];
|
|
71
71
|
components.forEach(tagName => { switch (tagName) {
|
|
72
|
-
case "tttx-
|
|
72
|
+
case "tttx-tooltip_1_9_74":
|
|
73
73
|
if (!customElements.get(tagName)) {
|
|
74
74
|
customElements.define(tagName, TttxTooltip);
|
|
75
75
|
}
|
|
@@ -77,7 +77,7 @@ function defineCustomElement$1() {
|
|
|
77
77
|
} });
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
const
|
|
80
|
+
const TttxTooltip_1_9_74 = TttxTooltip;
|
|
81
81
|
const defineCustomElement = defineCustomElement$1;
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { TttxTooltip_1_9_74, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTreeView_1_9_74 extends Components.TttxTreeView_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxTreeView_1_9_74: {
|
|
5
|
+
prototype: TttxTreeView_1_9_74;
|
|
6
|
+
new (): TttxTreeView_1_9_74;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js';
|
|
3
3
|
import { d as defineCustomElement$3 } from './tttx-button.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
5
5
|
|
|
6
|
-
const tttxTreeViewCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tree-view-element>ul{margin:0;padding:0}.tree-view-element
|
|
6
|
+
const tttxTreeViewCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{--tree-accent:#2196F3;--tree-selected-bg:#E8E8E8;--indent:36px;--accent-gap:46px;--accent-width:4px;--tree-left-edge-shift:0px}.tree-view-element>ul{margin:0;padding:0}.tree-view-element ul{padding-left:var(--indent)}.tree-view-element ul li{list-style:none}.tree-view-element ul li.selected-group{position:relative;}.tree-view-element ul li.selected-group::before,.tree-view-element ul li.selected-group::after{display:none}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node{background-color:#E8E8E8 !important;position:relative}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node::after{content:\"\";position:absolute;top:0;bottom:0;width:var(--accent-width);left:calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));background-color:var(--tree-accent);border-radius:0 2px 2px 0;z-index:5}.tree-view-element ul li.selected-group>ul li.inline-tree-item.element-row.tree-node{background-color:#F9F9F9 !important}.tree-view-element ul li.selected-group>ul li.inline-tree-item.element-row.tree-node::after{display:none !important}.tree-view-element ul li.selected-group li.inline-tree-item.element-row:not(.tree-node)::before{background-color:transparent !important}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;width:100%;padding-left:8px;align-items:center}.tree-view-element ul li.inline-tree-item .element .padding-icon{padding:6px;height:24px;width:24px;display:flex;align-items:center;justify-content:center}@media (hover: hover){.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover:not(.rowSelected){cursor:pointer}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover:not(.rowSelected)::before{background-color:rgba(17, 17, 17, 0.05);z-index:3}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover.rowSelected::before{background-color:rgba(17, 17, 17, 0.15);z-index:3}}.tree-view-element ul li.inline-tree-item.element-row{min-height:36px;font-family:\"Roboto\", serif;font-size:16px;padding:8px 0px;position:relative;color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row::before{content:\"\";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #d5d5d5;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{height:51px;z-index:2;background-color:#F9F9F9}.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected::before{background-color:#E8E8E8 !important}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:3}.tree-view-element ul li.inline-tree-item.element-row .treeNode{width:100%;font-weight:500;color:#212121}.tree-view-element ul li.inline-tree-item.element-row .treeLeaf{width:100%;font-weight:400;color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeLeaf,.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeNode{color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row .drag-handle{margin-right:10px}.tree-view-element ul li.inline-tree-item.element-row .drop-not-allowed{border-color:red;border-style:dashed;cursor:not-allowed;opacity:0.7}@media (forced-colors: active){.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::after{background:CanvasText}.tree-view-element ul li.selected-group::after{background:Highlight}}.inline-tree-item:focus-visible{outline:2px solid var(--tree-accent);outline-offset:2px;border-radius:6px}.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected{background-color:transparent !important}.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected::before{background-color:transparent !important}.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected:hover::before{background-color:transparent !important}";
|
|
7
7
|
|
|
8
8
|
const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -52,15 +52,26 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
52
52
|
if (!nodeData)
|
|
53
53
|
return;
|
|
54
54
|
const { parentId: sourceParentId, index: sourceParentIndex, node: sourceNode } = JSON.parse(nodeData);
|
|
55
|
+
// Prevent dropping on itself or different parents
|
|
55
56
|
if (node.id === sourceNode.id || sourceParentId !== parentId)
|
|
56
57
|
return;
|
|
57
58
|
const updatedTree = [...this.treeData];
|
|
58
|
-
|
|
59
|
-
const
|
|
59
|
+
// Find the parent node
|
|
60
|
+
const parent = parentId ? this.findNodeById(updatedTree, parentId) : null;
|
|
61
|
+
// If no parent (root level), work with treeData directly
|
|
62
|
+
const children = (parent === null || parent === void 0 ? void 0 : parent.child) ? [...parent.child] : [...updatedTree];
|
|
63
|
+
if (!children || children.length === 0)
|
|
64
|
+
return;
|
|
65
|
+
// Move the node
|
|
60
66
|
const [moved] = children.splice(sourceParentIndex, 1);
|
|
61
67
|
children.splice(targetIndex, 0, moved);
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
// Update the tree
|
|
69
|
+
if (parent) {
|
|
70
|
+
parent.child = children;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.treeData = children;
|
|
74
|
+
}
|
|
64
75
|
this.draggedNodeParentId = undefined;
|
|
65
76
|
if (this.dragGhost.el) {
|
|
66
77
|
this.dragGhost.el.remove();
|
|
@@ -85,6 +96,19 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
85
96
|
}
|
|
86
97
|
onClickHandler(event, node) {
|
|
87
98
|
event.stopPropagation();
|
|
99
|
+
// Handle selection: if node is already selected, deselect it; otherwise select it and deselect all others
|
|
100
|
+
if (node.selectable) {
|
|
101
|
+
if (node.selected) {
|
|
102
|
+
// Toggle off: deselect this node
|
|
103
|
+
node.selected = false;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
// Toggle on: deselect all others and select this one
|
|
107
|
+
this.handleNodeSelection(node);
|
|
108
|
+
// node.selected is already set to true in handleNodeSelection
|
|
109
|
+
}
|
|
110
|
+
this.treeData = [...this.treeData];
|
|
111
|
+
}
|
|
88
112
|
this.clickEvent.emit(node);
|
|
89
113
|
}
|
|
90
114
|
toggleNode(node, event) {
|
|
@@ -170,28 +194,51 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
170
194
|
}
|
|
171
195
|
return undefined;
|
|
172
196
|
}
|
|
173
|
-
|
|
197
|
+
deselectAllNodes(nodes) {
|
|
198
|
+
for (const node of nodes) {
|
|
199
|
+
if (node.selectable) {
|
|
200
|
+
node.selected = false;
|
|
201
|
+
}
|
|
202
|
+
if (node.child) {
|
|
203
|
+
this.deselectAllNodes(node.child);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
handleNodeSelection(node) {
|
|
208
|
+
// Deselect all nodes first
|
|
209
|
+
this.deselectAllNodes(this.treeData);
|
|
210
|
+
// Select only the clicked node if it's selectable
|
|
211
|
+
if (node.selectable) {
|
|
212
|
+
node.selected = true;
|
|
213
|
+
}
|
|
214
|
+
// Update the tree to trigger re-render
|
|
215
|
+
this.treeData = [...this.treeData];
|
|
216
|
+
}
|
|
217
|
+
renderNode(node, index, parentId = undefined, level = 0 // <-- depth
|
|
218
|
+
) {
|
|
174
219
|
var _a, _b;
|
|
175
220
|
const options = this.treeConfigs(node);
|
|
176
221
|
if (node.child) {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
} }), h("tttx-button_1_9_72", { 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, index, parentId)), node.isOpen ? (h("li", null, h("ul", null, node.child.map((childNode, index) => {
|
|
182
|
-
return this.renderNode(childNode, index, node.id);
|
|
183
|
-
})))) : null));
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
return (h("li", Object.assign({ "data-id": node.id, draggable: (_b = node.draggable) !== null && _b !== void 0 ? _b : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index, parentId) } : {}), { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
222
|
+
// group node
|
|
223
|
+
const isSelectedGroup = !!node.selected;
|
|
224
|
+
return (h("li", { class: `${isSelectedGroup ? 'selected-group' : ''}`, style: { '--level': String(level) } }, h("li", Object.assign({ "data-id": node.id, draggable: (_a = node.draggable) !== null && _a !== void 0 ? _a : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index, parentId) } : {}), { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
187
225
|
if (node.hasHover) {
|
|
188
226
|
this.onClickHandler(event, node);
|
|
189
227
|
}
|
|
190
|
-
} }), this.htmlcode('
|
|
228
|
+
} }), h("tttx-button_1_9_74", { 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, index, parentId)), node.isOpen ? (h("ul", null, node.child.map((childNode, childIndex) => {
|
|
229
|
+
// next level = level + 1
|
|
230
|
+
return this.renderNode(childNode, childIndex, node.id, level + 1);
|
|
231
|
+
}))) : null));
|
|
191
232
|
}
|
|
233
|
+
// leaf (activity)
|
|
234
|
+
return (h("li", Object.assign({ "data-id": node.id, draggable: (_b = node.draggable) !== null && _b !== void 0 ? _b : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index, parentId) } : {}), { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, style: { '--level': String(level) }, onClick: event => {
|
|
235
|
+
if (node.hasHover) {
|
|
236
|
+
this.onClickHandler(event, node);
|
|
237
|
+
}
|
|
238
|
+
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
|
|
192
239
|
}
|
|
193
240
|
htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
|
|
194
|
-
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-
|
|
241
|
+
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-button_1_9_74", { 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_9_74", { 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) })));
|
|
195
242
|
return htmlcode;
|
|
196
243
|
}
|
|
197
244
|
render() {
|
|
@@ -201,7 +248,7 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
201
248
|
}
|
|
202
249
|
get el() { return this; }
|
|
203
250
|
static get style() { return tttxTreeViewCss; }
|
|
204
|
-
}, [1, "tttx-tree-
|
|
251
|
+
}, [1, "tttx-tree-view_1_9_74", {
|
|
205
252
|
"data": [1040],
|
|
206
253
|
"treeData": [32]
|
|
207
254
|
}]);
|
|
@@ -209,19 +256,19 @@ function defineCustomElement$1() {
|
|
|
209
256
|
if (typeof customElements === "undefined") {
|
|
210
257
|
return;
|
|
211
258
|
}
|
|
212
|
-
const components = ["tttx-tree-
|
|
259
|
+
const components = ["tttx-tree-view_1_9_74", "tttx-button_1_9_74", "tttx-icon_1_9_74"];
|
|
213
260
|
components.forEach(tagName => { switch (tagName) {
|
|
214
|
-
case "tttx-tree-
|
|
261
|
+
case "tttx-tree-view_1_9_74":
|
|
215
262
|
if (!customElements.get(tagName)) {
|
|
216
263
|
customElements.define(tagName, TttxTreeView);
|
|
217
264
|
}
|
|
218
265
|
break;
|
|
219
|
-
case "tttx-
|
|
266
|
+
case "tttx-button_1_9_74":
|
|
220
267
|
if (!customElements.get(tagName)) {
|
|
221
268
|
defineCustomElement$3();
|
|
222
269
|
}
|
|
223
270
|
break;
|
|
224
|
-
case "tttx-
|
|
271
|
+
case "tttx-icon_1_9_74":
|
|
225
272
|
if (!customElements.get(tagName)) {
|
|
226
273
|
defineCustomElement$2();
|
|
227
274
|
}
|
|
@@ -229,7 +276,7 @@ function defineCustomElement$1() {
|
|
|
229
276
|
} });
|
|
230
277
|
}
|
|
231
278
|
|
|
232
|
-
const
|
|
279
|
+
const TttxTreeView_1_9_74 = TttxTreeView;
|
|
233
280
|
const defineCustomElement = defineCustomElement$1;
|
|
234
281
|
|
|
235
|
-
export {
|
|
282
|
+
export { TttxTreeView_1_9_74, defineCustomElement };
|