@3t-transform/threeteeui 1.9.100 → 1.9.102
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_100.cjs.entry.js → tttx-action-dropdown_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_100.cjs.entry.js → tttx-button-v2_localcomponent.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_100.cjs.entry.js → tttx-button_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_100.cjs.entry.js → tttx-chart_localcomponent.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_100.cjs.entry.js → tttx-checkbox-group-caption_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_100.cjs.entry.js → tttx-checkbox-group-heading_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_100.cjs.entry.js → tttx-checkbox-group_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_100.cjs.entry.js → tttx-checkbox_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_100.cjs.entry.js → tttx-comments_localcomponent.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-data-pattern_localcomponent.cjs.entry.js +30 -0
- package/dist/cjs/{tttx-datacard_1_9_100.cjs.entry.js → tttx-datacard_localcomponent.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_100.cjs.entry.js → tttx-dialog-box_localcomponent.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_100.cjs.entry.js → tttx-dialog_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_100.cjs.entry.js → tttx-expander_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_100_4.cjs.entry.js → tttx-filter_localcomponent_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_100.cjs.entry.js → tttx-form_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_100.cjs.entry.js → tttx-graph_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_100.cjs.entry.js → tttx-icon_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_100.cjs.entry.js → tttx-keyvalue-block_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_100_3.cjs.entry.js → tttx-loading-spinner_localcomponent_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_100.cjs.entry.js → tttx-multiselect-box_localcomponent.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_100.cjs.entry.js → tttx-percentage-bar_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_100.cjs.entry.js → tttx-qrcode_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_100.cjs.entry.js → tttx-range-slider_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_100.cjs.entry.js → tttx-select-box_localcomponent.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_100.cjs.entry.js → tttx-skeleton_loader_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_100.cjs.entry.js → tttx-table_localcomponent.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-tabs_1_9_100.cjs.entry.js → tttx-tabs_localcomponent.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag-v2_1_9_100.cjs.entry.js → tttx-tag-v2_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-textarea_1_9_100.cjs.entry.js → tttx-textarea_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_100.cjs.entry.js → tttx-toggle_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_100.cjs.entry.js → tttx-tooltip_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/tttx-tree-view_localcomponent.cjs.entry.js +360 -0
- 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 +4 -4
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +5 -5
- 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.css +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +2 -2
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +25 -25
- 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 +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.css +49 -6
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +130 -24
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +28 -16
- 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_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_100.js → tttx-action-dropdown_localcomponent.js} +7 -7
- package/dist/components/tttx-button-v2.js +7 -7
- package/dist/components/tttx-button-v2_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-button-v2_1_9_100.js → tttx-button-v2_localcomponent.js} +2 -2
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/tttx-button_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-button_1_9_100.js → tttx-button_localcomponent.js} +2 -2
- package/dist/components/tttx-chart_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-chart_1_9_100.js → tttx-chart_localcomponent.js} +11 -11
- package/dist/components/tttx-checkbox-group-caption_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_100.js → tttx-checkbox-group-caption_localcomponent.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_100.js → tttx-checkbox-group-heading_localcomponent.js} +5 -5
- package/dist/components/tttx-checkbox-group_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_100.js → tttx-checkbox-group_localcomponent.js} +5 -5
- package/dist/components/tttx-checkbox_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-checkbox_1_9_100.js → tttx-checkbox_localcomponent.js} +7 -7
- package/dist/components/tttx-comments_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_100.js → tttx-comments_localcomponent.js} +9 -9
- package/dist/components/tttx-data-pattern_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_100.js → tttx-data-pattern_localcomponent.js} +16 -16
- package/dist/components/tttx-datacard_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_100.js → tttx-datacard_localcomponent.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_100.js → tttx-dialog-box_localcomponent.js} +9 -9
- package/dist/components/tttx-dialog_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-dialog_1_9_100.js → tttx-dialog_localcomponent.js} +8 -8
- package/dist/components/tttx-expander_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_100.js → tttx-expander_localcomponent.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/tttx-filter_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-filter_1_9_100.js → tttx-filter_localcomponent.js} +2 -2
- package/dist/components/tttx-form_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-form_1_9_100.js → tttx-form_localcomponent.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/tttx-graph_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-graph_1_9_100.js → tttx-graph_localcomponent.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/tttx-icon_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-icon_1_9_100.js → tttx-icon_localcomponent.js} +2 -2
- package/dist/components/tttx-keyvalue-block_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_100.js → tttx-keyvalue-block_localcomponent.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/tttx-list_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-list_1_9_100.js → tttx-list_localcomponent.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_100.js → tttx-loading-spinner_localcomponent.js} +2 -2
- package/dist/components/tttx-multiselect-box_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_100.js → tttx-multiselect-box_localcomponent.js} +16 -16
- package/dist/components/tttx-percentage-bar_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_100.js → tttx-percentage-bar_localcomponent.js} +6 -6
- package/dist/components/tttx-qrcode_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-qrcode_1_9_100.js → tttx-qrcode_localcomponent.js} +5 -5
- package/dist/components/tttx-range-slider_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_100.js → tttx-range-slider_localcomponent.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_100.js → tttx-select-box_localcomponent.js} +2 -2
- package/dist/components/tttx-skeleton_loader_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_100.js → tttx-skeleton_loader_localcomponent.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_100.js → tttx-sorter_localcomponent.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_100.js → tttx-standalone-input_localcomponent.js} +2 -2
- package/dist/components/tttx-table_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-table_1_9_100.js → tttx-table_localcomponent.js} +9 -9
- package/dist/components/tttx-tabs_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-tabs_1_9_100.js → tttx-tabs_localcomponent.js} +9 -9
- package/dist/components/tttx-tag-v2_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-tag-v2_1_9_100.js → tttx-tag-v2_localcomponent.js} +7 -7
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/tttx-tag_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-tag_1_9_100.js → tttx-tag_localcomponent.js} +2 -2
- package/dist/components/tttx-textarea_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_100.js → tttx-textarea_localcomponent.js} +6 -6
- package/dist/components/tttx-toggle_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_100.js → tttx-toggle_localcomponent.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_100.js → tttx-toolbar_localcomponent.js} +2 -2
- package/dist/components/tttx-tooltip_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_100.js → tttx-tooltip_localcomponent.js} +5 -5
- package/dist/components/tttx-tree-view_localcomponent.d.ts +11 -0
- package/dist/components/tttx-tree-view_localcomponent.js +389 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_100.entry.js → tttx-action-dropdown_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_100.entry.js → tttx-button-v2_localcomponent.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_100.entry.js → tttx-button_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_100.entry.js → tttx-chart_localcomponent.entry.js} +4 -4
- package/dist/esm/{tttx-checkbox-group-caption_1_9_100.entry.js → tttx-checkbox-group-caption_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_100.entry.js → tttx-checkbox-group-heading_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_100.entry.js → tttx-checkbox-group_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_100.entry.js → tttx-checkbox_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_100.entry.js → tttx-comments_localcomponent.entry.js} +4 -4
- package/dist/esm/tttx-data-pattern_localcomponent.entry.js +26 -0
- package/dist/esm/{tttx-datacard_1_9_100.entry.js → tttx-datacard_localcomponent.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +1 -1
- package/dist/esm/{tttx-dialog-box_1_9_100.entry.js → tttx-dialog-box_localcomponent.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_100.entry.js → tttx-dialog_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_100.entry.js → tttx-expander_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_100_4.entry.js → tttx-filter_localcomponent_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_100.entry.js → tttx-form_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_100.entry.js → tttx-graph_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_100.entry.js → tttx-icon_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_100.entry.js → tttx-keyvalue-block_localcomponent.entry.js} +1 -1
- package/dist/esm/tttx-loading-spinner_localcomponent_3.entry.js +183 -0
- package/dist/esm/{tttx-multiselect-box_1_9_100.entry.js → tttx-multiselect-box_localcomponent.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_100.entry.js → tttx-percentage-bar_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_100.entry.js → tttx-qrcode_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_100.entry.js → tttx-range-slider_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_100.entry.js → tttx-select-box_localcomponent.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_100.entry.js → tttx-skeleton_loader_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_100.entry.js → tttx-table_localcomponent.entry.js} +3 -3
- package/dist/esm/{tttx-tabs_1_9_100.entry.js → tttx-tabs_localcomponent.entry.js} +4 -4
- package/dist/esm/{tttx-tag-v2_1_9_100.entry.js → tttx-tag-v2_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-textarea_1_9_100.entry.js → tttx-textarea_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_100.entry.js → tttx-toggle_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_100.entry.js → tttx-tooltip_localcomponent.entry.js} +1 -1
- package/dist/esm/tttx-tree-view_localcomponent.entry.js +356 -0
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-00a849cf.entry.js +1 -1
- package/dist/tttx/p-1623f3cf.entry.js +1 -1
- package/dist/tttx/p-21707b8d.entry.js +1 -1
- package/dist/tttx/p-2251ab85.entry.js +1 -1
- package/dist/tttx/p-2d19c46c.entry.js +1 -1
- package/dist/tttx/p-34e0e487.entry.js +1 -1
- package/dist/tttx/p-358eaa44.entry.js +1 -1
- package/dist/tttx/p-362999b3.entry.js +1 -1
- package/dist/tttx/p-3ec67d75.entry.js +1 -1
- package/dist/tttx/p-41b69e01.entry.js +1 -1
- package/dist/tttx/p-41f0bf7f.entry.js +1 -1
- package/dist/tttx/p-44f0af69.entry.js +1 -1
- package/dist/tttx/p-4664d065.entry.js +1 -1
- package/dist/tttx/p-5d289334.entry.js +1 -1
- package/dist/tttx/p-6ec18b4a.entry.js +1 -1
- package/dist/tttx/p-7b5b0670.entry.js +1 -1
- package/dist/tttx/p-7d1712fe.entry.js +1 -1
- package/dist/tttx/p-82b4e575.entry.js +1 -1
- package/dist/tttx/p-86e4c8cc.entry.js +1 -0
- package/dist/tttx/p-a1b8ecda.entry.js +1 -1
- package/dist/tttx/p-a43e2c5e.entry.js +1 -1
- package/dist/tttx/p-b161205b.entry.js +1 -1
- package/dist/tttx/p-b3f49d83.entry.js +1 -1
- package/dist/tttx/p-b8cc0cb2.entry.js +1 -1
- package/dist/tttx/p-b9003a76.entry.js +1 -1
- package/dist/tttx/p-bb59054f.entry.js +1 -1
- package/dist/tttx/p-c66bc14c.entry.js +1 -1
- package/dist/tttx/p-c8051143.entry.js +1 -1
- package/dist/tttx/p-ca93f786.entry.js +1 -1
- package/dist/tttx/p-d21b0507.entry.js +1 -1
- package/dist/tttx/p-d4c4edbd.entry.js +1 -1
- package/dist/tttx/p-d945d492.entry.js +1 -1
- package/dist/tttx/p-e21e3a9c.entry.js +1 -1
- package/dist/tttx/p-f0c1380f.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/helper/helper.d.ts +1 -0
- package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.d.ts +11 -2
- package/dist/types/components.d.ts +451 -451
- package/package.json +1 -1
- package/dist/cjs/tttx-data-pattern_1_9_100.cjs.entry.js +0 -30
- package/dist/cjs/tttx-tree-view_1_9_100.cjs.entry.js +0 -255
- package/dist/components/tttx-action-dropdown_1_9_100.d.ts +0 -11
- package/dist/components/tttx-button-v2_1_9_100.d.ts +0 -11
- package/dist/components/tttx-button_1_9_100.d.ts +0 -11
- package/dist/components/tttx-chart_1_9_100.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_100.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_100.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_100.d.ts +0 -11
- package/dist/components/tttx-checkbox_1_9_100.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_100.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_100.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_100.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_100.d.ts +0 -11
- package/dist/components/tttx-dialog_1_9_100.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_100.d.ts +0 -11
- package/dist/components/tttx-filter_1_9_100.d.ts +0 -11
- package/dist/components/tttx-form_1_9_100.d.ts +0 -11
- package/dist/components/tttx-graph_1_9_100.d.ts +0 -11
- package/dist/components/tttx-icon_1_9_100.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_100.d.ts +0 -11
- package/dist/components/tttx-list_1_9_100.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_100.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_100.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_100.d.ts +0 -11
- package/dist/components/tttx-qrcode_1_9_100.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_100.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_100.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_100.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_100.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_100.d.ts +0 -11
- package/dist/components/tttx-table_1_9_100.d.ts +0 -11
- package/dist/components/tttx-tabs_1_9_100.d.ts +0 -11
- package/dist/components/tttx-tag-v2_1_9_100.d.ts +0 -11
- package/dist/components/tttx-tag_1_9_100.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_100.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_100.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_100.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_100.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_100.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_100.js +0 -283
- package/dist/esm/tttx-data-pattern_1_9_100.entry.js +0 -26
- package/dist/esm/tttx-loading-spinner_1_9_100_3.entry.js +0 -183
- package/dist/esm/tttx-tree-view_1_9_100.entry.js +0 -251
- package/dist/tttx/p-2527a4d3.entry.js +0 -1
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { r as registerInstance, h, c as createEvent, H as Host } from './index-b614efb4.js';
|
|
2
|
+
|
|
3
|
+
const tttxLoadingSpinnerCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.loading-container{display:flex;flex-direction:column;align-items:center}.loading-box{display:flex;align-items:center;justify-content:center;margin-bottom:16px}.loading-text{font-size:16px;font-weight:400;text-align:center;border-radius:4px;padding:12px 16px;color:#666;box-shadow:0 0 1px 0 rgba(33, 33, 33, 0.16)}.spinner{position:relative;box-sizing:border-box;animation:rotation 1s linear infinite;transform-origin:center}.spinner.small{height:20px;width:20px}.spinner.large{height:60px;width:60px}.spinner .spinner-circle{transform-origin:center}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
4
|
+
|
|
5
|
+
const TttxLoadingSpinner = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.defaultMessageSchema = [
|
|
9
|
+
{ threshold: 2, message: 'Loading please wait…' },
|
|
10
|
+
{ threshold: 4, message: 'Processing your request…' },
|
|
11
|
+
{ threshold: Infinity, message: 'Hang tight, almost there…' },
|
|
12
|
+
];
|
|
13
|
+
this.loadingMessage = false;
|
|
14
|
+
this.size = 'large';
|
|
15
|
+
this.color = '#2e6dcc';
|
|
16
|
+
this.cardBackgroundColor = undefined;
|
|
17
|
+
this.message = undefined;
|
|
18
|
+
this.customMessageSchema = undefined;
|
|
19
|
+
this.timeElapsed = 0;
|
|
20
|
+
}
|
|
21
|
+
componentDidLoad() {
|
|
22
|
+
if (this.loadingMessage && !this.message && !this.timer) {
|
|
23
|
+
this.startTimer();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
disconnectedCallback() {
|
|
27
|
+
this.clearTimer();
|
|
28
|
+
}
|
|
29
|
+
startTimer() {
|
|
30
|
+
this.timer = setInterval(() => {
|
|
31
|
+
this.timeElapsed += 1;
|
|
32
|
+
}, 1000);
|
|
33
|
+
}
|
|
34
|
+
clearTimer() {
|
|
35
|
+
if (this.timer) {
|
|
36
|
+
clearInterval(this.timer);
|
|
37
|
+
this.timer = undefined;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
getEffectiveSchema() {
|
|
41
|
+
// Use custom schema if valid, otherwise fallback
|
|
42
|
+
return Array.isArray(this.customMessageSchema) && this.customMessageSchema.length > 0
|
|
43
|
+
? this.customMessageSchema
|
|
44
|
+
: this.defaultMessageSchema;
|
|
45
|
+
}
|
|
46
|
+
getMessageFromSchema() {
|
|
47
|
+
const schema = this.getEffectiveSchema();
|
|
48
|
+
for (const { threshold, message } of schema) {
|
|
49
|
+
if (this.timeElapsed <= threshold) {
|
|
50
|
+
return message;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return ''; // fallback, should not occur if Infinity is present
|
|
54
|
+
}
|
|
55
|
+
getDynamicMessage() {
|
|
56
|
+
var _a;
|
|
57
|
+
return (_a = this.message) !== null && _a !== void 0 ? _a : this.getMessageFromSchema();
|
|
58
|
+
}
|
|
59
|
+
renderMessage() {
|
|
60
|
+
if (!this.loadingMessage)
|
|
61
|
+
return null;
|
|
62
|
+
return (h("div", { class: "loading-text", style: this.cardBackgroundColor ? { 'background-color': this.cardBackgroundColor } : {} }, this.getDynamicMessage()));
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
const size = this.size === 'small' ? 20 : 60;
|
|
66
|
+
const strokeWidth = this.size === 'small' ? 4 : 8;
|
|
67
|
+
const radius = (size - strokeWidth) / 2;
|
|
68
|
+
const circumference = 2 * Math.PI * radius;
|
|
69
|
+
const strokeDasharray = circumference;
|
|
70
|
+
const strokeDashoffset = circumference * 0.80;
|
|
71
|
+
return (h("div", { class: "loading-container" }, h("div", { class: "loading-box" }, h("svg", { class: `spinner ${this.size}`, viewBox: `0 0 ${size} ${size}`, style: { '--spinner-color': this.color } }, h("circle", { class: "spinner-ring", cx: size / 2, cy: size / 2, r: radius, fill: "none", stroke: "#e0e0e0", "stroke-width": strokeWidth, opacity: "0.3" }), h("circle", { class: "spinner-circle", cx: size / 2, cy: size / 2, r: radius, fill: "none", stroke: this.color, "stroke-width": strokeWidth, "stroke-dasharray": strokeDasharray, "stroke-dashoffset": strokeDashoffset, "stroke-linecap": "round" }))), this.renderMessage()));
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
|
|
75
|
+
|
|
76
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_localcomponent{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_localcomponent{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_localcomponent{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_localcomponent .optional.sc-tttx-standalone-input_localcomponent{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent{position:relative}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent .left-icons.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent .right-icons.sc-tttx-standalone-input_localcomponent{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent .left-icons.sc-tttx-standalone-input_localcomponent tttx-icon.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent .right-icons.sc-tttx-standalone-input_localcomponent tttx-icon.sc-tttx-standalone-input_localcomponent{height:24px;width:24px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent .left-icons.sc-tttx-standalone-input_localcomponent{left:8px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent .right-icons.sc-tttx-standalone-input_localcomponent{right:8px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.sc-tttx-standalone-input_localcomponent{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.has-input-icon.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.has-input-icon.sc-tttx-standalone-input_localcomponent{padding-left:40px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.has-input-icon.has-left-icon.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_localcomponent{padding-left:72px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.has-left-icon.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.has-left-icon.sc-tttx-standalone-input_localcomponent{padding-left:40px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.has-right-icon.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.has-right-icon.sc-tttx-standalone-input_localcomponent{padding-right:40px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.invalid.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.invalid.sc-tttx-standalone-input_localcomponent{border:1px solid #dc0000}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.sc-tttx-standalone-input_localcomponent:not([type=submit]),label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.sc-tttx-standalone-input_localcomponent:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input[type=radio].sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea[type=radio].sc-tttx-standalone-input_localcomponent{width:20px;height:20px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input[type=date].sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea[type=date].sc-tttx-standalone-input_localcomponent{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input[readonly].sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea[readonly].sc-tttx-standalone-input_localcomponent{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.sc-tttx-standalone-input_localcomponent:focus,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.sc-tttx-standalone-input_localcomponent:focus{border-color:#1479c6}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent input.sc-tttx-standalone-input_localcomponent:focus-visible,label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.sc-tttx-standalone-input_localcomponent:focus-visible{outline:none}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.sc-tttx-standalone-input_localcomponent{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_localcomponent .outer-container.sc-tttx-standalone-input_localcomponent textarea.resize-none.sc-tttx-standalone-input_localcomponent{resize:none}label.sc-tttx-standalone-input_localcomponent .outer-container.inputBlock.sc-tttx-standalone-input_localcomponent{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_localcomponent .outer-container.inputBlock.sc-tttx-standalone-input_localcomponent .left-icons.sc-tttx-standalone-input_localcomponent,label.sc-tttx-standalone-input_localcomponent .outer-container.inputBlock.sc-tttx-standalone-input_localcomponent .right-icons.sc-tttx-standalone-input_localcomponent{margin-top:4px}label.sc-tttx-standalone-input_localcomponent .outer-container.inputBlock.readonly.sc-tttx-standalone-input_localcomponent{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_localcomponent .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_localcomponent{display:block}label.sc-tttx-standalone-input_localcomponent .outer-container.inputInline.sc-tttx-standalone-input_localcomponent{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_localcomponent .outer-container.inputInline.sc-tttx-standalone-input_localcomponent input.sc-tttx-standalone-input_localcomponent{margin-top:0}label.sc-tttx-standalone-input_localcomponent .secondarylabel.sc-tttx-standalone-input_localcomponent{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_localcomponent .errorBubble.sc-tttx-standalone-input_localcomponent{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-standalone-input_localcomponent .errorBubble.sc-tttx-standalone-input_localcomponent:not(.visible){display:none}label.sc-tttx-standalone-input_localcomponent .errorBubble.sc-tttx-standalone-input_localcomponent span.sc-tttx-standalone-input_localcomponent{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_localcomponent{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.sc-tttx-standalone-input_localcomponent-h{display:block}";
|
|
77
|
+
|
|
78
|
+
const TttxInput = class {
|
|
79
|
+
constructor(hostRef) {
|
|
80
|
+
registerInstance(this, hostRef);
|
|
81
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
82
|
+
this.focusChanged = createEvent(this, "focusChanged", 7);
|
|
83
|
+
this.blurChanged = createEvent(this, "blurChanged", 7);
|
|
84
|
+
this.invalidChanged = createEvent(this, "invalidChanged", 7);
|
|
85
|
+
this.inputIconClick = createEvent(this, "inputIconClick", 7);
|
|
86
|
+
this.leftIconClick = createEvent(this, "leftIconClick", 7);
|
|
87
|
+
this.rightIconClick = createEvent(this, "rightIconClick", 7);
|
|
88
|
+
this.label = undefined;
|
|
89
|
+
this.secondarylabel = undefined;
|
|
90
|
+
this.showerrormsg = undefined;
|
|
91
|
+
this.showerrorbubble = true;
|
|
92
|
+
this.errormsg = undefined;
|
|
93
|
+
this.iconleft = undefined;
|
|
94
|
+
this.iconleftcolor = 'grey';
|
|
95
|
+
this.iconright = undefined;
|
|
96
|
+
this.iconrightcolor = 'grey';
|
|
97
|
+
this.inputicon = undefined;
|
|
98
|
+
this.inputiconcolor = 'grey';
|
|
99
|
+
this.inline = undefined;
|
|
100
|
+
this.inputautocapitalize = undefined;
|
|
101
|
+
this.inputautofocus = undefined;
|
|
102
|
+
this.inputkeyhint = undefined;
|
|
103
|
+
this.inputindex = undefined;
|
|
104
|
+
this.inputtitle = undefined;
|
|
105
|
+
this.autocomplete = undefined;
|
|
106
|
+
this.checked = undefined;
|
|
107
|
+
this.disabled = undefined;
|
|
108
|
+
this.max = undefined;
|
|
109
|
+
this.maxlength = undefined;
|
|
110
|
+
this.min = undefined;
|
|
111
|
+
this.minlength = undefined;
|
|
112
|
+
this.name = undefined;
|
|
113
|
+
this.pattern = undefined;
|
|
114
|
+
this.placeholder = undefined;
|
|
115
|
+
this.readonly = undefined;
|
|
116
|
+
this.required = undefined;
|
|
117
|
+
this.step = undefined;
|
|
118
|
+
this.type = 'text';
|
|
119
|
+
this.value = undefined;
|
|
120
|
+
}
|
|
121
|
+
handleChange(event) {
|
|
122
|
+
const target = event.target;
|
|
123
|
+
this.value = target.value;
|
|
124
|
+
this.valueChanged.emit(target.value);
|
|
125
|
+
}
|
|
126
|
+
handleFocus(event) {
|
|
127
|
+
const target = event.target;
|
|
128
|
+
this.focusChanged.emit(target.value);
|
|
129
|
+
}
|
|
130
|
+
handleBlur(event) {
|
|
131
|
+
const target = event.target;
|
|
132
|
+
this.blurChanged.emit(target.value);
|
|
133
|
+
}
|
|
134
|
+
handleInvalid(event) {
|
|
135
|
+
event.preventDefault();
|
|
136
|
+
const target = event.target;
|
|
137
|
+
this.invalidChanged.emit(target.value);
|
|
138
|
+
}
|
|
139
|
+
handleInputIconClick(event) {
|
|
140
|
+
event.preventDefault();
|
|
141
|
+
this.inputIconClick.emit();
|
|
142
|
+
}
|
|
143
|
+
handleLeftIconClick(event) {
|
|
144
|
+
event.preventDefault();
|
|
145
|
+
this.leftIconClick.emit();
|
|
146
|
+
}
|
|
147
|
+
handleRightIconClick(event) {
|
|
148
|
+
event.preventDefault();
|
|
149
|
+
this.rightIconClick.emit();
|
|
150
|
+
}
|
|
151
|
+
render() {
|
|
152
|
+
const classNames = [
|
|
153
|
+
this.showerrormsg ? 'invalid' : '',
|
|
154
|
+
this.inputicon ? 'has-input-icon' : '',
|
|
155
|
+
this.iconleft ? 'has-left-icon' : '',
|
|
156
|
+
this.iconright ? 'has-right-icon' : '',
|
|
157
|
+
].join(' ');
|
|
158
|
+
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_localcomponent", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_localcomponent", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_localcomponent", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
TttxInput.style = tttxStandaloneInputCss;
|
|
162
|
+
|
|
163
|
+
const tttxTagCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.blackout{background:#363636;border:1px solid #363636;color:white}.blackout:active{background:#212121;border:1px solid #212121}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.blackout:hover{background:#212121;border:1px solid #212121}}:host{display:inline-block}.tag{display:inline-flex;align-items:center;border-radius:20px;padding:4px;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:400;width:max-content}.tag_icon{padding-top:4px}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}";
|
|
164
|
+
|
|
165
|
+
const TttxTag = class {
|
|
166
|
+
constructor(hostRef) {
|
|
167
|
+
registerInstance(this, hostRef);
|
|
168
|
+
this.text = undefined;
|
|
169
|
+
this.color = '#d5d5d5';
|
|
170
|
+
this.textColor = '#212121';
|
|
171
|
+
this.hasIcon = false;
|
|
172
|
+
this.icon = 'check_circle';
|
|
173
|
+
this.iconColor = '#397A4C';
|
|
174
|
+
this.iconSize = 24;
|
|
175
|
+
}
|
|
176
|
+
render() {
|
|
177
|
+
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
178
|
+
h("tttx-icon_localcomponent", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
TttxTag.style = tttxTagCss;
|
|
182
|
+
|
|
183
|
+
export { TttxLoadingSpinner as tttx_loading_spinner_localcomponent, TttxInput as tttx_standalone_input_localcomponent, TttxTag as tttx_tag_localcomponent };
|
|
@@ -121,9 +121,9 @@ const TttxMultiselectBox = class {
|
|
|
121
121
|
}
|
|
122
122
|
// render priority options at the top of the dropdown list
|
|
123
123
|
return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
124
|
-
h(Fragment, null, h("tttx-
|
|
124
|
+
h(Fragment, null, h("tttx-tag_localcomponent", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
125
125
|
h(Fragment, null, usingPriority &&
|
|
126
|
-
h("tttx-
|
|
126
|
+
h("tttx-tag_localcomponent", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
127
127
|
}
|
|
128
128
|
dropdownOption(option) {
|
|
129
129
|
// This is tested in e2e tests
|
|
@@ -134,11 +134,11 @@ const TttxMultiselectBox = class {
|
|
|
134
134
|
const sanitisedHTML = purify.sanitize(option.html, domSanitiserOptions);
|
|
135
135
|
// This is tested in e2e tests
|
|
136
136
|
/* istanbul ignore next */
|
|
137
|
-
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
137
|
+
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_localcomponent", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { innerHTML: sanitisedHTML })));
|
|
138
138
|
}
|
|
139
139
|
// This is tested in e2e tests
|
|
140
140
|
/* istanbul ignore next */
|
|
141
|
-
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
141
|
+
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_localcomponent", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { class: "plaintext-option" }, option.label)));
|
|
142
142
|
}
|
|
143
143
|
// This is tested in e2e tests
|
|
144
144
|
/* istanbul ignore next */
|
|
@@ -168,9 +168,9 @@ const TttxMultiselectBox = class {
|
|
|
168
168
|
return;
|
|
169
169
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
170
170
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
171
|
-
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-
|
|
171
|
+
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_localcomponent", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
172
172
|
/* istanbul ignore next */
|
|
173
|
-
h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
173
|
+
h("div", { class: "searchbox" }, h("tttx-standalone-input_localcomponent", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), h("div", { class: "dropdown-options-list" }, this.isLoading ? (h("tttx-loading-spinner_localcomponent", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), h("div", { class: 'footer' }, h("tttx-button_localcomponent", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_localcomponent", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
174
174
|
}
|
|
175
175
|
get el() { return getElement(this); }
|
|
176
176
|
static get watchers() { return {
|
|
@@ -179,4 +179,4 @@ const TttxMultiselectBox = class {
|
|
|
179
179
|
};
|
|
180
180
|
TttxMultiselectBox.style = tttxMultiselectBoxCss;
|
|
181
181
|
|
|
182
|
-
export { TttxMultiselectBox as
|
|
182
|
+
export { TttxMultiselectBox as tttx_multiselect_box_localcomponent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-b614efb4.js';
|
|
2
2
|
|
|
3
|
-
const tttxPercentageBarCss = ".sc-tttx-percentage-
|
|
3
|
+
const tttxPercentageBarCss = ".sc-tttx-percentage-bar_localcomponent-h{display:block}.progress.sc-tttx-percentage-bar_localcomponent{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_localcomponent .bar.sc-tttx-percentage-bar_localcomponent{height:20px}";
|
|
4
4
|
|
|
5
5
|
const TttxPercentageBar = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -58,4 +58,4 @@ const TttxPercentageBar = class {
|
|
|
58
58
|
};
|
|
59
59
|
TttxPercentageBar.style = tttxPercentageBarCss;
|
|
60
60
|
|
|
61
|
-
export { TttxPercentageBar as
|
|
61
|
+
export { TttxPercentageBar as tttx_percentage_bar_localcomponent };
|
package/dist/esm/{tttx-select-box_1_9_100.entry.js → tttx-select-box_localcomponent.entry.js}
RENAMED
|
@@ -104,7 +104,7 @@ const TttxSelectBox = class {
|
|
|
104
104
|
let title;
|
|
105
105
|
let subtitle;
|
|
106
106
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
107
|
-
const icon = h("tttx-
|
|
107
|
+
const icon = h("tttx-icon_localcomponent", { icon: chevronIcon, color: "black" });
|
|
108
108
|
let chevron = h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
109
109
|
if (!this.selectedItem) {
|
|
110
110
|
title = h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -121,7 +121,7 @@ const TttxSelectBox = class {
|
|
|
121
121
|
chevron = h("div", { class: "dropdown-selector-chevron-offset" }, icon);
|
|
122
122
|
}
|
|
123
123
|
return (h(Fragment, null, h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
|
|
124
|
-
h("tttx-
|
|
124
|
+
h("tttx-icon_localcomponent", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
renderDropdownOptions(options) {
|
|
@@ -144,9 +144,9 @@ const TttxSelectBox = class {
|
|
|
144
144
|
}
|
|
145
145
|
// render priority options at the top of the dropdown list
|
|
146
146
|
return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
147
|
-
h(Fragment, null, h("tttx-
|
|
147
|
+
h(Fragment, null, h("tttx-tag_localcomponent", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
148
148
|
h(Fragment, null, usingPriority &&
|
|
149
|
-
h("tttx-
|
|
149
|
+
h("tttx-tag_localcomponent", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
150
150
|
}
|
|
151
151
|
dropdownOption(option) {
|
|
152
152
|
const selected = this.selectedItem && option.value === this.selectedItem.value;
|
|
@@ -233,7 +233,7 @@ const TttxSelectBox = class {
|
|
|
233
233
|
return;
|
|
234
234
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
235
235
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
236
|
-
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
236
|
+
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-input_localcomponent", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), h("div", { class: "dropdown-options-list", onScroll: this.onSelectScroll.bind(this) }, !this.isLoading && (this.renderDropdownOptions(this._optionsData)), (this.isLoading || this.loadingNextExternalPage) && (h("tttx-loading-spinner_localcomponent", { class: 'loading-style' })))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_localcomponent", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
|
|
237
237
|
}
|
|
238
238
|
get el() { return getElement(this); }
|
|
239
239
|
static get watchers() { return {
|
|
@@ -243,4 +243,4 @@ const TttxSelectBox = class {
|
|
|
243
243
|
};
|
|
244
244
|
TttxSelectBox.style = tttxSelectBoxCss;
|
|
245
245
|
|
|
246
|
-
export { TttxSelectBox as
|
|
246
|
+
export { TttxSelectBox as tttx_select_box_localcomponent };
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-b
|
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
5
|
-
const tttxTableCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.skeleton{animation:skeleton-loading 1s linear infinite alternate;border-radius:4px;width:100%}@keyframes skeleton-loading{0%{background-color:#c2cfd6}100%{background-color:#f0f3f5}}:host{display:block}table{width:100%;border-collapse:collapse;table-layout:fixed;box-sizing:border-box;min-width:600px}thead tr{height:52px}thead tr td{text-align:left;padding-left:8px 16px;min-width:40px}tbody tr{height:52px}tr{border-bottom:1px solid #D4D4D4}.selected{background-color:#ebfbfc}th{text-align:left;padding:8px 0;min-width:40px}td{text-align:left;padding:16px 0;min-width:40px}.cell-spacing a.table-link{color:#000000;text-decoration:none;cursor:pointer}.cell-spacing a.table-link:hover{text-decoration:underline}.skeleton{height:24px;display:block}.header-typography,.cell-typography{font-family:\"Roboto\", sans-serif;font-size:14px;font-style:normal;line-height:normal}.header-typography{font-weight:600}.cell-typography{font-weight:normal;color:#212121}.clickable{cursor:pointer}.pagination-footer{margin-top:12px;padding:8px 4px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#4c4c4c}.pagination-text{opacity:0.75}.pagination-buttons{display:flex;align-items:center;gap:10px}.pagination-buttons tttx-button-
|
|
5
|
+
const tttxTableCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.skeleton{animation:skeleton-loading 1s linear infinite alternate;border-radius:4px;width:100%}@keyframes skeleton-loading{0%{background-color:#c2cfd6}100%{background-color:#f0f3f5}}:host{display:block}table{width:100%;border-collapse:collapse;table-layout:fixed;box-sizing:border-box;min-width:600px}thead tr{height:52px}thead tr td{text-align:left;padding-left:8px 16px;min-width:40px}tbody tr{height:52px}tr{border-bottom:1px solid #D4D4D4}.selected{background-color:#ebfbfc}th{text-align:left;padding:8px 0;min-width:40px}td{text-align:left;padding:16px 0;min-width:40px}.cell-spacing a.table-link{color:#000000;text-decoration:none;cursor:pointer}.cell-spacing a.table-link:hover{text-decoration:underline}.skeleton{height:24px;display:block}.header-typography,.cell-typography{font-family:\"Roboto\", sans-serif;font-size:14px;font-style:normal;line-height:normal}.header-typography{font-weight:600}.cell-typography{font-weight:normal;color:#212121}.clickable{cursor:pointer}.pagination-footer{margin-top:12px;padding:8px 4px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#4c4c4c}.pagination-text{opacity:0.75}.pagination-buttons{display:flex;align-items:center;gap:10px}.pagination-buttons tttx-button-v2_localcomponent{--button-bg:#ffffff;--button-border:#d4d4d4;--button-color:#525252;--button-bg-hover:#f5f5f5;--button-border-hover:#d4d4d4;--button-bg-active:#f5f5f5;--button-border-active:#d4d4d4;--button-focus-outline:none;--button-bg-disabled:#e5e5e5;--button-color-disabled:#737373;--button-border-disabled:#d4d4d4;--button-opacity-disabled:1}.nav-btn{width:32px;height:32px;border-radius:8px;background:#fff;border:1px solid #d5d5d5;cursor:pointer;font-size:14px;line-height:0;display:flex;justify-content:center;align-items:center;transition:background 0.15s ease, border 0.15s ease}.nav-btn:hover:not(:disabled){background:#f0f0f0}.nav-btn:disabled{opacity:0.35;cursor:not-allowed}tbody tr:hover{background-color:#f5f5f5}";
|
|
6
6
|
|
|
7
7
|
const TttxTable = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -67,7 +67,7 @@ const TttxTable = class {
|
|
|
67
67
|
: this.currentPage * this.rowsPerPage + 1;
|
|
68
68
|
const end = Math.min(start + this.data.length - 1, this.totalRecords);
|
|
69
69
|
const showPagination = this.totalPages > 1;
|
|
70
|
-
return (h(Host, null, h("div", { style: { width: '100%', overflowX: 'auto' } }, h("table", null, h("thead", null, h("tr", null, this.headers.map((header, index) => (h("th", { class: "header-typography", onClick: () => this.headerClickedHandler(header), innerHTML: purify.sanitize(header.label, domSanitiserOptions), draggable: this.draggableHeaders, onDragStart: () => (this.draggedHeaderIndex = index), onDragOver: (e) => e.preventDefault(), onDrop: () => this.headerOrderChanged.emit(this.headers.map((h) => h.key)) }))))), h("tbody", null, this.loading ? (h("tr", null, h("td", { class: "cell-spacing", colSpan: this.headers.length }, "Loading\u2026"))) : (this.data.map((row) => (h("tr", { onClick: () => this.rowClicked.emit(row) }, this.headers.map((header) => (h("td", { class: "cell-spacing", innerHTML: purify.sanitize(row[header.key], domSanitiserOptions) })))))))))), showPagination && (h("div", { class: "pagination-footer" }, h("div", { class: "pagination-text" }, "Showing ", start, " \u2013 ", end, " of ", this.totalRecords), h("div", { class: "pagination-buttons" }, h("tttx-button-
|
|
70
|
+
return (h(Host, null, h("div", { style: { width: '100%', overflowX: 'auto' } }, h("table", null, h("thead", null, h("tr", null, this.headers.map((header, index) => (h("th", { class: "header-typography", onClick: () => this.headerClickedHandler(header), innerHTML: purify.sanitize(header.label, domSanitiserOptions), draggable: this.draggableHeaders, onDragStart: () => (this.draggedHeaderIndex = index), onDragOver: (e) => e.preventDefault(), onDrop: () => this.headerOrderChanged.emit(this.headers.map((h) => h.key)) }))))), h("tbody", null, this.loading ? (h("tr", null, h("td", { class: "cell-spacing", colSpan: this.headers.length }, "Loading\u2026"))) : (this.data.map((row) => (h("tr", { onClick: () => this.rowClicked.emit(row) }, this.headers.map((header) => (h("td", { class: "cell-spacing", innerHTML: purify.sanitize(row[header.key], domSanitiserOptions) })))))))))), showPagination && (h("div", { class: "pagination-footer" }, h("div", { class: "pagination-text" }, "Showing ", start, " \u2013 ", end, " of ", this.totalRecords), h("div", { class: "pagination-buttons" }, h("tttx-button-v2_localcomponent", { design: "default", size: "S", iconStart: "keyboard_arrow_left", iconcolor: this.currentPage === 0 ? '#737373' : '#525252', notext: true, disabled: this.currentPage === 0, onClick: () => this.changePage(this.currentPage - 1) }), h("tttx-button-v2_localcomponent", { design: "default", size: "S", iconStart: "keyboard_arrow_right", iconcolor: this.currentPage === this.totalPages - 1 ? '#737373' : '#525252', notext: true, disabled: this.currentPage === this.totalPages - 1, onClick: () => this.changePage(this.currentPage + 1) }))))));
|
|
71
71
|
}
|
|
72
72
|
static get watchers() { return {
|
|
73
73
|
"page": ["onPagePropChange"]
|
|
@@ -75,4 +75,4 @@ const TttxTable = class {
|
|
|
75
75
|
};
|
|
76
76
|
TttxTable.style = tttxTableCss;
|
|
77
77
|
|
|
78
|
-
export { TttxTable as
|
|
78
|
+
export { TttxTable as tttx_table_localcomponent };
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-b
|
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
5
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
5
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_localcomponent{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_localcomponent-h{display:block}.tab-bar.sc-tttx-tabs_localcomponent{display:flex;height:52px}.tab-bar.sc-tttx-tabs_localcomponent>.left-navigation.sc-tttx-tabs_localcomponent,.tab-bar.sc-tttx-tabs_localcomponent>.right-navigation.sc-tttx-tabs_localcomponent{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_localcomponent>.left-navigation.sc-tttx-tabs_localcomponent>*.sc-tttx-tabs_localcomponent,.tab-bar.sc-tttx-tabs_localcomponent>.right-navigation.sc-tttx-tabs_localcomponent>*.sc-tttx-tabs_localcomponent{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_localcomponent>.tabs-container.sc-tttx-tabs_localcomponent{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_localcomponent>.tabs-container.wide.sc-tttx-tabs_localcomponent{flex-grow:1}.tab-bar.sc-tttx-tabs_localcomponent>.tabs-container.sc-tttx-tabs_localcomponent>*[role=tab].sc-tttx-tabs_localcomponent{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_localcomponent>.tabs-container.sc-tttx-tabs_localcomponent>*[role=tab].sc-tttx-tabs_localcomponent:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_localcomponent>.tabs-container.sc-tttx-tabs_localcomponent>*[role=tab][aria-selected].sc-tttx-tabs_localcomponent{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
6
6
|
|
|
7
7
|
const TttxTabs = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -79,7 +79,7 @@ const TttxTabs = class {
|
|
|
79
79
|
}
|
|
80
80
|
generateTab(tab) {
|
|
81
81
|
var _a, _b, _c;
|
|
82
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-
|
|
82
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_localcomponent", { 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 }));
|
|
83
83
|
return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
84
84
|
this.handleTabClick(tab);
|
|
85
85
|
} }, tabTitle));
|
|
@@ -98,7 +98,7 @@ const TttxTabs = class {
|
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
101
|
-
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-
|
|
101
|
+
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_localcomponent", { 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_localcomponent", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
102
102
|
}
|
|
103
103
|
static get watchers() { return {
|
|
104
104
|
"tabs": ["onDataChange"]
|
|
@@ -106,4 +106,4 @@ const TttxTabs = class {
|
|
|
106
106
|
};
|
|
107
107
|
TttxTabs.style = tttxTabsCss;
|
|
108
108
|
|
|
109
|
-
export { TttxTabs as
|
|
109
|
+
export { TttxTabs as tttx_tabs_localcomponent };
|
|
@@ -70,9 +70,9 @@ const TttxTagV2 = class {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
const colors = this.getColors();
|
|
73
|
-
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-
|
|
73
|
+
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_localcomponent", { 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_localcomponent", { role: "icon", class: "tag_icon", "aria-label": colors.text, icon: this.iconEnd, color: colors.icon, size: this.iconSize })))));
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
TttxTagV2.style = tttxTagV2Css;
|
|
77
77
|
|
|
78
|
-
export { TttxTagV2 as
|
|
78
|
+
export { TttxTagV2 as tttx_tag_v2_localcomponent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-b614efb4.js';
|
|
2
2
|
|
|
3
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
3
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_localcomponent{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_localcomponent-h{display:block}label.sc-tttx-textarea_localcomponent{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_localcomponent .textarea-container.sc-tttx-textarea_localcomponent{position:relative}label.sc-tttx-textarea_localcomponent .textarea-container.sc-tttx-textarea_localcomponent textarea.sc-tttx-textarea_localcomponent{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_localcomponent .textarea-container.sc-tttx-textarea_localcomponent textarea.no-label.sc-tttx-textarea_localcomponent{margin-top:0}label.sc-tttx-textarea_localcomponent .textarea-container.sc-tttx-textarea_localcomponent textarea.sc-tttx-textarea_localcomponent~.errorBubble.sc-tttx-textarea_localcomponent{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_localcomponent .textarea-container.sc-tttx-textarea_localcomponent textarea.sc-tttx-textarea_localcomponent~.errorBubble.sc-tttx-textarea_localcomponent:not(.visible){display:none}label.sc-tttx-textarea_localcomponent .textarea-container.sc-tttx-textarea_localcomponent textarea.sc-tttx-textarea_localcomponent~.errorBubble.sc-tttx-textarea_localcomponent span.sc-tttx-textarea_localcomponent{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_localcomponent .textarea-container.sc-tttx-textarea_localcomponent textarea.sc-tttx-textarea_localcomponent:focus{border-color:#1479c6}label.sc-tttx-textarea_localcomponent .textarea-container.sc-tttx-textarea_localcomponent textarea.sc-tttx-textarea_localcomponent:focus-visible{outline:none}label.sc-tttx-textarea_localcomponent .secondarylabel.sc-tttx-textarea_localcomponent{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_localcomponent .optional.sc-tttx-textarea_localcomponent{color:#757575;font-weight:normal}";
|
|
4
4
|
|
|
5
5
|
const TttxTextarea = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -52,4 +52,4 @@ const TttxTextarea = class {
|
|
|
52
52
|
};
|
|
53
53
|
TttxTextarea.style = tttxTextareaCss;
|
|
54
54
|
|
|
55
|
-
export { TttxTextarea as
|
|
55
|
+
export { TttxTextarea as tttx_textarea_localcomponent };
|