@3t-transform/threeteeui 1.9.69 → 1.9.71
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/{auto-ac58fa98.js → auto-6a51f2a4.js} +20 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-action-dropdown_1_9_69.cjs.entry.js → tttx-action-dropdown_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_69.cjs.entry.js → tttx-button-v2_1_9_71.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_69.cjs.entry.js → tttx-button_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_69.cjs.entry.js → tttx-chart_1_9_71.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_69.cjs.entry.js → tttx-checkbox-group-caption_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_69.cjs.entry.js → tttx-checkbox-group-heading_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_69.cjs.entry.js → tttx-checkbox-group_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_69.cjs.entry.js → tttx-checkbox_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_69.cjs.entry.js → tttx-comments_1_9_71.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_69.cjs.entry.js → tttx-data-pattern_1_9_71.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_69.cjs.entry.js → tttx-datacard_1_9_71.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_69.cjs.entry.js → tttx-dialog-box_1_9_71.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_69.cjs.entry.js → tttx-dialog_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_69.cjs.entry.js → tttx-expander_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_69_4.cjs.entry.js → tttx-filter_1_9_71_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_69.cjs.entry.js → tttx-form_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_69.cjs.entry.js → tttx-graph_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_9_69.cjs.entry.js → tttx-icon_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_69.cjs.entry.js → tttx-keyvalue-block_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_69_3.cjs.entry.js → tttx-loading-spinner_1_9_71_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_69.cjs.entry.js → tttx-multiselect-box_1_9_71.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_69.cjs.entry.js → tttx-percentage-bar_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_69.cjs.entry.js → tttx-qrcode_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/tttx-range-slider_1_9_71.cjs.entry.js +190 -0
- package/dist/cjs/{tttx-select-box_1_9_69.cjs.entry.js → tttx-select-box_1_9_71.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_69.cjs.entry.js → tttx-skeleton_loader_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_69.cjs.entry.js → tttx-table_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_69.cjs.entry.js → tttx-tabs_1_9_71.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_69.cjs.entry.js → tttx-textarea_1_9_71.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_69.cjs.entry.js → tttx-toggle_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_69.cjs.entry.js → tttx-tooltip_1_9_71.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_69.cjs.entry.js → tttx-tree-view_1_9_71.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- 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-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +3 -3
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.css +155 -0
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +299 -0
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +34 -0
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +1 -1
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.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/auto.js +20 -11
- package/dist/components/index.d.ts +37 -36
- package/dist/components/index.js +37 -36
- package/dist/components/tttx-action-dropdown_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_69.js → tttx-action-dropdown_1_9_71.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_69.d.ts → tttx-button-v2_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_69.js → tttx-button-v2_1_9_71.js} +9 -9
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_69.d.ts → tttx-button_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_69.js → tttx-button_1_9_71.js} +2 -2
- package/dist/components/{tttx-table_1_9_69.d.ts → tttx-chart_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_69.js → tttx-chart_1_9_71.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_69.js → tttx-checkbox-group-caption_1_9_71.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_69.js → tttx-checkbox-group-heading_1_9_71.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_69.js → tttx-checkbox-group_1_9_71.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_69.d.ts → tttx-checkbox_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_69.js → tttx-checkbox_1_9_71.js} +7 -7
- package/dist/components/tttx-comments_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_69.js → tttx-comments_1_9_71.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_69.js → tttx-data-pattern_1_9_71.js} +16 -16
- package/dist/components/tttx-datacard_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_69.js → tttx-datacard_1_9_71.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_69.js → tttx-dialog-box_1_9_71.js} +9 -9
- package/dist/components/{tttx-filter_1_9_69.d.ts → tttx-dialog_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_69.js → tttx-dialog_1_9_71.js} +8 -8
- package/dist/components/tttx-expander_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_69.js → tttx-expander_1_9_71.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_69.d.ts → tttx-filter_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_69.js → tttx-filter_1_9_71.js} +2 -2
- package/dist/components/{tttx-form_1_9_69.d.ts → tttx-form_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_69.js → tttx-form_1_9_71.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_69.d.ts → tttx-graph_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_69.js → tttx-graph_1_9_71.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_69.d.ts → tttx-icon_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_69.js → tttx-icon_1_9_71.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_69.js → tttx-keyvalue-block_1_9_71.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_69.d.ts → tttx-list_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_69.js → tttx-list_1_9_71.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_69.js → tttx-loading-spinner_1_9_71.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_69.js → tttx-multiselect-box_1_9_71.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_69.js → tttx-percentage-bar_1_9_71.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_69.d.ts → tttx-qrcode_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_69.js → tttx-qrcode_1_9_71.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_71.d.ts +11 -0
- package/dist/components/tttx-range-slider_1_9_71.js +211 -0
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_69.js → tttx-select-box_1_9_71.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_69.js → tttx-skeleton_loader_1_9_71.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_69.js → tttx-sorter_1_9_71.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_69.js → tttx-standalone-input_1_9_71.js} +2 -2
- package/dist/components/{tttx-chart_1_9_69.d.ts → tttx-table_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_69.js → tttx-table_1_9_71.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_69.d.ts → tttx-tabs_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_69.js → tttx-tabs_1_9_71.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_69.d.ts → tttx-tag_1_9_71.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_69.js → tttx-tag_1_9_71.js} +2 -2
- package/dist/components/tttx-textarea_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_69.js → tttx-textarea_1_9_71.js} +6 -6
- package/dist/components/tttx-toggle_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_69.js → tttx-toggle_1_9_71.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_69.js → tttx-toolbar_1_9_71.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_69.js → tttx-tooltip_1_9_71.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_71.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_69.js → tttx-tree-view_1_9_71.js} +9 -9
- package/dist/esm/{auto-1d8b24f0.js → auto-35e33158.js} +20 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_69.entry.js → tttx-action-dropdown_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_69.entry.js → tttx-button-v2_1_9_71.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_69.entry.js → tttx-button_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_69.entry.js → tttx-chart_1_9_71.entry.js} +4 -4
- package/dist/esm/{tttx-checkbox-group-caption_1_9_69.entry.js → tttx-checkbox-group-caption_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_69.entry.js → tttx-checkbox-group-heading_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_69.entry.js → tttx-checkbox-group_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_69.entry.js → tttx-checkbox_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_69.entry.js → tttx-comments_1_9_71.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_69.entry.js → tttx-data-pattern_1_9_71.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_69.entry.js → tttx-datacard_1_9_71.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +1 -1
- package/dist/esm/{tttx-dialog-box_1_9_69.entry.js → tttx-dialog-box_1_9_71.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_69.entry.js → tttx-dialog_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_69.entry.js → tttx-expander_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_69_4.entry.js → tttx-filter_1_9_71_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_69.entry.js → tttx-form_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_69.entry.js → tttx-graph_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_9_69.entry.js → tttx-icon_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_69.entry.js → tttx-keyvalue-block_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_69_3.entry.js → tttx-loading-spinner_1_9_71_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_69.entry.js → tttx-multiselect-box_1_9_71.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_69.entry.js → tttx-percentage-bar_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_69.entry.js → tttx-qrcode_1_9_71.entry.js} +1 -1
- package/dist/esm/tttx-range-slider_1_9_71.entry.js +186 -0
- package/dist/esm/{tttx-select-box_1_9_69.entry.js → tttx-select-box_1_9_71.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_69.entry.js → tttx-skeleton_loader_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_69.entry.js → tttx-table_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_69.entry.js → tttx-tabs_1_9_71.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_69.entry.js → tttx-textarea_1_9_71.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_69.entry.js → tttx-toggle_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_69.entry.js → tttx-tooltip_1_9_71.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_69.entry.js → tttx-tree-view_1_9_71.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-13272658.entry.js +1 -1
- package/dist/tttx/p-18fce688.entry.js +1 -0
- package/dist/tttx/p-1f75b5d3.entry.js +1 -1
- package/dist/tttx/p-32cf4137.entry.js +1 -1
- package/dist/tttx/p-36edf716.entry.js +1 -1
- package/dist/tttx/p-47fadd24.entry.js +1 -1
- package/dist/tttx/p-4c63f7da.entry.js +1 -1
- package/dist/tttx/p-4ddf7946.entry.js +1 -1
- package/dist/tttx/p-5765b7da.entry.js +1 -1
- package/dist/tttx/p-5b7c20ff.entry.js +1 -1
- package/dist/tttx/p-5e14d6aa.entry.js +1 -1
- package/dist/tttx/{p-296958ae.entry.js → p-620b18f6.entry.js} +1 -1
- package/dist/tttx/{p-5a4e385f.entry.js → p-66340f2f.entry.js} +1 -1
- package/dist/tttx/p-71bb2f21.entry.js +1 -1
- package/dist/tttx/p-74a8c484.entry.js +1 -1
- package/dist/tttx/p-789defe0.entry.js +1 -1
- package/dist/tttx/p-8392774e.entry.js +1 -1
- package/dist/tttx/p-86cdb616.entry.js +1 -1
- package/dist/tttx/p-8beccdc9.entry.js +1 -1
- package/dist/tttx/p-969a4944.entry.js +1 -1
- package/dist/tttx/p-a2979a57.entry.js +1 -1
- package/dist/tttx/p-a50d9105.entry.js +1 -1
- package/dist/tttx/p-a8526f90.entry.js +1 -1
- package/dist/tttx/p-b2a0053a.entry.js +1 -1
- package/dist/tttx/p-b4fe2853.entry.js +1 -1
- package/dist/tttx/p-b97e0e3c.entry.js +1 -1
- package/dist/tttx/p-c33f9022.entry.js +1 -1
- package/dist/tttx/p-ca58259a.entry.js +1 -1
- package/dist/tttx/p-d1ee41dd.entry.js +1 -1
- package/dist/tttx/p-ebb47a2d.js +19 -0
- package/dist/tttx/p-ee41fe8f.entry.js +1 -1
- package/dist/tttx/p-f30833e3.entry.js +1 -1
- package/dist/tttx/p-f69b4685.entry.js +1 -1
- package/dist/tttx/p-ff7edd81.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-range-slider/tttx-range-slider.d.ts +45 -0
- package/dist/types/components/molecules/tttx-range-slider/tttx-range-slider.stories.d.ts +7 -0
- 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 +454 -428
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_69.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_69.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_69.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_69.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_69.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_69.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_69.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_69.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_69.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_69.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_69.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_69.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_69.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_69.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_69.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_69.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_69.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_69.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_69.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_69.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_69.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_69.d.ts +0 -11
- package/dist/tttx/p-fa01bbb2.js +0 -19
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const tttxRangeSliderCss = ".slider-container{position:relative;width:100%;height:50px;margin-top:10px}.slider-container-with-fields{margin-top:20px !important}input[type=\"range\"]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;outline:none;position:absolute;margin:auto;top:0;bottom:0;background-color:transparent;pointer-events:none}.slider-track{width:100%;height:5px;position:absolute;margin:auto;top:0;bottom:0;border-radius:5px}input[type=\"range\"]::-webkit-slider-runnable-track{-webkit-appearance:none;height:5px}input[type=\"range\"]::-moz-range-track{-moz-appearance:none;height:5px}input[type=\"range\"]::-ms-track{appearance:none;height:5px}input[type=\"range\"]::-webkit-slider-thumb{-webkit-appearance:none;height:1.7em;width:1.7em;background-color:#1579C6;cursor:pointer;margin-top:-9px;pointer-events:auto;border-radius:50%;border:2px solid white}input[type=\"range\"]::-moz-range-thumb{-webkit-appearance:none;height:1.7em;width:1.7em;cursor:pointer;border-radius:50%;border:2px solid white;background-color:#1579C6;pointer-events:auto}input[type=\"range\"]::-ms-thumb{appearance:none;height:1.7em;width:1.7em;cursor:pointer;border-radius:50%;border:2px solid white;background-color:#1579C6;pointer-events:auto}input[type=\"range\"]:active::-webkit-slider-thumb{background-color:#1579C6;border:2px solid white}.values{display:flex;flex-direction:row;width:100%}.range-divider{flex-grow:1;display:flex;justify-content:center;align-items:center}.range-divider,.value-input{color:#9E9E9E}.input-pre-text{position:absolute;font-size:14px;line-height:16px;font-style:normal;margin-top:9px;margin-left:5px}.value-input{padding-left:40px;height:30px;width:45px;border-radius:4px;border:1px solid #D5D5D5}.slider-tooltip{background:#212121;border-radius:.4em;display:none;position:absolute;color:#ffffff;padding:var(--05, 4px) var(--2, 14px);font-size:12px;white-space:nowrap;opacity:1;top:-15px !important;left:1px}.slider-tooltip-upper{right:1px;left:auto !important}.slider-tooltip:after{content:'';position:absolute;bottom:0;left:50%;width:0;height:0;border:6px solid transparent;border-top-color:#212121;border-bottom:0;margin-left:-6px;margin-bottom:-6px}";
|
|
4
|
+
|
|
5
|
+
const TttxRangeSlider = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
this.sliderValuesUpdated = createEvent(this, "sliderValuesUpdated", 7);
|
|
11
|
+
this.sliderBackground = '#D5D5D5';
|
|
12
|
+
this.activeSliderBackground = '#1579C6';
|
|
13
|
+
this.minGap = 0;
|
|
14
|
+
this.minimum = 0;
|
|
15
|
+
this.maximum = 100;
|
|
16
|
+
this.sliderMode = 'single';
|
|
17
|
+
this.showFields = false;
|
|
18
|
+
this.lowerValue = undefined;
|
|
19
|
+
this.upperValue = undefined;
|
|
20
|
+
}
|
|
21
|
+
componentWillLoad() {
|
|
22
|
+
if (!['single', 'dual'].includes(this.sliderMode))
|
|
23
|
+
this.sliderMode = 'single';
|
|
24
|
+
this.lowerValue = this.minimum;
|
|
25
|
+
this.upperValue = this.maximum;
|
|
26
|
+
this.showFields = this.showFields && this.sliderMode === 'dual'; // only show fields if requested & on dual slider
|
|
27
|
+
}
|
|
28
|
+
componentDidRender() {
|
|
29
|
+
this.setSliderColours();
|
|
30
|
+
}
|
|
31
|
+
emitValuesUpdatedEvent() {
|
|
32
|
+
// timeout as could be fired several times as slider is dragged, only send one event
|
|
33
|
+
clearTimeout(this.emitValuesTimeout);
|
|
34
|
+
this.emitValuesTimeout = setTimeout((lowerValue, upperValue) => {
|
|
35
|
+
this.sliderValuesUpdated.emit({
|
|
36
|
+
lowerValue,
|
|
37
|
+
upperValue
|
|
38
|
+
});
|
|
39
|
+
}, 300, this.lowerValue, this.upperValue);
|
|
40
|
+
}
|
|
41
|
+
onSetSliderValues(event) {
|
|
42
|
+
// allow user to manually update slider values (useful on form reset)
|
|
43
|
+
let { lowerValue, upperValue } = event.detail;
|
|
44
|
+
// lower cannot go below min, upper cannot go above max
|
|
45
|
+
if (lowerValue < this.minimum)
|
|
46
|
+
lowerValue = this.minimum;
|
|
47
|
+
if (upperValue > this.maximum)
|
|
48
|
+
upperValue = this.maximum;
|
|
49
|
+
if (this.sliderMode === 'single') {
|
|
50
|
+
this.lowerValue = this.minimum; // single mode only uses upper slider, this is always min
|
|
51
|
+
if (upperValue < this.lowerValue)
|
|
52
|
+
upperValue = lowerValue;
|
|
53
|
+
this.upperValue = upperValue;
|
|
54
|
+
}
|
|
55
|
+
if (this.sliderMode === 'dual') {
|
|
56
|
+
// lower & upper cannot cross, lower must always be less than upper
|
|
57
|
+
if (lowerValue > upperValue)
|
|
58
|
+
lowerValue = upperValue;
|
|
59
|
+
if (this.showFields) {
|
|
60
|
+
this.refLowerInput.value = lowerValue;
|
|
61
|
+
this.refUpperInput.value = upperValue;
|
|
62
|
+
}
|
|
63
|
+
this.lowerValue = lowerValue;
|
|
64
|
+
this.upperValue = upperValue;
|
|
65
|
+
}
|
|
66
|
+
// notify user, in case validation overruled any values
|
|
67
|
+
this.emitValuesUpdatedEvent();
|
|
68
|
+
}
|
|
69
|
+
inputDebounce(inputType, event) {
|
|
70
|
+
// debounce to allow user time to finish inputting value
|
|
71
|
+
clearTimeout(this.inputTimeout);
|
|
72
|
+
this.inputTimeout = setTimeout((inputType, event) => {
|
|
73
|
+
this.handleInputChange(inputType, event);
|
|
74
|
+
}, 300, inputType, event.target.value);
|
|
75
|
+
}
|
|
76
|
+
handleInputChange(inputType, inputValue) {
|
|
77
|
+
const enteredValue = parseInt(inputValue);
|
|
78
|
+
if (inputType === 'min') {
|
|
79
|
+
let newValue = enteredValue;
|
|
80
|
+
// cannot go higher than max slider or lower than minimum
|
|
81
|
+
if (Number.isNaN(enteredValue) || newValue < this.minimum)
|
|
82
|
+
newValue = this.minimum;
|
|
83
|
+
if (newValue > this.upperValue)
|
|
84
|
+
newValue = this.upperValue;
|
|
85
|
+
this.refLowerInput.value = newValue;
|
|
86
|
+
this.lowerValue = newValue;
|
|
87
|
+
}
|
|
88
|
+
if (inputType === 'max') {
|
|
89
|
+
let newValue = enteredValue;
|
|
90
|
+
// cannot go lower than min slider or higher than maximum
|
|
91
|
+
if (Number.isNaN(enteredValue) || newValue > this.maximum)
|
|
92
|
+
newValue = this.maximum;
|
|
93
|
+
if (newValue < this.lowerValue)
|
|
94
|
+
newValue = this.lowerValue;
|
|
95
|
+
this.refUpperInput.value = newValue;
|
|
96
|
+
this.upperValue = newValue;
|
|
97
|
+
}
|
|
98
|
+
// notify user of updated slider values
|
|
99
|
+
this.emitValuesUpdatedEvent();
|
|
100
|
+
}
|
|
101
|
+
onMinSliderChange() {
|
|
102
|
+
// update slider & fields (without going above upper limit)
|
|
103
|
+
if (parseInt(this.refSliderUpper.value) - parseInt(this.refSliderLower.value) <= this.minGap) {
|
|
104
|
+
this.refSliderLower.value = parseInt(this.refSliderUpper.value) - this.minGap;
|
|
105
|
+
}
|
|
106
|
+
if (this.showFields)
|
|
107
|
+
this.refLowerInput.value = this.refSliderLower.value;
|
|
108
|
+
this.setSliderColours();
|
|
109
|
+
this.setTooltipPositions('min');
|
|
110
|
+
this.lowerValue = parseInt(this.refSliderLower.value);
|
|
111
|
+
// notify user of updated slider values
|
|
112
|
+
this.emitValuesUpdatedEvent();
|
|
113
|
+
}
|
|
114
|
+
onMaxSliderChange() {
|
|
115
|
+
// update slider & fields (without going below lower limit)
|
|
116
|
+
if (parseInt(this.refSliderUpper.value) - parseInt(this.refSliderLower.value) <= this.minGap) {
|
|
117
|
+
this.refSliderUpper.value = parseInt(this.refSliderLower.value) + this.minGap;
|
|
118
|
+
}
|
|
119
|
+
if (this.showFields)
|
|
120
|
+
this.refUpperInput.value = this.refSliderUpper.value;
|
|
121
|
+
this.setSliderColours();
|
|
122
|
+
this.setTooltipPositions('max');
|
|
123
|
+
this.upperValue = parseInt(this.refSliderUpper.value);
|
|
124
|
+
// notify user of updated slider values
|
|
125
|
+
this.emitValuesUpdatedEvent();
|
|
126
|
+
}
|
|
127
|
+
setSliderColours() {
|
|
128
|
+
// update highlighted part of slider based on where slider has moved to
|
|
129
|
+
if (this.sliderMode === 'single') {
|
|
130
|
+
const percent = (this.refSliderSingle.value / this.maximum) * 100;
|
|
131
|
+
this.refSliderTrack.style.background = `linear-gradient(to right, ${this.activeSliderBackground} ${percent}% , ${this.sliderBackground} ${percent}%)`;
|
|
132
|
+
}
|
|
133
|
+
if (this.sliderMode === 'dual') {
|
|
134
|
+
const percent1 = (this.refSliderLower.value / this.maximum) * 100;
|
|
135
|
+
const percent2 = (this.refSliderUpper.value / this.maximum) * 100;
|
|
136
|
+
this.refSliderTrack.style.background = `linear-gradient(to right, ${this.sliderBackground} ${percent1}% , ${this.activeSliderBackground} ${percent1}% , ${this.activeSliderBackground} ${percent2}%, ${this.sliderBackground} ${percent2}%)`;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
renderValueInput(inputType, value) {
|
|
140
|
+
return (h("div", { class: 'input-wrapper' }, h("span", { class: 'input-pre-text' }, inputType[0].toUpperCase() + inputType.slice(1, inputType.length) + ':'), h("input", { type: 'number', class: 'value-input', value: value, ref: el => this.setValueInputRef(inputType, el), onInput: (event) => this.inputDebounce(inputType, event) })));
|
|
141
|
+
}
|
|
142
|
+
setValueInputRef(inputType, element) {
|
|
143
|
+
if (inputType === 'min')
|
|
144
|
+
this.refLowerInput = element;
|
|
145
|
+
if (inputType === 'max')
|
|
146
|
+
this.refUpperInput = element;
|
|
147
|
+
}
|
|
148
|
+
setTooltipPositions(sliderMoved) {
|
|
149
|
+
let timeoutRef;
|
|
150
|
+
let tooltipRef;
|
|
151
|
+
let percentage;
|
|
152
|
+
let styleElement;
|
|
153
|
+
if (sliderMoved === 'min') {
|
|
154
|
+
// single slider uses upper val but needs to build from left
|
|
155
|
+
const value = this.sliderMode === 'single' ? this.upperValue : this.lowerValue;
|
|
156
|
+
timeoutRef = this.minTooltipTimeout;
|
|
157
|
+
tooltipRef = this.refTooltipMin;
|
|
158
|
+
percentage = ((value - this.minimum) / (this.maximum - this.minimum)) * 100;
|
|
159
|
+
styleElement = 'left';
|
|
160
|
+
}
|
|
161
|
+
if (sliderMoved === 'max') {
|
|
162
|
+
timeoutRef = this.maxTooltipTimeout;
|
|
163
|
+
tooltipRef = this.refTooltipMax;
|
|
164
|
+
percentage = 100 - (((this.upperValue - this.minimum) / (this.maximum - this.minimum)) * 100);
|
|
165
|
+
styleElement = 'right';
|
|
166
|
+
}
|
|
167
|
+
// clear relevant timeout & set element expected % from right or left
|
|
168
|
+
clearTimeout(timeoutRef);
|
|
169
|
+
tooltipRef.style[styleElement] = `${percentage}%`;
|
|
170
|
+
tooltipRef.style.display = 'block';
|
|
171
|
+
timeoutRef = setTimeout(() => {
|
|
172
|
+
tooltipRef.style.display = 'none';
|
|
173
|
+
}, 1500);
|
|
174
|
+
}
|
|
175
|
+
onSingleSliderChange(event) {
|
|
176
|
+
const value = event.target.value;
|
|
177
|
+
this.upperValue = parseInt(value); // can only come from slider, no chance of being NaN
|
|
178
|
+
this.setTooltipPositions('min');
|
|
179
|
+
// notify user of updated slider values
|
|
180
|
+
this.emitValuesUpdatedEvent();
|
|
181
|
+
}
|
|
182
|
+
render() {
|
|
183
|
+
return (h("div", { class: 'wrapper' }, this.sliderMode === 'single' && (h(Fragment, null, h("div", { class: 'slider-container' }, h("div", { class: 'slider-track', ref: el => (this.refSliderTrack = el) }), h("span", { ref: el => (this.refTooltipMin = el), class: 'slider-tooltip' }, this.upperValue), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.upperValue, ref: el => (this.refSliderSingle = el), onInput: this.onSingleSliderChange.bind(this) })))), this.sliderMode === 'dual' && (h(Fragment, null, this.showFields && (h("div", { class: 'values' }, this.renderValueInput('min', this.minimum), h("span", { class: 'range-divider' }, " to "), this.renderValueInput('max', this.maximum))), h("div", { class: `slider-container${this.showFields ? ' slider-container-with-fields' : ''}` }, h("div", { class: 'slider-track', ref: el => (this.refSliderTrack = el) }), h("span", { ref: el => (this.refTooltipMin = el), class: 'slider-tooltip' }, this.lowerValue), h("span", { ref: el => (this.refTooltipMax = el), class: 'slider-tooltip slider-tooltip-upper' }, this.upperValue), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.lowerValue, ref: el => (this.refSliderLower = el), onInput: () => this.onMinSliderChange() }), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.upperValue, ref: el => (this.refSliderUpper = el), onInput: () => this.onMaxSliderChange() }))))));
|
|
184
|
+
}
|
|
185
|
+
static get style() { return tttxRangeSliderCss; }
|
|
186
|
+
}, [1, "tttx-range-slider_1_9_71", {
|
|
187
|
+
"minimum": [2],
|
|
188
|
+
"maximum": [2],
|
|
189
|
+
"sliderMode": [1, "slider-mode"],
|
|
190
|
+
"showFields": [4, "show-fields"],
|
|
191
|
+
"lowerValue": [32],
|
|
192
|
+
"upperValue": [32]
|
|
193
|
+
}, [[0, "setSliderValues", "onSetSliderValues"]]]);
|
|
194
|
+
function defineCustomElement$1() {
|
|
195
|
+
if (typeof customElements === "undefined") {
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
const components = ["tttx-range-slider_1_9_71"];
|
|
199
|
+
components.forEach(tagName => { switch (tagName) {
|
|
200
|
+
case "tttx-range-slider_1_9_71":
|
|
201
|
+
if (!customElements.get(tagName)) {
|
|
202
|
+
customElements.define(tagName, TttxRangeSlider);
|
|
203
|
+
}
|
|
204
|
+
break;
|
|
205
|
+
} });
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
const TttxRangeSlider_1_9_71 = TttxRangeSlider;
|
|
209
|
+
const defineCustomElement = defineCustomElement$1;
|
|
210
|
+
|
|
211
|
+
export { TttxRangeSlider_1_9_71, defineCustomElement };
|
|
@@ -109,7 +109,7 @@ const TttxSelectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
109
109
|
let title;
|
|
110
110
|
let subtitle;
|
|
111
111
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
112
|
-
const icon = h("tttx-
|
|
112
|
+
const icon = h("tttx-icon_1_9_71", { icon: chevronIcon, color: "black" });
|
|
113
113
|
let chevron = h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
114
114
|
if (!this.selectedItem) {
|
|
115
115
|
title = h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -126,7 +126,7 @@ const TttxSelectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
126
126
|
chevron = h("div", { class: "dropdown-selector-chevron-offset" }, icon);
|
|
127
127
|
}
|
|
128
128
|
return (h(Fragment, null, h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
|
|
129
|
-
h("tttx-
|
|
129
|
+
h("tttx-icon_1_9_71", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
renderDropdownOptions(options) {
|
|
@@ -149,9 +149,9 @@ const TttxSelectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
149
149
|
}
|
|
150
150
|
// render priority options at the top of the dropdown list
|
|
151
151
|
return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
152
|
-
h(Fragment, null, h("tttx-
|
|
152
|
+
h(Fragment, null, h("tttx-tag_1_9_71", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
153
153
|
h(Fragment, null, usingPriority &&
|
|
154
|
-
h("tttx-
|
|
154
|
+
h("tttx-tag_1_9_71", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
155
155
|
}
|
|
156
156
|
dropdownOption(option) {
|
|
157
157
|
const selected = this.selectedItem && option.value === this.selectedItem.value;
|
|
@@ -238,7 +238,7 @@ const TttxSelectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
238
238
|
return;
|
|
239
239
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
240
240
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
241
|
-
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-
|
|
241
|
+
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_1_9_71", { 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_1_9_71", { class: 'loading-style' })))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_9_71", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
|
|
242
242
|
}
|
|
243
243
|
get el() { return this; }
|
|
244
244
|
static get watchers() { return {
|
|
@@ -246,7 +246,7 @@ const TttxSelectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
246
246
|
"isAllExternalDataLoaded": ["updateAllLoadedBool"]
|
|
247
247
|
}; }
|
|
248
248
|
static get style() { return tttxSelectBoxCss; }
|
|
249
|
-
}, [1, "tttx-select-
|
|
249
|
+
}, [1, "tttx-select-box_1_9_71", {
|
|
250
250
|
"optionsData": [1, "options-data"],
|
|
251
251
|
"label": [1],
|
|
252
252
|
"inline": [4],
|
|
@@ -274,29 +274,29 @@ function defineCustomElement() {
|
|
|
274
274
|
if (typeof customElements === "undefined") {
|
|
275
275
|
return;
|
|
276
276
|
}
|
|
277
|
-
const components = ["tttx-select-
|
|
277
|
+
const components = ["tttx-select-box_1_9_71", "tttx-icon_1_9_71", "tttx-loading-spinner_1_9_71", "tttx-standalone-input_1_9_71", "tttx-tag_1_9_71"];
|
|
278
278
|
components.forEach(tagName => { switch (tagName) {
|
|
279
|
-
case "tttx-select-
|
|
279
|
+
case "tttx-select-box_1_9_71":
|
|
280
280
|
if (!customElements.get(tagName)) {
|
|
281
281
|
customElements.define(tagName, TttxSelectBox);
|
|
282
282
|
}
|
|
283
283
|
break;
|
|
284
|
-
case "tttx-
|
|
284
|
+
case "tttx-icon_1_9_71":
|
|
285
285
|
if (!customElements.get(tagName)) {
|
|
286
286
|
defineCustomElement$4();
|
|
287
287
|
}
|
|
288
288
|
break;
|
|
289
|
-
case "tttx-loading-
|
|
289
|
+
case "tttx-loading-spinner_1_9_71":
|
|
290
290
|
if (!customElements.get(tagName)) {
|
|
291
291
|
defineCustomElement$3();
|
|
292
292
|
}
|
|
293
293
|
break;
|
|
294
|
-
case "tttx-standalone-
|
|
294
|
+
case "tttx-standalone-input_1_9_71":
|
|
295
295
|
if (!customElements.get(tagName)) {
|
|
296
296
|
defineCustomElement$2();
|
|
297
297
|
}
|
|
298
298
|
break;
|
|
299
|
-
case "tttx-
|
|
299
|
+
case "tttx-tag_1_9_71":
|
|
300
300
|
if (!customElements.get(tagName)) {
|
|
301
301
|
defineCustomElement$1();
|
|
302
302
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxSelectBox_1_9_71 extends Components.TttxSelectBox_1_9_71, HTMLElement {}
|
|
4
|
+
export const TttxSelectBox_1_9_71: {
|
|
5
|
+
prototype: TttxSelectBox_1_9_71;
|
|
6
|
+
new (): TttxSelectBox_1_9_71;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxSelectBox, d as defineCustomElement$1 } from './tttx-select-box.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxSelectBox_1_9_71 = TttxSelectBox;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxSelectBox_1_9_71, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxSkeleton_loader_1_9_71 extends Components.TttxSkeleton_loader_1_9_71, HTMLElement {}
|
|
4
|
+
export const TttxSkeleton_loader_1_9_71: {
|
|
5
|
+
prototype: TttxSkeleton_loader_1_9_71;
|
|
6
|
+
new (): TttxSkeleton_loader_1_9_71;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -33,7 +33,7 @@ const TttxSkeletonLoader = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
33
33
|
return (h(Host, null, h("div", { class: `skeleton-wrapper ${this.direction} ${this.customClass}`, style: { gap: this.gap, width: '100%' } }, skeletons.map((_, index) => (h("div", { key: index, class: `skeleton ${this.animation} ${this.variant}`, style: skeletonStyle }))))));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return tttxSkeletonLoaderCss; }
|
|
36
|
-
}, [1, "tttx-
|
|
36
|
+
}, [1, "tttx-skeleton_loader_1_9_71", {
|
|
37
37
|
"width": [1],
|
|
38
38
|
"height": [1],
|
|
39
39
|
"borderRadius": [1, "border-radius"],
|
|
@@ -49,9 +49,9 @@ function defineCustomElement$1() {
|
|
|
49
49
|
if (typeof customElements === "undefined") {
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
|
-
const components = ["tttx-
|
|
52
|
+
const components = ["tttx-skeleton_loader_1_9_71"];
|
|
53
53
|
components.forEach(tagName => { switch (tagName) {
|
|
54
|
-
case "tttx-
|
|
54
|
+
case "tttx-skeleton_loader_1_9_71":
|
|
55
55
|
if (!customElements.get(tagName)) {
|
|
56
56
|
customElements.define(tagName, TttxSkeletonLoader);
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@ function defineCustomElement$1() {
|
|
|
59
59
|
} });
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
const
|
|
62
|
+
const TttxSkeleton_loader_1_9_71 = TttxSkeletonLoader;
|
|
63
63
|
const defineCustomElement = defineCustomElement$1;
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { TttxSkeleton_loader_1_9_71, defineCustomElement };
|
|
@@ -106,13 +106,13 @@ const TttxSorter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
106
106
|
const selectedOption = this.selectedField;
|
|
107
107
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
108
108
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
109
|
-
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-
|
|
109
|
+
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_1_9_71", { 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_1_9_71", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
110
110
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
111
111
|
}))))));
|
|
112
112
|
}
|
|
113
113
|
get el() { return this; }
|
|
114
114
|
static get style() { return tttxSorterCss; }
|
|
115
|
-
}, [1, "tttx-
|
|
115
|
+
}, [1, "tttx-sorter_1_9_71", {
|
|
116
116
|
"sorterKey": [1, "sorter-key"],
|
|
117
117
|
"defaultSortDirection": [1, "default-sort-direction"],
|
|
118
118
|
"fieldOptionsData": [1, "field-options-data"],
|
|
@@ -126,14 +126,14 @@ function defineCustomElement() {
|
|
|
126
126
|
if (typeof customElements === "undefined") {
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
|
-
const components = ["tttx-
|
|
129
|
+
const components = ["tttx-sorter_1_9_71", "tttx-icon_1_9_71"];
|
|
130
130
|
components.forEach(tagName => { switch (tagName) {
|
|
131
|
-
case "tttx-
|
|
131
|
+
case "tttx-sorter_1_9_71":
|
|
132
132
|
if (!customElements.get(tagName)) {
|
|
133
133
|
customElements.define(tagName, TttxSorter);
|
|
134
134
|
}
|
|
135
135
|
break;
|
|
136
|
-
case "tttx-
|
|
136
|
+
case "tttx-icon_1_9_71":
|
|
137
137
|
if (!customElements.get(tagName)) {
|
|
138
138
|
defineCustomElement$1();
|
|
139
139
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxSorter_1_9_71 extends Components.TttxSorter_1_9_71, HTMLElement {}
|
|
4
|
+
export const TttxSorter_1_9_71: {
|
|
5
|
+
prototype: TttxSorter_1_9_71;
|
|
6
|
+
new (): TttxSorter_1_9_71;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxSorter, d as defineCustomElement$1 } from './tttx-sorter.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxSorter_1_9_71 = TttxSorter;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxSorter_1_9_71, defineCustomElement };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './tttx-icon.js';
|
|
3
3
|
|
|
4
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-
|
|
4
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_71{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_71{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_71{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_71 .optional.sc-tttx-standalone-input_1_9_71{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71{position:relative}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 .left-icons.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 .right-icons.sc-tttx-standalone-input_1_9_71{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 .left-icons.sc-tttx-standalone-input_1_9_71 tttx-icon.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 .right-icons.sc-tttx-standalone-input_1_9_71 tttx-icon.sc-tttx-standalone-input_1_9_71{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 .left-icons.sc-tttx-standalone-input_1_9_71{left:8px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 .right-icons.sc-tttx-standalone-input_1_9_71{right:8px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.sc-tttx-standalone-input_1_9_71{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_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.has-input-icon.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.has-input-icon.sc-tttx-standalone-input_1_9_71{padding-left:40px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_71{padding-left:72px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.has-left-icon.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.has-left-icon.sc-tttx-standalone-input_1_9_71{padding-left:40px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.has-right-icon.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.has-right-icon.sc-tttx-standalone-input_1_9_71{padding-right:40px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.invalid.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.invalid.sc-tttx-standalone-input_1_9_71{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.sc-tttx-standalone-input_1_9_71:not([type=submit]),label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.sc-tttx-standalone-input_1_9_71: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_71 .outer-container.sc-tttx-standalone-input_1_9_71 input[type=radio].sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea[type=radio].sc-tttx-standalone-input_1_9_71{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input[type=date].sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea[type=date].sc-tttx-standalone-input_1_9_71{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input[readonly].sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea[readonly].sc-tttx-standalone-input_1_9_71{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.sc-tttx-standalone-input_1_9_71:focus,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.sc-tttx-standalone-input_1_9_71:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 input.sc-tttx-standalone-input_1_9_71:focus-visible,label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.sc-tttx-standalone-input_1_9_71:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.sc-tttx-standalone-input_1_9_71{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_71 .outer-container.sc-tttx-standalone-input_1_9_71 textarea.resize-none.sc-tttx-standalone-input_1_9_71{resize:none}label.sc-tttx-standalone-input_1_9_71 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_71{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_71 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_71 .left-icons.sc-tttx-standalone-input_1_9_71,label.sc-tttx-standalone-input_1_9_71 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_71 .right-icons.sc-tttx-standalone-input_1_9_71{margin-top:4px}label.sc-tttx-standalone-input_1_9_71 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_71{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_71 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_71{display:block}label.sc-tttx-standalone-input_1_9_71 .outer-container.inputInline.sc-tttx-standalone-input_1_9_71{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_71 .outer-container.inputInline.sc-tttx-standalone-input_1_9_71 input.sc-tttx-standalone-input_1_9_71{margin-top:0}label.sc-tttx-standalone-input_1_9_71 .secondarylabel.sc-tttx-standalone-input_1_9_71{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_71 .errorBubble.sc-tttx-standalone-input_1_9_71{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_71 .errorBubble.sc-tttx-standalone-input_1_9_71:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_71 .errorBubble.sc-tttx-standalone-input_1_9_71 span.sc-tttx-standalone-input_1_9_71{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_71{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_71-h{display:block}";
|
|
5
5
|
|
|
6
6
|
const TttxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -84,10 +84,10 @@ const TttxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
84
84
|
this.iconleft ? 'has-left-icon' : '',
|
|
85
85
|
this.iconright ? 'has-right-icon' : '',
|
|
86
86
|
].join(' ');
|
|
87
|
-
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-
|
|
87
|
+
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_71", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_71", { 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_71", { 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)))));
|
|
88
88
|
}
|
|
89
89
|
static get style() { return tttxStandaloneInputCss; }
|
|
90
|
-
}, [2, "tttx-standalone-
|
|
90
|
+
}, [2, "tttx-standalone-input_1_9_71", {
|
|
91
91
|
"label": [1],
|
|
92
92
|
"secondarylabel": [1],
|
|
93
93
|
"showerrormsg": [4],
|
|
@@ -125,14 +125,14 @@ function defineCustomElement() {
|
|
|
125
125
|
if (typeof customElements === "undefined") {
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
|
-
const components = ["tttx-standalone-
|
|
128
|
+
const components = ["tttx-standalone-input_1_9_71", "tttx-icon_1_9_71"];
|
|
129
129
|
components.forEach(tagName => { switch (tagName) {
|
|
130
|
-
case "tttx-standalone-
|
|
130
|
+
case "tttx-standalone-input_1_9_71":
|
|
131
131
|
if (!customElements.get(tagName)) {
|
|
132
132
|
customElements.define(tagName, TttxInput);
|
|
133
133
|
}
|
|
134
134
|
break;
|
|
135
|
-
case "tttx-
|
|
135
|
+
case "tttx-icon_1_9_71":
|
|
136
136
|
if (!customElements.get(tagName)) {
|
|
137
137
|
defineCustomElement$1();
|
|
138
138
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxStandaloneInput_1_9_71 extends Components.TttxStandaloneInput_1_9_71, HTMLElement {}
|
|
4
|
+
export const TttxStandaloneInput_1_9_71: {
|
|
5
|
+
prototype: TttxStandaloneInput_1_9_71;
|
|
6
|
+
new (): TttxStandaloneInput_1_9_71;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxInput, d as defineCustomElement$1 } from './tttx-standalone-input.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxStandaloneInput_1_9_71 = TttxInput;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxStandaloneInput_1_9_71, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxTable_1_9_71 extends Components.TttxTable_1_9_71, HTMLElement {}
|
|
4
|
+
export const TttxTable_1_9_71: {
|
|
5
|
+
prototype: TttxTable_1_9_71;
|
|
6
|
+
new (): TttxTable_1_9_71;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -53,7 +53,7 @@ const TttxTable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
53
53
|
Object.keys(this.data).map((key, index) => (h("tr", { key: 'row-' + index, class: (this.selectable ? 'clickable' : '') + (index === this.selected && this.selectable ? ' selected' : ''), onClick: () => this.rowClickedHandler(this.data[key]) }, this.headers.map((header) => (h("td", { key: 'cell-' + header.key, class: "cell-typography" }, h("div", { class: "cell-spacing", innerHTML: purify.sanitize(this.data[key][header.key], domSanitiserOptions) }))))))))))));
|
|
54
54
|
}
|
|
55
55
|
static get style() { return tttxTableCss; }
|
|
56
|
-
}, [1, "tttx-
|
|
56
|
+
}, [1, "tttx-table_1_9_71", {
|
|
57
57
|
"headers": [16],
|
|
58
58
|
"data": [8],
|
|
59
59
|
"selectable": [4],
|
|
@@ -66,9 +66,9 @@ function defineCustomElement$1() {
|
|
|
66
66
|
if (typeof customElements === "undefined") {
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
|
-
const components = ["tttx-
|
|
69
|
+
const components = ["tttx-table_1_9_71"];
|
|
70
70
|
components.forEach(tagName => { switch (tagName) {
|
|
71
|
-
case "tttx-
|
|
71
|
+
case "tttx-table_1_9_71":
|
|
72
72
|
if (!customElements.get(tagName)) {
|
|
73
73
|
customElements.define(tagName, TttxTable);
|
|
74
74
|
}
|
|
@@ -76,7 +76,7 @@ function defineCustomElement$1() {
|
|
|
76
76
|
} });
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
const
|
|
79
|
+
const TttxTable_1_9_71 = TttxTable;
|
|
80
80
|
const defineCustomElement = defineCustomElement$1;
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { TttxTable_1_9_71, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxTabs_1_9_71 extends Components.TttxTabs_1_9_71, HTMLElement {}
|
|
4
|
+
export const TttxTabs_1_9_71: {
|
|
5
|
+
prototype: TttxTabs_1_9_71;
|
|
6
|
+
new (): TttxTabs_1_9_71;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|