@3t-transform/threeteeui 1.9.58 → 1.9.60
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_58.cjs.entry.js → tttx-action-dropdown_1_9_60.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button_1_9_58.cjs.entry.js → tttx-button_1_9_60.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_58.cjs.entry.js → tttx-checkbox-group-caption_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_58.cjs.entry.js → tttx-checkbox-group-heading_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_58.cjs.entry.js → tttx-checkbox-group_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_58.cjs.entry.js → tttx-checkbox_1_9_60.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_58.cjs.entry.js → tttx-comments_1_9_60.cjs.entry.js} +18 -7
- package/dist/cjs/{tttx-data-pattern_1_9_58.cjs.entry.js → tttx-data-pattern_1_9_60.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_58.cjs.entry.js → tttx-datacard_1_9_60.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +6 -3
- package/dist/cjs/{tttx-dialog-box_1_9_58.cjs.entry.js → tttx-dialog-box_1_9_60.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_58.cjs.entry.js → tttx-dialog_1_9_60.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_58.cjs.entry.js → tttx-expander_1_9_60.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_58_4.cjs.entry.js → tttx-filter_1_9_60_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_58.cjs.entry.js → tttx-form_1_9_60.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_58.cjs.entry.js → tttx-graph_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_58.cjs.entry.js → tttx-icon_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_58.cjs.entry.js → tttx-keyvalue-block_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_58_3.cjs.entry.js → tttx-loading-spinner_1_9_60_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_58.cjs.entry.js → tttx-multiselect-box_1_9_60.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_58.cjs.entry.js → tttx-percentage-bar_1_9_60.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_58.cjs.entry.js → tttx-qrcode_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_58.cjs.entry.js → tttx-select-box_1_9_60.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_58.cjs.entry.js → tttx-skeleton_loader_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_58.cjs.entry.js → tttx-table_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_58.cjs.entry.js → tttx-tabs_1_9_60.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_58.cjs.entry.js → tttx-textarea_1_9_60.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_58.cjs.entry.js → tttx-toggle_1_9_60.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_58.cjs.entry.js → tttx-tree-view_1_9_60.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
- package/dist/collection/components/atoms/tttx-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 +33 -2
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +20 -9
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +101 -23
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.css +14 -3
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +6 -3
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.stories.js +2 -2
- 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 +1 -1
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +33 -33
- package/dist/components/index.js +33 -33
- package/dist/components/tttx-action-dropdown_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_58.js → tttx-action-dropdown_1_9_60.js} +7 -7
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_58.d.ts → tttx-button_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_58.js → tttx-button_1_9_60.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_58.js → tttx-checkbox-group-caption_1_9_60.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_58.js → tttx-checkbox-group-heading_1_9_60.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_58.js → tttx-checkbox-group_1_9_60.js} +5 -5
- package/dist/components/{tttx-comments_1_9_58.d.ts → tttx-checkbox_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_58.js → tttx-checkbox_1_9_60.js} +7 -7
- package/dist/components/{tttx-datacard_1_9_58.d.ts → tttx-comments_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_58.js → tttx-comments_1_9_60.js} +23 -12
- package/dist/components/tttx-data-pattern_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_58.js → tttx-data-pattern_1_9_60.js} +16 -16
- package/dist/components/{tttx-checkbox_1_9_58.d.ts → tttx-datacard_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_58.js → tttx-datacard_1_9_60.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +8 -5
- package/dist/components/tttx-dialog-box_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_58.js → tttx-dialog-box_1_9_60.js} +9 -9
- package/dist/components/{tttx-button_1_9_58.d.ts → tttx-dialog_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_58.js → tttx-dialog_1_9_60.js} +8 -8
- package/dist/components/tttx-expander_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_58.js → tttx-expander_1_9_60.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_58.d.ts → tttx-filter_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_58.js → tttx-filter_1_9_60.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_58.d.ts → tttx-form_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_58.js → tttx-form_1_9_60.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_58.d.ts → tttx-graph_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_58.js → tttx-graph_1_9_60.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_58.d.ts → tttx-icon_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_58.js → tttx-icon_1_9_60.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_58.js → tttx-keyvalue-block_1_9_60.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_58.d.ts → tttx-list_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_58.js → tttx-list_1_9_60.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_58.js → tttx-loading-spinner_1_9_60.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_58.js → tttx-multiselect-box_1_9_60.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_58.js → tttx-percentage-bar_1_9_60.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_58.d.ts → tttx-qrcode_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_58.js → tttx-qrcode_1_9_60.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_58.js → tttx-select-box_1_9_60.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_58.js → tttx-skeleton_loader_1_9_60.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_58.js → tttx-sorter_1_9_60.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_58.js → tttx-standalone-input_1_9_60.js} +2 -2
- package/dist/components/{tttx-table_1_9_58.d.ts → tttx-table_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_58.js → tttx-table_1_9_60.js} +5 -5
- package/dist/components/{tttx-form_1_9_58.d.ts → tttx-tabs_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_58.js → tttx-tabs_1_9_60.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_58.d.ts → tttx-tag_1_9_60.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_58.js → tttx-tag_1_9_60.js} +2 -2
- package/dist/components/tttx-textarea_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_58.js → tttx-textarea_1_9_60.js} +6 -6
- package/dist/components/tttx-toggle_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_58.js → tttx-toggle_1_9_60.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_58.js → tttx-toolbar_1_9_60.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_60.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_58.js → tttx-tree-view_1_9_60.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_58.entry.js → tttx-action-dropdown_1_9_60.entry.js} +2 -2
- package/dist/esm/{tttx-button_1_9_58.entry.js → tttx-button_1_9_60.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_9_58.entry.js → tttx-checkbox-group-caption_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_58.entry.js → tttx-checkbox-group-heading_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_58.entry.js → tttx-checkbox-group_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_58.entry.js → tttx-checkbox_1_9_60.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_58.entry.js → tttx-comments_1_9_60.entry.js} +18 -7
- package/dist/esm/{tttx-data-pattern_1_9_58.entry.js → tttx-data-pattern_1_9_60.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_58.entry.js → tttx-datacard_1_9_60.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +6 -3
- package/dist/esm/{tttx-dialog-box_1_9_58.entry.js → tttx-dialog-box_1_9_60.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_58.entry.js → tttx-dialog_1_9_60.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_58.entry.js → tttx-expander_1_9_60.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_58_4.entry.js → tttx-filter_1_9_60_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_58.entry.js → tttx-form_1_9_60.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_58.entry.js → tttx-graph_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_58.entry.js → tttx-icon_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_58.entry.js → tttx-keyvalue-block_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_58_3.entry.js → tttx-loading-spinner_1_9_60_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_58.entry.js → tttx-multiselect-box_1_9_60.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_58.entry.js → tttx-percentage-bar_1_9_60.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_58.entry.js → tttx-qrcode_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_58.entry.js → tttx-select-box_1_9_60.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_58.entry.js → tttx-skeleton_loader_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_58.entry.js → tttx-table_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_58.entry.js → tttx-tabs_1_9_60.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_58.entry.js → tttx-textarea_1_9_60.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_58.entry.js → tttx-toggle_1_9_60.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_58.entry.js → tttx-tree-view_1_9_60.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-13d3d63c.entry.js +1 -1
- package/dist/tttx/p-1814eb61.entry.js +1 -1
- package/dist/tttx/p-19294325.entry.js +1 -1
- package/dist/tttx/p-218f3309.entry.js +1 -1
- package/dist/tttx/p-24eef142.entry.js +1 -1
- package/dist/tttx/p-2636cba4.entry.js +1 -1
- package/dist/tttx/p-477b66de.entry.js +1 -1
- package/dist/tttx/p-54060e46.entry.js +1 -1
- package/dist/tttx/p-5f35edd8.entry.js +1 -1
- package/dist/tttx/p-61af5028.entry.js +1 -1
- package/dist/tttx/p-67f75171.entry.js +1 -1
- package/dist/tttx/p-7bfa4e1e.entry.js +1 -1
- package/dist/tttx/p-7c7e8951.entry.js +1 -1
- package/dist/tttx/p-972b7449.entry.js +1 -1
- package/dist/tttx/p-a1ba99fb.entry.js +1 -1
- package/dist/tttx/p-a474dc05.entry.js +1 -1
- package/dist/tttx/p-a800aa5d.entry.js +1 -1
- package/dist/tttx/p-acb9e007.entry.js +1 -1
- package/dist/tttx/p-b44ddcb7.entry.js +1 -1
- package/dist/tttx/p-b4b5e1e1.entry.js +1 -1
- package/dist/tttx/p-bbecd0d9.entry.js +1 -1
- package/dist/tttx/p-bc8c1d08.entry.js +1 -1
- package/dist/tttx/p-be928a57.entry.js +1 -0
- package/dist/tttx/p-cb3b393b.entry.js +1 -1
- package/dist/tttx/p-d62c8ed2.entry.js +1 -1
- package/dist/tttx/p-e84965f0.entry.js +1 -1
- package/dist/tttx/p-edf27c73.entry.js +1 -1
- package/dist/tttx/p-f1e945ba.entry.js +1 -1
- package/dist/tttx/p-f57792f7.entry.js +1 -0
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-comments/tttx-comments.d.ts +2 -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 +395 -395
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_58.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_58.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_58.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_58.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_58.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_58.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_58.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_58.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_58.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_58.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_58.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_58.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_58.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_58.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_58.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_58.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_58.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_58.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_58.d.ts +0 -11
- package/dist/tttx/p-079da884.entry.js +0 -1
- package/dist/tttx/p-cbae4bf1.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["tttx-data-
|
|
17
|
+
return index.bootstrapLazy([["tttx-data-pattern_1_9_60.cjs",[[1,"tttx-data-pattern_1_9_60",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_60.cjs",[[1,"tttx-form_1_9_60",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_60.cjs",[[1,"tttx-multiselect-box_1_9_60",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-datacard_1_9_60.cjs",[[1,"tttx-datacard_1_9_60",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_60.cjs",[[1,"tttx-dialog-box_1_9_60",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_60.cjs",[[1,"tttx-dialog_1_9_60",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_60.cjs",[[1,"tttx-tree-view_1_9_60",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_60.cjs",[[1,"tttx-action-dropdown_1_9_60",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-checkbox_1_9_60.cjs",[[0,"tttx-checkbox_1_9_60",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_60.cjs",[[1,"tttx-comments_1_9_60",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker.cjs",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_60.cjs",[[1,"tttx-expander_1_9_60",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_60.cjs",[[2,"tttx-tabs_1_9_60",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_60.cjs",[[4,"tttx-checkbox-group-caption_1_9_60"]]],["tttx-checkbox-group-heading_1_9_60.cjs",[[4,"tttx-checkbox-group-heading_1_9_60"]]],["tttx-checkbox-group_1_9_60.cjs",[[1,"tttx-checkbox-group_1_9_60"]]],["tttx-keyvalue-block_1_9_60.cjs",[[1,"tttx-keyvalue-block_1_9_60",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_60.cjs",[[2,"tttx-percentage-bar_1_9_60",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_60.cjs",[[1,"tttx-qrcode_1_9_60",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_60.cjs",[[1,"tttx-skeleton_loader_1_9_60",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_60.cjs",[[1,"tttx-table_1_9_60",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_60.cjs",[[2,"tttx-textarea_1_9_60",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_60.cjs",[[1,"tttx-toggle_1_9_60",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_60_3.cjs",[[1,"tttx-tag_1_9_60",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[1,"tttx-loading-spinner_1_9_60",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}],[2,"tttx-standalone-input_1_9_60",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-select-box_1_9_60.cjs",[[1,"tttx-select-box_1_9_60",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_60.cjs",[[1,"tttx-graph_1_9_60",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_60.cjs",[[1,"tttx-icon_1_9_60",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_60_4.cjs",[[1,"tttx-filter_1_9_60",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_60",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_60",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_60",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_60.cjs",[[1,"tttx-button_1_9_60",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -50,7 +50,7 @@ const TttxActionDropdown = class {
|
|
|
50
50
|
return;
|
|
51
51
|
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
52
52
|
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
53
|
-
return (index.h(index.Host, { id: actionKey }, index.h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, index.h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, index.h("div", { class: "button-content" }, this.isIconVisible && (index.h("tttx-
|
|
53
|
+
return (index.h(index.Host, { id: actionKey }, index.h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, index.h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, index.h("div", { class: "button-content" }, this.isIconVisible && (index.h("tttx-icon_1_9_60", { icon: this.icon, color: "black" })), index.h("span", { class: "action-text" }, this.selectedField)), index.h("div", { class: "dropdown-arrow" }, index.h("tttx-icon_1_9_60", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (index.h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
|
|
54
54
|
return (index.h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
55
55
|
}))))));
|
|
56
56
|
}
|
|
@@ -58,4 +58,4 @@ const TttxActionDropdown = class {
|
|
|
58
58
|
};
|
|
59
59
|
TttxActionDropdown.style = tttxActionDropdownCss;
|
|
60
60
|
|
|
61
|
-
exports.
|
|
61
|
+
exports.tttx_action_dropdown_1_9_60 = TttxActionDropdown;
|
|
@@ -28,9 +28,9 @@ const TttxButton = class {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
this._iconcolor = this.iconcolor;
|
|
31
|
-
return (index.h(index.Host, null, index.h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (index.h("div", { class: "icon-left" }, index.h("tttx-
|
|
31
|
+
return (index.h(index.Host, null, index.h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (index.h("div", { class: "icon-left" }, index.h("tttx-icon_1_9_60", { icon: this.icon, color: this._iconcolor }))), !this.notext && (index.h("div", { class: "button-content" }, index.h("slot", null))), this.icon && this.iconposition === 'right' && (index.h("div", { class: "icon-right" }, index.h("tttx-icon_1_9_60", { icon: this.icon, color: this._iconcolor }))))));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
TttxButton.style = tttxButtonCss;
|
|
35
35
|
|
|
36
|
-
exports.
|
|
36
|
+
exports.tttx_button_1_9_60 = TttxButton;
|
|
@@ -32,7 +32,7 @@ const TttxCheckbox = class {
|
|
|
32
32
|
render() {
|
|
33
33
|
const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
|
|
34
34
|
const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
|
|
35
|
-
return (index.h(index.Host, null, index.h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, index.h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), index.h("tttx-
|
|
35
|
+
return (index.h(index.Host, null, index.h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, index.h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), index.h("tttx-icon_1_9_60", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), index.h("span", { class: "tttx-checkbox__label" }, this.label))));
|
|
36
36
|
}
|
|
37
37
|
static get watchers() { return {
|
|
38
38
|
"indeterminate": ["watchIndeterminateChange"]
|
|
@@ -40,4 +40,4 @@ const TttxCheckbox = class {
|
|
|
40
40
|
};
|
|
41
41
|
TttxCheckbox.style = tttxCheckboxCss;
|
|
42
42
|
|
|
43
|
-
exports.
|
|
43
|
+
exports.tttx_checkbox_1_9_60 = TttxCheckbox;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
|
-
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
|
|
7
|
+
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;margin-left:5px;font-size:11pt}.file-link-container{display:flex;align-items:center}.commentBubble .bubbleHeader{display:flex;justify-content:space-between}.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}.bubble-header-inner{display:flex}.unread-symbol{margin-left:5px}.unread-comment-divider{display:flex;margin:10px 0}.unread-comments-text{font-size:10pt;margin:0px 10px;white-space:nowrap;color:#757575}.unread-comment-divider-line{border:none;border-top:1px solid #ccc;width:100%}";
|
|
8
8
|
|
|
9
9
|
const TttxComments = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -16,6 +16,13 @@ const TttxComments = class {
|
|
|
16
16
|
this.requestFileDownload = index.createEvent(this, "requestFileDownload", 6);
|
|
17
17
|
this.blurChanged = index.createEvent(this, "commentFocusOut", 7);
|
|
18
18
|
this.isFileComment = (comment) => { var _a; return (((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.type) === ECommentType.FILE); };
|
|
19
|
+
this.isUnread = (comment) => {
|
|
20
|
+
if (comment.createdByFullName === this.currentuser)
|
|
21
|
+
return false; // your own comment cannot be unread
|
|
22
|
+
if (!comment.userLastViewed)
|
|
23
|
+
return true; // has never viewed, so unread
|
|
24
|
+
return comment.createdAt > comment.userLastViewed;
|
|
25
|
+
};
|
|
19
26
|
this.currentuser = undefined;
|
|
20
27
|
this.comments = undefined;
|
|
21
28
|
this.disableFile = false;
|
|
@@ -55,14 +62,18 @@ const TttxComments = class {
|
|
|
55
62
|
this.scrollToBottom();
|
|
56
63
|
}
|
|
57
64
|
renderCommentBubble() {
|
|
58
|
-
var _a;
|
|
59
|
-
|
|
65
|
+
var _a, _b;
|
|
66
|
+
let unreadDividerRendered = ((_a = this._comments) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.isUnread(this._comments[0]) : false;
|
|
67
|
+
return (index.h(index.Fragment, null, (_b = this._comments) === null || _b === void 0 ? void 0 : _b.map((comment, index$1) => {
|
|
60
68
|
var _a;
|
|
61
69
|
const isCurrentUser = comment.createdByFullName === this.currentuser;
|
|
62
70
|
const bubbleClass = `commentBubble ${isCurrentUser ? 'right' : 'left'}`;
|
|
63
71
|
const isLastComment = index$1 === this._comments.length - 1;
|
|
64
72
|
const topComment = index$1 === 0 ? { marginTop: '10px' } : {};
|
|
65
|
-
|
|
73
|
+
const nextIsUnread = !isLastComment ? this.isUnread(this._comments[index$1 + 1]) : false;
|
|
74
|
+
const commentContent = (index.h("div", { class: bubbleClass, key: comment.id, style: topComment }, index.h("div", { class: "bubbleHeader" }, index.h("div", { class: "bubble-header-inner" }, index.h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (index.h("tttx-icon_1_9_60", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (index.h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), index.h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), index.h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (index.h("div", null, !this.isFileComment(comment) && (index.h(index.Fragment, null, index.h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), index.h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), index.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 && (!nextIsUnread || unreadDividerRendered) && index.h("hr", { class: "commentDivider" }), !isLastComment && nextIsUnread && !unreadDividerRendered && (index.h("div", { class: "unread-comment-divider" }, index.h("hr", { class: "unread-comment-divider-line" }), index.h("span", { class: "unread-comments-text" }, "New Unread Comments"), index.h("hr", { class: "unread-comment-divider-line" })))));
|
|
75
|
+
unreadDividerRendered = nextIsUnread;
|
|
76
|
+
return commentContent;
|
|
66
77
|
})));
|
|
67
78
|
}
|
|
68
79
|
renderCommentInner(comment) {
|
|
@@ -72,7 +83,7 @@ const TttxComments = class {
|
|
|
72
83
|
return this.isFileComment(comment) ? this.renderFileLink(comment.metadata) : comment.text;
|
|
73
84
|
}
|
|
74
85
|
renderFileLink(metadata) {
|
|
75
|
-
return index.h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename);
|
|
86
|
+
return (index.h("div", { class: "file-link-container" }, index.h("tttx-icon_1_9_60", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), index.h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
|
|
76
87
|
}
|
|
77
88
|
onFormSubmit(event) {
|
|
78
89
|
// get comment text
|
|
@@ -166,7 +177,7 @@ const TttxComments = class {
|
|
|
166
177
|
this.requestCommentRemoval.emit(comment);
|
|
167
178
|
}
|
|
168
179
|
render() {
|
|
169
|
-
return (index.h(index.Host, null, index.h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (index.h("div", { class: "no-comments" }, index.h("tttx-
|
|
180
|
+
return (index.h(index.Host, null, index.h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (index.h("div", { class: "no-comments" }, index.h("tttx-icon_1_9_60", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), index.h("span", null, "No comments have been added"))), index.h("section", { id: "comment-bubbles-section" }, index.h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), index.h("section", { id: "input-section" }, !this.readonly && index.h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (index.h("div", { class: "cancel-edit-container" }, index.h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), index.h("fieldset", null, index.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 && (index.h("span", { class: 'errorBubble visible' }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), index.h("fieldset", null, this.editingComment && (index.h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (index.h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, index.h("tttx-icon_1_9_60", { color: "black", icon: "attach_file" }))), index.h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
|
|
170
181
|
}
|
|
171
182
|
static get watchers() { return {
|
|
172
183
|
"comments": ["onCommentsChange"]
|
|
@@ -186,4 +197,4 @@ const timestampOptions = {
|
|
|
186
197
|
};
|
|
187
198
|
TttxComments.style = tttxCommentsCss;
|
|
188
199
|
|
|
189
|
-
exports.
|
|
200
|
+
exports.tttx_comments_1_9_60 = TttxComments;
|
package/dist/cjs/{tttx-data-pattern_1_9_58.cjs.entry.js → tttx-data-pattern_1_9_60.cjs.entry.js}
RENAMED
|
@@ -19,12 +19,12 @@ const TttxDataPattern = class {
|
|
|
19
19
|
this.addbutton = false;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("tttx-
|
|
23
|
-
index.h("tttx-
|
|
24
|
-
index.h("tttx-
|
|
25
|
-
index.h("tttx-
|
|
22
|
+
return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("tttx-toolbar_1_9_60", { border: true }, index.h("span", { slot: "before" }, this.sorterOptions &&
|
|
23
|
+
index.h("tttx-sorter_1_9_60", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
24
|
+
index.h("tttx-filter_1_9_60", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), index.h("span", { slot: "after" }, index.h("tttx-standalone-input_1_9_60", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), index.h("tttx-toolbar_1_9_60", { border: false }, index.h("span", { slot: "before" }, this.addbutton &&
|
|
25
|
+
index.h("tttx-button_1_9_60", { design: "primary", icon: "add" }, this.addbuttonlabel))), index.h("tttx-list_1_9_60", { data: this.data }))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
TttxDataPattern.style = tttxDataPatternCss;
|
|
29
29
|
|
|
30
|
-
exports.
|
|
30
|
+
exports.tttx_data_pattern_1_9_60 = TttxDataPattern;
|
|
@@ -32,16 +32,16 @@ const TttxDatacard = class {
|
|
|
32
32
|
renderIcon(iconstyle) {
|
|
33
33
|
switch (iconstyle) {
|
|
34
34
|
case 'up':
|
|
35
|
-
return index.h("tttx-
|
|
35
|
+
return index.h("tttx-icon_1_9_60", { size: 24, icon: "arrow_circle_up", color: "green" });
|
|
36
36
|
case 'down':
|
|
37
|
-
return index.h("tttx-
|
|
37
|
+
return index.h("tttx-icon_1_9_60", { size: 24, icon: "arrow_circle_down", color: "darkred" });
|
|
38
38
|
default:
|
|
39
39
|
return null;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
return (index.h(index.Host, null, index.h("div", { class: "datacard" }, this.cardTitle && index.h("h2", { style: { 'position': 'relative', 'top': '0', 'left': '0', 'height': '40px' } }, this.cardTitle), this.chartRender && this.cardType === 'chart' &&
|
|
44
|
-
index.h("tttx-
|
|
44
|
+
index.h("tttx-graph_1_9_60", { 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 }), index.h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, index.h("div", { class: "lower" }, index.h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
|
|
45
45
|
index.h("div", { class: "right" }, index.h("div", { class: "flex" }, index.h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), index.h("div", { class: "rightdata" }, this.rightData)), index.h("div", { class: "subtext" }, this.rightSubtext)))))));
|
|
46
46
|
}
|
|
47
47
|
static get watchers() { return {
|
|
@@ -50,4 +50,4 @@ const TttxDatacard = class {
|
|
|
50
50
|
};
|
|
51
51
|
TttxDatacard.style = tttxDatacardCss;
|
|
52
52
|
|
|
53
|
-
exports.
|
|
53
|
+
exports.tttx_datacard_1_9_60 = TttxDatacard;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
|
-
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:
|
|
7
|
+
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:8px 4px;border-radius:4px;cursor:pointer;background:white;min-width:260px;width:100%;font-size:14px}.date-range-input .range-text{flex:1;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:15px;padding-left:5px}.date-range-input .range-text.is-placeholder{padding-left:10px;font-size:15px;font-weight:500;color:#212121}.date-range-input .clear-btn{background:none;border:none;font-size:16px;color:#888;margin-left:8px;cursor:pointer}.date-range-input .clear-btn:hover{color:#333}.date-range-input .calendar-icon{margin-left:8px;display:flex;align-items:center;margin-right:5px}.calendar-popup{position:absolute;z-index:1000;top:calc(100% + 4px);left:0;background:white;border:1px solid #ccc;padding:8px 4px;border-radius:4px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.1);width:auto;min-width:260px}.calendar-popup.single{display:flex;flex-direction:column}.calendar{display:flex;flex-direction:column;width:100%}.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;color:#333}.calendar .calendar-header .nav-btn:hover{color:#1479c6}.calendar .calendar-header .month-label{font-weight:bold;font-size:14px;color:#333}.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;color:#666}.calendar .calendar-grid .calendar-date{text-align:center;padding:0.5em;border-radius:4px;font-size:14px;cursor:pointer;transition:background 0.2s ease;color:#333}.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}.calendar .calendar-date.hoverrange{position:relative;z-index:1}.calendar .calendar-date.hoverrange::before{content:\"\";position:absolute;inset:0;border:1px dotted #bdbdbd;background-color:white;z-index:-1;pointer-events:none}.calendar .calendar-date.hoverrange.range-hover-start::before{border-top-left-radius:999px;border-bottom-left-radius:999px;left:0}.calendar .calendar-date.hoverrange.range-hover-end::before{border-top-right-radius:999px;border-bottom-right-radius:999px;right:0}.calendar .calendar-date.hoverrange:first-child{border-top-left-radius:50%;border-bottom-left-radius:50%}.calendar .calendar-date.hoverrange:last-child{border-top-right-radius:50%;border-bottom-right-radius:50%}";
|
|
8
8
|
|
|
9
9
|
const TttxDateRangePicker = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -27,7 +27,7 @@ const TttxDateRangePicker = class {
|
|
|
27
27
|
this.resetRange();
|
|
28
28
|
};
|
|
29
29
|
this.initialValue = undefined;
|
|
30
|
-
this.placeholderText = '
|
|
30
|
+
this.placeholderText = 'dd/mm/yyyy-dd/mm/yyyy';
|
|
31
31
|
this.showCalendar = false;
|
|
32
32
|
this.startDate = '';
|
|
33
33
|
this.endDate = '';
|
|
@@ -209,7 +209,10 @@ const TttxDateRangePicker = class {
|
|
|
209
209
|
: this.startDate
|
|
210
210
|
? `${this.formatToDDMMYYYY(this.startDate)} –`
|
|
211
211
|
: this.placeholderText;
|
|
212
|
-
return (index.h(index.Host, null, index.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 }, index.h("span", { class:
|
|
212
|
+
return (index.h(index.Host, null, index.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 }, index.h("span", { class: {
|
|
213
|
+
'range-text': true,
|
|
214
|
+
'is-placeholder': !(this.startDate || this.endDate),
|
|
215
|
+
} }, rangeText), (this.startDate || this.endDate) && (index.h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), index.h("span", { class: "calendar-icon", "aria-hidden": "true" }, index.h("tttx-icon_1_9_60", { icon: 'calendar_month' }))), this.showCalendar && (index.h("div", { class: "calendar-popup single" }, this.renderCalendar(this.currentYear, this.currentMonth, this.handleDateClick.bind(this))))));
|
|
213
216
|
}
|
|
214
217
|
static get watchers() { return {
|
|
215
218
|
"initialValue": ["watchInitialValue"]
|
package/dist/cjs/{tttx-dialog-box_1_9_58.cjs.entry.js → tttx-dialog-box_1_9_60.cjs.entry.js}
RENAMED
|
@@ -60,7 +60,7 @@ const TttxDialogBox = class {
|
|
|
60
60
|
const iconColor = header.iconColor;
|
|
61
61
|
const iconEnabled = header.hasIcon ? true : false;
|
|
62
62
|
const closeEnabled = header.hasClose ? true : false;
|
|
63
|
-
return (index.h("div", { class: "dialog-box-header" }, iconEnabled && index.h("tttx-
|
|
63
|
+
return (index.h("div", { class: "dialog-box-header" }, iconEnabled && index.h("tttx-icon_1_9_60", { class: "dialog-box-icon", icon: iconName, color: iconColor }), index.h("h3", { class: "dialog-box-title" }, title), closeEnabled && (index.h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, index.h("tttx-icon_1_9_60", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
64
64
|
}
|
|
65
65
|
renderContent(content) {
|
|
66
66
|
if (content.isCustomHtml) {
|
|
@@ -77,7 +77,7 @@ const TttxDialogBox = class {
|
|
|
77
77
|
const button2Enabled = button.length > 1;
|
|
78
78
|
const button3Enabled = button.length == 3;
|
|
79
79
|
const isMobile = this.elementSize === 'mobile';
|
|
80
|
-
return (index.h("div", { class: "dialog-box-footer" }, index.h("div", { class: "dialog-box-align-right" }, button3Enabled && (index.h("tttx-
|
|
80
|
+
return (index.h("div", { class: "dialog-box-footer" }, index.h("div", { class: "dialog-box-align-right" }, button3Enabled && (index.h("tttx-button_1_9_60", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (index.h("tttx-button_1_9_60", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (index.h("tttx-button_1_9_60", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
81
81
|
}
|
|
82
82
|
componentWillLoad() {
|
|
83
83
|
if (window.innerWidth < 698) {
|
|
@@ -102,4 +102,4 @@ const TttxDialogBox = class {
|
|
|
102
102
|
};
|
|
103
103
|
TttxDialogBox.style = tttxDialogBoxCss;
|
|
104
104
|
|
|
105
|
-
exports.
|
|
105
|
+
exports.tttx_dialog_box_1_9_60 = TttxDialogBox;
|
|
@@ -50,7 +50,7 @@ const TttxDialog = class {
|
|
|
50
50
|
renderHeader() {
|
|
51
51
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
52
52
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
53
|
-
return (index.h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && index.h("tttx-
|
|
53
|
+
return (index.h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && index.h("tttx-icon_1_9_60", { class: "icon", icon: iconName, color: iconColor }), index.h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (index.h("tttx-button_1_9_60", { 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 (index.h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, index.h("span", { class: "body-content" }, index.h("slot", null))));
|
|
@@ -78,4 +78,4 @@ const TttxDialog = class {
|
|
|
78
78
|
};
|
|
79
79
|
TttxDialog.style = tttxDialogCss;
|
|
80
80
|
|
|
81
|
-
exports.
|
|
81
|
+
exports.tttx_dialog_1_9_60 = TttxDialog;
|
|
@@ -30,9 +30,9 @@ const TttxExpander = class {
|
|
|
30
30
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h(index.Host, null, index.h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, index.h("summary", { class: "panel" }, index.h("span", { class: "panel-frame" }, this.lefticon && (index.h("span", { class: "left-icons" }, index.h("tttx-
|
|
33
|
+
return (index.h(index.Host, null, index.h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, index.h("summary", { class: "panel" }, index.h("span", { class: "panel-frame" }, this.lefticon && (index.h("span", { class: "left-icons" }, index.h("tttx-icon_1_9_60", { icon: this.lefticon, color: this.lefticoncolor }))), index.h("span", { class: "name" }, this.name)), index.h("span", { class: "expand-button" }, index.h("tttx-icon_1_9_60", { class: "open", icon: "expand_more", color: "black" }), index.h("tttx-icon_1_9_60", { class: "closed", icon: "chevron_right", color: "black" }))), index.h("div", { id: "expanderContent", class: "content", tabindex: "0" }, index.h("slot", null)))));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
TttxExpander.style = tttxExpanderCss;
|
|
37
37
|
|
|
38
|
-
exports.
|
|
38
|
+
exports.tttx_expander_1_9_60 = TttxExpander;
|
|
@@ -182,10 +182,10 @@ const TttxFilter = class {
|
|
|
182
182
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
183
183
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
184
184
|
const filterKey = `filter__${this.filterKey}`;
|
|
185
|
-
return (index.h(index.Host, { id: filterKey }, index.h("div", { class: 'filter-container' }, index.h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, index.h("tttx-
|
|
185
|
+
return (index.h(index.Host, { id: filterKey }, index.h("div", { class: 'filter-container' }, index.h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, index.h("tttx-icon_1_9_60", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (index.h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, index.h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (index.h("div", { class: 'search-field-container' }, index.h("tttx-icon_1_9_60", { icon: 'search', class: 'search-icon' }), index.h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), index.h("div", { class: 'filter-options-container' }, this.showSelectAll ? (index.h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, index.h("tttx-icon_1_9_60", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), index.h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
186
186
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
187
187
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
188
|
-
return index.h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, index.h("tttx-
|
|
188
|
+
return index.h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, index.h("tttx-icon_1_9_60", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && index.h("tttx-icon_1_9_60", { icon: option.optionIcon, color: option.optionIconColor }), index.h("label", { class: 'filter-label' }, option.optionText));
|
|
189
189
|
})), index.h("div", { class: 'filter-popover-button-container' }, index.h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), index.h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
190
190
|
}
|
|
191
191
|
get el() { return index.getElement(this); }
|
|
@@ -243,9 +243,9 @@ const TttxList = class {
|
|
|
243
243
|
else {
|
|
244
244
|
element = index.h("span", { class: "item-content" }, item.element);
|
|
245
245
|
}
|
|
246
|
-
return (index.h(index.Fragment, null, item.hasCheckbox && (index.h("div", { class: "checkbox" }, index.h("tttx-
|
|
246
|
+
return (index.h(index.Fragment, null, item.hasCheckbox && (index.h("div", { class: "checkbox" }, index.h("tttx-icon_1_9_60", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
247
247
|
this.onRowCheckboxHandler(event, item);
|
|
248
|
-
} }))), item.element && element, item.icon && (index.h("span", { class: "icons" }, index.h("tttx-
|
|
248
|
+
} }))), item.element && element, item.icon && (index.h("span", { class: "icons" }, index.h("tttx-icon_1_9_60", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
249
249
|
}
|
|
250
250
|
render() {
|
|
251
251
|
if (!this._data)
|
|
@@ -367,7 +367,7 @@ const TttxSorter = class {
|
|
|
367
367
|
const selectedOption = this.selectedField;
|
|
368
368
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
369
369
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
370
|
-
return (index.h(index.Host, { id: sorterKey }, index.h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, index.h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, index.h("tttx-
|
|
370
|
+
return (index.h(index.Host, { id: sorterKey }, index.h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, index.h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, index.h("tttx-icon_1_9_60", { icon: arrowIcon, color: "black" })), index.h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, index.h("div", { class: "dropdown-selector-button" }, index.h("div", { class: "dropdown-selector-text" }, selectedOption), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-icon_1_9_60", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (index.h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
371
371
|
return (index.h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
372
372
|
}))))));
|
|
373
373
|
}
|
|
@@ -403,7 +403,7 @@ const TttxToolbar = class {
|
|
|
403
403
|
};
|
|
404
404
|
TttxToolbar.style = tttxToolbarCss;
|
|
405
405
|
|
|
406
|
-
exports.
|
|
407
|
-
exports.
|
|
408
|
-
exports.
|
|
409
|
-
exports.
|
|
406
|
+
exports.tttx_filter_1_9_60 = TttxFilter;
|
|
407
|
+
exports.tttx_list_1_9_60 = TttxList;
|
|
408
|
+
exports.tttx_sorter_1_9_60 = TttxSorter;
|
|
409
|
+
exports.tttx_toolbar_1_9_60 = TttxToolbar;
|
|
@@ -356,7 +356,7 @@ const TttxForm = class {
|
|
|
356
356
|
if ((_b = this._data) === null || _b === void 0 ? void 0 : _b[formKey]) {
|
|
357
357
|
select.classList.remove('placeholder');
|
|
358
358
|
}
|
|
359
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
359
|
+
const tttxSelect = document.createElement('tttx-select-box_1_9_60');
|
|
360
360
|
tttxSelect.optionsData = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => !o.placeholder);
|
|
361
361
|
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;
|
|
362
362
|
tttxSelect.inline = false;
|
|
@@ -999,4 +999,4 @@ const TttxForm = class {
|
|
|
999
999
|
};
|
|
1000
1000
|
TttxForm.style = tttxFormCss;
|
|
1001
1001
|
|
|
1002
|
-
exports.
|
|
1002
|
+
exports.tttx_form_1_9_60 = TttxForm;
|
|
@@ -14912,4 +14912,4 @@ const TttxGraph = class {
|
|
|
14912
14912
|
};
|
|
14913
14913
|
TttxGraph.style = tttxGraphCss;
|
|
14914
14914
|
|
|
14915
|
-
exports.
|
|
14915
|
+
exports.tttx_graph_1_9_60 = TttxGraph;
|