@3t-transform/threeteeui 1.9.15 → 1.9.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-button_1_9_15.cjs.entry.js → tttx-button_1_9_16.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_15.cjs.entry.js → tttx-checkbox-group-caption_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_15.cjs.entry.js → tttx-checkbox-group-heading_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_15.cjs.entry.js → tttx-checkbox-group_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_15.cjs.entry.js → tttx-checkbox_1_9_16.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_15.cjs.entry.js → tttx-comments_1_9_16.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-data-pattern_1_9_15.cjs.entry.js → tttx-data-pattern_1_9_16.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_15.cjs.entry.js → tttx-datacard_1_9_16.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog-box_1_9_15.cjs.entry.js → tttx-dialog-box_1_9_16.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_15.cjs.entry.js → tttx-dialog_1_9_16.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_15.cjs.entry.js → tttx-expander_1_9_16.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_15_4.cjs.entry.js → tttx-filter_1_9_16_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_15.cjs.entry.js → tttx-form_1_9_16.cjs.entry.js} +4 -3
- package/dist/cjs/{tttx-graph_1_9_15.cjs.entry.js → tttx-graph_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_15.cjs.entry.js → tttx-icon_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_15.cjs.entry.js → tttx-keyvalue-block_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_15_2.cjs.entry.js → tttx-loading-spinner_1_9_16_2.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-multiselect-box_1_9_15.cjs.entry.js → tttx-multiselect-box_1_9_16.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-percentage-bar_1_9_15.cjs.entry.js → tttx-percentage-bar_1_9_16.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_15.cjs.entry.js → tttx-qrcode_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_15.cjs.entry.js → tttx-select-box_1_9_16.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-table_1_9_15.cjs.entry.js → tttx-table_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_15.cjs.entry.js → tttx-tabs_1_9_16.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag_1_9_15.cjs.entry.js → tttx-tag_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-textarea_1_9_15.cjs.entry.js → tttx-textarea_1_9_16.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_15.cjs.entry.js → tttx-toggle_1_9_16.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_15.cjs.entry.js → tttx-tree-view_1_9_16.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +20 -20
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +1 -1
- 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-tag/tttx-tag.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-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 +2 -2
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.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 +4 -3
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +10 -7
- 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 +6 -6
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +35 -35
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +4 -4
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +20 -20
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +31 -31
- package/dist/components/index.js +31 -31
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_1_9_15.d.ts → tttx-button_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_15.js → tttx-button_1_9_16.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_15.js → tttx-checkbox-group-caption_1_9_16.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_15.js → tttx-checkbox-group-heading_1_9_16.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_15.js → tttx-checkbox-group_1_9_16.js} +5 -5
- package/dist/components/{tttx-datacard_1_9_15.d.ts → tttx-checkbox_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_15.js → tttx-checkbox_1_9_16.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_15.d.ts → tttx-comments_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_15.js → tttx-comments_1_9_16.js} +7 -7
- package/dist/components/tttx-data-pattern_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_15.js → tttx-data-pattern_1_9_16.js} +16 -16
- package/dist/components/{tttx-comments_1_9_15.d.ts → tttx-datacard_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_15.js → tttx-datacard_1_9_16.js} +10 -10
- package/dist/components/tttx-dialog-box_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_15.js → tttx-dialog-box_1_9_16.js} +9 -9
- package/dist/components/{tttx-dialog_1_9_15.d.ts → tttx-dialog_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_15.js → tttx-dialog_1_9_16.js} +8 -8
- package/dist/components/tttx-expander_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_15.js → tttx-expander_1_9_16.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_15.d.ts → tttx-filter_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_15.js → tttx-filter_1_9_16.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_15.d.ts → tttx-form_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_15.js → tttx-form_1_9_16.js} +12 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_15.d.ts → tttx-graph_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_15.js → tttx-graph_1_9_16.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_15.d.ts → tttx-icon_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_15.js → tttx-icon_1_9_16.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_15.js → tttx-keyvalue-block_1_9_16.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_15.d.ts → tttx-list_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_15.js → tttx-list_1_9_16.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_15.js → tttx-loading-spinner_1_9_16.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_15.js → tttx-multiselect-box_1_9_16.js} +14 -14
- package/dist/components/tttx-percentage-bar_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_15.js → tttx-percentage-bar_1_9_16.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_15.d.ts → tttx-qrcode_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_15.js → tttx-qrcode_1_9_16.js} +5 -5
- package/dist/components/tttx-select-box.js +9 -9
- package/dist/components/tttx-select-box_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_15.js → tttx-select-box_1_9_16.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_15.js → tttx-sorter_1_9_16.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_15.js → tttx-standalone-input_1_9_16.js} +2 -2
- package/dist/components/{tttx-table_1_9_15.d.ts → tttx-table_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_15.js → tttx-table_1_9_16.js} +5 -5
- package/dist/components/{tttx-form_1_9_15.d.ts → tttx-tabs_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_15.js → tttx-tabs_1_9_16.js} +9 -9
- package/dist/components/{tttx-tag_1_9_15.d.ts → tttx-tag_1_9_16.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_15.js → tttx-tag_1_9_16.js} +5 -5
- package/dist/components/tttx-textarea_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_15.js → tttx-textarea_1_9_16.js} +6 -6
- package/dist/components/tttx-toggle_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_15.js → tttx-toggle_1_9_16.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_15.js → tttx-toolbar_1_9_16.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_16.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_15.js → tttx-tree-view_1_9_16.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_1_9_15.entry.js → tttx-button_1_9_16.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_9_15.entry.js → tttx-checkbox-group-caption_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_15.entry.js → tttx-checkbox-group-heading_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_15.entry.js → tttx-checkbox-group_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_15.entry.js → tttx-checkbox_1_9_16.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_15.entry.js → tttx-comments_1_9_16.entry.js} +2 -2
- package/dist/esm/{tttx-data-pattern_1_9_15.entry.js → tttx-data-pattern_1_9_16.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_15.entry.js → tttx-datacard_1_9_16.entry.js} +4 -4
- package/dist/esm/{tttx-dialog-box_1_9_15.entry.js → tttx-dialog-box_1_9_16.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_15.entry.js → tttx-dialog_1_9_16.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_15.entry.js → tttx-expander_1_9_16.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_15_4.entry.js → tttx-filter_1_9_16_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_15.entry.js → tttx-form_1_9_16.entry.js} +4 -3
- package/dist/esm/{tttx-graph_1_9_15.entry.js → tttx-graph_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_15.entry.js → tttx-icon_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_15.entry.js → tttx-keyvalue-block_1_9_16.entry.js} +1 -1
- package/dist/esm/tttx-loading-spinner_1_9_16_2.entry.js +109 -0
- package/dist/esm/{tttx-multiselect-box_1_9_15.entry.js → tttx-multiselect-box_1_9_16.entry.js} +6 -6
- package/dist/esm/{tttx-percentage-bar_1_9_15.entry.js → tttx-percentage-bar_1_9_16.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_15.entry.js → tttx-qrcode_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_15.entry.js → tttx-select-box_1_9_16.entry.js} +4 -4
- package/dist/esm/{tttx-table_1_9_15.entry.js → tttx-table_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_15.entry.js → tttx-tabs_1_9_16.entry.js} +4 -4
- package/dist/esm/{tttx-tag_1_9_15.entry.js → tttx-tag_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-textarea_1_9_15.entry.js → tttx-textarea_1_9_16.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_15.entry.js → tttx-toggle_1_9_16.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_15.entry.js → tttx-tree-view_1_9_16.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0da9f04c.entry.js +1 -1
- package/dist/tttx/p-0e515960.entry.js +1 -1
- package/dist/tttx/p-0ffbf27e.entry.js +1 -1
- package/dist/tttx/p-1e5ff5f8.entry.js +1 -1
- package/dist/tttx/p-23f45005.entry.js +1 -1
- package/dist/tttx/p-2d184378.entry.js +1 -1
- package/dist/tttx/p-2d4c1e8a.entry.js +1 -1
- package/dist/tttx/p-49ef7451.entry.js +1 -1
- package/dist/tttx/p-56c8c353.entry.js +1 -1
- package/dist/tttx/p-59c7b049.entry.js +1 -1
- package/dist/tttx/p-63ad6fb7.entry.js +1 -1
- package/dist/tttx/p-65e78636.entry.js +1 -0
- package/dist/tttx/p-6b1c7a21.entry.js +1 -1
- package/dist/tttx/p-74148f2a.entry.js +1 -1
- package/dist/tttx/p-79e218d0.entry.js +1 -1
- package/dist/tttx/p-884f37d3.entry.js +1 -1
- package/dist/tttx/p-9434561e.entry.js +1 -1
- package/dist/tttx/p-983d63ff.entry.js +1 -1
- package/dist/tttx/p-996a6061.entry.js +1 -1
- package/dist/tttx/p-a01e679a.entry.js +1 -1
- package/dist/tttx/p-a8e76e78.entry.js +1 -1
- package/dist/tttx/p-b7347352.entry.js +1 -1
- package/dist/tttx/p-bbad0784.entry.js +1 -1
- package/dist/tttx/p-c170e3b8.entry.js +1 -1
- package/dist/tttx/p-cca0698c.entry.js +1 -1
- package/dist/tttx/p-cfe412d0.entry.js +1 -1
- package/dist/tttx/p-f374e293.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +1 -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 +367 -367
- package/package.json +1 -1
- package/dist/components/tttx-checkbox-group-caption_1_9_15.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_15.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_15.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_15.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_15.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_15.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_15.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_15.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_15.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_15.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_15.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_15.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_15.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_15.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_15.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_15.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_15.d.ts +0 -11
- package/dist/esm/tttx-loading-spinner_1_9_15_2.entry.js +0 -109
- package/dist/tttx/p-f0189f0a.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,F as n,H as o}from"./p-d490353a.js";const d=class{constructor(i){t(this,i),this.commentAdded=e(this,"commentAdded",6),this.requestFileUpload=e(this,"requestFileUpload",6),this.requestFileDownload=e(this,"requestFileDownload",6),this.currentuser=void 0,this.comments=void 0,this._comments=void 0}componentWillLoad(){this.onCommentsChange()}onCommentsChange(){this.comments&&(this._comments="string"==typeof this.comments?JSON.parse(this.comments):this.comments,this.scrollToBottom())}renderCommentBubble(){var t;return i(n,null,null===(t=this._comments)||void 0===t?void 0:t.map((t=>{let e="commentBubble ";return e+=t.createdByFullName===this.currentuser?"right":"left",i("div",{class:e,key:t.id},i("div",{class:"bubbleText"},this.renderCommentInner(t)),i("span",null,new Date(t.createdAt).toLocaleString()),i("span",{style:{color:"black"}},t.createdByFullName))})))}renderCommentInner(t){return t.metadata?t.metadata.type===s.FILE?this.renderFileLink(t.metadata):void 0:t.text}renderFileLink(t){return i("button",{class:"linkButton",type:"button",value:t.key,onClick:this.onFileDownloadRequest.bind(this)},t.filename)}onFormSubmit(t){t.preventDefault();const e=new FormData(t.currentTarget);let i;for(const t of e.entries())i=t[1];t.currentTarget.reset();const n={id:void 0,text:i,createdAt:+new Date,createdByFullName:this.currentuser,createdById:void 0};this._comments=[...this._comments,n],this.commentAdded.emit(n),this.scrollToBottom()}scrollToBottom(){setTimeout((()=>this._scrollContainer.scrollTo({top:this._scrollContainer.scrollHeight})))}onFileUploadRequest(){this.requestFileUpload.emit()}onFileDownloadRequest(t){this.requestFileDownload.emit(t.currentTarget.value)}async addDummyComment(t,e){const i={id:void 0,text:t,createdAt:+new Date,createdByFullName:null!=e?e:this.currentuser,createdById:void 0};this._comments=[...this._comments,i],this.scrollToBottom()}render(){return i(o,null,i("article",{id:"comment-container"},i("section",{id:"comment-bubbles-section"},i("div",{id:"scroll-container",ref:t=>this._scrollContainer=t},this.renderCommentBubble())),i("section",{id:"input-section"},i("form",{onSubmit:this.onFormSubmit.bind(this)},i("fieldset",null,i("input",{type:"text",name:"commentText",required:!0,maxlength:"500",placeholder:"Enter comment"})),i("fieldset",null,i("button",{id:"attach-file",type:"button",value:"File",onClick:this.onFileUploadRequest.bind(this)},i("tttx-
|
|
1
|
+
import{r as t,c as e,h as i,F as n,H as o}from"./p-d490353a.js";const d=class{constructor(i){t(this,i),this.commentAdded=e(this,"commentAdded",6),this.requestFileUpload=e(this,"requestFileUpload",6),this.requestFileDownload=e(this,"requestFileDownload",6),this.currentuser=void 0,this.comments=void 0,this._comments=void 0}componentWillLoad(){this.onCommentsChange()}onCommentsChange(){this.comments&&(this._comments="string"==typeof this.comments?JSON.parse(this.comments):this.comments,this.scrollToBottom())}renderCommentBubble(){var t;return i(n,null,null===(t=this._comments)||void 0===t?void 0:t.map((t=>{let e="commentBubble ";return e+=t.createdByFullName===this.currentuser?"right":"left",i("div",{class:e,key:t.id},i("div",{class:"bubbleText"},this.renderCommentInner(t)),i("span",null,new Date(t.createdAt).toLocaleString()),i("span",{style:{color:"black"}},t.createdByFullName))})))}renderCommentInner(t){return t.metadata?t.metadata.type===s.FILE?this.renderFileLink(t.metadata):void 0:t.text}renderFileLink(t){return i("button",{class:"linkButton",type:"button",value:t.key,onClick:this.onFileDownloadRequest.bind(this)},t.filename)}onFormSubmit(t){t.preventDefault();const e=new FormData(t.currentTarget);let i;for(const t of e.entries())i=t[1];t.currentTarget.reset();const n={id:void 0,text:i,createdAt:+new Date,createdByFullName:this.currentuser,createdById:void 0};this._comments=[...this._comments,n],this.commentAdded.emit(n),this.scrollToBottom()}scrollToBottom(){setTimeout((()=>this._scrollContainer.scrollTo({top:this._scrollContainer.scrollHeight})))}onFileUploadRequest(){this.requestFileUpload.emit()}onFileDownloadRequest(t){this.requestFileDownload.emit(t.currentTarget.value)}async addDummyComment(t,e){const i={id:void 0,text:t,createdAt:+new Date,createdByFullName:null!=e?e:this.currentuser,createdById:void 0};this._comments=[...this._comments,i],this.scrollToBottom()}render(){return i(o,null,i("article",{id:"comment-container"},i("section",{id:"comment-bubbles-section"},i("div",{id:"scroll-container",ref:t=>this._scrollContainer=t},this.renderCommentBubble())),i("section",{id:"input-section"},i("form",{onSubmit:this.onFormSubmit.bind(this)},i("fieldset",null,i("input",{type:"text",name:"commentText",required:!0,maxlength:"500",placeholder:"Enter comment"})),i("fieldset",null,i("button",{id:"attach-file",type:"button",value:"File",onClick:this.onFileUploadRequest.bind(this)},i("tttx-icon_1_9_16",{color:"black",icon:"attach_file"})),i("input",{type:"submit",value:"Add Comment"}))))))}static get watchers(){return{comments:["onCommentsChange"]}}};var s;!function(t){t[t.FILE=0]="FILE"}(s||(s={})),d.style='*{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;border-bottom:solid 1px #dddddd;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column}#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 16px;margin-bottom:4px;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}';export{d as tttx_comments_1_9_16}
|