@3t-transform/threeteeui 1.9.53 → 1.9.55
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_53.cjs.entry.js → tttx-action-dropdown_1_9_55.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button_1_9_53.cjs.entry.js → tttx-button_1_9_55.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_53.cjs.entry.js → tttx-checkbox-group-caption_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_53.cjs.entry.js → tttx-checkbox-group-heading_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_53.cjs.entry.js → tttx-checkbox-group_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_53.cjs.entry.js → tttx-checkbox_1_9_55.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_53.cjs.entry.js → tttx-comments_1_9_55.cjs.entry.js} +5 -4
- package/dist/cjs/{tttx-data-pattern_1_9_53.cjs.entry.js → tttx-data-pattern_1_9_55.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_53.cjs.entry.js → tttx-datacard_1_9_55.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +212 -0
- package/dist/cjs/{tttx-dialog-box_1_9_53.cjs.entry.js → tttx-dialog-box_1_9_55.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_53.cjs.entry.js → tttx-dialog_1_9_55.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_53.cjs.entry.js → tttx-expander_1_9_55.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_53_4.cjs.entry.js → tttx-filter_1_9_55_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_53.cjs.entry.js → tttx-form_1_9_55.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_53.cjs.entry.js → tttx-graph_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_53.cjs.entry.js → tttx-icon_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_53.cjs.entry.js → tttx-keyvalue-block_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_53_3.cjs.entry.js → tttx-loading-spinner_1_9_55_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_53.cjs.entry.js → tttx-multiselect-box_1_9_55.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_53.cjs.entry.js → tttx-percentage-bar_1_9_55.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_53.cjs.entry.js → tttx-qrcode_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_53.cjs.entry.js → tttx-select-box_1_9_55.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_53.cjs.entry.js → tttx-skeleton_loader_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_53.cjs.entry.js → tttx-table_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_53.cjs.entry.js → tttx-tabs_1_9_55.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_53.cjs.entry.js → tttx-textarea_1_9_55.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_53.cjs.entry.js → tttx-toggle_1_9_55.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_53.cjs.entry.js → tttx-tree-view_1_9_55.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-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-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.css +16 -0
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +22 -3
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.css +102 -0
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +282 -0
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.stories.js +60 -0
- 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-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-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
- 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 +34 -33
- package/dist/components/index.js +34 -33
- package/dist/components/tttx-action-dropdown_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_53.js → tttx-action-dropdown_1_9_55.js} +7 -7
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_53.d.ts → tttx-button_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_53.js → tttx-button_1_9_55.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_53.js → tttx-checkbox-group-caption_1_9_55.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_53.js → tttx-checkbox-group-heading_1_9_55.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_53.js → tttx-checkbox-group_1_9_55.js} +5 -5
- package/dist/components/{tttx-comments_1_9_53.d.ts → tttx-checkbox_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_53.js → tttx-checkbox_1_9_55.js} +7 -7
- package/dist/components/{tttx-datacard_1_9_53.d.ts → tttx-comments_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_53.js → tttx-comments_1_9_55.js} +11 -9
- package/dist/components/tttx-data-pattern_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_53.js → tttx-data-pattern_1_9_55.js} +16 -16
- package/dist/components/{tttx-checkbox_1_9_53.d.ts → tttx-datacard_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_53.js → tttx-datacard_1_9_55.js} +10 -10
- package/dist/components/{tttx-tag_1_9_53.d.ts → tttx-date-range-picker.d.ts} +4 -4
- package/dist/components/tttx-date-range-picker.js +243 -0
- package/dist/components/tttx-dialog-box_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_53.js → tttx-dialog-box_1_9_55.js} +9 -9
- package/dist/components/{tttx-button_1_9_53.d.ts → tttx-dialog_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_53.js → tttx-dialog_1_9_55.js} +8 -8
- package/dist/components/tttx-expander_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_53.js → tttx-expander_1_9_55.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_53.d.ts → tttx-filter_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_53.js → tttx-filter_1_9_55.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_53.d.ts → tttx-form_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_53.js → tttx-form_1_9_55.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_53.d.ts → tttx-graph_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_53.js → tttx-graph_1_9_55.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_53.d.ts → tttx-icon_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_53.js → tttx-icon_1_9_55.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_53.js → tttx-keyvalue-block_1_9_55.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_53.d.ts → tttx-list_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_53.js → tttx-list_1_9_55.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_53.js → tttx-loading-spinner_1_9_55.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_53.js → tttx-multiselect-box_1_9_55.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_53.js → tttx-percentage-bar_1_9_55.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_53.d.ts → tttx-qrcode_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_53.js → tttx-qrcode_1_9_55.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_53.js → tttx-select-box_1_9_55.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_53.js → tttx-skeleton_loader_1_9_55.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_53.js → tttx-sorter_1_9_55.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_53.js → tttx-standalone-input_1_9_55.js} +2 -2
- package/dist/components/{tttx-table_1_9_53.d.ts → tttx-table_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_53.js → tttx-table_1_9_55.js} +5 -5
- package/dist/components/{tttx-form_1_9_53.d.ts → tttx-tabs_1_9_55.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_53.js → tttx-tabs_1_9_55.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/tttx-tag_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-tag_1_9_53.js → tttx-tag_1_9_55.js} +2 -2
- package/dist/components/tttx-textarea_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_53.js → tttx-textarea_1_9_55.js} +6 -6
- package/dist/components/tttx-toggle_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_53.js → tttx-toggle_1_9_55.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_53.js → tttx-toolbar_1_9_55.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_55.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_53.js → tttx-tree-view_1_9_55.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_53.entry.js → tttx-action-dropdown_1_9_55.entry.js} +2 -2
- package/dist/esm/{tttx-button_1_9_53.entry.js → tttx-button_1_9_55.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_9_53.entry.js → tttx-checkbox-group-caption_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_53.entry.js → tttx-checkbox-group-heading_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_53.entry.js → tttx-checkbox-group_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_53.entry.js → tttx-checkbox_1_9_55.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_53.entry.js → tttx-comments_1_9_55.entry.js} +5 -4
- package/dist/esm/{tttx-data-pattern_1_9_53.entry.js → tttx-data-pattern_1_9_55.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_53.entry.js → tttx-datacard_1_9_55.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +208 -0
- package/dist/esm/{tttx-dialog-box_1_9_53.entry.js → tttx-dialog-box_1_9_55.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_53.entry.js → tttx-dialog_1_9_55.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_53.entry.js → tttx-expander_1_9_55.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_53_4.entry.js → tttx-filter_1_9_55_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_53.entry.js → tttx-form_1_9_55.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_53.entry.js → tttx-graph_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_53.entry.js → tttx-icon_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_53.entry.js → tttx-keyvalue-block_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_53_3.entry.js → tttx-loading-spinner_1_9_55_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_53.entry.js → tttx-multiselect-box_1_9_55.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_53.entry.js → tttx-percentage-bar_1_9_55.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_53.entry.js → tttx-qrcode_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_53.entry.js → tttx-select-box_1_9_55.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_53.entry.js → tttx-skeleton_loader_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_53.entry.js → tttx-table_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_53.entry.js → tttx-tabs_1_9_55.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_53.entry.js → tttx-textarea_1_9_55.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_53.entry.js → tttx-toggle_1_9_55.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_53.entry.js → tttx-tree-view_1_9_55.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-03c3c654.entry.js +1 -1
- package/dist/tttx/p-1d8210d3.entry.js +1 -1
- package/dist/tttx/p-21bb99dd.entry.js +1 -1
- package/dist/tttx/p-22150380.entry.js +1 -1
- package/dist/tttx/p-222b7f89.entry.js +1 -1
- package/dist/tttx/p-354fc8d4.entry.js +1 -1
- package/dist/tttx/p-3f2f039d.entry.js +1 -1
- package/dist/tttx/p-4560cb86.entry.js +1 -1
- package/dist/tttx/p-49bae603.entry.js +1 -1
- package/dist/tttx/p-4eaab3ae.entry.js +1 -0
- package/dist/tttx/p-555885cc.entry.js +1 -1
- package/dist/tttx/p-61df30c5.entry.js +1 -1
- package/dist/tttx/p-6343251b.entry.js +1 -1
- package/dist/tttx/p-652aaf6c.entry.js +1 -1
- package/dist/tttx/p-65da8c2a.entry.js +1 -1
- package/dist/tttx/p-71372d3a.entry.js +1 -1
- package/dist/tttx/p-7ff42357.entry.js +1 -1
- package/dist/tttx/p-80c3103a.entry.js +1 -1
- package/dist/tttx/p-8aeb43df.entry.js +1 -1
- package/dist/tttx/p-9262d276.entry.js +1 -1
- package/dist/tttx/p-9426547c.entry.js +1 -1
- package/dist/tttx/p-9896a083.entry.js +1 -1
- package/dist/tttx/p-98bee16c.entry.js +1 -1
- package/dist/tttx/p-b077aa45.entry.js +1 -0
- package/dist/tttx/p-c7ff1887.entry.js +1 -1
- package/dist/tttx/p-e23f0843.entry.js +1 -1
- package/dist/tttx/p-e4b36835.entry.js +1 -1
- package/dist/tttx/p-e5f97b02.entry.js +1 -1
- package/dist/tttx/p-e8b9acb8.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-comments/tttx-comments.d.ts +1 -0
- package/dist/types/components/molecules/tttx-date-range-picker/tttx-date-range-picker.d.ts +43 -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 +418 -394
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_53.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_53.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_53.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_53.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_53.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_53.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_53.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_53.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_53.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_53.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_53.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_53.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_53.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_53.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_53.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_53.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_53.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_53.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_53.d.ts +0 -11
- package/dist/tttx/p-32c6c7ad.entry.js +0 -1
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
3
|
+
|
|
4
|
+
const tttxDateRangePickerCss = ":host{display:block;position:relative;font-family:sans-serif}.date-range-input{display:inline-flex;align-items:center;justify-content:space-between;border:1px solid #ccc;padding:0.5em 0.75em;border-radius:4px;cursor:pointer;background:white;min-width:250px;font-size:14px}.date-range-input .range-text{flex:1;color:#333}.date-range-input .clear-btn{background:none;border:none;font-size:16px;color:#888;margin-left:8px;cursor:pointer}.date-range-input .calendar-icon{margin-left:8px}.calendar-popup{position:absolute;z-index:1000;top:calc(100% + 4px);background:white;border:1px solid #ccc;display:flex;padding:1em;border-radius:4px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.1)}.calendar-popup.double{gap:1em}.calendar{display:flex;flex-direction:column;width:240px}.calendar .calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0.5em}.calendar .calendar-header .nav-btn{background:none;border:none;cursor:pointer;font-size:16px;padding:0 8px}.calendar .calendar-header .month-label{font-weight:bold;font-size:14px}.calendar .calendar-grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:4px}.calendar .calendar-grid .calendar-weekday{font-weight:bold;text-align:center;font-size:12px;padding-bottom:4px}.calendar .calendar-grid .calendar-date{text-align:center;padding:0.5em;border-radius:4px;font-size:14px;cursor:pointer;transition:background 0.2s ease}.calendar .calendar-grid .calendar-date:hover{background-color:#f0f0f0}.calendar .calendar-grid .calendar-date.range-start,.calendar .calendar-grid .calendar-date.range-end,.calendar .calendar-grid .calendar-date.inrange{background-color:#1479c6;color:white;font-weight:bold}.calendar .calendar-grid .calendar-date.empty{background:transparent;cursor:default}";
|
|
5
|
+
|
|
6
|
+
const TttxDateRangePicker$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this.dateRangeChanged = createEvent(this, "dateRangeChanged", 7);
|
|
12
|
+
this.handleOutsideClick = (e) => {
|
|
13
|
+
if (this.showCalendar && this.inputRef && !this.inputRef.contains(e.target)) {
|
|
14
|
+
this.showCalendar = false;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
this.toggleCalendar = () => {
|
|
18
|
+
this.showCalendar = !this.showCalendar;
|
|
19
|
+
};
|
|
20
|
+
this.handleInputClick = (e) => {
|
|
21
|
+
e.stopPropagation();
|
|
22
|
+
this.toggleCalendar();
|
|
23
|
+
};
|
|
24
|
+
this.handleClear = (e) => {
|
|
25
|
+
e.stopPropagation();
|
|
26
|
+
this.resetRange();
|
|
27
|
+
};
|
|
28
|
+
this.initialValue = undefined;
|
|
29
|
+
this.placeholderText = 'Select date range';
|
|
30
|
+
this.showCalendar = false;
|
|
31
|
+
this.startDate = '';
|
|
32
|
+
this.endDate = '';
|
|
33
|
+
this.leftMonth = new Date().getMonth();
|
|
34
|
+
this.leftYear = new Date().getFullYear();
|
|
35
|
+
this.rightMonth = (new Date().getMonth() + 1) % 12;
|
|
36
|
+
this.rightYear = new Date().getMonth() === 11 ? new Date().getFullYear() + 1 : new Date().getFullYear();
|
|
37
|
+
this.isSelecting = true;
|
|
38
|
+
}
|
|
39
|
+
componentDidLoad() {
|
|
40
|
+
document.addEventListener('click', this.handleOutsideClick);
|
|
41
|
+
}
|
|
42
|
+
disconnectedCallback() {
|
|
43
|
+
document.removeEventListener('click', this.handleOutsideClick);
|
|
44
|
+
}
|
|
45
|
+
componentWillLoad() {
|
|
46
|
+
this.initializeRangeFromProp();
|
|
47
|
+
}
|
|
48
|
+
watchInitialValue() {
|
|
49
|
+
this.initializeRangeFromProp();
|
|
50
|
+
}
|
|
51
|
+
initializeRangeFromProp() {
|
|
52
|
+
let start = '';
|
|
53
|
+
let end = '';
|
|
54
|
+
// Extract from prop
|
|
55
|
+
if (typeof this.initialValue === 'string') {
|
|
56
|
+
try {
|
|
57
|
+
const parsed = JSON.parse(this.initialValue);
|
|
58
|
+
start = parsed.start;
|
|
59
|
+
end = parsed.end;
|
|
60
|
+
}
|
|
61
|
+
catch (_a) {
|
|
62
|
+
console.error('Invalid JSON passed to initialValue');
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
else if (typeof this.initialValue === 'object' && this.initialValue !== null) {
|
|
66
|
+
start = this.initialValue.start;
|
|
67
|
+
end = this.initialValue.end;
|
|
68
|
+
}
|
|
69
|
+
// Convert from dd/mm/yyyy to ISO if needed
|
|
70
|
+
if (start && start.includes('/'))
|
|
71
|
+
start = this.parseDDMMYYYYToISO(start);
|
|
72
|
+
if (end && end.includes('/'))
|
|
73
|
+
end = this.parseDDMMYYYYToISO(end);
|
|
74
|
+
// Set state
|
|
75
|
+
if (start)
|
|
76
|
+
this.startDate = start;
|
|
77
|
+
if (end)
|
|
78
|
+
this.endDate = end;
|
|
79
|
+
if (start || end) {
|
|
80
|
+
this.emitRangeChange(start, end);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
resetRange() {
|
|
84
|
+
this.startDate = '';
|
|
85
|
+
this.endDate = '';
|
|
86
|
+
this.isSelecting = true;
|
|
87
|
+
this.emitRangeChange('', '');
|
|
88
|
+
}
|
|
89
|
+
emitRangeChange(start, end) {
|
|
90
|
+
const startDate = start ? this.formatToDDMMYYYY(start) : '';
|
|
91
|
+
const endDate = end ? this.formatToDDMMYYYY(end) : '';
|
|
92
|
+
this.dateRangeChanged.emit({ name: 'customDateRange', value: { start: startDate, end: endDate } });
|
|
93
|
+
}
|
|
94
|
+
handleDateClick(date) {
|
|
95
|
+
const selectedDate = new Date(date);
|
|
96
|
+
if (this.isSelecting) {
|
|
97
|
+
this.startDate = date;
|
|
98
|
+
this.endDate = '';
|
|
99
|
+
this.emitRangeChange(this.startDate, '');
|
|
100
|
+
this.isSelecting = false;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
const start = new Date(this.startDate);
|
|
104
|
+
if (selectedDate >= start) {
|
|
105
|
+
this.endDate = date;
|
|
106
|
+
this.emitRangeChange(this.startDate, this.endDate);
|
|
107
|
+
this.showCalendar = false;
|
|
108
|
+
this.isSelecting = true;
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
this.startDate = date;
|
|
112
|
+
this.endDate = '';
|
|
113
|
+
this.emitRangeChange(this.startDate, '');
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
changeMonth(direction, calendar) {
|
|
118
|
+
let month = calendar === 'left' ? this.leftMonth : this.rightMonth;
|
|
119
|
+
let year = calendar === 'left' ? this.leftYear : this.rightYear;
|
|
120
|
+
if (direction === 'prev') {
|
|
121
|
+
month = month === 0 ? 11 : month - 1;
|
|
122
|
+
year = month === 11 ? year - 1 : year;
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
month = month === 11 ? 0 : month + 1;
|
|
126
|
+
year = month === 0 ? year + 1 : year;
|
|
127
|
+
}
|
|
128
|
+
if (calendar === 'left') {
|
|
129
|
+
this.leftMonth = month;
|
|
130
|
+
this.leftYear = year;
|
|
131
|
+
if (year > this.rightYear || (year === this.rightYear && month >= this.rightMonth)) {
|
|
132
|
+
this.rightMonth = (month + 1) % 12;
|
|
133
|
+
this.rightYear = month === 11 ? year + 1 : year;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
this.rightMonth = month;
|
|
138
|
+
this.rightYear = year;
|
|
139
|
+
if (year < this.leftYear || (year === this.leftYear && month <= this.leftMonth)) {
|
|
140
|
+
this.leftMonth = month === 0 ? 11 : month - 1;
|
|
141
|
+
this.leftYear = month === 0 ? year - 1 : year;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
formatToDDMMYYYY(dateStr) {
|
|
146
|
+
const date = new Date(dateStr);
|
|
147
|
+
const day = String(date.getDate()).padStart(2, '0');
|
|
148
|
+
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
149
|
+
const year = date.getFullYear();
|
|
150
|
+
return `${day}/${month}/${year}`;
|
|
151
|
+
}
|
|
152
|
+
generateCalendarGrid(year, month) {
|
|
153
|
+
const firstDay = new Date(year, month, 1).getDay();
|
|
154
|
+
const daysInMonth = new Date(year, month + 1, 0).getDate();
|
|
155
|
+
const grid = [];
|
|
156
|
+
for (let i = 0; i < firstDay; i++) {
|
|
157
|
+
grid.push({ date: null, isCurrentMonth: false });
|
|
158
|
+
}
|
|
159
|
+
for (let day = 1; day <= daysInMonth; day++) {
|
|
160
|
+
const date = new Date(year, month, day).toISOString().split('T')[0].replace(/-/g, '/');
|
|
161
|
+
grid.push({ date, isCurrentMonth: true });
|
|
162
|
+
}
|
|
163
|
+
while (grid.length < 42) {
|
|
164
|
+
grid.push({ date: null, isCurrentMonth: false });
|
|
165
|
+
}
|
|
166
|
+
return grid;
|
|
167
|
+
}
|
|
168
|
+
getMonthName(month) {
|
|
169
|
+
return new Date(2000, month).toLocaleString('default', { month: 'long' });
|
|
170
|
+
}
|
|
171
|
+
parseDDMMYYYYToISO(dateStr) {
|
|
172
|
+
const [dd, mm, yyyy] = dateStr.split('/');
|
|
173
|
+
return new Date(`${yyyy}-${mm}-${dd}`).toISOString().split('T')[0]; // ISO string
|
|
174
|
+
}
|
|
175
|
+
renderCalendar(year, month, selectDate, isStart) {
|
|
176
|
+
const grid = this.generateCalendarGrid(year, month);
|
|
177
|
+
const weekDays = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];
|
|
178
|
+
return (h("div", { class: "calendar" }, h("div", { class: "calendar-header" }, h("button", { class: "nav-btn", onClick: e => { e.stopPropagation(); this.changeMonth('prev', isStart ? 'left' : 'right'); } }, "<"), h("span", { class: "month-label" }, this.getMonthName(month), " ", year), h("button", { class: "nav-btn", onClick: e => { e.stopPropagation(); this.changeMonth('next', isStart ? 'left' : 'right'); } }, ">")), h("div", { class: "calendar-grid" }, weekDays.map(day => h("div", { class: "calendar-weekday", key: day }, day)), grid.map((cell, i) => {
|
|
179
|
+
if (!cell.isCurrentMonth || !cell.date) {
|
|
180
|
+
return h("div", { class: "calendar-date empty", key: `empty-${i}` });
|
|
181
|
+
}
|
|
182
|
+
const date = cell.date;
|
|
183
|
+
const isRangeStart = date === this.startDate;
|
|
184
|
+
const isRangeEnd = date === this.endDate;
|
|
185
|
+
const isInRange = this.startDate &&
|
|
186
|
+
this.endDate &&
|
|
187
|
+
new Date(date) > new Date(this.startDate) &&
|
|
188
|
+
new Date(date) < new Date(this.endDate);
|
|
189
|
+
return (h("div", { class: {
|
|
190
|
+
'calendar-date': true,
|
|
191
|
+
'range-start': isRangeStart,
|
|
192
|
+
'range-end': isRangeEnd,
|
|
193
|
+
'inrange': isInRange,
|
|
194
|
+
}, onClick: e => { e.stopPropagation(); selectDate(date); }, key: date }, new Date(date).getDate()));
|
|
195
|
+
}))));
|
|
196
|
+
}
|
|
197
|
+
render() {
|
|
198
|
+
const rangeText = this.startDate && this.endDate
|
|
199
|
+
? `${this.formatToDDMMYYYY(this.startDate)} – ${this.formatToDDMMYYYY(this.endDate)}`
|
|
200
|
+
: this.startDate
|
|
201
|
+
? `${this.formatToDDMMYYYY(this.startDate)} –`
|
|
202
|
+
: this.placeholderText;
|
|
203
|
+
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: "range-text" }, 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_1_9_55", { icon: 'calendar_month' }))), this.showCalendar && (h("div", { class: "calendar-popup double" }, this.renderCalendar(this.leftYear, this.leftMonth, this.handleDateClick.bind(this), true), this.renderCalendar(this.rightYear, this.rightMonth, this.handleDateClick.bind(this), false)))));
|
|
204
|
+
}
|
|
205
|
+
static get watchers() { return {
|
|
206
|
+
"initialValue": ["watchInitialValue"]
|
|
207
|
+
}; }
|
|
208
|
+
static get style() { return tttxDateRangePickerCss; }
|
|
209
|
+
}, [1, "tttx-date-range-picker", {
|
|
210
|
+
"initialValue": [16],
|
|
211
|
+
"placeholderText": [1, "placeholder-text"],
|
|
212
|
+
"showCalendar": [32],
|
|
213
|
+
"startDate": [32],
|
|
214
|
+
"endDate": [32],
|
|
215
|
+
"leftMonth": [32],
|
|
216
|
+
"leftYear": [32],
|
|
217
|
+
"rightMonth": [32],
|
|
218
|
+
"rightYear": [32],
|
|
219
|
+
"isSelecting": [32]
|
|
220
|
+
}]);
|
|
221
|
+
function defineCustomElement$1() {
|
|
222
|
+
if (typeof customElements === "undefined") {
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
const components = ["tttx-date-range-picker", "tttx-icon_1_9_55"];
|
|
226
|
+
components.forEach(tagName => { switch (tagName) {
|
|
227
|
+
case "tttx-date-range-picker":
|
|
228
|
+
if (!customElements.get(tagName)) {
|
|
229
|
+
customElements.define(tagName, TttxDateRangePicker$1);
|
|
230
|
+
}
|
|
231
|
+
break;
|
|
232
|
+
case "tttx-icon_1_9_55":
|
|
233
|
+
if (!customElements.get(tagName)) {
|
|
234
|
+
defineCustomElement$2();
|
|
235
|
+
}
|
|
236
|
+
break;
|
|
237
|
+
} });
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
const TttxDateRangePicker = TttxDateRangePicker$1;
|
|
241
|
+
const defineCustomElement = defineCustomElement$1;
|
|
242
|
+
|
|
243
|
+
export { TttxDateRangePicker, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxDialogBox_1_9_55 extends Components.TttxDialogBox_1_9_55, HTMLElement {}
|
|
4
|
+
export const TttxDialogBox_1_9_55: {
|
|
5
|
+
prototype: TttxDialogBox_1_9_55;
|
|
6
|
+
new (): TttxDialogBox_1_9_55;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -59,7 +59,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
59
59
|
const iconColor = header.iconColor;
|
|
60
60
|
const iconEnabled = header.hasIcon ? true : false;
|
|
61
61
|
const closeEnabled = header.hasClose ? true : false;
|
|
62
|
-
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-
|
|
62
|
+
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_1_9_55", { 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_1_9_55", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
63
63
|
}
|
|
64
64
|
renderContent(content) {
|
|
65
65
|
if (content.isCustomHtml) {
|
|
@@ -76,7 +76,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
76
76
|
const button2Enabled = button.length > 1;
|
|
77
77
|
const button3Enabled = button.length == 3;
|
|
78
78
|
const isMobile = this.elementSize === 'mobile';
|
|
79
|
-
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-
|
|
79
|
+
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_1_9_55", { 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_1_9_55", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (h("tttx-button_1_9_55", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
80
80
|
}
|
|
81
81
|
componentWillLoad() {
|
|
82
82
|
if (window.innerWidth < 698) {
|
|
@@ -99,7 +99,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
99
99
|
}
|
|
100
100
|
get el() { return this; }
|
|
101
101
|
static get style() { return tttxDialogBoxCss; }
|
|
102
|
-
}, [1, "tttx-dialog-
|
|
102
|
+
}, [1, "tttx-dialog-box_1_9_55", {
|
|
103
103
|
"data": [1025],
|
|
104
104
|
"size": [1],
|
|
105
105
|
"open": [1028],
|
|
@@ -110,19 +110,19 @@ function defineCustomElement$1() {
|
|
|
110
110
|
if (typeof customElements === "undefined") {
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
|
-
const components = ["tttx-dialog-
|
|
113
|
+
const components = ["tttx-dialog-box_1_9_55", "tttx-button_1_9_55", "tttx-icon_1_9_55"];
|
|
114
114
|
components.forEach(tagName => { switch (tagName) {
|
|
115
|
-
case "tttx-dialog-
|
|
115
|
+
case "tttx-dialog-box_1_9_55":
|
|
116
116
|
if (!customElements.get(tagName)) {
|
|
117
117
|
customElements.define(tagName, TttxDialogBox);
|
|
118
118
|
}
|
|
119
119
|
break;
|
|
120
|
-
case "tttx-
|
|
120
|
+
case "tttx-button_1_9_55":
|
|
121
121
|
if (!customElements.get(tagName)) {
|
|
122
122
|
defineCustomElement$3();
|
|
123
123
|
}
|
|
124
124
|
break;
|
|
125
|
-
case "tttx-
|
|
125
|
+
case "tttx-icon_1_9_55":
|
|
126
126
|
if (!customElements.get(tagName)) {
|
|
127
127
|
defineCustomElement$2();
|
|
128
128
|
}
|
|
@@ -130,7 +130,7 @@ function defineCustomElement$1() {
|
|
|
130
130
|
} });
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
const
|
|
133
|
+
const TttxDialogBox_1_9_55 = TttxDialogBox;
|
|
134
134
|
const defineCustomElement = defineCustomElement$1;
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { TttxDialogBox_1_9_55, 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 TttxDialog_1_9_55 extends Components.TttxDialog_1_9_55, HTMLElement {}
|
|
4
|
+
export const TttxDialog_1_9_55: {
|
|
5
|
+
prototype: TttxDialog_1_9_55;
|
|
6
|
+
new (): TttxDialog_1_9_55;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -50,7 +50,7 @@ const TttxDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
50
50
|
renderHeader() {
|
|
51
51
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
52
52
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
53
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
53
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_9_55", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_9_55", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
54
54
|
}
|
|
55
55
|
body() {
|
|
56
56
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -76,7 +76,7 @@ const TttxDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
76
76
|
}
|
|
77
77
|
get el() { return this; }
|
|
78
78
|
static get style() { return tttxDialogCss; }
|
|
79
|
-
}, [1, "tttx-
|
|
79
|
+
}, [1, "tttx-dialog_1_9_55", {
|
|
80
80
|
"header": [1],
|
|
81
81
|
"type": [1],
|
|
82
82
|
"size": [1],
|
|
@@ -89,19 +89,19 @@ function defineCustomElement$1() {
|
|
|
89
89
|
if (typeof customElements === "undefined") {
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
|
-
const components = ["tttx-
|
|
92
|
+
const components = ["tttx-dialog_1_9_55", "tttx-button_1_9_55", "tttx-icon_1_9_55"];
|
|
93
93
|
components.forEach(tagName => { switch (tagName) {
|
|
94
|
-
case "tttx-
|
|
94
|
+
case "tttx-dialog_1_9_55":
|
|
95
95
|
if (!customElements.get(tagName)) {
|
|
96
96
|
customElements.define(tagName, TttxDialog);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
|
-
case "tttx-
|
|
99
|
+
case "tttx-button_1_9_55":
|
|
100
100
|
if (!customElements.get(tagName)) {
|
|
101
101
|
defineCustomElement$3();
|
|
102
102
|
}
|
|
103
103
|
break;
|
|
104
|
-
case "tttx-
|
|
104
|
+
case "tttx-icon_1_9_55":
|
|
105
105
|
if (!customElements.get(tagName)) {
|
|
106
106
|
defineCustomElement$2();
|
|
107
107
|
}
|
|
@@ -109,7 +109,7 @@ function defineCustomElement$1() {
|
|
|
109
109
|
} });
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
const
|
|
112
|
+
const TttxDialog_1_9_55 = TttxDialog;
|
|
113
113
|
const defineCustomElement = defineCustomElement$1;
|
|
114
114
|
|
|
115
|
-
export {
|
|
115
|
+
export { TttxDialog_1_9_55, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxExpander_1_9_55 extends Components.TttxExpander_1_9_55, HTMLElement {}
|
|
4
|
+
export const TttxExpander_1_9_55: {
|
|
5
|
+
prototype: TttxExpander_1_9_55;
|
|
6
|
+
new (): TttxExpander_1_9_55;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -29,10 +29,10 @@ const TttxExpander = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
29
29
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
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-
|
|
32
|
+
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_1_9_55", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_1_9_55", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_1_9_55", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
|
|
33
33
|
}
|
|
34
34
|
static get style() { return tttxExpanderCss; }
|
|
35
|
-
}, [1, "tttx-
|
|
35
|
+
}, [1, "tttx-expander_1_9_55", {
|
|
36
36
|
"name": [1],
|
|
37
37
|
"open": [4],
|
|
38
38
|
"lefticon": [1],
|
|
@@ -43,14 +43,14 @@ function defineCustomElement$1() {
|
|
|
43
43
|
if (typeof customElements === "undefined") {
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
|
-
const components = ["tttx-
|
|
46
|
+
const components = ["tttx-expander_1_9_55", "tttx-icon_1_9_55"];
|
|
47
47
|
components.forEach(tagName => { switch (tagName) {
|
|
48
|
-
case "tttx-
|
|
48
|
+
case "tttx-expander_1_9_55":
|
|
49
49
|
if (!customElements.get(tagName)) {
|
|
50
50
|
customElements.define(tagName, TttxExpander);
|
|
51
51
|
}
|
|
52
52
|
break;
|
|
53
|
-
case "tttx-
|
|
53
|
+
case "tttx-icon_1_9_55":
|
|
54
54
|
if (!customElements.get(tagName)) {
|
|
55
55
|
defineCustomElement$2();
|
|
56
56
|
}
|
|
@@ -58,7 +58,7 @@ function defineCustomElement$1() {
|
|
|
58
58
|
} });
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
const
|
|
61
|
+
const TttxExpander_1_9_55 = TttxExpander;
|
|
62
62
|
const defineCustomElement = defineCustomElement$1;
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { TttxExpander_1_9_55, defineCustomElement };
|
|
@@ -179,15 +179,15 @@ const TttxFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
179
179
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
180
180
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
181
181
|
const filterKey = `filter__${this.filterKey}`;
|
|
182
|
-
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-
|
|
182
|
+
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_1_9_55", { 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_1_9_55", { 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_1_9_55", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
183
183
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
184
184
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
185
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
185
|
+
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_1_9_55", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_1_9_55", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
|
|
186
186
|
})), 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")))))));
|
|
187
187
|
}
|
|
188
188
|
get el() { return this; }
|
|
189
189
|
static get style() { return tttxFilterCss; }
|
|
190
|
-
}, [1, "tttx-
|
|
190
|
+
}, [1, "tttx-filter_1_9_55", {
|
|
191
191
|
"filterKey": [1, "filter-key"],
|
|
192
192
|
"filterOptions": [1, "filter-options"],
|
|
193
193
|
"showSelectAll": [4, "show-select-all"],
|
|
@@ -207,14 +207,14 @@ function defineCustomElement() {
|
|
|
207
207
|
if (typeof customElements === "undefined") {
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
210
|
-
const components = ["tttx-
|
|
210
|
+
const components = ["tttx-filter_1_9_55", "tttx-icon_1_9_55"];
|
|
211
211
|
components.forEach(tagName => { switch (tagName) {
|
|
212
|
-
case "tttx-
|
|
212
|
+
case "tttx-filter_1_9_55":
|
|
213
213
|
if (!customElements.get(tagName)) {
|
|
214
214
|
customElements.define(tagName, TttxFilter);
|
|
215
215
|
}
|
|
216
216
|
break;
|
|
217
|
-
case "tttx-
|
|
217
|
+
case "tttx-icon_1_9_55":
|
|
218
218
|
if (!customElements.get(tagName)) {
|
|
219
219
|
defineCustomElement$1();
|
|
220
220
|
}
|
|
@@ -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 TttxFilter_1_9_55 extends Components.TttxFilter_1_9_55, HTMLElement {}
|
|
4
|
+
export const TttxFilter_1_9_55: {
|
|
5
|
+
prototype: TttxFilter_1_9_55;
|
|
6
|
+
new (): TttxFilter_1_9_55;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxFilter, d as defineCustomElement$1 } from './tttx-filter.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxFilter_1_9_55 = TttxFilter;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxFilter_1_9_55, 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 TttxForm_1_9_55 extends Components.TttxForm_1_9_55, HTMLElement {}
|
|
4
|
+
export const TttxForm_1_9_55: {
|
|
5
|
+
prototype: TttxForm_1_9_55;
|
|
6
|
+
new (): TttxForm_1_9_55;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -358,7 +358,7 @@ const TttxForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
358
358
|
if ((_b = this._data) === null || _b === void 0 ? void 0 : _b[formKey]) {
|
|
359
359
|
select.classList.remove('placeholder');
|
|
360
360
|
}
|
|
361
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
361
|
+
const tttxSelect = document.createElement('tttx-select-box_1_9_55');
|
|
362
362
|
tttxSelect.optionsData = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => !o.placeholder);
|
|
363
363
|
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;
|
|
364
364
|
tttxSelect.inline = false;
|
|
@@ -999,7 +999,7 @@ const TttxForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
999
999
|
"data": ["onDataChange"]
|
|
1000
1000
|
}; }
|
|
1001
1001
|
static get style() { return tttxFormCss; }
|
|
1002
|
-
}, [1, "tttx-
|
|
1002
|
+
}, [1, "tttx-form_1_9_55", {
|
|
1003
1003
|
"formschema": [1025],
|
|
1004
1004
|
"data": [1032],
|
|
1005
1005
|
"submit": [64],
|
|
@@ -1018,34 +1018,34 @@ function defineCustomElement$1() {
|
|
|
1018
1018
|
if (typeof customElements === "undefined") {
|
|
1019
1019
|
return;
|
|
1020
1020
|
}
|
|
1021
|
-
const components = ["tttx-
|
|
1021
|
+
const components = ["tttx-form_1_9_55", "tttx-icon_1_9_55", "tttx-loading-spinner_1_9_55", "tttx-select-box_1_9_55", "tttx-standalone-input_1_9_55", "tttx-tag_1_9_55"];
|
|
1022
1022
|
components.forEach(tagName => { switch (tagName) {
|
|
1023
|
-
case "tttx-
|
|
1023
|
+
case "tttx-form_1_9_55":
|
|
1024
1024
|
if (!customElements.get(tagName)) {
|
|
1025
1025
|
customElements.define(tagName, TttxForm);
|
|
1026
1026
|
}
|
|
1027
1027
|
break;
|
|
1028
|
-
case "tttx-
|
|
1028
|
+
case "tttx-icon_1_9_55":
|
|
1029
1029
|
if (!customElements.get(tagName)) {
|
|
1030
1030
|
defineCustomElement$6();
|
|
1031
1031
|
}
|
|
1032
1032
|
break;
|
|
1033
|
-
case "tttx-loading-
|
|
1033
|
+
case "tttx-loading-spinner_1_9_55":
|
|
1034
1034
|
if (!customElements.get(tagName)) {
|
|
1035
1035
|
defineCustomElement$5();
|
|
1036
1036
|
}
|
|
1037
1037
|
break;
|
|
1038
|
-
case "tttx-select-
|
|
1038
|
+
case "tttx-select-box_1_9_55":
|
|
1039
1039
|
if (!customElements.get(tagName)) {
|
|
1040
1040
|
defineCustomElement$4();
|
|
1041
1041
|
}
|
|
1042
1042
|
break;
|
|
1043
|
-
case "tttx-standalone-
|
|
1043
|
+
case "tttx-standalone-input_1_9_55":
|
|
1044
1044
|
if (!customElements.get(tagName)) {
|
|
1045
1045
|
defineCustomElement$3();
|
|
1046
1046
|
}
|
|
1047
1047
|
break;
|
|
1048
|
-
case "tttx-
|
|
1048
|
+
case "tttx-tag_1_9_55":
|
|
1049
1049
|
if (!customElements.get(tagName)) {
|
|
1050
1050
|
defineCustomElement$2();
|
|
1051
1051
|
}
|
|
@@ -1053,7 +1053,7 @@ function defineCustomElement$1() {
|
|
|
1053
1053
|
} });
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
|
-
const
|
|
1056
|
+
const TttxForm_1_9_55 = TttxForm;
|
|
1057
1057
|
const defineCustomElement = defineCustomElement$1;
|
|
1058
1058
|
|
|
1059
|
-
export {
|
|
1059
|
+
export { TttxForm_1_9_55, defineCustomElement };
|
|
@@ -14908,7 +14908,7 @@ const TttxGraph = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
14908
14908
|
return '#F0F0F0'; // Default color
|
|
14909
14909
|
}
|
|
14910
14910
|
static get style() { return tttxGraphCss; }
|
|
14911
|
-
}, [1, "tttx-
|
|
14911
|
+
}, [1, "tttx-graph_1_9_55", {
|
|
14912
14912
|
"chartType": [1, "chart-type"],
|
|
14913
14913
|
"chartData": [1, "chart-data"],
|
|
14914
14914
|
"chartText": [1, "chart-text"],
|
|
@@ -14919,9 +14919,9 @@ function defineCustomElement() {
|
|
|
14919
14919
|
if (typeof customElements === "undefined") {
|
|
14920
14920
|
return;
|
|
14921
14921
|
}
|
|
14922
|
-
const components = ["tttx-
|
|
14922
|
+
const components = ["tttx-graph_1_9_55"];
|
|
14923
14923
|
components.forEach(tagName => { switch (tagName) {
|
|
14924
|
-
case "tttx-
|
|
14924
|
+
case "tttx-graph_1_9_55":
|
|
14925
14925
|
if (!customElements.get(tagName)) {
|
|
14926
14926
|
customElements.define(tagName, TttxGraph);
|
|
14927
14927
|
}
|
|
@@ -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 TttxGraph_1_9_55 extends Components.TttxGraph_1_9_55, HTMLElement {}
|
|
4
|
+
export const TttxGraph_1_9_55: {
|
|
5
|
+
prototype: TttxGraph_1_9_55;
|
|
6
|
+
new (): TttxGraph_1_9_55;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxGraph, d as defineCustomElement$1 } from './tttx-graph.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxGraph_1_9_55 = TttxGraph;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxGraph_1_9_55, defineCustomElement };
|