@3t-transform/threeteeui 1.9.91 → 1.9.96
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/{index-3fc38d11.js → index-2c07dc57.js} +32 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tttx-action-dropdown_1_9_91.cjs.entry.js → tttx-action-dropdown_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-button-v2_1_9_91.cjs.entry.js → tttx-button-v2_1_9_96.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-button_1_9_91.cjs.entry.js → tttx-button_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-chart_1_9_91.cjs.entry.js → tttx-chart_1_9_96.cjs.entry.js} +62 -33
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_91.cjs.entry.js → tttx-checkbox-group-caption_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_91.cjs.entry.js → tttx-checkbox-group-heading_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group_1_9_91.cjs.entry.js → tttx-checkbox-group_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox_1_9_91.cjs.entry.js → tttx-checkbox_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-comments_1_9_91.cjs.entry.js → tttx-comments_1_9_96.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-data-pattern_1_9_91.cjs.entry.js → tttx-data-pattern_1_9_96.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-datacard_1_9_91.cjs.entry.js → tttx-datacard_1_9_96.cjs.entry.js} +5 -5
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/{tttx-dialog-box_1_9_91.cjs.entry.js → tttx-dialog-box_1_9_96.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog_1_9_91.cjs.entry.js → tttx-dialog_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-expander_1_9_91.cjs.entry.js → tttx-expander_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-filter_1_9_91_4.cjs.entry.js → tttx-filter_1_9_96_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_9_91.cjs.entry.js → tttx-form_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_91.cjs.entry.js → tttx-graph_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_9_91.cjs.entry.js → tttx-icon_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-keyvalue-block_1_9_91.cjs.entry.js → tttx-keyvalue-block_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-loading-spinner_1_9_91_3.cjs.entry.js → tttx-loading-spinner_1_9_96_3.cjs.entry.js} +19 -13
- package/dist/cjs/{tttx-multiselect-box_1_9_91.cjs.entry.js → tttx-multiselect-box_1_9_96.cjs.entry.js} +8 -8
- package/dist/cjs/{tttx-percentage-bar_1_9_91.cjs.entry.js → tttx-percentage-bar_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-qrcode_1_9_91.cjs.entry.js → tttx-qrcode_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-range-slider_1_9_91.cjs.entry.js → tttx-range-slider_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_91.cjs.entry.js → tttx-select-box_1_9_96.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-skeleton_loader_1_9_91.cjs.entry.js → tttx-skeleton_loader_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-table_1_9_91.cjs.entry.js → tttx-table_1_9_96.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tabs_1_9_91.cjs.entry.js → tttx-tabs_1_9_96.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-tag-v2_1_9_91.cjs.entry.js → tttx-tag-v2_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-textarea_1_9_91.cjs.entry.js → tttx-textarea_1_9_96.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-toggle_1_9_91.cjs.entry.js → tttx-toggle_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tooltip_1_9_91.cjs.entry.js → tttx-tooltip_1_9_96.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_9_91.cjs.entry.js → tttx-tree-view_1_9_96.cjs.entry.js} +4 -4
- package/dist/cjs/tttx.cjs.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +3 -3
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +15 -15
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.css +15 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +29 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +9 -5
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.js +2 -2
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.js +2 -2
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +61 -32
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +1 -1
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +3 -3
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.css +4 -0
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +2 -2
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +25 -25
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +1 -1
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +38 -38
- package/dist/components/index.js +38 -38
- package/dist/components/tttx-action-dropdown_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_91.js → tttx-action-dropdown_1_9_96.js} +7 -7
- package/dist/components/tttx-button-v2.js +7 -7
- package/dist/components/{tttx-checkbox_1_9_91.d.ts → tttx-button-v2_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_91.js → tttx-button-v2_1_9_96.js} +2 -2
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_91.d.ts → tttx-button_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_91.js → tttx-button_1_9_96.js} +2 -2
- package/dist/components/{tttx-table_1_9_91.d.ts → tttx-chart_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_91.js → tttx-chart_1_9_96.js} +68 -39
- package/dist/components/tttx-checkbox-group-caption_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_91.js → tttx-checkbox-group-caption_1_9_96.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_91.js → tttx-checkbox-group-heading_1_9_96.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_91.js → tttx-checkbox-group_1_9_96.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_91.d.ts → tttx-checkbox_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_91.js → tttx-checkbox_1_9_96.js} +7 -7
- package/dist/components/tttx-comments_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_91.js → tttx-comments_1_9_96.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_91.js → tttx-data-pattern_1_9_96.js} +16 -16
- package/dist/components/tttx-datacard_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_91.js → tttx-datacard_1_9_96.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_91.js → tttx-dialog-box_1_9_96.js} +9 -9
- package/dist/components/{tttx-filter_1_9_91.d.ts → tttx-dialog_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_91.js → tttx-dialog_1_9_96.js} +8 -8
- package/dist/components/tttx-expander_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_91.js → tttx-expander_1_9_96.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-qrcode_1_9_91.d.ts → tttx-filter_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_91.js → tttx-filter_1_9_96.js} +2 -2
- package/dist/components/{tttx-form_1_9_91.d.ts → tttx-form_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_91.js → tttx-form_1_9_96.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_91.d.ts → tttx-graph_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_91.js → tttx-graph_1_9_96.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_91.d.ts → tttx-icon_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_91.js → tttx-icon_1_9_96.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_91.js → tttx-keyvalue-block_1_9_96.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-tabs_1_9_91.d.ts → tttx-list_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_91.js → tttx-list_1_9_96.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +16 -9
- package/dist/components/tttx-loading-spinner_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_91.js → tttx-loading-spinner_1_9_96.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_91.js → tttx-multiselect-box_1_9_96.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_91.js → tttx-percentage-bar_1_9_96.js} +6 -6
- package/dist/components/{tttx-button_1_9_91.d.ts → tttx-qrcode_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_91.js → tttx-qrcode_1_9_96.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_91.js → tttx-range-slider_1_9_96.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_91.js → tttx-select-box_1_9_96.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_91.js → tttx-skeleton_loader_1_9_96.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_91.js → tttx-sorter_1_9_96.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_91.js → tttx-standalone-input_1_9_96.js} +2 -2
- package/dist/components/{tttx-chart_1_9_91.d.ts → tttx-table_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_91.js → tttx-table_1_9_96.js} +9 -9
- package/dist/components/{tttx-icon_1_9_91.d.ts → tttx-tabs_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_91.js → tttx-tabs_1_9_96.js} +9 -9
- package/dist/components/{tttx-tag-v2_1_9_91.d.ts → tttx-tag-v2_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-tag-v2_1_9_91.js → tttx-tag-v2_1_9_96.js} +7 -7
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_91.d.ts → tttx-tag_1_9_96.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_91.js → tttx-tag_1_9_96.js} +2 -2
- package/dist/components/tttx-textarea_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_91.js → tttx-textarea_1_9_96.js} +6 -6
- package/dist/components/tttx-toggle_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_91.js → tttx-toggle_1_9_96.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_91.js → tttx-toolbar_1_9_96.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_91.js → tttx-tooltip_1_9_96.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_96.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_91.js → tttx-tree-view_1_9_96.js} +9 -9
- package/dist/esm/{index-9f3e16ad.js → index-b614efb4.js} +32 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tttx-action-dropdown_1_9_91.entry.js → tttx-action-dropdown_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-button-v2_1_9_91.entry.js → tttx-button-v2_1_9_96.entry.js} +5 -5
- package/dist/esm/{tttx-button_1_9_91.entry.js → tttx-button_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-chart_1_9_91.entry.js → tttx-chart_1_9_96.entry.js} +62 -33
- package/dist/esm/{tttx-checkbox-group-caption_1_9_91.entry.js → tttx-checkbox-group-caption_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-heading_1_9_91.entry.js → tttx-checkbox-group-heading_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group_1_9_91.entry.js → tttx-checkbox-group_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox_1_9_91.entry.js → tttx-checkbox_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-comments_1_9_91.entry.js → tttx-comments_1_9_96.entry.js} +5 -5
- package/dist/esm/{tttx-data-pattern_1_9_91.entry.js → tttx-data-pattern_1_9_96.entry.js} +6 -6
- package/dist/esm/{tttx-datacard_1_9_91.entry.js → tttx-datacard_1_9_96.entry.js} +5 -5
- package/dist/esm/tttx-date-range-picker.entry.js +2 -2
- package/dist/esm/{tttx-dialog-box_1_9_91.entry.js → tttx-dialog-box_1_9_96.entry.js} +4 -4
- package/dist/esm/{tttx-dialog_1_9_91.entry.js → tttx-dialog_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-expander_1_9_91.entry.js → tttx-expander_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-filter_1_9_91_4.entry.js → tttx-filter_1_9_96_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_9_91.entry.js → tttx-form_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_91.entry.js → tttx-graph_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_9_91.entry.js → tttx-icon_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-keyvalue-block_1_9_91.entry.js → tttx-keyvalue-block_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-loading-spinner_1_9_91_3.entry.js → tttx-loading-spinner_1_9_96_3.entry.js} +17 -11
- package/dist/esm/{tttx-multiselect-box_1_9_91.entry.js → tttx-multiselect-box_1_9_96.entry.js} +8 -8
- package/dist/esm/{tttx-percentage-bar_1_9_91.entry.js → tttx-percentage-bar_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-qrcode_1_9_91.entry.js → tttx-qrcode_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-range-slider_1_9_91.entry.js → tttx-range-slider_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_91.entry.js → tttx-select-box_1_9_96.entry.js} +7 -7
- package/dist/esm/{tttx-skeleton_loader_1_9_91.entry.js → tttx-skeleton_loader_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-table_1_9_91.entry.js → tttx-table_1_9_96.entry.js} +4 -4
- package/dist/esm/{tttx-tabs_1_9_91.entry.js → tttx-tabs_1_9_96.entry.js} +5 -5
- package/dist/esm/{tttx-tag-v2_1_9_91.entry.js → tttx-tag-v2_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-textarea_1_9_91.entry.js → tttx-textarea_1_9_96.entry.js} +3 -3
- package/dist/esm/{tttx-toggle_1_9_91.entry.js → tttx-toggle_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-tooltip_1_9_91.entry.js → tttx-tooltip_1_9_96.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view_1_9_91.entry.js → tttx-tree-view_1_9_96.entry.js} +4 -4
- package/dist/esm/tttx.js +3 -3
- package/dist/tttx/{p-a8526f90.entry.js → p-00a849cf.entry.js} +1 -1
- package/dist/tttx/{p-65cffdc8.entry.js → p-0314665d.entry.js} +2 -2
- package/dist/tttx/{p-c33f9022.entry.js → p-1623f3cf.entry.js} +1 -1
- package/dist/tttx/{p-5765b7da.entry.js → p-21707b8d.entry.js} +1 -1
- package/dist/tttx/{p-47fadd24.entry.js → p-2251ab85.entry.js} +1 -1
- package/dist/tttx/{p-1f75b5d3.entry.js → p-2d19c46c.entry.js} +1 -1
- package/dist/tttx/{p-b97e0e3c.entry.js → p-358eaa44.entry.js} +1 -1
- package/dist/tttx/{p-f69b4685.entry.js → p-362999b3.entry.js} +1 -1
- package/dist/tttx/{p-36edf716.entry.js → p-3ec67d75.entry.js} +1 -1
- package/dist/tttx/{p-992a5c21.entry.js → p-41b69e01.entry.js} +1 -1
- package/dist/tttx/{p-a50d9105.entry.js → p-41f0bf7f.entry.js} +1 -1
- package/dist/tttx/{p-74a8c484.entry.js → p-44f0af69.entry.js} +1 -1
- package/dist/tttx/p-457a7731.js +2 -0
- package/dist/tttx/{p-5e14d6aa.entry.js → p-4664d065.entry.js} +1 -1
- package/dist/tttx/{p-0fa4e1e3.entry.js → p-5d289334.entry.js} +1 -1
- package/dist/tttx/{p-7c82f248.entry.js → p-6ec18b4a.entry.js} +1 -1
- package/dist/tttx/{p-4ddf7946.entry.js → p-7b5b0670.entry.js} +1 -1
- package/dist/tttx/{p-cae96118.entry.js → p-7d1712fe.entry.js} +1 -1
- package/dist/tttx/{p-86cdb616.entry.js → p-82b4e575.entry.js} +1 -1
- package/dist/tttx/{p-65e6fd9f.entry.js → p-8f3fd755.entry.js} +1 -1
- package/dist/tttx/{p-b2a0053a.entry.js → p-a1b8ecda.entry.js} +1 -1
- package/dist/tttx/{p-32cf4137.entry.js → p-a43e2c5e.entry.js} +1 -1
- package/dist/tttx/{p-b1a24af0.entry.js → p-b161205b.entry.js} +1 -1
- package/dist/tttx/{p-ca58259a.entry.js → p-b3f49d83.entry.js} +1 -1
- package/dist/tttx/{p-ff7edd81.entry.js → p-b8cc0cb2.entry.js} +1 -1
- package/dist/tttx/{p-969a4944.entry.js → p-b9003a76.entry.js} +1 -1
- package/dist/tttx/p-bb59054f.entry.js +1 -0
- package/dist/tttx/{p-b4fe2853.entry.js → p-c66bc14c.entry.js} +1 -1
- package/dist/tttx/{p-789defe0.entry.js → p-c8051143.entry.js} +1 -1
- package/dist/tttx/{p-e4480045.entry.js → p-c9b2a6a6.entry.js} +1 -1
- package/dist/tttx/{p-ee41fe8f.entry.js → p-ca93f786.entry.js} +1 -1
- package/dist/tttx/p-d21b0507.entry.js +1 -0
- package/dist/tttx/{p-4c63f7da.entry.js → p-d4c4edbd.entry.js} +1 -1
- package/dist/tttx/{p-c99b63d4.entry.js → p-e7dd8dcf.entry.js} +1 -1
- package/dist/tttx/{p-5b7c20ff.entry.js → p-f0c1380f.entry.js} +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +1 -0
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +4 -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 +453 -451
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_91.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_91.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_91.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_91.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_91.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_91.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_91.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_91.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_91.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_91.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_91.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_91.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_91.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_91.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_91.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_91.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_91.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_91.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_91.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_91.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_91.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_91.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_91.d.ts +0 -11
- package/dist/tttx/p-5c9beaf9.js +0 -2
- package/dist/tttx/p-a2979a57.entry.js +0 -1
- package/dist/tttx/p-f30833e3.entry.js +0 -1
|
@@ -66,6 +66,11 @@ const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
|
66
66
|
* Don't add values to these!!
|
|
67
67
|
*/
|
|
68
68
|
const EMPTY_OBJ = {};
|
|
69
|
+
/**
|
|
70
|
+
* Namespaces
|
|
71
|
+
*/
|
|
72
|
+
const SVG_NS = 'http://www.w3.org/2000/svg';
|
|
73
|
+
const HTML_NS = 'http://www.w3.org/1999/xhtml';
|
|
69
74
|
const isDef = (v) => v != null;
|
|
70
75
|
const isComplexType = (o) => {
|
|
71
76
|
// https://jsperf.com/typeof-fn-object/5
|
|
@@ -615,10 +620,17 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
615
620
|
doc.createTextNode('');
|
|
616
621
|
}
|
|
617
622
|
else {
|
|
623
|
+
if (!isSvgMode) {
|
|
624
|
+
isSvgMode = newVNode.$tag$ === 'svg';
|
|
625
|
+
}
|
|
618
626
|
// create element
|
|
619
|
-
elm = newVNode.$elm$ = (doc.
|
|
627
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
|
|
620
628
|
? 'slot-fb'
|
|
621
|
-
: newVNode.$tag$)
|
|
629
|
+
: newVNode.$tag$)
|
|
630
|
+
);
|
|
631
|
+
if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
|
|
632
|
+
isSvgMode = false;
|
|
633
|
+
}
|
|
622
634
|
// add css classes, attrs, props, listeners, etc.
|
|
623
635
|
{
|
|
624
636
|
updateElement(null, newVNode, isSvgMode);
|
|
@@ -639,6 +651,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
639
651
|
}
|
|
640
652
|
}
|
|
641
653
|
}
|
|
654
|
+
{
|
|
655
|
+
if (newVNode.$tag$ === 'svg') {
|
|
656
|
+
// Only reset the SVG context when we're exiting <svg> element
|
|
657
|
+
isSvgMode = false;
|
|
658
|
+
}
|
|
659
|
+
else if (elm.tagName === 'foreignObject') {
|
|
660
|
+
// Reenter SVG context when we're exiting <foreignObject> element
|
|
661
|
+
isSvgMode = true;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
642
664
|
}
|
|
643
665
|
{
|
|
644
666
|
elm['s-hn'] = hostTagName;
|
|
@@ -1051,6 +1073,11 @@ const patch = (oldVNode, newVNode) => {
|
|
|
1051
1073
|
const text = newVNode.$text$;
|
|
1052
1074
|
let defaultHolder;
|
|
1053
1075
|
if (text === null) {
|
|
1076
|
+
{
|
|
1077
|
+
// test if we're rendering an svg element, or still rendering nodes inside of one
|
|
1078
|
+
// only add this to the when the compiler sees we're using an svg somewhere
|
|
1079
|
+
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
1080
|
+
}
|
|
1054
1081
|
{
|
|
1055
1082
|
if (tag === 'slot')
|
|
1056
1083
|
;
|
|
@@ -1079,6 +1106,9 @@ const patch = (oldVNode, newVNode) => {
|
|
|
1079
1106
|
// no new child vnodes, but there are old child vnodes to remove
|
|
1080
1107
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
1081
1108
|
}
|
|
1109
|
+
if (isSvgMode && tag === 'svg') {
|
|
1110
|
+
isSvgMode = false;
|
|
1111
|
+
}
|
|
1082
1112
|
}
|
|
1083
1113
|
else if ((defaultHolder = elm['s-cr'])) {
|
|
1084
1114
|
// this element has slotted content
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -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(JSON.parse("[[\"tttx-data-pattern_1_9_91.cjs\",[[1,\"tttx-data-pattern_1_9_91\",{\"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_91.cjs\",[[1,\"tttx-form_1_9_91\",{\"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_91.cjs\",[[1,\"tttx-multiselect-box_1_9_91\",{\"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-chart_1_9_91.cjs\",[[1,\"tttx-chart_1_9_91\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[16],\"chartOptions\":[16],\"loading\":[4],\"error\":[4],\"fallbackText\":[1,\"fallback-text\"],\"width\":[1],\"height\":[1],\"isYAxisPercentageValues\":[4,\"is-y-axis-percentage-values\"],\"showActiveSegmentLabel\":[4,\"show-active-segment-label\"],\"initialActiveIndex\":[2,\"initial-active-index\"],\"activeSegmentChangeCallback\":[16],\"exportable\":[32],\"chartInstance\":[32],\"showPngSvgExport\":[32],\"selectedSegmentIndex\":[32],\"hoverSegmentIndex\":[32]}]]],[\"tttx-datacard_1_9_91.cjs\",[[1,\"tttx-datacard_1_9_91\",{\"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_91.cjs\",[[1,\"tttx-dialog-box_1_9_91\",{\"data\":[1025],\"size\":[1],\"open\":[1028],\"allowOverflow\":[4,\"allow-overflow\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-dialog_1_9_91.cjs\",[[1,\"tttx-dialog_1_9_91\",{\"header\":[1],\"type\":[1],\"size\":[1],\"open\":[4],\"allowOverflow\":[4,\"allow-overflow\"],\"closeEnabled\":[4,\"close-enabled\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-table_1_9_91.cjs\",[[1,\"tttx-table_1_9_91\",{\"headers\":[16],\"data\":[16],\"selectable\":[4],\"loading\":[4],\"draggableHeaders\":[4,\"draggable-headers\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"totalRecords\":[2,\"total-records\"],\"selected\":[2],\"page\":[2],\"currentPage\":[32],\"draggedHeaderIndex\":[32]}]]],[\"tttx-tree-view_1_9_91.cjs\",[[1,\"tttx-tree-view_1_9_91\",{\"data\":[1040],\"treeData\":[32]}]]],[\"tttx-action-dropdown_1_9_91.cjs\",[[1,\"tttx-action-dropdown_1_9_91\",{\"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_91.cjs\",[[0,\"tttx-checkbox_1_9_91\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"inline\":[4],\"indeterminate\":[4],\"checked\":[4]}]]],[\"tttx-comments_1_9_91.cjs\",[[1,\"tttx-comments_1_9_91\",{\"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_91.cjs\",[[1,\"tttx-expander_1_9_91\",{\"name\":[1],\"open\":[4],\"lefticon\":[1],\"lefticoncolor\":[1],\"isExpanded\":[32]}]]],[\"tttx-tabs_1_9_91.cjs\",[[2,\"tttx-tabs_1_9_91\",{\"tabsName\":[1,\"tabs-name\"],\"navigation\":[4],\"wide\":[4],\"tabs\":[1],\"_tabs\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"tttx-tag-v2_1_9_91.cjs\",[[1,\"tttx-tag-v2_1_9_91\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"iconSize\":[2,\"icon-size\"],\"state\":[1],\"size\":[1],\"variant\":[1],\"hasStartIcon\":[4,\"has-start-icon\"],\"hasEndIcon\":[4,\"has-end-icon\"]}]]],[\"tttx-checkbox-group-caption_1_9_91.cjs\",[[4,\"tttx-checkbox-group-caption_1_9_91\"]]],[\"tttx-checkbox-group-heading_1_9_91.cjs\",[[4,\"tttx-checkbox-group-heading_1_9_91\"]]],[\"tttx-checkbox-group_1_9_91.cjs\",[[1,\"tttx-checkbox-group_1_9_91\"]]],[\"tttx-keyvalue-block_1_9_91.cjs\",[[1,\"tttx-keyvalue-block_1_9_91\",{\"keyvalues\":[1],\"horizontal\":[4],\"spacedout\":[4],\"_elements\":[32]}]]],[\"tttx-percentage-bar_1_9_91.cjs\",[[2,\"tttx-percentage-bar_1_9_91\",{\"percentage\":[8],\"thresholds\":[1],\"color\":[1],\"min\":[1],\"labelid\":[1],\"_percentage\":[32],\"_ranges\":[32],\"_min\":[32]}]]],[\"tttx-qrcode_1_9_91.cjs\",[[1,\"tttx-qrcode_1_9_91\",{\"link\":[1025],\"size\":[1026]}]]],[\"tttx-range-slider_1_9_91.cjs\",[[1,\"tttx-range-slider_1_9_91\",{\"minimum\":[2],\"maximum\":[2],\"sliderMode\":[1,\"slider-mode\"],\"showFields\":[4,\"show-fields\"],\"lowerValue\":[32],\"upperValue\":[32]},[[0,\"setSliderValues\",\"onSetSliderValues\"]]]]],[\"tttx-skeleton_loader_1_9_91.cjs\",[[1,\"tttx-skeleton_loader_1_9_91\",{\"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-textarea_1_9_91.cjs\",[[2,\"tttx-textarea_1_9_91\",{\"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_91.cjs\",[[1,\"tttx-toggle_1_9_91\",{\"initialstate\":[8],\"_state\":[32]}]]],[\"tttx-tooltip_1_9_91.cjs\",[[1,\"tttx-tooltip_1_9_91\",{\"text\":[1],\"placement\":[1],\"trigger\":[16],\"delay\":[2],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"showShadow\":[4,\"show-shadow\"],\"showOnlyOnOverflow\":[4,\"show-only-on-overflow\"],\"visible\":[32],\"tooltipStyles\":[32]}]]],[\"tttx-icon_1_9_91.cjs\",[[1,\"tttx-icon_1_9_91\",{\"icon\":[1],\"color\":[1],\"size\":[1026]}]]],[\"tttx-loading-spinner_1_9_91_3.cjs\",[[1,\"tttx-tag_1_9_91\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"hasIcon\":[4,\"has-icon\"],\"icon\":[1],\"iconColor\":[1,\"icon-color\"],\"iconSize\":[2,\"icon-size\"]}],[2,\"tttx-standalone-input_1_9_91\",{\"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]}],[1,\"tttx-loading-spinner_1_9_91\",{\"loadingMessage\":[4,\"loading-message\"],\"size\":[1],\"color\":[1],\"message\":[1],\"customMessageSchema\":[16],\"timeElapsed\":[32]}]]],[\"tttx-select-box_1_9_91.cjs\",[[1,\"tttx-select-box_1_9_91\",{\"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-button-v2_1_9_91.cjs\",[[1,\"tttx-button-v2_1_9_91\",{\"notext\":[4],\"icon\":[1],\"label\":[1],\"iconcolor\":[1025],\"iconposition\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"design\":[1],\"disabled\":[516],\"type\":[1],\"href\":[1],\"options\":[1],\"size\":[1],\"dropdownOpen\":[32],\"dropdownDirection\":[32]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"tttx-graph_1_9_91.cjs\",[[1,\"tttx-graph_1_9_91\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[1,\"chart-data\"],\"chartText\":[1,\"chart-text\"],\"chartConfig\":[32],\"formattedData\":[32]}]]],[\"tttx-filter_1_9_91_4.cjs\",[[1,\"tttx-filter_1_9_91\",{\"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_91\",{\"data\":[1025],\"name\":[1],\"_data\":[32]}],[1,\"tttx-sorter_1_9_91\",{\"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_91\",{\"border\":[4],\"viewSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-button_1_9_91.cjs\",[[1,\"tttx-button_1_9_91\",{\"notext\":[4],\"icon\":[1],\"iconposition\":[1],\"iconcolor\":[1025],\"design\":[1]}]]]]"), options);
|
|
17
|
+
return index.bootstrapLazy(JSON.parse("[[\"tttx-data-pattern_1_9_96.cjs\",[[1,\"tttx-data-pattern_1_9_96\",{\"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_96.cjs\",[[1,\"tttx-form_1_9_96\",{\"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_96.cjs\",[[1,\"tttx-multiselect-box_1_9_96\",{\"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-chart_1_9_96.cjs\",[[1,\"tttx-chart_1_9_96\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[16],\"chartOptions\":[16],\"loading\":[4],\"error\":[4],\"fallbackText\":[1,\"fallback-text\"],\"width\":[1],\"height\":[1],\"isYAxisPercentageValues\":[4,\"is-y-axis-percentage-values\"],\"showActiveSegmentLabel\":[4,\"show-active-segment-label\"],\"initialActiveIndex\":[2,\"initial-active-index\"],\"activeSegmentChangeCallback\":[16],\"exportable\":[32],\"chartInstance\":[32],\"showPngSvgExport\":[32],\"selectedSegmentIndex\":[32],\"hoverSegmentIndex\":[32]}]]],[\"tttx-datacard_1_9_96.cjs\",[[1,\"tttx-datacard_1_9_96\",{\"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_96.cjs\",[[1,\"tttx-dialog-box_1_9_96\",{\"data\":[1025],\"size\":[1],\"open\":[1028],\"allowOverflow\":[4,\"allow-overflow\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-dialog_1_9_96.cjs\",[[1,\"tttx-dialog_1_9_96\",{\"header\":[1],\"type\":[1],\"size\":[1],\"open\":[4],\"allowOverflow\":[4,\"allow-overflow\"],\"closeEnabled\":[4,\"close-enabled\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-table_1_9_96.cjs\",[[1,\"tttx-table_1_9_96\",{\"headers\":[16],\"data\":[16],\"selectable\":[4],\"loading\":[4],\"draggableHeaders\":[4,\"draggable-headers\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"totalRecords\":[2,\"total-records\"],\"selected\":[2],\"page\":[2],\"currentPage\":[32],\"draggedHeaderIndex\":[32]}]]],[\"tttx-tree-view_1_9_96.cjs\",[[1,\"tttx-tree-view_1_9_96\",{\"data\":[1040],\"treeData\":[32]}]]],[\"tttx-action-dropdown_1_9_96.cjs\",[[1,\"tttx-action-dropdown_1_9_96\",{\"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_96.cjs\",[[0,\"tttx-checkbox_1_9_96\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"inline\":[4],\"indeterminate\":[4],\"checked\":[4]}]]],[\"tttx-comments_1_9_96.cjs\",[[1,\"tttx-comments_1_9_96\",{\"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_96.cjs\",[[1,\"tttx-expander_1_9_96\",{\"name\":[1],\"open\":[4],\"lefticon\":[1],\"lefticoncolor\":[1],\"isExpanded\":[32]}]]],[\"tttx-tabs_1_9_96.cjs\",[[2,\"tttx-tabs_1_9_96\",{\"tabsName\":[1,\"tabs-name\"],\"navigation\":[4],\"wide\":[4],\"tabs\":[1],\"_tabs\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"tttx-tag-v2_1_9_96.cjs\",[[1,\"tttx-tag-v2_1_9_96\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"iconSize\":[2,\"icon-size\"],\"state\":[1],\"size\":[1],\"variant\":[1],\"hasStartIcon\":[4,\"has-start-icon\"],\"hasEndIcon\":[4,\"has-end-icon\"]}]]],[\"tttx-checkbox-group-caption_1_9_96.cjs\",[[4,\"tttx-checkbox-group-caption_1_9_96\"]]],[\"tttx-checkbox-group-heading_1_9_96.cjs\",[[4,\"tttx-checkbox-group-heading_1_9_96\"]]],[\"tttx-checkbox-group_1_9_96.cjs\",[[1,\"tttx-checkbox-group_1_9_96\"]]],[\"tttx-keyvalue-block_1_9_96.cjs\",[[1,\"tttx-keyvalue-block_1_9_96\",{\"keyvalues\":[1],\"horizontal\":[4],\"spacedout\":[4],\"_elements\":[32]}]]],[\"tttx-percentage-bar_1_9_96.cjs\",[[2,\"tttx-percentage-bar_1_9_96\",{\"percentage\":[8],\"thresholds\":[1],\"color\":[1],\"min\":[1],\"labelid\":[1],\"_percentage\":[32],\"_ranges\":[32],\"_min\":[32]}]]],[\"tttx-qrcode_1_9_96.cjs\",[[1,\"tttx-qrcode_1_9_96\",{\"link\":[1025],\"size\":[1026]}]]],[\"tttx-range-slider_1_9_96.cjs\",[[1,\"tttx-range-slider_1_9_96\",{\"minimum\":[2],\"maximum\":[2],\"sliderMode\":[1,\"slider-mode\"],\"showFields\":[4,\"show-fields\"],\"lowerValue\":[32],\"upperValue\":[32]},[[0,\"setSliderValues\",\"onSetSliderValues\"]]]]],[\"tttx-skeleton_loader_1_9_96.cjs\",[[1,\"tttx-skeleton_loader_1_9_96\",{\"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-textarea_1_9_96.cjs\",[[2,\"tttx-textarea_1_9_96\",{\"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_96.cjs\",[[1,\"tttx-toggle_1_9_96\",{\"initialstate\":[8],\"_state\":[32]}]]],[\"tttx-tooltip_1_9_96.cjs\",[[1,\"tttx-tooltip_1_9_96\",{\"text\":[1],\"placement\":[1],\"trigger\":[16],\"delay\":[2],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"showShadow\":[4,\"show-shadow\"],\"showOnlyOnOverflow\":[4,\"show-only-on-overflow\"],\"visible\":[32],\"tooltipStyles\":[32]}]]],[\"tttx-icon_1_9_96.cjs\",[[1,\"tttx-icon_1_9_96\",{\"icon\":[1],\"color\":[1],\"size\":[1026]}]]],[\"tttx-loading-spinner_1_9_96_3.cjs\",[[1,\"tttx-tag_1_9_96\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"hasIcon\":[4,\"has-icon\"],\"icon\":[1],\"iconColor\":[1,\"icon-color\"],\"iconSize\":[2,\"icon-size\"]}],[2,\"tttx-standalone-input_1_9_96\",{\"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]}],[1,\"tttx-loading-spinner_1_9_96\",{\"loadingMessage\":[4,\"loading-message\"],\"size\":[1],\"color\":[1],\"cardBackgroundColor\":[1,\"card-background-color\"],\"message\":[1],\"customMessageSchema\":[16],\"timeElapsed\":[32]}]]],[\"tttx-select-box_1_9_96.cjs\",[[1,\"tttx-select-box_1_9_96\",{\"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-button-v2_1_9_96.cjs\",[[1,\"tttx-button-v2_1_9_96\",{\"notext\":[4],\"icon\":[1],\"label\":[1],\"iconcolor\":[1025],\"iconposition\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"design\":[1],\"disabled\":[516],\"type\":[1],\"href\":[1],\"options\":[1],\"size\":[1],\"dropdownOpen\":[32],\"dropdownDirection\":[32]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"tttx-graph_1_9_96.cjs\",[[1,\"tttx-graph_1_9_96\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[1,\"chart-data\"],\"chartText\":[1,\"chart-text\"],\"chartConfig\":[32],\"formattedData\":[32]}]]],[\"tttx-filter_1_9_96_4.cjs\",[[1,\"tttx-filter_1_9_96\",{\"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_96\",{\"data\":[1025],\"name\":[1],\"_data\":[32]}],[1,\"tttx-sorter_1_9_96\",{\"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_96\",{\"border\":[4],\"viewSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-button_1_9_96.cjs\",[[1,\"tttx-button_1_9_96\",{\"notext\":[4],\"icon\":[1],\"iconposition\":[1],\"iconcolor\":[1025],\"design\":[1]}]]]]"), options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
7
|
const tttxActionDropdownCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.action-dropdown-container{display:flex;flex-direction:column;position:relative;border:1px solid #d5d5d5;border-radius:4px;font-weight:400;box-sizing:border-box;cursor:pointer;width:220px}@media (max-width: 475px){.action-dropdown-container{width:120px}}.action-dropdown-container .action-button{display:flex;justify-content:space-between;align-items:center;background-color:white;border:none;border-radius:4px;height:36px;padding:0 8px 0 12px;width:100%}@media (max-width: 475px){.action-dropdown-container .action-button{padding:0 6px 0 8px}}.action-dropdown-container .action-button .button-content{display:flex;align-items:center;gap:8px}.action-dropdown-container .action-button .button-content .action-text{font-size:16px;color:#212121;font-weight:500}.action-dropdown-container .action-button .dropdown-arrow{display:flex;align-items:center;margin-left:auto}.action-dropdown-container .action-button .dropdown-arrow .hydrated{display:flex;align-items:center}.action-dropdown-container .action-button .hydrated{display:flex;justify-content:center;align-items:center;cursor:pointer}.action-dropdown-container .action-button .material-symbols-rounded{color:#212121}.action-dropdown-container .action-button:hover{background-color:#f0f0f0}.action-dropdown-container .action-button:active{background-color:#e3e3e3}.action-dropdown-container .dropdown-options-list{position:absolute;top:36px;left:0;z-index:1;width:220px;line-height:21px;font-size:16px;border-radius:4px;padding-top:8px;padding-bottom:7px;box-shadow:0px 1px 5px #1111114D;box-sizing:border-box;background-color:white;border:1px solid #d5d5d5}@media (max-width: 475px){.action-dropdown-container .dropdown-options-list{width:220px;padding-top:8px}}.action-dropdown-container .dropdown-options-list .dropdown-option{padding:8px 16px;font-size:16px;line-height:21px;cursor:pointer}.action-dropdown-container .dropdown-options-list .dropdown-option:hover,.action-dropdown-container .dropdown-options-list .dropdown-option:focus{background-color:#ebfbfc}.action-dropdown-container.--expanded{border-color:#1579c6}@media (max-width: 475px){.action-dropdown-container.--expanded{border-color:#1579c6}}";
|
|
8
8
|
|
|
@@ -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_96", { 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_96", { 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_96 = TttxActionDropdown;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
|
-
const tttxButtonV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px;min-height:32px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px;min-height:40px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px;min-height:48px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}button.icon-start.btn-size-s{padding-right:14px}button.icon-end.btn-size-s{padding-left:14px}button.icon-start.btn-size-m{padding-right:16px}button.icon-end.btn-size-m{padding-left:16px}button.icon-start.btn-size-l{padding-right:28px}button.icon-end.btn-size-l{padding-left:28px}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;width:100%}.button-content:not(:has(.icon-left,.icon-right)){justify-content:center}button.notext .button-content{justify-content:center !important;align-items:center;width:100%;display:flex;gap:0}tttx-icon,tttx-
|
|
7
|
+
const tttxButtonV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px;min-height:32px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px;min-height:40px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px;min-height:48px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}button.icon-start.btn-size-s{padding-right:14px}button.icon-end.btn-size-s{padding-left:14px}button.icon-start.btn-size-m{padding-right:16px}button.icon-end.btn-size-m{padding-left:16px}button.icon-start.btn-size-l{padding-right:28px}button.icon-end.btn-size-l{padding-left:28px}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;width:100%}.button-content:not(:has(.icon-left,.icon-right)){justify-content:center}button.notext .button-content{justify-content:center !important;align-items:center;width:100%;display:flex;gap:0}tttx-icon,tttx-icon_1_9_96{cursor:inherit;display:inline-flex;vertical-align:middle;font-size:16px}.button-wrapper{position:relative}.button-wrapper .dropdown-list{position:absolute;top:100%;left:0;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;background-color:white;border:1px solid #d4d4d4;margin-top:8px}.button-wrapper .dropdown-list .dropdown-option{padding:8px;cursor:pointer;white-space:nowrap;font-family:Roboto;font-size:14px;font-weight:400;line-height:16px}.button-wrapper .dropdown-list .dropdown-option:hover,.button-wrapper .dropdown-list .dropdown-option:focus{background-color:#f5f5f5;border-radius:8px}.button-wrapper .dropdown-list.dropdown-left{left:auto;right:0;top:100%;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;margin-top:8px}.button-wrapper .dropdown-button{border-radius:4px;width:100%;justify-content:space-between}.button-wrapper .dropdown-button:hover{background-color:#f0f0f0}.button-wrapper .dropdown-button:active{background-color:#e3e3e3}.button-wrapper .dropdown-button .dropdown-arrow{display:flex;align-items:center;margin-left:8px}.button-wrapper .dropdown-button .dropdown-arrow .hydrated{display:flex;align-items:center}.dropdown-item-content{display:flex;align-items:center;gap:8px}.dropdown-item-icon{display:flex;align-items:center;justify-content:center}";
|
|
8
8
|
|
|
9
9
|
const TttxButton = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -127,13 +127,13 @@ const TttxButton = class {
|
|
|
127
127
|
}
|
|
128
128
|
renderButtonContent() {
|
|
129
129
|
var _a;
|
|
130
|
-
return (index.h("div", { class: "button-content" }, this.iconStart && (index.h("div", { class: "icon-left" }, index.h("tttx-
|
|
130
|
+
return (index.h("div", { class: "button-content" }, this.iconStart && (index.h("div", { class: "icon-left" }, index.h("tttx-icon_1_9_96", { icon: this.iconStart, color: this.iconcolor, size: this.iconSize }))), !this.notext && (index.h("div", { class: "label-text" }, index.h("span", null, (_a = this.label) !== null && _a !== void 0 ? _a : index.h("slot", null)))), this.iconEnd && (index.h("div", { class: "icon-right" }, index.h("tttx-icon_1_9_96", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (index.h("div", { class: "dropdown-arrow" }, index.h("tttx-icon_1_9_96", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
|
|
131
131
|
}
|
|
132
132
|
renderDropdownList() {
|
|
133
133
|
if (this.type !== 'dropdown' || !this.dropdownOpen)
|
|
134
134
|
return null;
|
|
135
135
|
const dropdownClasses = `dropdown-list dropdown-${this.dropdownDirection}`;
|
|
136
|
-
return (index.h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index$1) => (index.h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index$1, onClick: () => this.handleDropdownItemClick(index$1) }, index.h("div", { class: "dropdown-item-content" }, item.icon && (index.h("tttx-
|
|
136
|
+
return (index.h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index$1) => (index.h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index$1, onClick: () => this.handleDropdownItemClick(index$1) }, index.h("div", { class: "dropdown-item-content" }, item.icon && (index.h("tttx-icon_1_9_96", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), index.h("span", { class: "dropdown-item-label" }, item.label)))))));
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
139
|
const classes = [
|
|
@@ -153,4 +153,4 @@ const TttxButton = class {
|
|
|
153
153
|
};
|
|
154
154
|
TttxButton.style = tttxButtonV2Css;
|
|
155
155
|
|
|
156
|
-
exports.
|
|
156
|
+
exports.tttx_button_v2_1_9_96 = TttxButton;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
7
|
const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.blackout{background:#363636;border:1px solid #363636;color:white}.blackout:active{background:#212121;border:1px solid #212121}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.blackout:hover{background:#212121;border:1px solid #212121}}:host{display:inline-block}tttx-icon{cursor:inherit}.spacingleft{margin-left:8px}";
|
|
8
8
|
|
|
@@ -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_96", { 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_96", { 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_96 = TttxButton;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
const auto = require('./auto-be8ad100.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -7261,6 +7261,7 @@ const TttxChart = class {
|
|
|
7261
7261
|
this.chartInstance = new auto.Chart(this.canvasEl, config);
|
|
7262
7262
|
// Initialize colors for doughnut-v2
|
|
7263
7263
|
if (this.chartType === 'doughnut-v2') {
|
|
7264
|
+
this.chartInstance.setDatasetVisibility(0, true);
|
|
7264
7265
|
this.updateChartColors();
|
|
7265
7266
|
}
|
|
7266
7267
|
}
|
|
@@ -7290,7 +7291,13 @@ const TttxChart = class {
|
|
|
7290
7291
|
},
|
|
7291
7292
|
tooltip: {
|
|
7292
7293
|
callbacks: {
|
|
7293
|
-
label: (ctx) =>
|
|
7294
|
+
label: (ctx) => {
|
|
7295
|
+
const label = ctx.label || ctx.dataset.label || '';
|
|
7296
|
+
// Convert value to number and fix to 2 decimal places
|
|
7297
|
+
const value = Number(ctx.raw);
|
|
7298
|
+
const formattedValue = isNaN(value) ? ctx.formattedValue : value.toFixed(2);
|
|
7299
|
+
return `${label}: ${formattedValue}`;
|
|
7300
|
+
},
|
|
7294
7301
|
},
|
|
7295
7302
|
backgroundColor: '#17272B'
|
|
7296
7303
|
},
|
|
@@ -7304,14 +7311,9 @@ const TttxChart = class {
|
|
|
7304
7311
|
return {
|
|
7305
7312
|
responsive: true,
|
|
7306
7313
|
maintainAspectRatio: false,
|
|
7307
|
-
animation: {
|
|
7308
|
-
duration: 0,
|
|
7309
|
-
},
|
|
7314
|
+
animation: { duration: 0 },
|
|
7310
7315
|
elements: {
|
|
7311
|
-
point: {
|
|
7312
|
-
radius: 0,
|
|
7313
|
-
hoverRadius: 4,
|
|
7314
|
-
},
|
|
7316
|
+
point: { radius: 0, hoverRadius: 4 },
|
|
7315
7317
|
},
|
|
7316
7318
|
plugins: {
|
|
7317
7319
|
legend: {
|
|
@@ -7350,8 +7352,11 @@ const TttxChart = class {
|
|
|
7350
7352
|
});
|
|
7351
7353
|
},
|
|
7352
7354
|
label: (ctx) => {
|
|
7353
|
-
const
|
|
7354
|
-
|
|
7355
|
+
const rawValue = ctx.parsed && ctx.parsed.y !== undefined ? ctx.parsed.y : ctx.raw;
|
|
7356
|
+
// Format to max 2 decimal places
|
|
7357
|
+
const value = Number(rawValue);
|
|
7358
|
+
const formattedValue = isNaN(value) ? rawValue : value.toFixed(2);
|
|
7359
|
+
return `${ctx.dataset.label}: ${formattedValue}${this.isYAxisPercentageValues ? '%' : ''}`;
|
|
7355
7360
|
},
|
|
7356
7361
|
},
|
|
7357
7362
|
},
|
|
@@ -7366,16 +7371,12 @@ const TttxChart = class {
|
|
|
7366
7371
|
time: {
|
|
7367
7372
|
unit: 'month',
|
|
7368
7373
|
displayFormats: {
|
|
7369
|
-
month: 'MMM',
|
|
7374
|
+
month: 'MMM yyyy',
|
|
7370
7375
|
},
|
|
7371
7376
|
tooltipFormat: 'dd MMM yyyy',
|
|
7372
7377
|
},
|
|
7373
|
-
grid: {
|
|
7374
|
-
|
|
7375
|
-
},
|
|
7376
|
-
border: {
|
|
7377
|
-
dash: [4, 4],
|
|
7378
|
-
},
|
|
7378
|
+
grid: { color: '#E5E5E5' },
|
|
7379
|
+
border: { dash: [4, 4] },
|
|
7379
7380
|
ticks: {
|
|
7380
7381
|
autoSkip: true,
|
|
7381
7382
|
maxRotation: 0,
|
|
@@ -7385,14 +7386,15 @@ const TttxChart = class {
|
|
|
7385
7386
|
min: 0,
|
|
7386
7387
|
beginAtZero: true,
|
|
7387
7388
|
ticks: {
|
|
7388
|
-
callback: (value) =>
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
dash: [4, 4],
|
|
7389
|
+
callback: (value) => {
|
|
7390
|
+
// Optional: format Y-axis labels to 2 decimals as well
|
|
7391
|
+
const numValue = Number(value);
|
|
7392
|
+
const formatted = isNaN(numValue) ? value : numValue.toFixed(2);
|
|
7393
|
+
return this.isYAxisPercentageValues ? `${formatted}%` : formatted;
|
|
7394
|
+
},
|
|
7395
7395
|
},
|
|
7396
|
+
grid: { color: '#E5E5E5' },
|
|
7397
|
+
border: { dash: [4, 4] },
|
|
7396
7398
|
},
|
|
7397
7399
|
},
|
|
7398
7400
|
};
|
|
@@ -7408,7 +7410,24 @@ const TttxChart = class {
|
|
|
7408
7410
|
getDoughnutV2ChartConfig() {
|
|
7409
7411
|
return {
|
|
7410
7412
|
plugins: {
|
|
7411
|
-
legend: {
|
|
7413
|
+
legend: {
|
|
7414
|
+
labels: {
|
|
7415
|
+
pointStyle: 'circle',
|
|
7416
|
+
padding: 16
|
|
7417
|
+
},
|
|
7418
|
+
onClick: (e, legendItem) => {
|
|
7419
|
+
e.stopPropagation();
|
|
7420
|
+
const index = legendItem.index;
|
|
7421
|
+
if (this.selectedSegmentIndex !== index) {
|
|
7422
|
+
this.selectedSegmentIndex = index;
|
|
7423
|
+
this.updateChartColors();
|
|
7424
|
+
this.notifyActiveSegment();
|
|
7425
|
+
}
|
|
7426
|
+
}
|
|
7427
|
+
},
|
|
7428
|
+
tooltip: {
|
|
7429
|
+
enabled: false
|
|
7430
|
+
}
|
|
7412
7431
|
},
|
|
7413
7432
|
cutout: '60%',
|
|
7414
7433
|
onHover: (_event, activeElements) => {
|
|
@@ -7423,9 +7442,12 @@ const TttxChart = class {
|
|
|
7423
7442
|
},
|
|
7424
7443
|
onClick: (_event, activeElements) => {
|
|
7425
7444
|
if (activeElements && activeElements.length > 0) {
|
|
7426
|
-
|
|
7427
|
-
this.
|
|
7428
|
-
|
|
7445
|
+
const clickedIndex = activeElements[0].index;
|
|
7446
|
+
if (this.selectedSegmentIndex !== clickedIndex) {
|
|
7447
|
+
this.selectedSegmentIndex = clickedIndex;
|
|
7448
|
+
this.updateChartColors();
|
|
7449
|
+
this.notifyActiveSegment();
|
|
7450
|
+
}
|
|
7429
7451
|
}
|
|
7430
7452
|
},
|
|
7431
7453
|
};
|
|
@@ -7436,9 +7458,12 @@ const TttxChart = class {
|
|
|
7436
7458
|
return;
|
|
7437
7459
|
const dataset = this.chartInstance.data.datasets[0];
|
|
7438
7460
|
const chartDataDataset = (_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.datasets) === null || _b === void 0 ? void 0 : _b[0];
|
|
7461
|
+
if (this.chartType === 'doughnut-v2' && this.chartInstance.isDatasetVisible(0) === false) {
|
|
7462
|
+
this.chartInstance.setDatasetVisibility(0, true);
|
|
7463
|
+
}
|
|
7439
7464
|
// Default color for doughnut-v2
|
|
7440
7465
|
const defaultSelectedColor = '#45C9B0';
|
|
7441
|
-
const defaultHoverColor = '#
|
|
7466
|
+
const defaultHoverColor = '#A3A3A3';
|
|
7442
7467
|
const defaultInactiveColor = '#E5E5E5';
|
|
7443
7468
|
const selectedColors = chartDataDataset === null || chartDataDataset === void 0 ? void 0 : chartDataDataset.selectedColors;
|
|
7444
7469
|
const hoverColors = chartDataDataset === null || chartDataDataset === void 0 ? void 0 : chartDataDataset.hoverColors;
|
|
@@ -7619,7 +7644,7 @@ const TttxChart = class {
|
|
|
7619
7644
|
return this.commonContent('ssid_chart', 'No data available', 'There is currently no data available to show performance trends.', '#111');
|
|
7620
7645
|
}
|
|
7621
7646
|
commonContent(iconName, heading, message, iconColor, showActions = false) {
|
|
7622
|
-
return (index.h("div", { class: "error-content" }, index.h("tttx-
|
|
7647
|
+
return (index.h("div", { class: "error-content" }, index.h("tttx-icon_1_9_96", { icon: iconName, color: iconColor, size: 48 }), index.h("span", { class: 'error-heading' }, heading), index.h("span", { class: 'error-message' }, message), showActions && index.h("div", { class: "error-actions" }, index.h("tttx-button_1_9_96", { class: 'support-btn', icon: "help", design: "primary", onClick: () => this.renderChart() }, "Contact support"))));
|
|
7623
7648
|
}
|
|
7624
7649
|
notifyActiveSegment() {
|
|
7625
7650
|
var _a, _b;
|
|
@@ -7635,7 +7660,11 @@ const TttxChart = class {
|
|
|
7635
7660
|
}
|
|
7636
7661
|
render() {
|
|
7637
7662
|
var _a, _b, _c;
|
|
7638
|
-
return (index.h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && index.h("div", { class: "chart-loading" }, index.h("tttx-loading-
|
|
7663
|
+
return (index.h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && index.h("div", { class: "chart-loading" }, index.h("tttx-loading-spinner_1_9_96", { size: 'large', color: '#2b9ab7' })), this.error && this.getErrorContent(), !this.loading && !this.error && (!this.chartData || !((_a = this.chartData.datasets) === null || _a === void 0 ? void 0 : _a.length)) && (this.getNoDataContent()), !this.loading && !this.error && ((_c = (_b = this.chartData) === null || _b === void 0 ? void 0 : _b.datasets) === null || _c === void 0 ? void 0 : _c.length) > 0 && (index.h("div", { class: "chart-canvas-container", style: { width: '100%', height: '100%' } }, index.h("canvas", { ref: el => (this.canvasEl = el), "aria-label": "Chart canvas", role: "img", style: {
|
|
7664
|
+
width: '100%',
|
|
7665
|
+
height: '100%',
|
|
7666
|
+
cursor: this.chartType === 'doughnut-v2' ? 'pointer' : 'default'
|
|
7667
|
+
} }))), this.exportable && !this.loading && !this.error && (index.h("div", { class: "export-buttons" }, this.showPngSvgExport && index.h("tttx-button_1_9_96", { class: 'export-png', design: "primary", onClick: () => this.exportChart('png') }, "Export PNG"), this.showPngSvgExport && index.h("tttx-button_1_9_96", { class: 'export-svg', design: "primary", onClick: () => this.exportChart('svg') }, "Export SVG"), index.h("tttx-button_1_9_96", { class: 'export-csv', design: "primary", onClick: () => this.exportCSV.emit({ name: this.chartType }) }, "Export CSV")))));
|
|
7639
7668
|
}
|
|
7640
7669
|
get el() { return index.getElement(this); }
|
|
7641
7670
|
static get watchers() { return {
|
|
@@ -7647,4 +7676,4 @@ const TttxChart = class {
|
|
|
7647
7676
|
};
|
|
7648
7677
|
TttxChart.style = tttxChartCss;
|
|
7649
7678
|
|
|
7650
|
-
exports.
|
|
7679
|
+
exports.tttx_chart_1_9_96 = TttxChart;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
7
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
8
8
|
|
|
@@ -16,4 +16,4 @@ const TttxCheckboxGroupCaption = class {
|
|
|
16
16
|
};
|
|
17
17
|
TttxCheckboxGroupCaption.style = tttxCheckboxGroupCss;
|
|
18
18
|
|
|
19
|
-
exports.
|
|
19
|
+
exports.tttx_checkbox_group_caption_1_9_96 = TttxCheckboxGroupCaption;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
7
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
8
8
|
|
|
@@ -16,4 +16,4 @@ const TttxCheckboxGroupHeading = class {
|
|
|
16
16
|
};
|
|
17
17
|
TttxCheckboxGroupHeading.style = tttxCheckboxGroupCss;
|
|
18
18
|
|
|
19
|
-
exports.
|
|
19
|
+
exports.tttx_checkbox_group_heading_1_9_96 = TttxCheckboxGroupHeading;
|
package/dist/cjs/{tttx-checkbox-group_1_9_91.cjs.entry.js → tttx-checkbox-group_1_9_96.cjs.entry.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
7
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
8
8
|
|
|
@@ -16,4 +16,4 @@ const TttxCheckboxGroup = class {
|
|
|
16
16
|
};
|
|
17
17
|
TttxCheckboxGroup.style = tttxCheckboxGroupCss;
|
|
18
18
|
|
|
19
|
-
exports.
|
|
19
|
+
exports.tttx_checkbox_group_1_9_96 = TttxCheckboxGroup;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
7
|
const tttxCheckboxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox{padding:8px;display:flex;justify-content:flex-start;font-size:16px;align-items:center;font-weight:normal;line-height:18.752px}.tttx-checkbox tttx-icon{height:24px}.tttx-checkbox.--inline{display:inline-flex}.tttx-checkbox__input{display:none}.tttx-checkbox__label{margin-left:8px;padding-right:0;color:#212121;font-weight:normal}";
|
|
8
8
|
|
|
@@ -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_96", { 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_96 = TttxCheckbox;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2c07dc57.js');
|
|
6
6
|
|
|
7
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
|
|
|
@@ -86,7 +86,7 @@ const TttxComments = class {
|
|
|
86
86
|
}
|
|
87
87
|
unreadDividerRendered = unreadDividerRendered || nextIsUnread;
|
|
88
88
|
return [
|
|
89
|
-
index.h("div", { class: bubbleClass, style: topComment }, firstComment && topDivider, 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-
|
|
89
|
+
index.h("div", { class: bubbleClass, style: topComment }, firstComment && topDivider, 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_96", { 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)}`)), !divider && !isLastComment && index.h("hr", { class: "commentDivider" }), divider)
|
|
90
90
|
];
|
|
91
91
|
})));
|
|
92
92
|
}
|
|
@@ -97,7 +97,7 @@ const TttxComments = class {
|
|
|
97
97
|
return this.isFileComment(comment) ? this.renderFileLink(comment.metadata) : comment.text;
|
|
98
98
|
}
|
|
99
99
|
renderFileLink(metadata) {
|
|
100
|
-
return (index.h("div", { class: "file-link-container" }, index.h("tttx-
|
|
100
|
+
return (index.h("div", { class: "file-link-container" }, index.h("tttx-icon_1_9_96", { 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)));
|
|
101
101
|
}
|
|
102
102
|
onFormSubmit(event) {
|
|
103
103
|
// get comment text
|
|
@@ -191,7 +191,7 @@ const TttxComments = class {
|
|
|
191
191
|
this.requestCommentRemoval.emit(comment);
|
|
192
192
|
}
|
|
193
193
|
render() {
|
|
194
|
-
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-
|
|
194
|
+
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_96", { 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_96", { color: "black", icon: "attach_file" }))), index.h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
|
|
195
195
|
}
|
|
196
196
|
static get watchers() { return {
|
|
197
197
|
"comments": ["onCommentsChange"]
|
|
@@ -211,4 +211,4 @@ const timestampOptions = {
|
|
|
211
211
|
};
|
|
212
212
|
TttxComments.style = tttxCommentsCss;
|
|
213
213
|
|
|
214
|
-
exports.
|
|
214
|
+
exports.tttx_comments_1_9_96 = TttxComments;
|