@3t-transform/threeteeui 1.9.101 → 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_101.cjs.entry.js → tttx-action-dropdown_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_101.cjs.entry.js → tttx-button-v2_localcomponent.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_101.cjs.entry.js → tttx-button_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_101.cjs.entry.js → tttx-chart_localcomponent.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_101.cjs.entry.js → tttx-checkbox-group-caption_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_101.cjs.entry.js → tttx-checkbox-group-heading_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_101.cjs.entry.js → tttx-checkbox-group_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_101.cjs.entry.js → tttx-checkbox_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_101.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_101.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_101.cjs.entry.js → tttx-dialog-box_localcomponent.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_101.cjs.entry.js → tttx-dialog_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_101.cjs.entry.js → tttx-expander_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_101_4.cjs.entry.js → tttx-filter_localcomponent_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_101.cjs.entry.js → tttx-form_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_101.cjs.entry.js → tttx-graph_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_101.cjs.entry.js → tttx-icon_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_101.cjs.entry.js → tttx-keyvalue-block_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_101_3.cjs.entry.js → tttx-loading-spinner_localcomponent_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_101.cjs.entry.js → tttx-multiselect-box_localcomponent.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_101.cjs.entry.js → tttx-percentage-bar_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_101.cjs.entry.js → tttx-qrcode_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_101.cjs.entry.js → tttx-range-slider_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_101.cjs.entry.js → tttx-select-box_localcomponent.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_101.cjs.entry.js → tttx-skeleton_loader_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_101.cjs.entry.js → tttx-table_localcomponent.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-tabs_1_9_101.cjs.entry.js → tttx-tabs_localcomponent.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag-v2_1_9_101.cjs.entry.js → tttx-tag-v2_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-textarea_1_9_101.cjs.entry.js → tttx-textarea_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_101.cjs.entry.js → tttx-toggle_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_101.cjs.entry.js → tttx-tooltip_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_101.cjs.entry.js → tttx-tree-view_localcomponent.cjs.entry.js} +4 -4
- 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 +1 -1
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
- 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_101.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_101.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_101.js → tttx-button_localcomponent.js} +2 -2
- package/dist/components/tttx-chart_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-chart_1_9_101.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_101.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_101.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_101.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_101.js → tttx-checkbox_localcomponent.js} +7 -7
- package/dist/components/tttx-comments_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_101.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_101.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_101.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_101.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_101.js → tttx-dialog_localcomponent.js} +8 -8
- package/dist/components/tttx-expander_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_101.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_101.js → tttx-filter_localcomponent.js} +2 -2
- package/dist/components/tttx-form_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-form_1_9_101.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_101.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_101.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_101.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_101.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_101.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_101.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_101.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_101.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_101.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_101.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_101.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_101.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_101.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_101.js → tttx-table_localcomponent.js} +9 -9
- package/dist/components/tttx-tabs_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-tabs_1_9_101.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_101.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_101.js → tttx-tag_localcomponent.js} +2 -2
- package/dist/components/tttx-textarea_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_101.js → tttx-textarea_localcomponent.js} +6 -6
- package/dist/components/tttx-toggle_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_101.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_101.js → tttx-toolbar_localcomponent.js} +2 -2
- package/dist/components/tttx-tooltip_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_101.js → tttx-tooltip_localcomponent.js} +5 -5
- package/dist/components/tttx-tree-view_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_101.js → tttx-tree-view_localcomponent.js} +10 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_101.entry.js → tttx-action-dropdown_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_101.entry.js → tttx-button-v2_localcomponent.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_101.entry.js → tttx-button_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_101.entry.js → tttx-chart_localcomponent.entry.js} +4 -4
- package/dist/esm/{tttx-checkbox-group-caption_1_9_101.entry.js → tttx-checkbox-group-caption_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_101.entry.js → tttx-checkbox-group-heading_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_101.entry.js → tttx-checkbox-group_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_101.entry.js → tttx-checkbox_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_101.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_101.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_101.entry.js → tttx-dialog-box_localcomponent.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_101.entry.js → tttx-dialog_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_101.entry.js → tttx-expander_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_101_4.entry.js → tttx-filter_localcomponent_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_101.entry.js → tttx-form_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_101.entry.js → tttx-graph_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_101.entry.js → tttx-icon_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_101.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_101.entry.js → tttx-multiselect-box_localcomponent.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_101.entry.js → tttx-percentage-bar_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_101.entry.js → tttx-qrcode_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_101.entry.js → tttx-range-slider_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_101.entry.js → tttx-select-box_localcomponent.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_101.entry.js → tttx-skeleton_loader_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_101.entry.js → tttx-table_localcomponent.entry.js} +3 -3
- package/dist/esm/{tttx-tabs_1_9_101.entry.js → tttx-tabs_localcomponent.entry.js} +4 -4
- package/dist/esm/{tttx-tag-v2_1_9_101.entry.js → tttx-tag-v2_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-textarea_1_9_101.entry.js → tttx-textarea_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_101.entry.js → tttx-toggle_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_101.entry.js → tttx-tooltip_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_101.entry.js → tttx-tree-view_localcomponent.entry.js} +4 -4
- 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.d.ts +451 -451
- package/package.json +1 -1
- package/dist/cjs/tttx-data-pattern_1_9_101.cjs.entry.js +0 -30
- package/dist/components/tttx-action-dropdown_1_9_101.d.ts +0 -11
- package/dist/components/tttx-button-v2_1_9_101.d.ts +0 -11
- package/dist/components/tttx-button_1_9_101.d.ts +0 -11
- package/dist/components/tttx-chart_1_9_101.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_101.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_101.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_101.d.ts +0 -11
- package/dist/components/tttx-checkbox_1_9_101.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_101.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_101.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_101.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_101.d.ts +0 -11
- package/dist/components/tttx-dialog_1_9_101.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_101.d.ts +0 -11
- package/dist/components/tttx-filter_1_9_101.d.ts +0 -11
- package/dist/components/tttx-form_1_9_101.d.ts +0 -11
- package/dist/components/tttx-graph_1_9_101.d.ts +0 -11
- package/dist/components/tttx-icon_1_9_101.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_101.d.ts +0 -11
- package/dist/components/tttx-list_1_9_101.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_101.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_101.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_101.d.ts +0 -11
- package/dist/components/tttx-qrcode_1_9_101.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_101.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_101.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_101.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_101.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_101.d.ts +0 -11
- package/dist/components/tttx-table_1_9_101.d.ts +0 -11
- package/dist/components/tttx-tabs_1_9_101.d.ts +0 -11
- package/dist/components/tttx-tag-v2_1_9_101.d.ts +0 -11
- package/dist/components/tttx-tag_1_9_101.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_101.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_101.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_101.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_101.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_101.d.ts +0 -11
- package/dist/esm/tttx-data-pattern_1_9_101.entry.js +0 -26
- package/dist/esm/tttx-loading-spinner_1_9_101_3.entry.js +0 -183
- package/dist/tttx/p-a59ad197.entry.js +0 -1
|
@@ -1,183 +0,0 @@
|
|
|
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_1_9_101{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_101{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_101{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_101 .optional.sc-tttx-standalone-input_1_9_101{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101{position:relative}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 .left-icons.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 .right-icons.sc-tttx-standalone-input_1_9_101{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 .left-icons.sc-tttx-standalone-input_1_9_101 tttx-icon.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 .right-icons.sc-tttx-standalone-input_1_9_101 tttx-icon.sc-tttx-standalone-input_1_9_101{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 .left-icons.sc-tttx-standalone-input_1_9_101{left:8px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 .right-icons.sc-tttx-standalone-input_1_9_101{right:8px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.sc-tttx-standalone-input_1_9_101{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_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.has-input-icon.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.has-input-icon.sc-tttx-standalone-input_1_9_101{padding-left:40px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_101{padding-left:72px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.has-left-icon.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.has-left-icon.sc-tttx-standalone-input_1_9_101{padding-left:40px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.has-right-icon.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.has-right-icon.sc-tttx-standalone-input_1_9_101{padding-right:40px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.invalid.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.invalid.sc-tttx-standalone-input_1_9_101{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.sc-tttx-standalone-input_1_9_101:not([type=submit]),label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.sc-tttx-standalone-input_1_9_101:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input[type=radio].sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea[type=radio].sc-tttx-standalone-input_1_9_101{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input[type=date].sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea[type=date].sc-tttx-standalone-input_1_9_101{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input[readonly].sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea[readonly].sc-tttx-standalone-input_1_9_101{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.sc-tttx-standalone-input_1_9_101:focus,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.sc-tttx-standalone-input_1_9_101:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 input.sc-tttx-standalone-input_1_9_101:focus-visible,label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.sc-tttx-standalone-input_1_9_101:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.sc-tttx-standalone-input_1_9_101{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_101 .outer-container.sc-tttx-standalone-input_1_9_101 textarea.resize-none.sc-tttx-standalone-input_1_9_101{resize:none}label.sc-tttx-standalone-input_1_9_101 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_101{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_101 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_101 .left-icons.sc-tttx-standalone-input_1_9_101,label.sc-tttx-standalone-input_1_9_101 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_101 .right-icons.sc-tttx-standalone-input_1_9_101{margin-top:4px}label.sc-tttx-standalone-input_1_9_101 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_101{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_101 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_101{display:block}label.sc-tttx-standalone-input_1_9_101 .outer-container.inputInline.sc-tttx-standalone-input_1_9_101{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_101 .outer-container.inputInline.sc-tttx-standalone-input_1_9_101 input.sc-tttx-standalone-input_1_9_101{margin-top:0}label.sc-tttx-standalone-input_1_9_101 .secondarylabel.sc-tttx-standalone-input_1_9_101{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_101 .errorBubble.sc-tttx-standalone-input_1_9_101{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-standalone-input_1_9_101 .errorBubble.sc-tttx-standalone-input_1_9_101:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_101 .errorBubble.sc-tttx-standalone-input_1_9_101 span.sc-tttx-standalone-input_1_9_101{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_101{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.sc-tttx-standalone-input_1_9_101-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_1_9_101", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_101", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_9_101", { 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_1_9_101", { 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_1_9_101, TttxInput as tttx_standalone_input_1_9_101, TttxTag as tttx_tag_1_9_101 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,a as i,h as r,g as n}from"./p-457a7731.js";import{p as o,d as l}from"./p-55799798.js";import"./p-112455b1.js";const s=class{constructor(i){e(this,i),this.clickEvent=t(this,"clickEvent",7),this.expandNode=t(this,"expandNode",7),this.checkboxChange=t(this,"checkboxChange",7),this.moveNode=t(this,"moveNode",7),this.dragGhost={el:null},this.dragDropPlaceholderId="drag-drop-placeholder",this.createGhostImage=e=>{e.length>30&&(e=`${e.slice(0,30)}...`);const t=document.createElement("div");Object.assign(t.style,{position:"absolute",top:"-9999px",left:"-9999px",padding:"8px 12px",background:"white",pointerEvents:"none",boxShadow:"0px 0px 12px #F9F9F9",display:"flex",flexDirection:"row",gap:"10px",borderRadius:"4px"});const i=document.createElement("img");i.src=this.dragIcon,i.alt="drag",t.appendChild(i);const r=document.createElement("span");return Object.assign(r.style,{fontSize:"14px"}),r.textContent=e,t.appendChild(r),document.body.appendChild(t),t},this.handleDragStart=(e,t,i,r)=>{if(!e.dataTransfer)return;this.draggedNodeParentId=r,this.draggedNodeId=t.id;const n=JSON.stringify({parentId:r,index:i,node:t});e.dataTransfer.setData("text/plain",n);const o=this.createGhostImage(t.title);this.dragGhost.el=o,e.dataTransfer.setDragImage(o,32,30)},this.handleDragEnd=()=>{setTimeout((()=>{if(this.findNodeById(this.treeData,this.dragDropPlaceholderId)){const e=this.updateDragDropPlaceholder(this.treeData);this.treeData=[...e]}}),300)},this.handleDragDrop=(e,t,i)=>{var r;e.preventDefault();const n=null===(r=e.dataTransfer)||void 0===r?void 0:r.getData("text/plain");if(!n)return;const{parentId:o,node:l}=JSON.parse(n);if(t.id===l.id||o!==i)return;const s=[...this.treeData],d=i?this.findNodeById(s,i):null,a=(null==d?void 0:d.child)?[...d.child]:[...s];if(!a||0===a.length)return;const c=l,h=[];for(const e of a)e.id!=c.id&&h.push(e.id!=this.dragDropPlaceholderId?e:c);d?d.child=h:this.treeData=h,this.draggedNodeParentId=void 0,this.draggedNodeId=void 0,this.dragGhost.el&&(this.dragGhost.el.remove(),this.dragGhost.el=null),this.handleDragDropSuccessBackground(c.id),this.treeData=[...this.updateDragDropPlaceholder(this.treeData)],this.moveNode.emit(this.treeData)},this.handleDragOver=(e,t,i,r)=>{if(e.preventDefault(),!e.dataTransfer)return;const n=this.draggedNodeParentId===i||r;e.dataTransfer.dropEffect=n?"move":"none",n&&!r&&(this.treeData=[...this.updateDragDropPlaceholder(this.treeData,t)])},this.updateDragDropPlaceholder=(e,t)=>{const i=[];for(const r of e)if(!r.isDragDropPlaceholder){if(r.id==t&&i.push({id:this.dragDropPlaceholderId,title:"Drop here",isDragDropPlaceholder:!0}),r.child){const e=this.updateDragDropPlaceholder(r.child,t);r.child=e}i.push(r)}return i},this.data=void 0,this.treeData=void 0,this.nodesRecentlyMoved=[]}componentWillRender(){this.data&&(this.treeData="string"==typeof this.data?JSON.parse(this.data):this.data,this.dragIcon||(this.dragIcon=i("assets/img/drag-icon.svg")))}onClickHandler(e,t){e.stopPropagation(),t.selectable&&(t.selected?t.selected=!1:this.handleNodeSelection(t),this.treeData=[...this.treeData]),this.clickEvent.emit(t)}toggleNode(e,t){t.stopPropagation(),e.isOpen=!e.isOpen,this.treeData=[...this.treeData],this.expandNode.emit({node:e,treeViewData:this.treeData})}handleCheckboxChange(e,t){t.stopPropagation(),e.checked=!e.checked,this.updateChildrenCheckStatus(e),this.updateParentCheckStatus(),this.treeData=[...this.treeData],this.checkboxChange.emit(this.treeData)}updateChildrenCheckStatus(e){e.child&&e.child.forEach((t=>{t.hasCheckbox&&void 0!==t.checked&&(t.checked=e.checked),this.updateChildrenCheckStatus(t)}))}updateParentCheckStatus(e,t){if(void 0===e)return void this.treeData.forEach((e=>this.updateParentCheckStatus(e,e.child)));let i=[];return t&&t.length>0&&(i=t.map((e=>this.updateParentCheckStatus(e,e.child))).flat(1),i.some((e=>e))&&(e.checked=!0),i.every((e=>!e))&&(e.checked=!1)),[...i,e.checked]}treeConfigs(e){let t,i;return e.checked?(t="check_box",i="blue"):(t="check_box_outline_blank",i="grey"),{checkboxColor:i,checkboxIcon:t,rowHoverActive:e.hasHover?"rowHover":"",expanderIcon:e.isOpen?"arrow_drop_down":"arrow_right",selectedActive:e.selectable&&e.selected?"rowSelected":"",dragDropPlaceholder:e.isDragDropPlaceholder?"drag_drop_placeholder":""}}findNodeById(e,t){for(const i of e){if(i.id===t)return i;if(i.child){const e=this.findNodeById(i.child,t);if(e)return e}}}deselectAllNodes(e){for(const t of e)t.selectable&&(t.selected=!1),t.child&&this.deselectAllNodes(t.child)}handleNodeSelection(e){this.deselectAllNodes(this.treeData),e.selectable&&(e.selected=!0),this.treeData=[...this.treeData]}handleDragDropSuccessBackground(e){this.nodesRecentlyMoved.push(e),setTimeout((e=>{this.nodesRecentlyMoved=[...this.nodesRecentlyMoved.filter((t=>t!==e))]}),300,e)}doesNodePrecedeDragDropPlaceholder(e,t,i){var r;if(e.child)return e.child.length>0&&e.child[0].isDragDropPlaceholder;const n=i?this.findNodeById(this.treeData,i):void 0;return!!n&&t!==n.child.length&&(null===(r=n.child[t+1])||void 0===r?void 0:r.isDragDropPlaceholder)}renderNode(e,t,i,n=0){const o=this.treeConfigs(e),l=this.doesNodePrecedeDragDropPlaceholder(e,t,i)?"precedes_drag_drop":"";if(e.child)return r("li",{class:e.selected?"selected-group":"",style:{"--level":String(n)}},r("li",Object.assign({id:e.id,"data-id":e.id},e.draggable||e.isDragDropPlaceholder?{onDragOver:t=>this.handleDragOver(t,e.id,i,e.isDragDropPlaceholder)}:{},e.draggable||e.isDragDropPlaceholder?{onDrop:t=>this.handleDragDrop(t,e,i)}:{},{class:`inline-tree-item element-row tree-node ${o.rowHoverActive} ${o.selectedActive} ${o.dragDropPlaceholder} ${l}`,onClick:t=>{e.hasHover&&this.onClickHandler(t,e)}}),r("tttx-button_1_9_101",{class:"toggleNode",design:"borderless-circle",notext:!0,icon:o.expanderIcon,color:"black",onClick:t=>this.toggleNode(e,t)}),this.htmlcode("treeNode",e,o.checkboxIcon,o.checkboxColor,t,i)),e.isOpen?r("ul",null,e.child.map(((t,i)=>this.renderNode(t,i,e.id,n+1)))):null);const s={"--level":String(n)};return this.nodesRecentlyMoved.find((t=>t==e.id))&&(s["background-color"]="#D1F7F0"),r("li",Object.assign({"data-id":e.id},e.draggable||e.isDragDropPlaceholder?{onDragOver:t=>this.handleDragOver(t,e.id,i,e.isDragDropPlaceholder)}:{},e.draggable||e.isDragDropPlaceholder?{onDrop:t=>this.handleDragDrop(t,e,i)}:{},{class:`\n inline-tree-item element-row\n ${o.rowHoverActive}\n ${o.selectedActive}\n ${o.dragDropPlaceholder}\n ${l}\n drag_drop_success_fade\n ${this.draggedNodeId==e.id?" is-being-dragged":""}\n `,style:s,onClick:t=>{e.hasHover&&this.onClickHandler(t,e)}}),this.htmlcode("treeLeaf",e,o.checkboxIcon,o.checkboxColor,t,i))}htmlcode(e,t,i,n,s,d){return t.isDragDropPlaceholder?r("div",{class:"inline-tree-item element"},r("div",{class:"drag-drop-placeholder-row"},r("div",{class:"placeholder-text"},t.title))):r("div",{class:"inline-tree-item element"},t.draggable&&r("div",{class:"drag-handle-container"},r("img",{src:this.dragIcon,alt:"drag",class:"drag-handle",draggable:t.draggable,onDragStart:e=>{t.draggable&&this.handleDragStart(e,t,s,d)},onDragEnd:()=>{t.draggable&&this.handleDragEnd()}})),t.hasCheckbox&&r("tttx-button_1_9_101",{design:"borderless-circle",notext:!0,icon:i,iconcolor:n,class:"padding-icon checkbox",onClick:e=>this.handleCheckboxChange(t,e)}),!t.html&&t.hasIcon&&r("tttx-icon_1_9_101",{icon:t.icon,color:t.iconColor,class:"padding-icon"}),!t.html&&r("div",{class:e},t.title),t.html&&r("div",{class:e,innerHTML:o.sanitize(t.html,l)}))}render(){if(this.data)return r("div",{ref:e=>this.rootElement=e,class:"tree-view-element"},r("ul",null,this.treeData.map(((e,t)=>this.renderNode(e,t)))))}get el(){return n(this)}};s.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}:host{--tree-accent:#1579C6;--tree-selected-bg:#E7E7E7;--indent:36px;--accent-gap:46px;--accent-width:6px;--tree-left-edge-shift:0px;--leaf-accent-offset:48px}.drag-drop-placeholder-row{background-color:#DBEAFE;padding:5px;border:1px dashed #3B82F6;border-radius:4px;width:100%}.drag_drop_success_fade{transition:background-color 1s linear}.inline-tree-item>.drag-drop-placeholder-row>.treeLeaf{text-align:center;padding:10px 0px}.placeholder-text{color:#3B82F6;width:100%;font-weight:400;text-align:center;padding:8px}.is-being-dragged{background-color:rgba(125, 130, 138, 0.05) !important}.drag-handle-container{height:100%}.tree-node{padding-top:0px !important;padding-bottom:0px !important;height:51px}.tree-view-element>ul{margin:0;padding:0}.tree-view-element ul{padding-left:var(--indent)}.tree-view-element ul li{list-style:none}.tree-view-element ul li.selected-group{position:relative;}.tree-view-element ul li.selected-group::before,.tree-view-element ul li.selected-group::after{display:none}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node{background-color:var(--tree-selected-bg) !important;position:relative}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node::after{content:"";position:absolute;top:0;bottom:0;width:var(--accent-width);left:calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));background-color:var(--tree-accent);z-index:5}.tree-view-element ul li.selected-group>ul li.inline-tree-item.element-row.tree-node{background-color:#F9F9F9 !important}.tree-view-element ul li.selected-group>ul li.inline-tree-item.element-row.tree-node::after{display:none !important}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;width:100%;padding-left:8px;align-items:center}.tree-view-element ul li.inline-tree-item .element .padding-icon{padding:6px;height:24px;width:24px;display:flex;align-items:center;justify-content:center}@media (hover: hover){.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover:not(.rowSelected)::before{background-color:rgba(17, 17, 17, 0.05);z-index:3}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover.rowSelected::before{background-color:rgba(17, 17, 17, 0.15);z-index:3}}.tree-view-element ul li.inline-tree-item.precedes_drag_drop::before{content:"";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #3B82F6 !important}.tree-view-element ul li.inline-tree-item.element-row{font-family:"Roboto", serif;font-size:16px;padding:15px 0px;position:relative;color:#212121 !important;}.tree-view-element ul li.inline-tree-item.element-row::before{content:"";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #d5d5d5;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{height:51px;z-index:2;background-color:#F9F9F9}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:3}.tree-view-element ul li.inline-tree-item.element-row .treeNode{width:100%;font-weight:500;color:#212121}.tree-view-element ul li.inline-tree-item.element-row .treeLeaf{width:100%;font-weight:400;color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row.rowSelected{background-color:var(--tree-selected-bg) !important;}.tree-view-element ul li.inline-tree-item.element-row.rowSelected::before{background-color:var(--tree-selected-bg) !important}.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeLeaf,.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeNode{color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected{position:relative}.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected::after{content:"";position:absolute;top:0;bottom:0;width:var(--accent-width);left:calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));background-color:var(--tree-accent);z-index:5}.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node){position:relative}.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)::after{content:"";position:absolute;top:0;bottom:0;width:var(--accent-width);background-color:var(--tree-accent);z-index:5}.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)[data-has-drag-handle=true]{--drag-handle-offset:34px}.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)[data-has-checkbox=true]{--checkbox-offset:36px}.tree-view-element ul li.inline-tree-item.element-row .drag-handle{margin-right:10px;cursor:grab}.tree-view-element ul li.inline-tree-item.element-row.rowSelected .drag-handle{margin-left:10px}.tree-view-element ul li.inline-tree-item.element-row .drop-not-allowed{border-color:red;border-style:dashed;opacity:0.7}@media (forced-colors: active){.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::after{background:CanvasText}.tree-view-element ul li.selected-group::after{background:Highlight}.tree-view-element ul li.inline-tree-item.element-row.rowSelected{background:Highlight !important}}.inline-tree-item:focus-visible{outline:2px solid var(--tree-accent);outline-offset:2px;border-radius:6px}';export{s as tttx_tree_view_1_9_101}
|