@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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-b614efb4.js';
|
|
2
|
+
|
|
3
|
+
const tttxDataPatternCss = ":host{display:block}";
|
|
4
|
+
|
|
5
|
+
const TttxDataPattern = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.data = undefined;
|
|
9
|
+
this.sorterOptions = undefined;
|
|
10
|
+
this.filterOptions = undefined;
|
|
11
|
+
this.filterHeader = 'Filter';
|
|
12
|
+
this.defaultSortOption = 'Sort by';
|
|
13
|
+
this.searchplaceholder = 'Search';
|
|
14
|
+
this.addbuttonlabel = 'Add';
|
|
15
|
+
this.addbutton = false;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_localcomponent", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
19
|
+
h("tttx-sorter_localcomponent", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
20
|
+
h("tttx-filter_localcomponent", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_localcomponent", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_localcomponent", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
21
|
+
h("tttx-button_localcomponent", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_localcomponent", { data: this.data }))));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
TttxDataPattern.style = tttxDataPatternCss;
|
|
25
|
+
|
|
26
|
+
export { TttxDataPattern as tttx_data_pattern_localcomponent };
|
|
@@ -28,16 +28,16 @@ const TttxDatacard = class {
|
|
|
28
28
|
renderIcon(iconstyle) {
|
|
29
29
|
switch (iconstyle) {
|
|
30
30
|
case 'up':
|
|
31
|
-
return h("tttx-
|
|
31
|
+
return h("tttx-icon_localcomponent", { size: 24, icon: "arrow_circle_up", color: "green" });
|
|
32
32
|
case 'down':
|
|
33
|
-
return h("tttx-
|
|
33
|
+
return h("tttx-icon_localcomponent", { size: 24, icon: "arrow_circle_down", color: "darkred" });
|
|
34
34
|
default:
|
|
35
35
|
return null;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
return (h(Host, null, h("div", { class: "datacard" }, this.cardTitle && h("h2", { style: { 'position': 'relative', 'top': '0', 'left': '0', 'height': '40px' } }, this.cardTitle), this.chartRender && this.cardType === 'chart' &&
|
|
40
|
-
h("tttx-
|
|
40
|
+
h("tttx-graph_localcomponent", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' }, class: 'chart', "chart-data": this._chartConfig.chartData, "chart-text": this._chartConfig.chartText, "chart-type": this._chartConfig.chartType }), h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, h("div", { class: "lower" }, h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
|
|
41
41
|
h("div", { class: "right" }, h("div", { class: "flex" }, h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), h("div", { class: "rightdata" }, this.rightData)), h("div", { class: "subtext" }, this.rightSubtext)))))));
|
|
42
42
|
}
|
|
43
43
|
static get watchers() { return {
|
|
@@ -46,4 +46,4 @@ const TttxDatacard = class {
|
|
|
46
46
|
};
|
|
47
47
|
TttxDatacard.style = tttxDatacardCss;
|
|
48
48
|
|
|
49
|
-
export { TttxDatacard as
|
|
49
|
+
export { TttxDatacard as tttx_datacard_localcomponent };
|
|
@@ -208,7 +208,7 @@ const TttxDateRangePicker = class {
|
|
|
208
208
|
return (h(Host, null, h("div", { class: "date-range-input", tabIndex: 0, "aria-haspopup": "dialog", "aria-expanded": this.showCalendar ? 'true' : 'false', ref: el => (this.inputRef = el), onClick: this.handleInputClick }, h("span", { class: {
|
|
209
209
|
'range-text': true,
|
|
210
210
|
'is-placeholder': !(this.startDate || this.endDate),
|
|
211
|
-
} }, rangeText), (this.startDate || this.endDate) && (h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), h("span", { class: "calendar-icon", "aria-hidden": "true" }, h("tttx-
|
|
211
|
+
} }, rangeText), (this.startDate || this.endDate) && (h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), h("span", { class: "calendar-icon", "aria-hidden": "true" }, h("tttx-icon_localcomponent", { icon: 'calendar_month' }))), this.showCalendar && (h("div", { class: "calendar-popup single" }, this.renderCalendar(this.currentYear, this.currentMonth, this.handleDateClick.bind(this))))));
|
|
212
212
|
}
|
|
213
213
|
static get watchers() { return {
|
|
214
214
|
"initialValue": ["watchInitialValue"]
|
package/dist/esm/{tttx-dialog-box_1_9_101.entry.js → tttx-dialog-box_localcomponent.entry.js}
RENAMED
|
@@ -56,7 +56,7 @@ const TttxDialogBox = class {
|
|
|
56
56
|
const iconColor = header.iconColor;
|
|
57
57
|
const iconEnabled = header.hasIcon ? true : false;
|
|
58
58
|
const closeEnabled = header.hasClose ? true : false;
|
|
59
|
-
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-
|
|
59
|
+
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_localcomponent", { class: "dialog-box-icon", icon: iconName, color: iconColor }), h("h3", { class: "dialog-box-title" }, title), closeEnabled && (h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, h("tttx-icon_localcomponent", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
60
60
|
}
|
|
61
61
|
renderContent(content) {
|
|
62
62
|
if (content.isCustomHtml) {
|
|
@@ -73,7 +73,7 @@ const TttxDialogBox = class {
|
|
|
73
73
|
const button2Enabled = button.length > 1;
|
|
74
74
|
const button3Enabled = button.length == 3;
|
|
75
75
|
const isMobile = this.elementSize === 'mobile';
|
|
76
|
-
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-
|
|
76
|
+
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_localcomponent", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (h("tttx-button_localcomponent", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (h("tttx-button_localcomponent", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
77
77
|
}
|
|
78
78
|
componentWillLoad() {
|
|
79
79
|
if (window.innerWidth < 698) {
|
|
@@ -98,4 +98,4 @@ const TttxDialogBox = class {
|
|
|
98
98
|
};
|
|
99
99
|
TttxDialogBox.style = tttxDialogBoxCss;
|
|
100
100
|
|
|
101
|
-
export { TttxDialogBox as
|
|
101
|
+
export { TttxDialogBox as tttx_dialog_box_localcomponent };
|
|
@@ -46,7 +46,7 @@ const TttxDialog = class {
|
|
|
46
46
|
renderHeader() {
|
|
47
47
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
48
48
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
49
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
49
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_localcomponent", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_localcomponent", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
50
50
|
}
|
|
51
51
|
body() {
|
|
52
52
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -74,4 +74,4 @@ const TttxDialog = class {
|
|
|
74
74
|
};
|
|
75
75
|
TttxDialog.style = tttxDialogCss;
|
|
76
76
|
|
|
77
|
-
export { TttxDialog as
|
|
77
|
+
export { TttxDialog as tttx_dialog_localcomponent };
|
|
@@ -26,9 +26,9 @@ const TttxExpander = class {
|
|
|
26
26
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-
|
|
29
|
+
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_localcomponent", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_localcomponent", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_localcomponent", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
TttxExpander.style = tttxExpanderCss;
|
|
33
33
|
|
|
34
|
-
export { TttxExpander as
|
|
34
|
+
export { TttxExpander as tttx_expander_localcomponent };
|
|
@@ -178,10 +178,10 @@ const TttxFilter = class {
|
|
|
178
178
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
179
179
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
180
180
|
const filterKey = `filter__${this.filterKey}`;
|
|
181
|
-
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-
|
|
181
|
+
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_localcomponent", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (h("div", { class: 'search-field-container' }, h("tttx-icon_localcomponent", { icon: 'search', class: 'search-icon' }), h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), h("div", { class: 'filter-options-container' }, this.showSelectAll ? (h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, h("tttx-icon_localcomponent", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
182
182
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
183
183
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
184
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
184
|
+
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_localcomponent", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_localcomponent", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
|
|
185
185
|
})), h("div", { class: 'filter-popover-button-container' }, h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
186
186
|
}
|
|
187
187
|
get el() { return getElement(this); }
|
|
@@ -239,9 +239,9 @@ const TttxList = class {
|
|
|
239
239
|
else {
|
|
240
240
|
element = h("span", { class: "item-content" }, item.element);
|
|
241
241
|
}
|
|
242
|
-
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-
|
|
242
|
+
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-icon_localcomponent", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
243
243
|
this.onRowCheckboxHandler(event, item);
|
|
244
|
-
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-
|
|
244
|
+
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-icon_localcomponent", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
247
|
if (!this._data)
|
|
@@ -363,7 +363,7 @@ const TttxSorter = class {
|
|
|
363
363
|
const selectedOption = this.selectedField;
|
|
364
364
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
365
365
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
366
|
-
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-
|
|
366
|
+
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-icon_localcomponent", { icon: arrowIcon, color: "black" })), h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, h("div", { class: "dropdown-selector-button" }, h("div", { class: "dropdown-selector-text" }, selectedOption), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_localcomponent", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
367
367
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
368
368
|
}))))));
|
|
369
369
|
}
|
|
@@ -399,4 +399,4 @@ const TttxToolbar = class {
|
|
|
399
399
|
};
|
|
400
400
|
TttxToolbar.style = tttxToolbarCss;
|
|
401
401
|
|
|
402
|
-
export { TttxFilter as
|
|
402
|
+
export { TttxFilter as tttx_filter_localcomponent, TttxList as tttx_list_localcomponent, TttxSorter as tttx_sorter_localcomponent, TttxToolbar as tttx_toolbar_localcomponent };
|
|
@@ -352,7 +352,7 @@ const TttxForm = class {
|
|
|
352
352
|
if ((_b = this._data) === null || _b === void 0 ? void 0 : _b[formKey]) {
|
|
353
353
|
select.classList.remove('placeholder');
|
|
354
354
|
}
|
|
355
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
355
|
+
const tttxSelect = document.createElement('tttx-select-box_localcomponent');
|
|
356
356
|
tttxSelect.optionsData = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => !o.placeholder);
|
|
357
357
|
tttxSelect.placeholder = (_e = (_d = formProperties.options) === null || _d === void 0 ? void 0 : _d.filter(o => o.placeholder)[0]) === null || _e === void 0 ? void 0 : _e.label;
|
|
358
358
|
tttxSelect.inline = false;
|
|
@@ -995,4 +995,4 @@ const TttxForm = class {
|
|
|
995
995
|
};
|
|
996
996
|
TttxForm.style = tttxFormCss;
|
|
997
997
|
|
|
998
|
-
export { TttxForm as
|
|
998
|
+
export { TttxForm as tttx_form_localcomponent };
|
|
@@ -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_101.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 };
|