@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
|
@@ -4,80 +4,129 @@ export default {
|
|
|
4
4
|
component: 'tttx-tree-view',
|
|
5
5
|
parameters: {
|
|
6
6
|
actions: {
|
|
7
|
-
handles: ['clickEvent'],
|
|
7
|
+
handles: ['clickEvent', 'expandNode', 'checkboxChange'],
|
|
8
8
|
},
|
|
9
9
|
},
|
|
10
10
|
decorators: [withActions],
|
|
11
11
|
};
|
|
12
|
-
const
|
|
13
|
-
<
|
|
12
|
+
const TttxTreeViewTemplate = ({ data }) => `
|
|
13
|
+
<style>
|
|
14
|
+
.selected-bg { background: #E8E8E8 !important; }
|
|
15
|
+
.default-bg { background: #F9F9F9 !important; }
|
|
16
|
+
</style>
|
|
17
|
+
|
|
18
|
+
<tttx-tree-view_1_9_74 id="treeView"></tttx-tree-view_1_9_74>
|
|
19
|
+
|
|
14
20
|
<script>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
(function() {
|
|
22
|
+
|
|
23
|
+
// Find selected node recursively
|
|
24
|
+
const findSelected = (nodes) => {
|
|
25
|
+
for (const node of nodes) {
|
|
26
|
+
if (node.selected) return node;
|
|
27
|
+
if (Array.isArray(node.child) && node.child.length) {
|
|
28
|
+
const found = findSelected(node.child);
|
|
29
|
+
if (found) return found;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return null;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// Assign background: only selected gets selected-bg
|
|
36
|
+
const applyBackgrounds = (nodes, selectedNode) => {
|
|
37
|
+
return nodes.map(n => ({
|
|
38
|
+
...n,
|
|
39
|
+
backgroundClass: n.id === selectedNode?.id
|
|
40
|
+
? 'selected-bg'
|
|
41
|
+
: 'default-bg',
|
|
42
|
+
child: n.child ? applyBackgrounds(n.child, selectedNode) : []
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const treeView = document.getElementById('treeView');
|
|
47
|
+
|
|
48
|
+
if (treeView) {
|
|
49
|
+
const dataOriginal = ${JSON.stringify(data)};
|
|
50
|
+
const selectedNode = findSelected(dataOriginal);
|
|
51
|
+
const processed = applyBackgrounds(dataOriginal, selectedNode);
|
|
52
|
+
treeView.data = processed;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
})();
|
|
19
56
|
</script>
|
|
20
57
|
`;
|
|
21
|
-
export const
|
|
22
|
-
|
|
58
|
+
export const GroupSelectionDemo = TttxTreeViewTemplate.bind({});
|
|
59
|
+
GroupSelectionDemo.args = {
|
|
23
60
|
data: [
|
|
24
61
|
{
|
|
25
|
-
id: '
|
|
26
|
-
title: '
|
|
27
|
-
isOpen:
|
|
62
|
+
id: '0001',
|
|
63
|
+
title: '0001 Group testing',
|
|
64
|
+
isOpen: true,
|
|
28
65
|
hasCheckbox: false,
|
|
29
66
|
hasIcon: false,
|
|
67
|
+
hasHover: true,
|
|
68
|
+
selectable: true,
|
|
69
|
+
selected: true,
|
|
30
70
|
draggable: false,
|
|
31
71
|
child: [
|
|
32
72
|
{
|
|
33
|
-
id: '
|
|
34
|
-
title: '
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
title: 'Cloud engineer',
|
|
41
|
-
hasIcon: false,
|
|
42
|
-
draggable: true,
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
id: '3b',
|
|
46
|
-
title: 'Software engineer',
|
|
47
|
-
hasIcon: false,
|
|
48
|
-
draggable: true,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: '3c',
|
|
52
|
-
title: 'Devops engineer',
|
|
53
|
-
hasIcon: false,
|
|
54
|
-
draggable: true,
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: '4',
|
|
60
|
-
title: 'GDPR',
|
|
61
|
-
isOpen: false,
|
|
62
|
-
hasIcon: false,
|
|
73
|
+
id: 'goals',
|
|
74
|
+
title: 'Goals',
|
|
75
|
+
hasIcon: true,
|
|
76
|
+
icon: 'flag',
|
|
77
|
+
iconColor: 'grey',
|
|
78
|
+
hasHover: true,
|
|
79
|
+
selectable: true,
|
|
63
80
|
draggable: true,
|
|
64
81
|
},
|
|
65
82
|
{
|
|
66
|
-
id: '
|
|
67
|
-
title: '
|
|
68
|
-
isOpen:
|
|
69
|
-
|
|
83
|
+
id: '0002',
|
|
84
|
+
title: '0002',
|
|
85
|
+
isOpen: true,
|
|
86
|
+
hasCheckbox: true,
|
|
87
|
+
hasIcon: true,
|
|
88
|
+
icon: 'folder',
|
|
89
|
+
iconColor: 'grey',
|
|
90
|
+
hasHover: true,
|
|
91
|
+
selectable: true,
|
|
70
92
|
draggable: false,
|
|
71
93
|
child: [
|
|
72
94
|
{
|
|
73
|
-
id: '
|
|
74
|
-
title: '
|
|
75
|
-
|
|
95
|
+
id: 'ugh',
|
|
96
|
+
title: 'ugh',
|
|
97
|
+
isOpen: true,
|
|
98
|
+
hasCheckbox: true,
|
|
99
|
+
hasIcon: true,
|
|
100
|
+
icon: 'folder',
|
|
101
|
+
iconColor: 'grey',
|
|
102
|
+
hasHover: true,
|
|
103
|
+
selectable: true,
|
|
104
|
+
draggable: false,
|
|
105
|
+
child: [
|
|
106
|
+
{
|
|
107
|
+
id: '45',
|
|
108
|
+
title: '45',
|
|
109
|
+
hasIcon: true,
|
|
110
|
+
icon: 'description',
|
|
111
|
+
iconColor: 'grey',
|
|
112
|
+
hasHover: true,
|
|
113
|
+
selectable: true,
|
|
114
|
+
draggable: true,
|
|
115
|
+
},
|
|
116
|
+
],
|
|
76
117
|
},
|
|
77
118
|
{
|
|
78
|
-
id: '
|
|
79
|
-
title: '
|
|
80
|
-
|
|
119
|
+
id: '1109',
|
|
120
|
+
title: '1109',
|
|
121
|
+
isOpen: false,
|
|
122
|
+
hasCheckbox: true,
|
|
123
|
+
hasIcon: true,
|
|
124
|
+
icon: 'folder',
|
|
125
|
+
iconColor: 'grey',
|
|
126
|
+
hasHover: true,
|
|
127
|
+
selectable: true,
|
|
128
|
+
draggable: false,
|
|
129
|
+
child: [],
|
|
81
130
|
},
|
|
82
131
|
],
|
|
83
132
|
},
|
|
@@ -11,12 +11,12 @@ export class TttxDataPattern {
|
|
|
11
11
|
this.addbutton = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
15
|
-
h("tttx-
|
|
16
|
-
h("tttx-
|
|
17
|
-
h("tttx-
|
|
14
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_74", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
15
|
+
h("tttx-sorter_1_9_74", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
16
|
+
h("tttx-filter_1_9_74", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_74", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_74", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
17
|
+
h("tttx-button_1_9_74", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_74", { data: this.data }))));
|
|
18
18
|
}
|
|
19
|
-
static get is() { return "tttx-data-
|
|
19
|
+
static get is() { return "tttx-data-pattern_1_9_74"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
21
21
|
static get originalStyleUrls() {
|
|
22
22
|
return {
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
},
|
|
9
9
|
};
|
|
10
10
|
const Default = ({ data, sorterOptions, filterOptions }) => `
|
|
11
|
-
<tttx-data-
|
|
11
|
+
<tttx-data-pattern_1_9_74 id="datapatternlist"></tttx-data-pattern_1_9_74>
|
|
12
12
|
<script>
|
|
13
13
|
const element = document.getElementById('datapatternlist');
|
|
14
14
|
element.data = ${JSON.stringify(data)};
|
|
@@ -19,10 +19,10 @@ const Default = ({ data, sorterOptions, filterOptions }) => `
|
|
|
19
19
|
export const WIPDefaultDataPattern = Default.bind({});
|
|
20
20
|
WIPDefaultDataPattern.args = {
|
|
21
21
|
data: [
|
|
22
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
23
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
24
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
25
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
22
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_74 icon="egg" /></span> Demulon 1,000,000' },
|
|
23
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_74 icon="egg" color="red" /></span> Patrick' },
|
|
24
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_74 icon="add" /></span> Lee' },
|
|
25
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_74 icon="egg" /></span> Ben' },
|
|
26
26
|
],
|
|
27
27
|
sorterOptions: {
|
|
28
28
|
sorterOptions: [{ optionLabel: 'Name' }, { optionLabel: 'Age' }],
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
/* tttx custom elements */
|
|
2
|
-
export { TttxActionDropdown as
|
|
3
|
-
export { TttxButton as
|
|
4
|
-
export { TttxButton as
|
|
5
|
-
export { TttxChart as
|
|
6
|
-
export { TttxCheckboxGroupCaption as
|
|
7
|
-
export { TttxCheckboxGroupHeading as
|
|
8
|
-
export { TttxCheckboxGroup as
|
|
9
|
-
export { TttxCheckbox as
|
|
10
|
-
export { TttxComments as
|
|
11
|
-
export { TttxDataPattern as
|
|
12
|
-
export { TttxDatacard as
|
|
2
|
+
export { TttxActionDropdown as TttxActionDropdown_1_9_74 } from '../types/components/molecules/tttx-action-dropdown/tttx-action-dropdown';
|
|
3
|
+
export { TttxButton as TttxButtonV2_1_9_74 } from '../types/components/atoms/tttx-button-v2/tttx-button-v2';
|
|
4
|
+
export { TttxButton as TttxButton_1_9_74 } from '../types/components/atoms/tttx-button/tttx-button';
|
|
5
|
+
export { TttxChart as TttxChart_1_9_74 } from '../types/components/molecules/tttx-chart/tttx-chart';
|
|
6
|
+
export { TttxCheckboxGroupCaption as TttxCheckboxGroupCaption_1_9_74 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption';
|
|
7
|
+
export { TttxCheckboxGroupHeading as TttxCheckboxGroupHeading_1_9_74 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading';
|
|
8
|
+
export { TttxCheckboxGroup as TttxCheckboxGroup_1_9_74 } from '../types/components/molecules/tttx-checkbox-group/tttx-checkbox-group';
|
|
9
|
+
export { TttxCheckbox as TttxCheckbox_1_9_74 } from '../types/components/atoms/tttx-checkbox/tttx-checkbox';
|
|
10
|
+
export { TttxComments as TttxComments_1_9_74 } from '../types/components/molecules/tttx-comments/tttx-comments';
|
|
11
|
+
export { TttxDataPattern as TttxDataPattern_1_9_74 } from '../types/components/organisms/tttx-data-pattern/tttx-data-pattern';
|
|
12
|
+
export { TttxDatacard as TttxDatacard_1_9_74 } from '../types/components/atoms/tttx-datacard/tttx-datacard';
|
|
13
13
|
export { TttxDateRangePicker as TttxDateRangePicker } from '../types/components/molecules/tttx-date-range-picker/tttx-date-range-picker';
|
|
14
|
-
export { TttxDialogBox as
|
|
15
|
-
export { TttxDialog as
|
|
16
|
-
export { TttxExpander as
|
|
17
|
-
export { TttxFilter as
|
|
18
|
-
export { TttxForm as
|
|
19
|
-
export { TttxGraph as
|
|
20
|
-
export { TttxIcon as
|
|
21
|
-
export { TttxKeyvalueBlock as
|
|
22
|
-
export { TttxList as
|
|
23
|
-
export { TttxLoadingSpinner as
|
|
24
|
-
export { TttxMultiselectBox as
|
|
25
|
-
export { TttxPercentageBar as
|
|
26
|
-
export { TttxQrCode as
|
|
27
|
-
export { TttxRangeSlider as
|
|
28
|
-
export { TttxSelectBox as
|
|
29
|
-
export { TttxSkeletonLoader as
|
|
30
|
-
export { TttxSorter as
|
|
31
|
-
export { TttxInput as
|
|
32
|
-
export { TttxTable as
|
|
33
|
-
export { TttxTabs as
|
|
34
|
-
export { TttxTagV2 as
|
|
35
|
-
export { TttxTag as
|
|
36
|
-
export { TttxTextarea as
|
|
37
|
-
export { TttxToggle as
|
|
38
|
-
export { TttxToolbar as
|
|
39
|
-
export { TttxTooltip as
|
|
40
|
-
export { TttxTreeView as
|
|
14
|
+
export { TttxDialogBox as TttxDialogBox_1_9_74 } from '../types/components/molecules/tttx-dialog-box/tttx-dialog-box';
|
|
15
|
+
export { TttxDialog as TttxDialog_1_9_74 } from '../types/components/molecules/tttx-dialog/tttx-dialog';
|
|
16
|
+
export { TttxExpander as TttxExpander_1_9_74 } from '../types/components/molecules/tttx-expander/tttx-expander';
|
|
17
|
+
export { TttxFilter as TttxFilter_1_9_74 } from '../types/components/molecules/tttx-filter/tttx-filter';
|
|
18
|
+
export { TttxForm as TttxForm_1_9_74 } from '../types/components/molecules/tttx-form/tttx-form';
|
|
19
|
+
export { TttxGraph as TttxGraph_1_9_74 } from '../types/components/molecules/tttx-graph/tttx-graph';
|
|
20
|
+
export { TttxIcon as TttxIcon_1_9_74 } from '../types/components/atoms/tttx-icon/tttx-icon';
|
|
21
|
+
export { TttxKeyvalueBlock as TttxKeyvalueBlock_1_9_74 } from '../types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block';
|
|
22
|
+
export { TttxList as TttxList_1_9_74 } from '../types/components/molecules/tttx-list/tttx-list';
|
|
23
|
+
export { TttxLoadingSpinner as TttxLoadingSpinner_1_9_74 } from '../types/components/atoms/tttx-loading-spinner/tttx-loading-spinner';
|
|
24
|
+
export { TttxMultiselectBox as TttxMultiselectBox_1_9_74 } from '../types/components/molecules/tttx-multiselect-box/tttx-multiselect-box';
|
|
25
|
+
export { TttxPercentageBar as TttxPercentageBar_1_9_74 } from '../types/components/atoms/tttx-percentage-bar/tttx-percentage-bar';
|
|
26
|
+
export { TttxQrCode as TttxQrcode_1_9_74 } from '../types/components/atoms/tttx-qrcode/tttx-qrcode';
|
|
27
|
+
export { TttxRangeSlider as TttxRangeSlider_1_9_74 } from '../types/components/molecules/tttx-range-slider/tttx-range-slider';
|
|
28
|
+
export { TttxSelectBox as TttxSelectBox_1_9_74 } from '../types/components/molecules/tttx-select-box/tttx-select-box';
|
|
29
|
+
export { TttxSkeletonLoader as TttxSkeleton_loader_1_9_74 } from '../types/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader';
|
|
30
|
+
export { TttxSorter as TttxSorter_1_9_74 } from '../types/components/molecules/tttx-sorter/tttx-sorter';
|
|
31
|
+
export { TttxInput as TttxStandaloneInput_1_9_74 } from '../types/components/molecules/tttx-standalone-input/tttx-standalone-input';
|
|
32
|
+
export { TttxTable as TttxTable_1_9_74 } from '../types/components/molecules/tttx-table/tttx-table';
|
|
33
|
+
export { TttxTabs as TttxTabs_1_9_74 } from '../types/components/molecules/tttx-tabs/tttx-tabs';
|
|
34
|
+
export { TttxTagV2 as TttxTagV2_1_9_74 } from '../types/components/atoms/tttx-tag-v2/tttx-tag-v2';
|
|
35
|
+
export { TttxTag as TttxTag_1_9_74 } from '../types/components/atoms/tttx-tag/tttx-tag';
|
|
36
|
+
export { TttxTextarea as TttxTextarea_1_9_74 } from '../types/components/molecules/tttx-textarea/tttx-textarea';
|
|
37
|
+
export { TttxToggle as TttxToggle_1_9_74 } from '../types/components/atoms/tttx-toggle/tttx-toggle';
|
|
38
|
+
export { TttxToolbar as TttxToolbar_1_9_74 } from '../types/components/molecules/tttx-toolbar/tttx-toolbar';
|
|
39
|
+
export { TttxTooltip as TttxTooltip_1_9_74 } from '../types/components/molecules/tttx-tooltip/tttx-tooltip';
|
|
40
|
+
export { TttxTreeView as TttxTreeView_1_9_74 } from '../types/components/molecules/tttx-tree-view/tttx-tree-view';
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Used to manually set the base path where assets can be found.
|
package/dist/components/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
2
|
+
export { TttxActionDropdown_1_9_74, defineCustomElement as defineCustomElementTttxActionDropdown_1_9_74 } from './tttx-action-dropdown_1_9_74.js';
|
|
3
|
+
export { TttxButtonV2_1_9_74, defineCustomElement as defineCustomElementTttxButtonV2_1_9_74 } from './tttx-button-v2_1_9_74.js';
|
|
4
|
+
export { TttxButton_1_9_74, defineCustomElement as defineCustomElementTttxButton_1_9_74 } from './tttx-button_1_9_74.js';
|
|
5
|
+
export { TttxChart_1_9_74, defineCustomElement as defineCustomElementTttxChart_1_9_74 } from './tttx-chart_1_9_74.js';
|
|
6
|
+
export { TttxCheckboxGroupCaption_1_9_74, defineCustomElement as defineCustomElementTttxCheckboxGroupCaption_1_9_74 } from './tttx-checkbox-group-caption_1_9_74.js';
|
|
7
|
+
export { TttxCheckboxGroupHeading_1_9_74, defineCustomElement as defineCustomElementTttxCheckboxGroupHeading_1_9_74 } from './tttx-checkbox-group-heading_1_9_74.js';
|
|
8
|
+
export { TttxCheckboxGroup_1_9_74, defineCustomElement as defineCustomElementTttxCheckboxGroup_1_9_74 } from './tttx-checkbox-group_1_9_74.js';
|
|
9
|
+
export { TttxCheckbox_1_9_74, defineCustomElement as defineCustomElementTttxCheckbox_1_9_74 } from './tttx-checkbox_1_9_74.js';
|
|
10
|
+
export { TttxComments_1_9_74, defineCustomElement as defineCustomElementTttxComments_1_9_74 } from './tttx-comments_1_9_74.js';
|
|
11
|
+
export { TttxDataPattern_1_9_74, defineCustomElement as defineCustomElementTttxDataPattern_1_9_74 } from './tttx-data-pattern_1_9_74.js';
|
|
12
|
+
export { TttxDatacard_1_9_74, defineCustomElement as defineCustomElementTttxDatacard_1_9_74 } from './tttx-datacard_1_9_74.js';
|
|
13
13
|
export { TttxDateRangePicker, defineCustomElement as defineCustomElementTttxDateRangePicker } from './tttx-date-range-picker.js';
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
14
|
+
export { TttxDialogBox_1_9_74, defineCustomElement as defineCustomElementTttxDialogBox_1_9_74 } from './tttx-dialog-box_1_9_74.js';
|
|
15
|
+
export { TttxDialog_1_9_74, defineCustomElement as defineCustomElementTttxDialog_1_9_74 } from './tttx-dialog_1_9_74.js';
|
|
16
|
+
export { TttxExpander_1_9_74, defineCustomElement as defineCustomElementTttxExpander_1_9_74 } from './tttx-expander_1_9_74.js';
|
|
17
|
+
export { TttxFilter_1_9_74, defineCustomElement as defineCustomElementTttxFilter_1_9_74 } from './tttx-filter_1_9_74.js';
|
|
18
|
+
export { TttxForm_1_9_74, defineCustomElement as defineCustomElementTttxForm_1_9_74 } from './tttx-form_1_9_74.js';
|
|
19
|
+
export { TttxGraph_1_9_74, defineCustomElement as defineCustomElementTttxGraph_1_9_74 } from './tttx-graph_1_9_74.js';
|
|
20
|
+
export { TttxIcon_1_9_74, defineCustomElement as defineCustomElementTttxIcon_1_9_74 } from './tttx-icon_1_9_74.js';
|
|
21
|
+
export { TttxKeyvalueBlock_1_9_74, defineCustomElement as defineCustomElementTttxKeyvalueBlock_1_9_74 } from './tttx-keyvalue-block_1_9_74.js';
|
|
22
|
+
export { TttxList_1_9_74, defineCustomElement as defineCustomElementTttxList_1_9_74 } from './tttx-list_1_9_74.js';
|
|
23
|
+
export { TttxLoadingSpinner_1_9_74, defineCustomElement as defineCustomElementTttxLoadingSpinner_1_9_74 } from './tttx-loading-spinner_1_9_74.js';
|
|
24
|
+
export { TttxMultiselectBox_1_9_74, defineCustomElement as defineCustomElementTttxMultiselectBox_1_9_74 } from './tttx-multiselect-box_1_9_74.js';
|
|
25
|
+
export { TttxPercentageBar_1_9_74, defineCustomElement as defineCustomElementTttxPercentageBar_1_9_74 } from './tttx-percentage-bar_1_9_74.js';
|
|
26
|
+
export { TttxQrcode_1_9_74, defineCustomElement as defineCustomElementTttxQrcode_1_9_74 } from './tttx-qrcode_1_9_74.js';
|
|
27
|
+
export { TttxRangeSlider_1_9_74, defineCustomElement as defineCustomElementTttxRangeSlider_1_9_74 } from './tttx-range-slider_1_9_74.js';
|
|
28
|
+
export { TttxSelectBox_1_9_74, defineCustomElement as defineCustomElementTttxSelectBox_1_9_74 } from './tttx-select-box_1_9_74.js';
|
|
29
|
+
export { TttxSkeleton_loader_1_9_74, defineCustomElement as defineCustomElementTttxSkeleton_loader_1_9_74 } from './tttx-skeleton_loader_1_9_74.js';
|
|
30
|
+
export { TttxSorter_1_9_74, defineCustomElement as defineCustomElementTttxSorter_1_9_74 } from './tttx-sorter_1_9_74.js';
|
|
31
|
+
export { TttxStandaloneInput_1_9_74, defineCustomElement as defineCustomElementTttxStandaloneInput_1_9_74 } from './tttx-standalone-input_1_9_74.js';
|
|
32
|
+
export { TttxTable_1_9_74, defineCustomElement as defineCustomElementTttxTable_1_9_74 } from './tttx-table_1_9_74.js';
|
|
33
|
+
export { TttxTabs_1_9_74, defineCustomElement as defineCustomElementTttxTabs_1_9_74 } from './tttx-tabs_1_9_74.js';
|
|
34
|
+
export { TttxTagV2_1_9_74, defineCustomElement as defineCustomElementTttxTagV2_1_9_74 } from './tttx-tag-v2_1_9_74.js';
|
|
35
|
+
export { TttxTag_1_9_74, defineCustomElement as defineCustomElementTttxTag_1_9_74 } from './tttx-tag_1_9_74.js';
|
|
36
|
+
export { TttxTextarea_1_9_74, defineCustomElement as defineCustomElementTttxTextarea_1_9_74 } from './tttx-textarea_1_9_74.js';
|
|
37
|
+
export { TttxToggle_1_9_74, defineCustomElement as defineCustomElementTttxToggle_1_9_74 } from './tttx-toggle_1_9_74.js';
|
|
38
|
+
export { TttxToolbar_1_9_74, defineCustomElement as defineCustomElementTttxToolbar_1_9_74 } from './tttx-toolbar_1_9_74.js';
|
|
39
|
+
export { TttxTooltip_1_9_74, defineCustomElement as defineCustomElementTttxTooltip_1_9_74 } from './tttx-tooltip_1_9_74.js';
|
|
40
|
+
export { TttxTreeView_1_9_74, defineCustomElement as defineCustomElementTttxTreeView_1_9_74 } from './tttx-tree-view_1_9_74.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxActionDropdown_1_9_74 extends Components.TttxActionDropdown_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxActionDropdown_1_9_74: {
|
|
5
|
+
prototype: TttxActionDropdown_1_9_74;
|
|
6
|
+
new (): TttxActionDropdown_1_9_74;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -49,13 +49,13 @@ const TttxActionDropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
49
49
|
return;
|
|
50
50
|
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
51
51
|
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
52
|
-
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-
|
|
52
|
+
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-icon_1_9_74", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_74", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
|
|
53
53
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
54
54
|
}))))));
|
|
55
55
|
}
|
|
56
56
|
get el() { return this; }
|
|
57
57
|
static get style() { return tttxActionDropdownCss; }
|
|
58
|
-
}, [1, "tttx-action-
|
|
58
|
+
}, [1, "tttx-action-dropdown_1_9_74", {
|
|
59
59
|
"actionKey": [1, "action-key"],
|
|
60
60
|
"icon": [1],
|
|
61
61
|
"fieldOptionsData": [1, "field-options-data"],
|
|
@@ -69,14 +69,14 @@ function defineCustomElement$1() {
|
|
|
69
69
|
if (typeof customElements === "undefined") {
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
const components = ["tttx-action-
|
|
72
|
+
const components = ["tttx-action-dropdown_1_9_74", "tttx-icon_1_9_74"];
|
|
73
73
|
components.forEach(tagName => { switch (tagName) {
|
|
74
|
-
case "tttx-action-
|
|
74
|
+
case "tttx-action-dropdown_1_9_74":
|
|
75
75
|
if (!customElements.get(tagName)) {
|
|
76
76
|
customElements.define(tagName, TttxActionDropdown);
|
|
77
77
|
}
|
|
78
78
|
break;
|
|
79
|
-
case "tttx-
|
|
79
|
+
case "tttx-icon_1_9_74":
|
|
80
80
|
if (!customElements.get(tagName)) {
|
|
81
81
|
defineCustomElement$2();
|
|
82
82
|
}
|
|
@@ -84,7 +84,7 @@ function defineCustomElement$1() {
|
|
|
84
84
|
} });
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
const
|
|
87
|
+
const TttxActionDropdown_1_9_74 = TttxActionDropdown;
|
|
88
88
|
const defineCustomElement = defineCustomElement$1;
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { TttxActionDropdown_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 TttxButtonV2_1_9_74 extends Components.TttxButtonV2_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxButtonV2_1_9_74: {
|
|
5
|
+
prototype: TttxButtonV2_1_9_74;
|
|
6
|
+
new (): TttxButtonV2_1_9_74;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
3
3
|
|
|
4
|
-
const tttxButtonV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px;min-height:32px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px;min-height:40px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px;min-height:48px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}button.icon-start.btn-size-s{padding-right:14px}button.icon-end.btn-size-s{padding-left:14px}button.icon-start.btn-size-m{padding-right:16px}button.icon-end.btn-size-m{padding-left:16px}button.icon-start.btn-size-l{padding-right:28px}button.icon-end.btn-size-l{padding-left:28px}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;width:100%}.button-content:not(:has(.icon-left,.icon-right)){justify-content:center}button.notext .button-content{justify-content:center !important;align-items:center;width:100%;display:flex;gap:0}tttx-icon,tttx-
|
|
4
|
+
const tttxButtonV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px;min-height:32px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px;min-height:40px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px;min-height:48px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}button.icon-start.btn-size-s{padding-right:14px}button.icon-end.btn-size-s{padding-left:14px}button.icon-start.btn-size-m{padding-right:16px}button.icon-end.btn-size-m{padding-left:16px}button.icon-start.btn-size-l{padding-right:28px}button.icon-end.btn-size-l{padding-left:28px}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;width:100%}.button-content:not(:has(.icon-left,.icon-right)){justify-content:center}button.notext .button-content{justify-content:center !important;align-items:center;width:100%;display:flex;gap:0}tttx-icon,tttx-icon_1_9_74{cursor:inherit;display:inline-flex;vertical-align:middle;font-size:16px}.button-wrapper{position:relative}.button-wrapper .dropdown-list{position:absolute;top:100%;left:0;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;background-color:white;border:1px solid #d4d4d4;margin-top:8px}.button-wrapper .dropdown-list .dropdown-option{padding:8px;cursor:pointer;white-space:nowrap;font-family:Roboto;font-size:14px;font-weight:400;line-height:16px}.button-wrapper .dropdown-list .dropdown-option:hover,.button-wrapper .dropdown-list .dropdown-option:focus{background-color:#f5f5f5;border-radius:8px}.button-wrapper .dropdown-list.dropdown-left{left:auto;right:0;top:100%;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;margin-top:8px}.button-wrapper .dropdown-button{border-radius:4px;width:100%;justify-content:space-between}.button-wrapper .dropdown-button:hover{background-color:#f0f0f0}.button-wrapper .dropdown-button:active{background-color:#e3e3e3}.button-wrapper .dropdown-button .dropdown-arrow{display:flex;align-items:center;margin-left:8px}.button-wrapper .dropdown-button .dropdown-arrow .hydrated{display:flex;align-items:center}.dropdown-item-content{display:flex;align-items:center;gap:8px}.dropdown-item-icon{display:flex;align-items:center;justify-content:center}";
|
|
5
5
|
|
|
6
6
|
const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -124,13 +124,13 @@ const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
124
124
|
}
|
|
125
125
|
renderButtonContent() {
|
|
126
126
|
var _a;
|
|
127
|
-
return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-
|
|
127
|
+
return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_74", { icon: this.iconStart, color: this.iconcolor, size: this.iconSize }))), !this.notext && (h("div", { class: "label-text" }, h("span", null, (_a = this.label) !== null && _a !== void 0 ? _a : h("slot", null)))), this.iconEnd && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_74", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_74", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
|
|
128
128
|
}
|
|
129
129
|
renderDropdownList() {
|
|
130
130
|
if (this.type !== 'dropdown' || !this.dropdownOpen)
|
|
131
131
|
return null;
|
|
132
132
|
const dropdownClasses = `dropdown-list dropdown-${this.dropdownDirection}`;
|
|
133
|
-
return (h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index) => (h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index, onClick: () => this.handleDropdownItemClick(index) }, h("div", { class: "dropdown-item-content" }, item.icon && (h("tttx-
|
|
133
|
+
return (h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index) => (h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index, onClick: () => this.handleDropdownItemClick(index) }, h("div", { class: "dropdown-item-content" }, item.icon && (h("tttx-icon_1_9_74", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), h("span", { class: "dropdown-item-label" }, item.label)))))));
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
const classes = [
|
|
@@ -148,7 +148,7 @@ const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
148
148
|
}
|
|
149
149
|
get host() { return this; }
|
|
150
150
|
static get style() { return tttxButtonV2Css; }
|
|
151
|
-
}, [1, "tttx-button-
|
|
151
|
+
}, [1, "tttx-button-v2_1_9_74", {
|
|
152
152
|
"notext": [4],
|
|
153
153
|
"icon": [1],
|
|
154
154
|
"label": [1],
|
|
@@ -169,14 +169,14 @@ function defineCustomElement$1() {
|
|
|
169
169
|
if (typeof customElements === "undefined") {
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
|
-
const components = ["tttx-button-
|
|
172
|
+
const components = ["tttx-button-v2_1_9_74", "tttx-icon_1_9_74"];
|
|
173
173
|
components.forEach(tagName => { switch (tagName) {
|
|
174
|
-
case "tttx-button-
|
|
174
|
+
case "tttx-button-v2_1_9_74":
|
|
175
175
|
if (!customElements.get(tagName)) {
|
|
176
176
|
customElements.define(tagName, TttxButton);
|
|
177
177
|
}
|
|
178
178
|
break;
|
|
179
|
-
case "tttx-
|
|
179
|
+
case "tttx-icon_1_9_74":
|
|
180
180
|
if (!customElements.get(tagName)) {
|
|
181
181
|
defineCustomElement$2();
|
|
182
182
|
}
|
|
@@ -184,7 +184,7 @@ function defineCustomElement$1() {
|
|
|
184
184
|
} });
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
const
|
|
187
|
+
const TttxButtonV2_1_9_74 = TttxButton;
|
|
188
188
|
const defineCustomElement = defineCustomElement$1;
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { TttxButtonV2_1_9_74, defineCustomElement };
|
|
@@ -27,10 +27,10 @@ const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
this._iconcolor = this.iconcolor;
|
|
30
|
-
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-
|
|
30
|
+
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_74", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_74", { icon: this.icon, color: this._iconcolor }))))));
|
|
31
31
|
}
|
|
32
32
|
static get style() { return tttxButtonCss; }
|
|
33
|
-
}, [1, "tttx-
|
|
33
|
+
}, [1, "tttx-button_1_9_74", {
|
|
34
34
|
"notext": [4],
|
|
35
35
|
"icon": [1],
|
|
36
36
|
"iconposition": [1],
|
|
@@ -41,14 +41,14 @@ function defineCustomElement() {
|
|
|
41
41
|
if (typeof customElements === "undefined") {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
const components = ["tttx-
|
|
44
|
+
const components = ["tttx-button_1_9_74", "tttx-icon_1_9_74"];
|
|
45
45
|
components.forEach(tagName => { switch (tagName) {
|
|
46
|
-
case "tttx-
|
|
46
|
+
case "tttx-button_1_9_74":
|
|
47
47
|
if (!customElements.get(tagName)) {
|
|
48
48
|
customElements.define(tagName, TttxButton);
|
|
49
49
|
}
|
|
50
50
|
break;
|
|
51
|
-
case "tttx-
|
|
51
|
+
case "tttx-icon_1_9_74":
|
|
52
52
|
if (!customElements.get(tagName)) {
|
|
53
53
|
defineCustomElement$1();
|
|
54
54
|
}
|
|
@@ -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 TttxButton_1_9_74 extends Components.TttxButton_1_9_74, HTMLElement {}
|
|
4
|
+
export const TttxButton_1_9_74: {
|
|
5
|
+
prototype: TttxButton_1_9_74;
|
|
6
|
+
new (): TttxButton_1_9_74;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|