@3t-transform/threeteeui 1.9.66 → 1.9.68
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/{auto-1fd7408f.js → auto-ac58fa98.js} +243 -80
- package/dist/cjs/{index-1249dc08.js → index-3fc38d11.js} +8 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tttx-action-dropdown_1_9_66.cjs.entry.js → tttx-action-dropdown_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-button-v2_1_9_66.cjs.entry.js → tttx-button-v2_1_9_68.cjs.entry.js} +25 -15
- package/dist/cjs/{tttx-button_1_9_66.cjs.entry.js → tttx-button_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-chart_1_9_66.cjs.entry.js → tttx-chart_1_9_68.cjs.entry.js} +45 -11
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_66.cjs.entry.js → tttx-checkbox-group-caption_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_66.cjs.entry.js → tttx-checkbox-group-heading_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group_1_9_66.cjs.entry.js → tttx-checkbox-group_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox_1_9_66.cjs.entry.js → tttx-checkbox_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-comments_1_9_66.cjs.entry.js → tttx-comments_1_9_68.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-data-pattern_1_9_66.cjs.entry.js → tttx-data-pattern_1_9_68.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-datacard_1_9_66.cjs.entry.js → tttx-datacard_1_9_68.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_66.cjs.entry.js → tttx-dialog-box_1_9_68.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog_1_9_66.cjs.entry.js → tttx-dialog_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-expander_1_9_66.cjs.entry.js → tttx-expander_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-filter_1_9_66_4.cjs.entry.js → tttx-filter_1_9_68_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_9_66.cjs.entry.js → tttx-form_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_66.cjs.entry.js → tttx-graph_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-icon_1_9_66.cjs.entry.js → tttx-icon_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-keyvalue-block_1_9_66.cjs.entry.js → tttx-keyvalue-block_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-loading-spinner_1_9_66_3.cjs.entry.js → tttx-loading-spinner_1_9_68_3.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-multiselect-box_1_9_66.cjs.entry.js → tttx-multiselect-box_1_9_68.cjs.entry.js} +8 -8
- package/dist/cjs/{tttx-percentage-bar_1_9_66.cjs.entry.js → tttx-percentage-bar_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-qrcode_1_9_66.cjs.entry.js → tttx-qrcode_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_66.cjs.entry.js → tttx-select-box_1_9_68.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-skeleton_loader_1_9_66.cjs.entry.js → tttx-skeleton_loader_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-table_1_9_66.cjs.entry.js → tttx-table_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tabs_1_9_66.cjs.entry.js → tttx-tabs_1_9_68.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-textarea_1_9_66.cjs.entry.js → tttx-textarea_1_9_68.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-toggle_1_9_66.cjs.entry.js → tttx-toggle_1_9_68.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-tooltip_1_9_68.cjs.entry.js +61 -0
- package/dist/cjs/{tttx-tree-view_1_9_66.cjs.entry.js → tttx-tree-view_1_9_68.cjs.entry.js} +4 -4
- package/dist/cjs/tttx.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +28 -18
- 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.js +1 -1
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.css +2 -0
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +61 -9
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +12 -10
- 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-select-box/tttx-select-box.js +6 -6
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.css +83 -0
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +180 -0
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +39 -0
- 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/auto.js +243 -80
- package/dist/components/index.d.ts +36 -35
- package/dist/components/index.js +36 -35
- package/dist/components/tttx-action-dropdown_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_66.js → tttx-action-dropdown_1_9_68.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_66.d.ts → tttx-button-v2_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_66.js → tttx-button-v2_1_9_68.js} +29 -19
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_66.d.ts → tttx-button_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_66.js → tttx-button_1_9_68.js} +2 -2
- package/dist/components/{tttx-table_1_9_66.d.ts → tttx-chart_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_66.js → tttx-chart_1_9_68.js} +51 -16
- package/dist/components/tttx-checkbox-group-caption_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_66.js → tttx-checkbox-group-caption_1_9_68.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_66.js → tttx-checkbox-group-heading_1_9_68.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_66.js → tttx-checkbox-group_1_9_68.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_66.d.ts → tttx-checkbox_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_66.js → tttx-checkbox_1_9_68.js} +7 -7
- package/dist/components/tttx-comments_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_66.js → tttx-comments_1_9_68.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_66.js → tttx-data-pattern_1_9_68.js} +16 -16
- package/dist/components/tttx-datacard_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_66.js → tttx-datacard_1_9_68.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_66.js → tttx-dialog-box_1_9_68.js} +9 -9
- package/dist/components/{tttx-filter_1_9_66.d.ts → tttx-dialog_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_66.js → tttx-dialog_1_9_68.js} +8 -8
- package/dist/components/tttx-expander_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_66.js → tttx-expander_1_9_68.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_66.d.ts → tttx-filter_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_66.js → tttx-filter_1_9_68.js} +2 -2
- package/dist/components/{tttx-form_1_9_66.d.ts → tttx-form_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_66.js → tttx-form_1_9_68.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_66.d.ts → tttx-graph_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_66.js → tttx-graph_1_9_68.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_66.d.ts → tttx-icon_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_66.js → tttx-icon_1_9_68.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_66.js → tttx-keyvalue-block_1_9_68.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_66.d.ts → tttx-list_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_66.js → tttx-list_1_9_68.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_66.js → tttx-loading-spinner_1_9_68.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_66.js → tttx-multiselect-box_1_9_68.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_66.js → tttx-percentage-bar_1_9_68.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_66.d.ts → tttx-qrcode_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_66.js → tttx-qrcode_1_9_68.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_66.js → tttx-select-box_1_9_68.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_66.js → tttx-skeleton_loader_1_9_68.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_66.js → tttx-sorter_1_9_68.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_66.js → tttx-standalone-input_1_9_68.js} +2 -2
- package/dist/components/{tttx-chart_1_9_66.d.ts → tttx-table_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_66.js → tttx-table_1_9_68.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_66.d.ts → tttx-tabs_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_66.js → tttx-tabs_1_9_68.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_66.d.ts → tttx-tag_1_9_68.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_66.js → tttx-tag_1_9_68.js} +2 -2
- package/dist/components/tttx-textarea_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_66.js → tttx-textarea_1_9_68.js} +6 -6
- package/dist/components/tttx-toggle_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_66.js → tttx-toggle_1_9_68.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_66.js → tttx-toolbar_1_9_68.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_68.d.ts +11 -0
- package/dist/components/tttx-tooltip_1_9_68.js +83 -0
- package/dist/components/tttx-tree-view_1_9_68.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_66.js → tttx-tree-view_1_9_68.js} +9 -9
- package/dist/esm/{auto-c6e6ac5c.js → auto-1d8b24f0.js} +243 -80
- package/dist/esm/{index-6b9af9c9.js → index-9f3e16ad.js} +8 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tttx-action-dropdown_1_9_66.entry.js → tttx-action-dropdown_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-button-v2_1_9_66.entry.js → tttx-button-v2_1_9_68.entry.js} +25 -15
- package/dist/esm/{tttx-button_1_9_66.entry.js → tttx-button_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-chart_1_9_66.entry.js → tttx-chart_1_9_68.entry.js} +45 -11
- package/dist/esm/{tttx-checkbox-group-caption_1_9_66.entry.js → tttx-checkbox-group-caption_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-heading_1_9_66.entry.js → tttx-checkbox-group-heading_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group_1_9_66.entry.js → tttx-checkbox-group_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox_1_9_66.entry.js → tttx-checkbox_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-comments_1_9_66.entry.js → tttx-comments_1_9_68.entry.js} +5 -5
- package/dist/esm/{tttx-data-pattern_1_9_66.entry.js → tttx-data-pattern_1_9_68.entry.js} +6 -6
- package/dist/esm/{tttx-datacard_1_9_66.entry.js → tttx-datacard_1_9_68.entry.js} +5 -5
- package/dist/esm/tttx-date-range-picker.entry.js +2 -2
- package/dist/esm/{tttx-dialog-box_1_9_66.entry.js → tttx-dialog-box_1_9_68.entry.js} +4 -4
- package/dist/esm/{tttx-dialog_1_9_66.entry.js → tttx-dialog_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-expander_1_9_66.entry.js → tttx-expander_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-filter_1_9_66_4.entry.js → tttx-filter_1_9_68_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_9_66.entry.js → tttx-form_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_66.entry.js → tttx-graph_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-icon_1_9_66.entry.js → tttx-icon_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-keyvalue-block_1_9_66.entry.js → tttx-keyvalue-block_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-loading-spinner_1_9_66_3.entry.js → tttx-loading-spinner_1_9_68_3.entry.js} +5 -5
- package/dist/esm/{tttx-multiselect-box_1_9_66.entry.js → tttx-multiselect-box_1_9_68.entry.js} +8 -8
- package/dist/esm/{tttx-percentage-bar_1_9_66.entry.js → tttx-percentage-bar_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-qrcode_1_9_66.entry.js → tttx-qrcode_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_66.entry.js → tttx-select-box_1_9_68.entry.js} +7 -7
- package/dist/esm/{tttx-skeleton_loader_1_9_66.entry.js → tttx-skeleton_loader_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-table_1_9_66.entry.js → tttx-table_1_9_68.entry.js} +2 -2
- package/dist/esm/{tttx-tabs_1_9_66.entry.js → tttx-tabs_1_9_68.entry.js} +5 -5
- package/dist/esm/{tttx-textarea_1_9_66.entry.js → tttx-textarea_1_9_68.entry.js} +3 -3
- package/dist/esm/{tttx-toggle_1_9_66.entry.js → tttx-toggle_1_9_68.entry.js} +2 -2
- package/dist/esm/tttx-tooltip_1_9_68.entry.js +57 -0
- package/dist/esm/{tttx-tree-view_1_9_66.entry.js → tttx-tree-view_1_9_68.entry.js} +4 -4
- package/dist/esm/tttx.js +3 -3
- package/dist/tttx/{p-eda88cd9.entry.js → p-13272658.entry.js} +1 -1
- package/dist/tttx/{p-210a3640.entry.js → p-1f75b5d3.entry.js} +1 -1
- package/dist/tttx/p-296958ae.entry.js +1 -0
- package/dist/tttx/{p-cfc7f861.entry.js → p-32cf4137.entry.js} +1 -1
- package/dist/tttx/{p-95ea704b.entry.js → p-36edf716.entry.js} +1 -1
- package/dist/tttx/{p-6ae828ed.entry.js → p-47fadd24.entry.js} +1 -1
- package/dist/tttx/{p-79a18842.entry.js → p-4c63f7da.entry.js} +1 -1
- package/dist/tttx/{p-4bc84dcf.entry.js → p-4ddf7946.entry.js} +1 -1
- package/dist/tttx/{p-46985553.entry.js → p-5765b7da.entry.js} +1 -1
- package/dist/tttx/{p-655cebb7.entry.js → p-5a4e385f.entry.js} +1 -1
- package/dist/tttx/{p-28528c3a.entry.js → p-5b7c20ff.entry.js} +1 -1
- package/dist/tttx/p-5c9beaf9.js +2 -0
- package/dist/tttx/{p-e0bd4daa.entry.js → p-5e14d6aa.entry.js} +1 -1
- package/dist/tttx/{p-92b48e8e.entry.js → p-74a8c484.entry.js} +1 -1
- package/dist/tttx/{p-a380f600.entry.js → p-789defe0.entry.js} +1 -1
- package/dist/tttx/{p-4e8dee24.entry.js → p-8392774e.entry.js} +1 -1
- package/dist/tttx/{p-e7c92d26.entry.js → p-86cdb616.entry.js} +1 -1
- package/dist/tttx/p-8beccdc9.entry.js +1 -0
- package/dist/tttx/{p-99cee169.entry.js → p-969a4944.entry.js} +1 -1
- package/dist/tttx/p-a2979a57.entry.js +1 -0
- package/dist/tttx/{p-46853736.entry.js → p-a50d9105.entry.js} +1 -1
- package/dist/tttx/{p-72aa3209.entry.js → p-a8526f90.entry.js} +1 -1
- package/dist/tttx/{p-04acb4f7.entry.js → p-b2a0053a.entry.js} +1 -1
- package/dist/tttx/{p-e8d02dd3.entry.js → p-b4fe2853.entry.js} +1 -1
- package/dist/tttx/{p-8db27f20.entry.js → p-b97e0e3c.entry.js} +1 -1
- package/dist/tttx/{p-46933761.entry.js → p-c33f9022.entry.js} +1 -1
- package/dist/tttx/{p-1b8af0a1.entry.js → p-ca58259a.entry.js} +1 -1
- package/dist/tttx/{p-ffb09d64.entry.js → p-d1ee41dd.entry.js} +1 -1
- package/dist/tttx/p-e8b32779.entry.js +1 -0
- package/dist/tttx/{p-2a6e57b3.entry.js → p-ee41fe8f.entry.js} +1 -1
- package/dist/tttx/{p-964b5e1a.entry.js → p-f30833e3.entry.js} +1 -1
- package/dist/tttx/{p-ce6a69bc.entry.js → p-f69b4685.entry.js} +1 -1
- package/dist/tttx/p-fa01bbb2.js +19 -0
- package/dist/tttx/{p-478169f8.entry.js → p-ff7edd81.entry.js} +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.d.ts +2 -1
- package/dist/types/components/molecules/tttx-chart/tttx-chart.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/molecules/tttx-tooltip/tttx-tooltip.d.ts +17 -0
- package/dist/types/components/molecules/tttx-tooltip/tttx-tootip.stories.d.ts +10 -0
- package/dist/types/components.d.ts +448 -421
- package/package.json +2 -2
- package/dist/components/tttx-action-dropdown_1_9_66.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_66.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_66.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_66.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_66.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_66.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_66.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_66.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_66.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_66.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_66.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_66.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_66.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_66.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_66.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_66.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_66.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_66.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_66.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_66.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_66.d.ts +0 -11
- package/dist/tttx/p-28902955.entry.js +0 -1
- package/dist/tttx/p-39bb618e.js +0 -19
- package/dist/tttx/p-540a4b92.entry.js +0 -1
- package/dist/tttx/p-753a802a.entry.js +0 -1
- package/dist/tttx/p-c2a82822.js +0 -2
|
@@ -582,9 +582,9 @@ class Color {
|
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
/*!
|
|
585
|
-
* Chart.js v4.
|
|
585
|
+
* Chart.js v4.5.0
|
|
586
586
|
* https://www.chartjs.org
|
|
587
|
-
* (c)
|
|
587
|
+
* (c) 2025 Chart.js Contributors
|
|
588
588
|
* Released under the MIT License
|
|
589
589
|
*/
|
|
590
590
|
|
|
@@ -605,7 +605,7 @@ class Color {
|
|
|
605
605
|
* @param value - The value to test.
|
|
606
606
|
* @since 2.7.0
|
|
607
607
|
*/ function isNullOrUndef(value) {
|
|
608
|
-
return value === null ||
|
|
608
|
+
return value === null || value === undefined;
|
|
609
609
|
}
|
|
610
610
|
/**
|
|
611
611
|
* Returns true if `value` is an array (including typed arrays), else returns false.
|
|
@@ -900,8 +900,13 @@ function almostEquals(x, y, epsilon) {
|
|
|
900
900
|
result.sort((a, b)=>a - b).pop();
|
|
901
901
|
return result;
|
|
902
902
|
}
|
|
903
|
+
/**
|
|
904
|
+
* Verifies that attempting to coerce n to string or number won't throw a TypeError.
|
|
905
|
+
*/ function isNonPrimitive(n) {
|
|
906
|
+
return typeof n === 'symbol' || typeof n === 'object' && n !== null && !(Symbol.toPrimitive in n || 'toString' in n || 'valueOf' in n);
|
|
907
|
+
}
|
|
903
908
|
function isNumber(n) {
|
|
904
|
-
return !isNaN(parseFloat(n)) && isFinite(n);
|
|
909
|
+
return !isNonPrimitive(n) && !isNaN(parseFloat(n)) && isFinite(n);
|
|
905
910
|
}
|
|
906
911
|
function almostWhole(x, epsilon) {
|
|
907
912
|
const rounded = Math.round(x);
|
|
@@ -1193,18 +1198,29 @@ function unlistenArrayEvents(array, listener) {
|
|
|
1193
1198
|
let start = 0;
|
|
1194
1199
|
let count = pointCount;
|
|
1195
1200
|
if (meta._sorted) {
|
|
1196
|
-
const { iScale , _parsed } = meta;
|
|
1201
|
+
const { iScale , vScale , _parsed } = meta;
|
|
1202
|
+
const spanGaps = meta.dataset ? meta.dataset.options ? meta.dataset.options.spanGaps : null : null;
|
|
1197
1203
|
const axis = iScale.axis;
|
|
1198
1204
|
const { min , max , minDefined , maxDefined } = iScale.getUserBounds();
|
|
1199
1205
|
if (minDefined) {
|
|
1200
|
-
start =
|
|
1206
|
+
start = Math.min(// @ts-expect-error Need to type _parsed
|
|
1201
1207
|
_lookupByKey(_parsed, axis, min).lo, // @ts-expect-error Need to fix types on _lookupByKey
|
|
1202
|
-
animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo)
|
|
1208
|
+
animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo);
|
|
1209
|
+
if (spanGaps) {
|
|
1210
|
+
const distanceToDefinedLo = _parsed.slice(0, start + 1).reverse().findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
|
|
1211
|
+
start -= Math.max(0, distanceToDefinedLo);
|
|
1212
|
+
}
|
|
1213
|
+
start = _limitValue(start, 0, pointCount - 1);
|
|
1203
1214
|
}
|
|
1204
1215
|
if (maxDefined) {
|
|
1205
|
-
|
|
1216
|
+
let end = Math.max(// @ts-expect-error Need to type _parsed
|
|
1206
1217
|
_lookupByKey(_parsed, iScale.axis, max, true).hi + 1, // @ts-expect-error Need to fix types on _lookupByKey
|
|
1207
|
-
animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1)
|
|
1218
|
+
animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1);
|
|
1219
|
+
if (spanGaps) {
|
|
1220
|
+
const distanceToDefinedHi = _parsed.slice(end - 1).findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
|
|
1221
|
+
end += Math.max(0, distanceToDefinedHi);
|
|
1222
|
+
}
|
|
1223
|
+
count = _limitValue(end, start, pointCount) - start;
|
|
1208
1224
|
} else {
|
|
1209
1225
|
count = pointCount - start;
|
|
1210
1226
|
}
|
|
@@ -2698,12 +2714,6 @@ function capBezierPoints(points, area) {
|
|
|
2698
2714
|
}
|
|
2699
2715
|
|
|
2700
2716
|
/**
|
|
2701
|
-
* Note: typedefs are auto-exported, so use a made-up `dom` namespace where
|
|
2702
|
-
* necessary to avoid duplicates with `export * from './helpers`; see
|
|
2703
|
-
* https://github.com/microsoft/TypeScript/issues/46011
|
|
2704
|
-
* @typedef { import('../core/core.controller.js').default } dom.Chart
|
|
2705
|
-
* @typedef { import('../../types').ChartEvent } ChartEvent
|
|
2706
|
-
*/ /**
|
|
2707
2717
|
* @private
|
|
2708
2718
|
*/ function _isDomSupported() {
|
|
2709
2719
|
return typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
@@ -3316,10 +3326,39 @@ function styleChanged(style, prevStyle) {
|
|
|
3316
3326
|
return JSON.stringify(style, replacer) !== JSON.stringify(prevStyle, replacer);
|
|
3317
3327
|
}
|
|
3318
3328
|
|
|
3329
|
+
function getSizeForArea(scale, chartArea, field) {
|
|
3330
|
+
return scale.options.clip ? scale[field] : chartArea[field];
|
|
3331
|
+
}
|
|
3332
|
+
function getDatasetArea(meta, chartArea) {
|
|
3333
|
+
const { xScale , yScale } = meta;
|
|
3334
|
+
if (xScale && yScale) {
|
|
3335
|
+
return {
|
|
3336
|
+
left: getSizeForArea(xScale, chartArea, 'left'),
|
|
3337
|
+
right: getSizeForArea(xScale, chartArea, 'right'),
|
|
3338
|
+
top: getSizeForArea(yScale, chartArea, 'top'),
|
|
3339
|
+
bottom: getSizeForArea(yScale, chartArea, 'bottom')
|
|
3340
|
+
};
|
|
3341
|
+
}
|
|
3342
|
+
return chartArea;
|
|
3343
|
+
}
|
|
3344
|
+
function getDatasetClipArea(chart, meta) {
|
|
3345
|
+
const clip = meta._clip;
|
|
3346
|
+
if (clip.disabled) {
|
|
3347
|
+
return false;
|
|
3348
|
+
}
|
|
3349
|
+
const area = getDatasetArea(meta, chart.chartArea);
|
|
3350
|
+
return {
|
|
3351
|
+
left: clip.left === false ? 0 : area.left - (clip.left === true ? 0 : clip.left),
|
|
3352
|
+
right: clip.right === false ? chart.width : area.right + (clip.right === true ? 0 : clip.right),
|
|
3353
|
+
top: clip.top === false ? 0 : area.top - (clip.top === true ? 0 : clip.top),
|
|
3354
|
+
bottom: clip.bottom === false ? chart.height : area.bottom + (clip.bottom === true ? 0 : clip.bottom)
|
|
3355
|
+
};
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3319
3358
|
/*!
|
|
3320
|
-
* Chart.js v4.
|
|
3359
|
+
* Chart.js v4.5.0
|
|
3321
3360
|
* https://www.chartjs.org
|
|
3322
|
-
* (c)
|
|
3361
|
+
* (c) 2025 Chart.js Contributors
|
|
3323
3362
|
* Released under the MIT License
|
|
3324
3363
|
*/
|
|
3325
3364
|
|
|
@@ -3753,9 +3792,11 @@ function applyStack(stack, value, dsIndex, options = {}) {
|
|
|
3753
3792
|
if (value === null) {
|
|
3754
3793
|
return;
|
|
3755
3794
|
}
|
|
3795
|
+
let found = false;
|
|
3756
3796
|
for(i = 0, ilen = keys.length; i < ilen; ++i){
|
|
3757
3797
|
datasetIndex = +keys[i];
|
|
3758
3798
|
if (datasetIndex === dsIndex) {
|
|
3799
|
+
found = true;
|
|
3759
3800
|
if (options.all) {
|
|
3760
3801
|
continue;
|
|
3761
3802
|
}
|
|
@@ -3766,6 +3807,9 @@ function applyStack(stack, value, dsIndex, options = {}) {
|
|
|
3766
3807
|
value += otherValue;
|
|
3767
3808
|
}
|
|
3768
3809
|
}
|
|
3810
|
+
if (!found && !options.all) {
|
|
3811
|
+
return 0;
|
|
3812
|
+
}
|
|
3769
3813
|
return value;
|
|
3770
3814
|
}
|
|
3771
3815
|
function convertObjectDataToArray(data, meta) {
|
|
@@ -4009,6 +4053,7 @@ class DatasetController {
|
|
|
4009
4053
|
this._resyncElements(resetNewElements);
|
|
4010
4054
|
if (stackChanged || oldStacked !== meta._stacked) {
|
|
4011
4055
|
updateStacks(this, meta._parsed);
|
|
4056
|
+
meta._stacked = isStacked(meta.vScale, meta);
|
|
4012
4057
|
}
|
|
4013
4058
|
}
|
|
4014
4059
|
configure() {
|
|
@@ -4803,8 +4848,10 @@ class BarController extends DatasetController {
|
|
|
4803
4848
|
const metasets = iScale.getMatchingVisibleMetas(this._type).filter((meta)=>meta.controller.options.grouped);
|
|
4804
4849
|
const stacked = iScale.options.stacked;
|
|
4805
4850
|
const stacks = [];
|
|
4851
|
+
const currentParsed = this._cachedMeta.controller.getParsed(dataIndex);
|
|
4852
|
+
const iScaleValue = currentParsed && currentParsed[iScale.axis];
|
|
4806
4853
|
const skipNull = (meta)=>{
|
|
4807
|
-
const parsed = meta.
|
|
4854
|
+
const parsed = meta._parsed.find((item)=>item[iScale.axis] === iScaleValue);
|
|
4808
4855
|
const val = parsed && parsed[meta.vScale.axis];
|
|
4809
4856
|
if (isNullOrUndef(val) || isNaN(val)) {
|
|
4810
4857
|
return true;
|
|
@@ -4829,6 +4876,22 @@ class BarController extends DatasetController {
|
|
|
4829
4876
|
_getStackCount(index) {
|
|
4830
4877
|
return this._getStacks(undefined, index).length;
|
|
4831
4878
|
}
|
|
4879
|
+
_getAxisCount() {
|
|
4880
|
+
return this._getAxis().length;
|
|
4881
|
+
}
|
|
4882
|
+
getFirstScaleIdForIndexAxis() {
|
|
4883
|
+
const scales = this.chart.scales;
|
|
4884
|
+
const indexScaleId = this.chart.options.indexAxis;
|
|
4885
|
+
return Object.keys(scales).filter((key)=>scales[key].axis === indexScaleId).shift();
|
|
4886
|
+
}
|
|
4887
|
+
_getAxis() {
|
|
4888
|
+
const axis = {};
|
|
4889
|
+
const firstScaleAxisId = this.getFirstScaleIdForIndexAxis();
|
|
4890
|
+
for (const dataset of this.chart.data.datasets){
|
|
4891
|
+
axis[valueOrDefault(this.chart.options.indexAxis === 'x' ? dataset.xAxisID : dataset.yAxisID, firstScaleAxisId)] = true;
|
|
4892
|
+
}
|
|
4893
|
+
return Object.keys(axis);
|
|
4894
|
+
}
|
|
4832
4895
|
_getStackIndex(datasetIndex, name, dataIndex) {
|
|
4833
4896
|
const stacks = this._getStacks(datasetIndex, dataIndex);
|
|
4834
4897
|
const index = name !== undefined ? stacks.indexOf(name) : -1;
|
|
@@ -4919,10 +4982,13 @@ class BarController extends DatasetController {
|
|
|
4919
4982
|
const skipNull = options.skipNull;
|
|
4920
4983
|
const maxBarThickness = valueOrDefault(options.maxBarThickness, Infinity);
|
|
4921
4984
|
let center, size;
|
|
4985
|
+
const axisCount = this._getAxisCount();
|
|
4922
4986
|
if (ruler.grouped) {
|
|
4923
4987
|
const stackCount = skipNull ? this._getStackCount(index) : ruler.stackCount;
|
|
4924
|
-
const range = options.barThickness === 'flex' ? computeFlexCategoryTraits(index, ruler, options, stackCount) : computeFitCategoryTraits(index, ruler, options, stackCount);
|
|
4925
|
-
const
|
|
4988
|
+
const range = options.barThickness === 'flex' ? computeFlexCategoryTraits(index, ruler, options, stackCount * axisCount) : computeFitCategoryTraits(index, ruler, options, stackCount * axisCount);
|
|
4989
|
+
const axisID = this.chart.options.indexAxis === 'x' ? this.getDataset().xAxisID : this.getDataset().yAxisID;
|
|
4990
|
+
const axisNumber = this._getAxis().indexOf(valueOrDefault(axisID, this.getFirstScaleIdForIndexAxis()));
|
|
4991
|
+
const stackIndex = this._getStackIndex(this.index, this._cachedMeta.stack, skipNull ? index : undefined) + axisNumber;
|
|
4926
4992
|
center = range.start + range.chunk * stackIndex + range.chunk / 2;
|
|
4927
4993
|
size = Math.min(maxBarThickness, range.chunk * range.ratio);
|
|
4928
4994
|
} else {
|
|
@@ -5939,10 +6005,20 @@ var adapters = {
|
|
|
5939
6005
|
function binarySearch(metaset, axis, value, intersect) {
|
|
5940
6006
|
const { controller , data , _sorted } = metaset;
|
|
5941
6007
|
const iScale = controller._cachedMeta.iScale;
|
|
6008
|
+
const spanGaps = metaset.dataset ? metaset.dataset.options ? metaset.dataset.options.spanGaps : null : null;
|
|
5942
6009
|
if (iScale && axis === iScale.axis && axis !== 'r' && _sorted && data.length) {
|
|
5943
6010
|
const lookupMethod = iScale._reversePixels ? _rlookupByKey : _lookupByKey;
|
|
5944
6011
|
if (!intersect) {
|
|
5945
|
-
|
|
6012
|
+
const result = lookupMethod(data, axis, value);
|
|
6013
|
+
if (spanGaps) {
|
|
6014
|
+
const { vScale } = controller._cachedMeta;
|
|
6015
|
+
const { _parsed } = metaset;
|
|
6016
|
+
const distanceToDefinedLo = _parsed.slice(0, result.lo + 1).reverse().findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
|
|
6017
|
+
result.lo -= Math.max(0, distanceToDefinedLo);
|
|
6018
|
+
const distanceToDefinedHi = _parsed.slice(result.hi).findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
|
|
6019
|
+
result.hi += Math.max(0, distanceToDefinedHi);
|
|
6020
|
+
}
|
|
6021
|
+
return result;
|
|
5946
6022
|
} else if (controller._sharedOptions) {
|
|
5947
6023
|
const el = data[0];
|
|
5948
6024
|
const range = typeof el.getRange === 'function' && el.getRange(axis);
|
|
@@ -6072,7 +6148,7 @@ function binarySearch(metaset, axis, value, intersect) {
|
|
|
6072
6148
|
const rangeMethod = axis === 'x' ? 'inXRange' : 'inYRange';
|
|
6073
6149
|
let intersectsItem = false;
|
|
6074
6150
|
evaluateInteractionItems(chart, axis, position, (element, datasetIndex, index)=>{
|
|
6075
|
-
if (element[rangeMethod](position[axis], useFinalPosition)) {
|
|
6151
|
+
if (element[rangeMethod] && element[rangeMethod](position[axis], useFinalPosition)) {
|
|
6076
6152
|
items.push({
|
|
6077
6153
|
element,
|
|
6078
6154
|
datasetIndex,
|
|
@@ -8830,7 +8906,7 @@ function needContext(proxy, names) {
|
|
|
8830
8906
|
return false;
|
|
8831
8907
|
}
|
|
8832
8908
|
|
|
8833
|
-
var version = "4.
|
|
8909
|
+
var version = "4.5.0";
|
|
8834
8910
|
|
|
8835
8911
|
const KNOWN_POSITIONS = [
|
|
8836
8912
|
'top',
|
|
@@ -8900,21 +8976,6 @@ function moveNumericKeys(obj, start, move) {
|
|
|
8900
8976
|
}
|
|
8901
8977
|
return e;
|
|
8902
8978
|
}
|
|
8903
|
-
function getSizeForArea(scale, chartArea, field) {
|
|
8904
|
-
return scale.options.clip ? scale[field] : chartArea[field];
|
|
8905
|
-
}
|
|
8906
|
-
function getDatasetArea(meta, chartArea) {
|
|
8907
|
-
const { xScale , yScale } = meta;
|
|
8908
|
-
if (xScale && yScale) {
|
|
8909
|
-
return {
|
|
8910
|
-
left: getSizeForArea(xScale, chartArea, 'left'),
|
|
8911
|
-
right: getSizeForArea(xScale, chartArea, 'right'),
|
|
8912
|
-
top: getSizeForArea(yScale, chartArea, 'top'),
|
|
8913
|
-
bottom: getSizeForArea(yScale, chartArea, 'bottom')
|
|
8914
|
-
};
|
|
8915
|
-
}
|
|
8916
|
-
return chartArea;
|
|
8917
|
-
}
|
|
8918
8979
|
class Chart {
|
|
8919
8980
|
static defaults = defaults;
|
|
8920
8981
|
static instances = instances;
|
|
@@ -9362,8 +9423,8 @@ class Chart {
|
|
|
9362
9423
|
let i;
|
|
9363
9424
|
if (this._resizeBeforeDraw) {
|
|
9364
9425
|
const { width , height } = this._resizeBeforeDraw;
|
|
9365
|
-
this._resize(width, height);
|
|
9366
9426
|
this._resizeBeforeDraw = null;
|
|
9427
|
+
this._resize(width, height);
|
|
9367
9428
|
}
|
|
9368
9429
|
this.clear();
|
|
9369
9430
|
if (this.width <= 0 || this.height <= 0) {
|
|
@@ -9413,27 +9474,20 @@ class Chart {
|
|
|
9413
9474
|
}
|
|
9414
9475
|
_drawDataset(meta) {
|
|
9415
9476
|
const ctx = this.ctx;
|
|
9416
|
-
const clip = meta._clip;
|
|
9417
|
-
const useClip = !clip.disabled;
|
|
9418
|
-
const area = getDatasetArea(meta, this.chartArea);
|
|
9419
9477
|
const args = {
|
|
9420
9478
|
meta,
|
|
9421
9479
|
index: meta.index,
|
|
9422
9480
|
cancelable: true
|
|
9423
9481
|
};
|
|
9482
|
+
const clip = getDatasetClipArea(this, meta);
|
|
9424
9483
|
if (this.notifyPlugins('beforeDatasetDraw', args) === false) {
|
|
9425
9484
|
return;
|
|
9426
9485
|
}
|
|
9427
|
-
if (
|
|
9428
|
-
clipArea(ctx,
|
|
9429
|
-
left: clip.left === false ? 0 : area.left - clip.left,
|
|
9430
|
-
right: clip.right === false ? this.width : area.right + clip.right,
|
|
9431
|
-
top: clip.top === false ? 0 : area.top - clip.top,
|
|
9432
|
-
bottom: clip.bottom === false ? this.height : area.bottom + clip.bottom
|
|
9433
|
-
});
|
|
9486
|
+
if (clip) {
|
|
9487
|
+
clipArea(ctx, clip);
|
|
9434
9488
|
}
|
|
9435
9489
|
meta.controller.draw();
|
|
9436
|
-
if (
|
|
9490
|
+
if (clip) {
|
|
9437
9491
|
unclipArea(ctx);
|
|
9438
9492
|
}
|
|
9439
9493
|
args.cancelable = false;
|
|
@@ -9746,6 +9800,34 @@ function invalidatePlugins() {
|
|
|
9746
9800
|
return each(Chart.instances, (chart)=>chart._plugins.invalidate());
|
|
9747
9801
|
}
|
|
9748
9802
|
|
|
9803
|
+
function clipSelf(ctx, element, endAngle) {
|
|
9804
|
+
const { startAngle , x , y , outerRadius , innerRadius , options } = element;
|
|
9805
|
+
const { borderWidth , borderJoinStyle } = options;
|
|
9806
|
+
const outerAngleClip = Math.min(borderWidth / outerRadius, _normalizeAngle(startAngle - endAngle));
|
|
9807
|
+
ctx.beginPath();
|
|
9808
|
+
ctx.arc(x, y, outerRadius - borderWidth / 2, startAngle + outerAngleClip / 2, endAngle - outerAngleClip / 2);
|
|
9809
|
+
if (innerRadius > 0) {
|
|
9810
|
+
const innerAngleClip = Math.min(borderWidth / innerRadius, _normalizeAngle(startAngle - endAngle));
|
|
9811
|
+
ctx.arc(x, y, innerRadius + borderWidth / 2, endAngle - innerAngleClip / 2, startAngle + innerAngleClip / 2, true);
|
|
9812
|
+
} else {
|
|
9813
|
+
const clipWidth = Math.min(borderWidth / 2, outerRadius * _normalizeAngle(startAngle - endAngle));
|
|
9814
|
+
if (borderJoinStyle === 'round') {
|
|
9815
|
+
ctx.arc(x, y, clipWidth, endAngle - PI / 2, startAngle + PI / 2, true);
|
|
9816
|
+
} else if (borderJoinStyle === 'bevel') {
|
|
9817
|
+
const r = 2 * clipWidth * clipWidth;
|
|
9818
|
+
const endX = -r * Math.cos(endAngle + PI / 2) + x;
|
|
9819
|
+
const endY = -r * Math.sin(endAngle + PI / 2) + y;
|
|
9820
|
+
const startX = r * Math.cos(startAngle + PI / 2) + x;
|
|
9821
|
+
const startY = r * Math.sin(startAngle + PI / 2) + y;
|
|
9822
|
+
ctx.lineTo(endX, endY);
|
|
9823
|
+
ctx.lineTo(startX, startY);
|
|
9824
|
+
}
|
|
9825
|
+
}
|
|
9826
|
+
ctx.closePath();
|
|
9827
|
+
ctx.moveTo(0, 0);
|
|
9828
|
+
ctx.rect(0, 0, ctx.canvas.width, ctx.canvas.height);
|
|
9829
|
+
ctx.clip('evenodd');
|
|
9830
|
+
}
|
|
9749
9831
|
function clipArc(ctx, element, endAngle) {
|
|
9750
9832
|
const { startAngle , pixelMargin , x , y , outerRadius , innerRadius } = element;
|
|
9751
9833
|
let angleMargin = pixelMargin / outerRadius;
|
|
@@ -9909,7 +9991,7 @@ function drawArc(ctx, element, offset, spacing, circular) {
|
|
|
9909
9991
|
}
|
|
9910
9992
|
function drawBorder(ctx, element, offset, spacing, circular) {
|
|
9911
9993
|
const { fullCircles , startAngle , circumference , options } = element;
|
|
9912
|
-
const { borderWidth , borderJoinStyle , borderDash , borderDashOffset } = options;
|
|
9994
|
+
const { borderWidth , borderJoinStyle , borderDash , borderDashOffset , borderRadius } = options;
|
|
9913
9995
|
const inner = options.borderAlign === 'inner';
|
|
9914
9996
|
if (!borderWidth) {
|
|
9915
9997
|
return;
|
|
@@ -9936,6 +10018,9 @@ function drawBorder(ctx, element, offset, spacing, circular) {
|
|
|
9936
10018
|
if (inner) {
|
|
9937
10019
|
clipArc(ctx, element, endAngle);
|
|
9938
10020
|
}
|
|
10021
|
+
if (options.selfJoin && endAngle - startAngle >= PI && borderRadius === 0 && borderJoinStyle !== 'miter') {
|
|
10022
|
+
clipSelf(ctx, element, endAngle);
|
|
10023
|
+
}
|
|
9939
10024
|
if (!fullCircles) {
|
|
9940
10025
|
pathArc(ctx, element, offset, spacing, endAngle, circular);
|
|
9941
10026
|
ctx.stroke();
|
|
@@ -9954,7 +10039,8 @@ class ArcElement extends Element {
|
|
|
9954
10039
|
offset: 0,
|
|
9955
10040
|
spacing: 0,
|
|
9956
10041
|
angle: undefined,
|
|
9957
|
-
circular: true
|
|
10042
|
+
circular: true,
|
|
10043
|
+
selfJoin: false
|
|
9958
10044
|
};
|
|
9959
10045
|
static defaultRoutes = {
|
|
9960
10046
|
backgroundColor: 'backgroundColor'
|
|
@@ -10002,7 +10088,8 @@ class ArcElement extends Element {
|
|
|
10002
10088
|
], useFinalPosition);
|
|
10003
10089
|
const rAdjust = (this.options.spacing + this.options.borderWidth) / 2;
|
|
10004
10090
|
const _circumference = valueOrDefault(circumference, endAngle - startAngle);
|
|
10005
|
-
const
|
|
10091
|
+
const nonZeroBetween = _angleBetween(angle, startAngle, endAngle) && startAngle !== endAngle;
|
|
10092
|
+
const betweenAngles = _circumference >= TAU || nonZeroBetween;
|
|
10006
10093
|
const withinRadius = _isBetween(distance, innerRadius + rAdjust, outerRadius + rAdjust);
|
|
10007
10094
|
return betweenAngles && withinRadius;
|
|
10008
10095
|
}
|
|
@@ -10668,6 +10755,9 @@ function containsColorsDefinitions(descriptors) {
|
|
|
10668
10755
|
function containsColorsDefinition(descriptor) {
|
|
10669
10756
|
return descriptor && (descriptor.borderColor || descriptor.backgroundColor);
|
|
10670
10757
|
}
|
|
10758
|
+
function containsDefaultColorsDefenitions() {
|
|
10759
|
+
return defaults.borderColor !== 'rgba(0,0,0,0.1)' || defaults.backgroundColor !== 'rgba(0,0,0,0.1)';
|
|
10760
|
+
}
|
|
10671
10761
|
var plugin_colors = {
|
|
10672
10762
|
id: 'colors',
|
|
10673
10763
|
defaults: {
|
|
@@ -10680,7 +10770,8 @@ var plugin_colors = {
|
|
|
10680
10770
|
}
|
|
10681
10771
|
const { data: { datasets } , options: chartOptions } = chart.config;
|
|
10682
10772
|
const { elements } = chartOptions;
|
|
10683
|
-
|
|
10773
|
+
const containsColorDefenition = containsColorsDefinitions(datasets) || containsColorsDefinition(chartOptions) || elements && containsColorsDefinitions(elements) || containsDefaultColorsDefenitions();
|
|
10774
|
+
if (!options.forceOverride && containsColorDefenition) {
|
|
10684
10775
|
return;
|
|
10685
10776
|
}
|
|
10686
10777
|
const colorizer = getColorizer(chart);
|
|
@@ -11279,11 +11370,13 @@ function computeCircularBoundary(source) {
|
|
|
11279
11370
|
|
|
11280
11371
|
function _drawfill(ctx, source, area) {
|
|
11281
11372
|
const target = _getTarget(source);
|
|
11282
|
-
const { line , scale , axis } = source;
|
|
11373
|
+
const { chart , index , line , scale , axis } = source;
|
|
11283
11374
|
const lineOpts = line.options;
|
|
11284
11375
|
const fillOption = lineOpts.fill;
|
|
11285
11376
|
const color = lineOpts.backgroundColor;
|
|
11286
11377
|
const { above =color , below =color } = fillOption || {};
|
|
11378
|
+
const meta = chart.getDatasetMeta(index);
|
|
11379
|
+
const clip = getDatasetClipArea(chart, meta);
|
|
11287
11380
|
if (target && line.points.length) {
|
|
11288
11381
|
clipArea(ctx, area);
|
|
11289
11382
|
doFill(ctx, {
|
|
@@ -11293,34 +11386,54 @@ function _drawfill(ctx, source, area) {
|
|
|
11293
11386
|
below,
|
|
11294
11387
|
area,
|
|
11295
11388
|
scale,
|
|
11296
|
-
axis
|
|
11389
|
+
axis,
|
|
11390
|
+
clip
|
|
11297
11391
|
});
|
|
11298
11392
|
unclipArea(ctx);
|
|
11299
11393
|
}
|
|
11300
11394
|
}
|
|
11301
11395
|
function doFill(ctx, cfg) {
|
|
11302
|
-
const { line , target , above , below , area , scale } = cfg;
|
|
11396
|
+
const { line , target , above , below , area , scale , clip } = cfg;
|
|
11303
11397
|
const property = line._loop ? 'angle' : cfg.axis;
|
|
11304
11398
|
ctx.save();
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11316
|
-
|
|
11399
|
+
let fillColor = below;
|
|
11400
|
+
if (below !== above) {
|
|
11401
|
+
if (property === 'x') {
|
|
11402
|
+
clipVertical(ctx, target, area.top);
|
|
11403
|
+
fill(ctx, {
|
|
11404
|
+
line,
|
|
11405
|
+
target,
|
|
11406
|
+
color: above,
|
|
11407
|
+
scale,
|
|
11408
|
+
property,
|
|
11409
|
+
clip
|
|
11410
|
+
});
|
|
11411
|
+
ctx.restore();
|
|
11412
|
+
ctx.save();
|
|
11413
|
+
clipVertical(ctx, target, area.bottom);
|
|
11414
|
+
} else if (property === 'y') {
|
|
11415
|
+
clipHorizontal(ctx, target, area.left);
|
|
11416
|
+
fill(ctx, {
|
|
11417
|
+
line,
|
|
11418
|
+
target,
|
|
11419
|
+
color: below,
|
|
11420
|
+
scale,
|
|
11421
|
+
property,
|
|
11422
|
+
clip
|
|
11423
|
+
});
|
|
11424
|
+
ctx.restore();
|
|
11425
|
+
ctx.save();
|
|
11426
|
+
clipHorizontal(ctx, target, area.right);
|
|
11427
|
+
fillColor = above;
|
|
11428
|
+
}
|
|
11317
11429
|
}
|
|
11318
11430
|
fill(ctx, {
|
|
11319
11431
|
line,
|
|
11320
11432
|
target,
|
|
11321
|
-
color:
|
|
11433
|
+
color: fillColor,
|
|
11322
11434
|
scale,
|
|
11323
|
-
property
|
|
11435
|
+
property,
|
|
11436
|
+
clip
|
|
11324
11437
|
});
|
|
11325
11438
|
ctx.restore();
|
|
11326
11439
|
}
|
|
@@ -11353,15 +11466,44 @@ function clipVertical(ctx, target, clipY) {
|
|
|
11353
11466
|
ctx.closePath();
|
|
11354
11467
|
ctx.clip();
|
|
11355
11468
|
}
|
|
11469
|
+
function clipHorizontal(ctx, target, clipX) {
|
|
11470
|
+
const { segments , points } = target;
|
|
11471
|
+
let first = true;
|
|
11472
|
+
let lineLoop = false;
|
|
11473
|
+
ctx.beginPath();
|
|
11474
|
+
for (const segment of segments){
|
|
11475
|
+
const { start , end } = segment;
|
|
11476
|
+
const firstPoint = points[start];
|
|
11477
|
+
const lastPoint = points[_findSegmentEnd(start, end, points)];
|
|
11478
|
+
if (first) {
|
|
11479
|
+
ctx.moveTo(firstPoint.x, firstPoint.y);
|
|
11480
|
+
first = false;
|
|
11481
|
+
} else {
|
|
11482
|
+
ctx.lineTo(clipX, firstPoint.y);
|
|
11483
|
+
ctx.lineTo(firstPoint.x, firstPoint.y);
|
|
11484
|
+
}
|
|
11485
|
+
lineLoop = !!target.pathSegment(ctx, segment, {
|
|
11486
|
+
move: lineLoop
|
|
11487
|
+
});
|
|
11488
|
+
if (lineLoop) {
|
|
11489
|
+
ctx.closePath();
|
|
11490
|
+
} else {
|
|
11491
|
+
ctx.lineTo(clipX, lastPoint.y);
|
|
11492
|
+
}
|
|
11493
|
+
}
|
|
11494
|
+
ctx.lineTo(clipX, target.first().y);
|
|
11495
|
+
ctx.closePath();
|
|
11496
|
+
ctx.clip();
|
|
11497
|
+
}
|
|
11356
11498
|
function fill(ctx, cfg) {
|
|
11357
|
-
const { line , target , property , color , scale } = cfg;
|
|
11499
|
+
const { line , target , property , color , scale , clip } = cfg;
|
|
11358
11500
|
const segments = _segments(line, target, property);
|
|
11359
11501
|
for (const { source: src , target: tgt , start , end } of segments){
|
|
11360
11502
|
const { style: { backgroundColor =color } = {} } = src;
|
|
11361
11503
|
const notShape = target !== true;
|
|
11362
11504
|
ctx.save();
|
|
11363
11505
|
ctx.fillStyle = backgroundColor;
|
|
11364
|
-
clipBounds(ctx, scale, notShape && _getBounds(property, start, end));
|
|
11506
|
+
clipBounds(ctx, scale, clip, notShape && _getBounds(property, start, end));
|
|
11365
11507
|
ctx.beginPath();
|
|
11366
11508
|
const lineLoop = !!line.pathSegment(ctx, src);
|
|
11367
11509
|
let loop;
|
|
@@ -11385,12 +11527,30 @@ function fill(ctx, cfg) {
|
|
|
11385
11527
|
ctx.restore();
|
|
11386
11528
|
}
|
|
11387
11529
|
}
|
|
11388
|
-
function clipBounds(ctx, scale, bounds) {
|
|
11389
|
-
const
|
|
11530
|
+
function clipBounds(ctx, scale, clip, bounds) {
|
|
11531
|
+
const chartArea = scale.chart.chartArea;
|
|
11390
11532
|
const { property , start , end } = bounds || {};
|
|
11391
|
-
if (property === 'x') {
|
|
11533
|
+
if (property === 'x' || property === 'y') {
|
|
11534
|
+
let left, top, right, bottom;
|
|
11535
|
+
if (property === 'x') {
|
|
11536
|
+
left = start;
|
|
11537
|
+
top = chartArea.top;
|
|
11538
|
+
right = end;
|
|
11539
|
+
bottom = chartArea.bottom;
|
|
11540
|
+
} else {
|
|
11541
|
+
left = chartArea.left;
|
|
11542
|
+
top = start;
|
|
11543
|
+
right = chartArea.right;
|
|
11544
|
+
bottom = end;
|
|
11545
|
+
}
|
|
11392
11546
|
ctx.beginPath();
|
|
11393
|
-
|
|
11547
|
+
if (clip) {
|
|
11548
|
+
left = Math.max(left, clip.left);
|
|
11549
|
+
right = Math.min(right, clip.right);
|
|
11550
|
+
top = Math.max(top, clip.top);
|
|
11551
|
+
bottom = Math.min(bottom, clip.bottom);
|
|
11552
|
+
}
|
|
11553
|
+
ctx.rect(left, top, right - left, bottom - top);
|
|
11394
11554
|
ctx.clip();
|
|
11395
11555
|
}
|
|
11396
11556
|
}
|
|
@@ -12223,6 +12383,9 @@ const positioners = {
|
|
|
12223
12383
|
++count;
|
|
12224
12384
|
}
|
|
12225
12385
|
}
|
|
12386
|
+
if (count === 0 || xSet.size === 0) {
|
|
12387
|
+
return false;
|
|
12388
|
+
}
|
|
12226
12389
|
const xAverage = [
|
|
12227
12390
|
...xSet
|
|
12228
12391
|
].reduce((a, b)=>a + b) / xSet.size;
|
|
@@ -13975,7 +14138,7 @@ function drawRadiusLine(scale, gridLineOpts, radius, labelCount, borderOpts) {
|
|
|
13975
14138
|
ctx.save();
|
|
13976
14139
|
ctx.strokeStyle = color;
|
|
13977
14140
|
ctx.lineWidth = lineWidth;
|
|
13978
|
-
ctx.setLineDash(borderOpts.dash);
|
|
14141
|
+
ctx.setLineDash(borderOpts.dash || []);
|
|
13979
14142
|
ctx.lineDashOffset = borderOpts.dashOffset;
|
|
13980
14143
|
ctx.beginPath();
|
|
13981
14144
|
pathRadiusLine(scale, radius, circular, labelCount);
|
|
@@ -14179,7 +14342,7 @@ class RadialLinearScale extends LinearScaleBase {
|
|
|
14179
14342
|
ctx.strokeStyle = color;
|
|
14180
14343
|
ctx.setLineDash(optsAtIndex.borderDash);
|
|
14181
14344
|
ctx.lineDashOffset = optsAtIndex.borderDashOffset;
|
|
14182
|
-
offset = this.getDistanceFromCenterForValue(opts.
|
|
14345
|
+
offset = this.getDistanceFromCenterForValue(opts.reverse ? this.min : this.max);
|
|
14183
14346
|
position = this.getPointPosition(i, offset);
|
|
14184
14347
|
ctx.beginPath();
|
|
14185
14348
|
ctx.moveTo(this.xCenter, this.yCenter);
|
|
@@ -14290,7 +14453,7 @@ const INTERVALS = {
|
|
|
14290
14453
|
value = parser(value);
|
|
14291
14454
|
}
|
|
14292
14455
|
if (!isNumberFinite(value)) {
|
|
14293
|
-
value = typeof parser === 'string' ? adapter.parse(value,
|
|
14456
|
+
value = typeof parser === 'string' ? adapter.parse(value, parser) : adapter.parse(value);
|
|
14294
14457
|
}
|
|
14295
14458
|
if (value === null) {
|
|
14296
14459
|
return null;
|
|
@@ -1723,6 +1723,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1723
1723
|
hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
|
|
1724
1724
|
}
|
|
1725
1725
|
endNewInstance();
|
|
1726
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1726
1727
|
}
|
|
1727
1728
|
if (Cstr.style) {
|
|
1728
1729
|
// this component has styles but we haven't registered them yet
|
|
@@ -1751,6 +1752,11 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1751
1752
|
schedule();
|
|
1752
1753
|
}
|
|
1753
1754
|
};
|
|
1755
|
+
const fireConnectedCallback = (instance) => {
|
|
1756
|
+
{
|
|
1757
|
+
safeCall(instance, 'connectedCallback');
|
|
1758
|
+
}
|
|
1759
|
+
};
|
|
1754
1760
|
const connectedCallback = (elm) => {
|
|
1755
1761
|
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1756
1762
|
const hostRef = getHostRef(elm);
|
|
@@ -1803,6 +1809,8 @@ const connectedCallback = (elm) => {
|
|
|
1803
1809
|
// reattach any event listeners to the host
|
|
1804
1810
|
// since they would have been removed when disconnected
|
|
1805
1811
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1812
|
+
// fire off connectedCallback() on component instance
|
|
1813
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1806
1814
|
}
|
|
1807
1815
|
endConnected();
|
|
1808
1816
|
}
|