@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
|
@@ -24,9 +24,9 @@ const TttxButton = class {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
this._iconcolor = this.iconcolor;
|
|
27
|
-
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-
|
|
27
|
+
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_55", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_55", { icon: this.icon, color: this._iconcolor }))))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
TttxButton.style = tttxButtonCss;
|
|
31
31
|
|
|
32
|
-
export { TttxButton as
|
|
32
|
+
export { TttxButton as tttx_button_1_9_55 };
|
|
@@ -28,7 +28,7 @@ const TttxCheckbox = class {
|
|
|
28
28
|
render() {
|
|
29
29
|
const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
|
|
30
30
|
const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
|
|
31
|
-
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-
|
|
31
|
+
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_9_55", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
|
|
32
32
|
}
|
|
33
33
|
static get watchers() { return {
|
|
34
34
|
"indeterminate": ["watchIndeterminateChange"]
|
|
@@ -36,4 +36,4 @@ const TttxCheckbox = class {
|
|
|
36
36
|
};
|
|
37
37
|
TttxCheckbox.style = tttxCheckboxCss;
|
|
38
38
|
|
|
39
|
-
export { TttxCheckbox as
|
|
39
|
+
export { TttxCheckbox as tttx_checkbox_1_9_55 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-b11965d8.js';
|
|
2
2
|
|
|
3
|
-
const tttxCommentsCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label .optional{color:#757575;font-weight:normal}label .outer-container{position:relative}label .outer-container .left-icons,label .outer-container .right-icons{display:flex;position:absolute;height:24px;gap:8px}label .outer-container .left-icons tttx-icon,label .outer-container .right-icons tttx-icon{height:24px;width:24px}label .outer-container .left-icons{left:8px}label .outer-container .right-icons{right:8px}label .outer-container input,label .outer-container textarea{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 .outer-container input.has-input-icon,label .outer-container textarea.has-input-icon{padding-left:40px}label .outer-container input.has-input-icon.has-left-icon,label .outer-container textarea.has-input-icon.has-left-icon{padding-left:72px}label .outer-container input.has-left-icon,label .outer-container textarea.has-left-icon{padding-left:40px}label .outer-container input.has-right-icon,label .outer-container textarea.has-right-icon{padding-right:40px}label .outer-container input.invalid,label .outer-container textarea.invalid{border:1px solid #dc0000}label .outer-container input:not([type=submit]),label .outer-container textarea:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label .outer-container input[type=radio],label .outer-container textarea[type=radio]{width:20px;height:20px}label .outer-container input[type=date],label .outer-container textarea[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label .outer-container input[readonly],label .outer-container textarea[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}label .outer-container input:focus,label .outer-container textarea:focus{border-color:#1479c6}label .outer-container input:focus-visible,label .outer-container textarea:focus-visible{outline:none}label .outer-container textarea{padding:8px;height:auto;min-height:100px;resize:vertical}label .outer-container textarea.resize-none{resize:none}label .outer-container.inputBlock{display:flex;align-items:center;line-height:21px}label .outer-container.inputBlock .left-icons,label .outer-container.inputBlock .right-icons{margin-top:4px}label .outer-container.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}label .outer-container.inputBlock.radioBlock{display:block}label .outer-container.inputInline{display:flex;white-space:nowrap;align-items:center;margin:0}label .outer-container.inputInline input{margin-top:0}label .secondarylabel{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label .errorBubble{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 .errorBubble:not(.visible){display:none}label .errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}*{font-family:\"Roboto\", sans-serif}#comment-container{display:flex;height:100%;flex-direction:column}#comment-bubbles-section{display:flex;height:100%;flex-direction:column;justify-content:end;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column;padding:0px 1px}#scroll-container{display:flex;overflow-y:auto;max-height:100%;width:100%;align-items:end;flex-direction:column}.commentBubble{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.commentBubble>.bubbleText{background:#f0f0f0;border-radius:4px;padding:8px 12px;margin-bottom:4px;margin-top:10px;font-size:11pt;white-space:wrap}.commentBubble>span{color:#757575;font-size:10pt;margin:2px 16px}.commentBubble.right>span{text-align:right}.commentBubble.left>span{text-align:left}input{border:1px solid #dddddd;border-radius:4px;padding:8px 16px;font-size:11pt}input[type=text]{flex-grow:1}input[type=submit]{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;width:132px;display:flex;align-self:end}input[type=submit]:hover,input[type=submit]:active{background:#dddddd}button#attach-file{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;align-self:end;border:1px solid #dddddd;border-radius:4px;width:34px;height:34px;display:flex;flex-direction:column;justify-content:center;margin-right:8px}button#attach-file:hover,button#attach-file:active{background:#dddddd}button#attach-file *{margin-top:3px}fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:row;justify-content:end}button.linkButton{border:none;background:transparent;color:#3680bd;cursor:pointer;padding:0}.commentBubble .bubbleHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.commentName{color:black;font-size:10pt}.commentContext{color:gray;font-size:10pt}.commentBubble .bubbleFooter{display:flex;padding:0 10px;font-size:9pt;color:#757575}.comment-date{margin-left:auto}.editing-sub-text{margin-top:5px;font-size:9pt;color:#757575}.flex-right-align{margin-left:auto}.cancel-edit-container{position:relative;width:100%;display:flex;justify-content:end}.cancel-edit-button{color:whitesmoke;background-color:#aaaaaa;border-radius:10px;height:20px;width:20px;text-align:center;position:absolute;margin-top:11px;margin-right:18px}.clickable,.clickable>*{cursor:pointer}.deleted-comment{background:white !important;color:gray;border:1px solid lightgray}.commentDivider{border:none;border-top:1px solid #ccc;margin:10px 0}.errorBubble{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}.errorBubble:not(.visible){display:none}.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded{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}.comment-textarea{resize:vertical;height:var(--textarea-max-height, 90px);width:100%;padding:10px 35px 10px 12px;box-sizing:border-box;border:1px solid #ccc;border-radius:6px;font-size:14px;line-height:1.4;font-family:\"Roboto\", sans-serif}";
|
|
3
|
+
const tttxCommentsCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label .optional{color:#757575;font-weight:normal}label .outer-container{position:relative}label .outer-container .left-icons,label .outer-container .right-icons{display:flex;position:absolute;height:24px;gap:8px}label .outer-container .left-icons tttx-icon,label .outer-container .right-icons tttx-icon{height:24px;width:24px}label .outer-container .left-icons{left:8px}label .outer-container .right-icons{right:8px}label .outer-container input,label .outer-container textarea{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 .outer-container input.has-input-icon,label .outer-container textarea.has-input-icon{padding-left:40px}label .outer-container input.has-input-icon.has-left-icon,label .outer-container textarea.has-input-icon.has-left-icon{padding-left:72px}label .outer-container input.has-left-icon,label .outer-container textarea.has-left-icon{padding-left:40px}label .outer-container input.has-right-icon,label .outer-container textarea.has-right-icon{padding-right:40px}label .outer-container input.invalid,label .outer-container textarea.invalid{border:1px solid #dc0000}label .outer-container input:not([type=submit]),label .outer-container textarea:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label .outer-container input[type=radio],label .outer-container textarea[type=radio]{width:20px;height:20px}label .outer-container input[type=date],label .outer-container textarea[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label .outer-container input[readonly],label .outer-container textarea[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}label .outer-container input:focus,label .outer-container textarea:focus{border-color:#1479c6}label .outer-container input:focus-visible,label .outer-container textarea:focus-visible{outline:none}label .outer-container textarea{padding:8px;height:auto;min-height:100px;resize:vertical}label .outer-container textarea.resize-none{resize:none}label .outer-container.inputBlock{display:flex;align-items:center;line-height:21px}label .outer-container.inputBlock .left-icons,label .outer-container.inputBlock .right-icons{margin-top:4px}label .outer-container.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}label .outer-container.inputBlock.radioBlock{display:block}label .outer-container.inputInline{display:flex;white-space:nowrap;align-items:center;margin:0}label .outer-container.inputInline input{margin-top:0}label .secondarylabel{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label .errorBubble{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 .errorBubble:not(.visible){display:none}label .errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}*{font-family:\"Roboto\", sans-serif}#comment-container{display:flex;height:100%;flex-direction:column}#comment-bubbles-section{display:flex;height:100%;flex-direction:column;justify-content:end;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column;padding:0px 1px}#scroll-container{display:flex;overflow-y:auto;max-height:100%;width:100%;align-items:end;flex-direction:column}.commentBubble{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.commentBubble>.bubbleText{background:#f0f0f0;border-radius:4px;padding:8px 12px;margin-bottom:4px;margin-top:10px;font-size:11pt;white-space:wrap}.commentBubble>span{color:#757575;font-size:10pt;margin:2px 16px}.commentBubble.right>span{text-align:right}.commentBubble.left>span{text-align:left}input{border:1px solid #dddddd;border-radius:4px;padding:8px 16px;font-size:11pt}input[type=text]{flex-grow:1}input[type=submit]{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;width:132px;display:flex;align-self:end}input[type=submit]:hover,input[type=submit]:active{background:#dddddd}button#attach-file{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;align-self:end;border:1px solid #dddddd;border-radius:4px;width:34px;height:34px;display:flex;flex-direction:column;justify-content:center;margin-right:8px}button#attach-file:hover,button#attach-file:active{background:#dddddd}button#attach-file *{margin-top:3px}fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:row;justify-content:end}button.linkButton{border:none;background:transparent;color:#3680bd;cursor:pointer;padding:0}.commentBubble .bubbleHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.commentName{color:black;font-size:10pt}.commentContext{color:gray;font-size:10pt}.commentBubble .bubbleFooter{display:flex;padding:0 10px;font-size:9pt;color:#757575}.comment-date{margin-left:auto}.editing-sub-text{margin-top:5px;font-size:9pt;color:#757575}.flex-right-align{margin-left:auto}.cancel-edit-container{position:relative;width:100%;display:flex;justify-content:end}.cancel-edit-button{color:whitesmoke;background-color:#aaaaaa;border-radius:10px;height:20px;width:20px;text-align:center;position:absolute;margin-top:11px;margin-right:18px}.clickable,.clickable>*{cursor:pointer}.deleted-comment{background:white !important;color:gray;border:1px solid lightgray}.commentDivider{border:none;border-top:1px solid #ccc;margin:10px 0}.errorBubble{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}.errorBubble:not(.visible){display:none}.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded{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}.comment-textarea{resize:vertical;height:var(--textarea-max-height, 90px);width:100%;padding:10px 35px 10px 12px;box-sizing:border-box;border:1px solid #ccc;border-radius:6px;font-size:14px;line-height:1.4;font-family:\"Roboto\", sans-serif}.no-comments{display:flex;flex-direction:row;align-items:center;justify-content:start;color:#757575;font-size:14px;gap:4px;font-family:\"Roboto\", sans-serif;margin-top:20px}.mt-s{margin-top:4px}";
|
|
4
4
|
|
|
5
5
|
const TttxComments = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -21,6 +21,7 @@ const TttxComments = class {
|
|
|
21
21
|
this.saveButtonText = 'Add Comment';
|
|
22
22
|
this.value = undefined;
|
|
23
23
|
this.allowEditing = false;
|
|
24
|
+
this.readonly = false;
|
|
24
25
|
this._comments = undefined;
|
|
25
26
|
this.showError = undefined;
|
|
26
27
|
this._saveButtonText = undefined;
|
|
@@ -57,7 +58,7 @@ const TttxComments = class {
|
|
|
57
58
|
const bubbleClass = `commentBubble ${isCurrentUser ? 'right' : 'left'}`;
|
|
58
59
|
const isLastComment = index === this._comments.length - 1;
|
|
59
60
|
const topComment = index === 0 ? { marginTop: '10px' } : {};
|
|
60
|
-
return (h("div", { class: bubbleClass, key: comment.id, style: topComment }, h("div", { class: "bubbleHeader" }, h("span", { class: "commentName" }, comment.createdByFullName), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !isLastComment && h("hr", { class: "commentDivider" })));
|
|
61
|
+
return (h("div", { class: bubbleClass, key: comment.id, style: topComment }, h("div", { class: "bubbleHeader" }, h("span", { class: "commentName" }, comment.createdByFullName), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !isLastComment && h("hr", { class: "commentDivider" })));
|
|
61
62
|
})));
|
|
62
63
|
}
|
|
63
64
|
renderCommentInner(comment) {
|
|
@@ -161,7 +162,7 @@ const TttxComments = class {
|
|
|
161
162
|
this.requestCommentRemoval.emit(comment);
|
|
162
163
|
}
|
|
163
164
|
render() {
|
|
164
|
-
return (h(Host, null, h("article", { id: "comment-container" }, h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-
|
|
165
|
+
return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_55", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_55", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
|
|
165
166
|
}
|
|
166
167
|
static get watchers() { return {
|
|
167
168
|
"comments": ["onCommentsChange"]
|
|
@@ -181,4 +182,4 @@ const timestampOptions = {
|
|
|
181
182
|
};
|
|
182
183
|
TttxComments.style = tttxCommentsCss;
|
|
183
184
|
|
|
184
|
-
export { TttxComments as
|
|
185
|
+
export { TttxComments as tttx_comments_1_9_55 };
|
|
@@ -15,12 +15,12 @@ const TttxDataPattern = class {
|
|
|
15
15
|
this.addbutton = false;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
19
|
-
h("tttx-
|
|
20
|
-
h("tttx-
|
|
21
|
-
h("tttx-
|
|
18
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_55", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
19
|
+
h("tttx-sorter_1_9_55", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
20
|
+
h("tttx-filter_1_9_55", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_55", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_55", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
21
|
+
h("tttx-button_1_9_55", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_55", { data: this.data }))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
TttxDataPattern.style = tttxDataPatternCss;
|
|
25
25
|
|
|
26
|
-
export { TttxDataPattern as
|
|
26
|
+
export { TttxDataPattern as tttx_data_pattern_1_9_55 };
|
|
@@ -28,16 +28,16 @@ const TttxDatacard = class {
|
|
|
28
28
|
renderIcon(iconstyle) {
|
|
29
29
|
switch (iconstyle) {
|
|
30
30
|
case 'up':
|
|
31
|
-
return h("tttx-
|
|
31
|
+
return h("tttx-icon_1_9_55", { size: 24, icon: "arrow_circle_up", color: "green" });
|
|
32
32
|
case 'down':
|
|
33
|
-
return h("tttx-
|
|
33
|
+
return h("tttx-icon_1_9_55", { size: 24, icon: "arrow_circle_down", color: "darkred" });
|
|
34
34
|
default:
|
|
35
35
|
return null;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
return (h(Host, null, h("div", { class: "datacard" }, this.cardTitle && h("h2", { style: { 'position': 'relative', 'top': '0', 'left': '0', 'height': '40px' } }, this.cardTitle), this.chartRender && this.cardType === 'chart' &&
|
|
40
|
-
h("tttx-
|
|
40
|
+
h("tttx-graph_1_9_55", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' }, class: 'chart', "chart-data": this._chartConfig.chartData, "chart-text": this._chartConfig.chartText, "chart-type": this._chartConfig.chartType }), h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, h("div", { class: "lower" }, h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
|
|
41
41
|
h("div", { class: "right" }, h("div", { class: "flex" }, h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), h("div", { class: "rightdata" }, this.rightData)), h("div", { class: "subtext" }, this.rightSubtext)))))));
|
|
42
42
|
}
|
|
43
43
|
static get watchers() { return {
|
|
@@ -46,4 +46,4 @@ const TttxDatacard = class {
|
|
|
46
46
|
};
|
|
47
47
|
TttxDatacard.style = tttxDatacardCss;
|
|
48
48
|
|
|
49
|
-
export { TttxDatacard as
|
|
49
|
+
export { TttxDatacard as tttx_datacard_1_9_55 };
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-b11965d8.js';
|
|
2
|
+
|
|
3
|
+
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}";
|
|
4
|
+
|
|
5
|
+
const TttxDateRangePicker = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.dateRangeChanged = createEvent(this, "dateRangeChanged", 7);
|
|
9
|
+
this.handleOutsideClick = (e) => {
|
|
10
|
+
if (this.showCalendar && this.inputRef && !this.inputRef.contains(e.target)) {
|
|
11
|
+
this.showCalendar = false;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
this.toggleCalendar = () => {
|
|
15
|
+
this.showCalendar = !this.showCalendar;
|
|
16
|
+
};
|
|
17
|
+
this.handleInputClick = (e) => {
|
|
18
|
+
e.stopPropagation();
|
|
19
|
+
this.toggleCalendar();
|
|
20
|
+
};
|
|
21
|
+
this.handleClear = (e) => {
|
|
22
|
+
e.stopPropagation();
|
|
23
|
+
this.resetRange();
|
|
24
|
+
};
|
|
25
|
+
this.initialValue = undefined;
|
|
26
|
+
this.placeholderText = 'Select date range';
|
|
27
|
+
this.showCalendar = false;
|
|
28
|
+
this.startDate = '';
|
|
29
|
+
this.endDate = '';
|
|
30
|
+
this.leftMonth = new Date().getMonth();
|
|
31
|
+
this.leftYear = new Date().getFullYear();
|
|
32
|
+
this.rightMonth = (new Date().getMonth() + 1) % 12;
|
|
33
|
+
this.rightYear = new Date().getMonth() === 11 ? new Date().getFullYear() + 1 : new Date().getFullYear();
|
|
34
|
+
this.isSelecting = true;
|
|
35
|
+
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
document.addEventListener('click', this.handleOutsideClick);
|
|
38
|
+
}
|
|
39
|
+
disconnectedCallback() {
|
|
40
|
+
document.removeEventListener('click', this.handleOutsideClick);
|
|
41
|
+
}
|
|
42
|
+
componentWillLoad() {
|
|
43
|
+
this.initializeRangeFromProp();
|
|
44
|
+
}
|
|
45
|
+
watchInitialValue() {
|
|
46
|
+
this.initializeRangeFromProp();
|
|
47
|
+
}
|
|
48
|
+
initializeRangeFromProp() {
|
|
49
|
+
let start = '';
|
|
50
|
+
let end = '';
|
|
51
|
+
// Extract from prop
|
|
52
|
+
if (typeof this.initialValue === 'string') {
|
|
53
|
+
try {
|
|
54
|
+
const parsed = JSON.parse(this.initialValue);
|
|
55
|
+
start = parsed.start;
|
|
56
|
+
end = parsed.end;
|
|
57
|
+
}
|
|
58
|
+
catch (_a) {
|
|
59
|
+
console.error('Invalid JSON passed to initialValue');
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
else if (typeof this.initialValue === 'object' && this.initialValue !== null) {
|
|
63
|
+
start = this.initialValue.start;
|
|
64
|
+
end = this.initialValue.end;
|
|
65
|
+
}
|
|
66
|
+
// Convert from dd/mm/yyyy to ISO if needed
|
|
67
|
+
if (start && start.includes('/'))
|
|
68
|
+
start = this.parseDDMMYYYYToISO(start);
|
|
69
|
+
if (end && end.includes('/'))
|
|
70
|
+
end = this.parseDDMMYYYYToISO(end);
|
|
71
|
+
// Set state
|
|
72
|
+
if (start)
|
|
73
|
+
this.startDate = start;
|
|
74
|
+
if (end)
|
|
75
|
+
this.endDate = end;
|
|
76
|
+
if (start || end) {
|
|
77
|
+
this.emitRangeChange(start, end);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
resetRange() {
|
|
81
|
+
this.startDate = '';
|
|
82
|
+
this.endDate = '';
|
|
83
|
+
this.isSelecting = true;
|
|
84
|
+
this.emitRangeChange('', '');
|
|
85
|
+
}
|
|
86
|
+
emitRangeChange(start, end) {
|
|
87
|
+
const startDate = start ? this.formatToDDMMYYYY(start) : '';
|
|
88
|
+
const endDate = end ? this.formatToDDMMYYYY(end) : '';
|
|
89
|
+
this.dateRangeChanged.emit({ name: 'customDateRange', value: { start: startDate, end: endDate } });
|
|
90
|
+
}
|
|
91
|
+
handleDateClick(date) {
|
|
92
|
+
const selectedDate = new Date(date);
|
|
93
|
+
if (this.isSelecting) {
|
|
94
|
+
this.startDate = date;
|
|
95
|
+
this.endDate = '';
|
|
96
|
+
this.emitRangeChange(this.startDate, '');
|
|
97
|
+
this.isSelecting = false;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
const start = new Date(this.startDate);
|
|
101
|
+
if (selectedDate >= start) {
|
|
102
|
+
this.endDate = date;
|
|
103
|
+
this.emitRangeChange(this.startDate, this.endDate);
|
|
104
|
+
this.showCalendar = false;
|
|
105
|
+
this.isSelecting = true;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
this.startDate = date;
|
|
109
|
+
this.endDate = '';
|
|
110
|
+
this.emitRangeChange(this.startDate, '');
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
changeMonth(direction, calendar) {
|
|
115
|
+
let month = calendar === 'left' ? this.leftMonth : this.rightMonth;
|
|
116
|
+
let year = calendar === 'left' ? this.leftYear : this.rightYear;
|
|
117
|
+
if (direction === 'prev') {
|
|
118
|
+
month = month === 0 ? 11 : month - 1;
|
|
119
|
+
year = month === 11 ? year - 1 : year;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
month = month === 11 ? 0 : month + 1;
|
|
123
|
+
year = month === 0 ? year + 1 : year;
|
|
124
|
+
}
|
|
125
|
+
if (calendar === 'left') {
|
|
126
|
+
this.leftMonth = month;
|
|
127
|
+
this.leftYear = year;
|
|
128
|
+
if (year > this.rightYear || (year === this.rightYear && month >= this.rightMonth)) {
|
|
129
|
+
this.rightMonth = (month + 1) % 12;
|
|
130
|
+
this.rightYear = month === 11 ? year + 1 : year;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
this.rightMonth = month;
|
|
135
|
+
this.rightYear = year;
|
|
136
|
+
if (year < this.leftYear || (year === this.leftYear && month <= this.leftMonth)) {
|
|
137
|
+
this.leftMonth = month === 0 ? 11 : month - 1;
|
|
138
|
+
this.leftYear = month === 0 ? year - 1 : year;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
formatToDDMMYYYY(dateStr) {
|
|
143
|
+
const date = new Date(dateStr);
|
|
144
|
+
const day = String(date.getDate()).padStart(2, '0');
|
|
145
|
+
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
146
|
+
const year = date.getFullYear();
|
|
147
|
+
return `${day}/${month}/${year}`;
|
|
148
|
+
}
|
|
149
|
+
generateCalendarGrid(year, month) {
|
|
150
|
+
const firstDay = new Date(year, month, 1).getDay();
|
|
151
|
+
const daysInMonth = new Date(year, month + 1, 0).getDate();
|
|
152
|
+
const grid = [];
|
|
153
|
+
for (let i = 0; i < firstDay; i++) {
|
|
154
|
+
grid.push({ date: null, isCurrentMonth: false });
|
|
155
|
+
}
|
|
156
|
+
for (let day = 1; day <= daysInMonth; day++) {
|
|
157
|
+
const date = new Date(year, month, day).toISOString().split('T')[0].replace(/-/g, '/');
|
|
158
|
+
grid.push({ date, isCurrentMonth: true });
|
|
159
|
+
}
|
|
160
|
+
while (grid.length < 42) {
|
|
161
|
+
grid.push({ date: null, isCurrentMonth: false });
|
|
162
|
+
}
|
|
163
|
+
return grid;
|
|
164
|
+
}
|
|
165
|
+
getMonthName(month) {
|
|
166
|
+
return new Date(2000, month).toLocaleString('default', { month: 'long' });
|
|
167
|
+
}
|
|
168
|
+
parseDDMMYYYYToISO(dateStr) {
|
|
169
|
+
const [dd, mm, yyyy] = dateStr.split('/');
|
|
170
|
+
return new Date(`${yyyy}-${mm}-${dd}`).toISOString().split('T')[0]; // ISO string
|
|
171
|
+
}
|
|
172
|
+
renderCalendar(year, month, selectDate, isStart) {
|
|
173
|
+
const grid = this.generateCalendarGrid(year, month);
|
|
174
|
+
const weekDays = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];
|
|
175
|
+
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) => {
|
|
176
|
+
if (!cell.isCurrentMonth || !cell.date) {
|
|
177
|
+
return h("div", { class: "calendar-date empty", key: `empty-${i}` });
|
|
178
|
+
}
|
|
179
|
+
const date = cell.date;
|
|
180
|
+
const isRangeStart = date === this.startDate;
|
|
181
|
+
const isRangeEnd = date === this.endDate;
|
|
182
|
+
const isInRange = this.startDate &&
|
|
183
|
+
this.endDate &&
|
|
184
|
+
new Date(date) > new Date(this.startDate) &&
|
|
185
|
+
new Date(date) < new Date(this.endDate);
|
|
186
|
+
return (h("div", { class: {
|
|
187
|
+
'calendar-date': true,
|
|
188
|
+
'range-start': isRangeStart,
|
|
189
|
+
'range-end': isRangeEnd,
|
|
190
|
+
'inrange': isInRange,
|
|
191
|
+
}, onClick: e => { e.stopPropagation(); selectDate(date); }, key: date }, new Date(date).getDate()));
|
|
192
|
+
}))));
|
|
193
|
+
}
|
|
194
|
+
render() {
|
|
195
|
+
const rangeText = this.startDate && this.endDate
|
|
196
|
+
? `${this.formatToDDMMYYYY(this.startDate)} – ${this.formatToDDMMYYYY(this.endDate)}`
|
|
197
|
+
: this.startDate
|
|
198
|
+
? `${this.formatToDDMMYYYY(this.startDate)} –`
|
|
199
|
+
: this.placeholderText;
|
|
200
|
+
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)))));
|
|
201
|
+
}
|
|
202
|
+
static get watchers() { return {
|
|
203
|
+
"initialValue": ["watchInitialValue"]
|
|
204
|
+
}; }
|
|
205
|
+
};
|
|
206
|
+
TttxDateRangePicker.style = tttxDateRangePickerCss;
|
|
207
|
+
|
|
208
|
+
export { TttxDateRangePicker as tttx_date_range_picker };
|
|
@@ -56,7 +56,7 @@ const TttxDialogBox = class {
|
|
|
56
56
|
const iconColor = header.iconColor;
|
|
57
57
|
const iconEnabled = header.hasIcon ? true : false;
|
|
58
58
|
const closeEnabled = header.hasClose ? true : false;
|
|
59
|
-
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-
|
|
59
|
+
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_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" })))));
|
|
60
60
|
}
|
|
61
61
|
renderContent(content) {
|
|
62
62
|
if (content.isCustomHtml) {
|
|
@@ -73,7 +73,7 @@ const TttxDialogBox = class {
|
|
|
73
73
|
const button2Enabled = button.length > 1;
|
|
74
74
|
const button3Enabled = button.length == 3;
|
|
75
75
|
const isMobile = this.elementSize === 'mobile';
|
|
76
|
-
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-
|
|
76
|
+
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_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)))));
|
|
77
77
|
}
|
|
78
78
|
componentWillLoad() {
|
|
79
79
|
if (window.innerWidth < 698) {
|
|
@@ -98,4 +98,4 @@ const TttxDialogBox = class {
|
|
|
98
98
|
};
|
|
99
99
|
TttxDialogBox.style = tttxDialogBoxCss;
|
|
100
100
|
|
|
101
|
-
export { TttxDialogBox as
|
|
101
|
+
export { TttxDialogBox as tttx_dialog_box_1_9_55 };
|
|
@@ -46,7 +46,7 @@ const TttxDialog = class {
|
|
|
46
46
|
renderHeader() {
|
|
47
47
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
48
48
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
49
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
49
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_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() }))));
|
|
50
50
|
}
|
|
51
51
|
body() {
|
|
52
52
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -74,4 +74,4 @@ const TttxDialog = class {
|
|
|
74
74
|
};
|
|
75
75
|
TttxDialog.style = tttxDialogCss;
|
|
76
76
|
|
|
77
|
-
export { TttxDialog as
|
|
77
|
+
export { TttxDialog as tttx_dialog_1_9_55 };
|
|
@@ -26,9 +26,9 @@ const TttxExpander = class {
|
|
|
26
26
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-
|
|
29
|
+
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_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)))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
TttxExpander.style = tttxExpanderCss;
|
|
33
33
|
|
|
34
|
-
export { TttxExpander as
|
|
34
|
+
export { TttxExpander as tttx_expander_1_9_55 };
|
|
@@ -178,10 +178,10 @@ const TttxFilter = class {
|
|
|
178
178
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
179
179
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
180
180
|
const filterKey = `filter__${this.filterKey}`;
|
|
181
|
-
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-
|
|
181
|
+
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_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) => {
|
|
182
182
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
183
183
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
184
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
184
|
+
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_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));
|
|
185
185
|
})), h("div", { class: 'filter-popover-button-container' }, h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
186
186
|
}
|
|
187
187
|
get el() { return getElement(this); }
|
|
@@ -239,9 +239,9 @@ const TttxList = class {
|
|
|
239
239
|
else {
|
|
240
240
|
element = h("span", { class: "item-content" }, item.element);
|
|
241
241
|
}
|
|
242
|
-
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-
|
|
242
|
+
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-icon_1_9_55", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
243
243
|
this.onRowCheckboxHandler(event, item);
|
|
244
|
-
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-
|
|
244
|
+
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-icon_1_9_55", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
247
|
if (!this._data)
|
|
@@ -363,7 +363,7 @@ const TttxSorter = class {
|
|
|
363
363
|
const selectedOption = this.selectedField;
|
|
364
364
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
365
365
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
366
|
-
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-
|
|
366
|
+
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-icon_1_9_55", { 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_55", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
367
367
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
368
368
|
}))))));
|
|
369
369
|
}
|
|
@@ -399,4 +399,4 @@ const TttxToolbar = class {
|
|
|
399
399
|
};
|
|
400
400
|
TttxToolbar.style = tttxToolbarCss;
|
|
401
401
|
|
|
402
|
-
export { TttxFilter as
|
|
402
|
+
export { TttxFilter as tttx_filter_1_9_55, TttxList as tttx_list_1_9_55, TttxSorter as tttx_sorter_1_9_55, TttxToolbar as tttx_toolbar_1_9_55 };
|
|
@@ -352,7 +352,7 @@ const TttxForm = class {
|
|
|
352
352
|
if ((_b = this._data) === null || _b === void 0 ? void 0 : _b[formKey]) {
|
|
353
353
|
select.classList.remove('placeholder');
|
|
354
354
|
}
|
|
355
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
355
|
+
const tttxSelect = document.createElement('tttx-select-box_1_9_55');
|
|
356
356
|
tttxSelect.optionsData = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => !o.placeholder);
|
|
357
357
|
tttxSelect.placeholder = (_e = (_d = formProperties.options) === null || _d === void 0 ? void 0 : _d.filter(o => o.placeholder)[0]) === null || _e === void 0 ? void 0 : _e.label;
|
|
358
358
|
tttxSelect.inline = false;
|
|
@@ -995,4 +995,4 @@ const TttxForm = class {
|
|
|
995
995
|
};
|
|
996
996
|
TttxForm.style = tttxFormCss;
|
|
997
997
|
|
|
998
|
-
export { TttxForm as
|
|
998
|
+
export { TttxForm as tttx_form_1_9_55 };
|
|
@@ -14908,4 +14908,4 @@ const TttxGraph = class {
|
|
|
14908
14908
|
};
|
|
14909
14909
|
TttxGraph.style = tttxGraphCss;
|
|
14910
14910
|
|
|
14911
|
-
export { TttxGraph as
|
|
14911
|
+
export { TttxGraph as tttx_graph_1_9_55 };
|