@3t-transform/threeteeui 1.9.67 → 1.9.69
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_67.cjs.entry.js → tttx-action-dropdown_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-button-v2_1_9_67.cjs.entry.js → tttx-button-v2_1_9_69.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-button_1_9_67.cjs.entry.js → tttx-button_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-chart_1_9_67.cjs.entry.js → tttx-chart_1_9_69.cjs.entry.js} +45 -11
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_67.cjs.entry.js → tttx-checkbox-group-caption_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_67.cjs.entry.js → tttx-checkbox-group-heading_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group_1_9_67.cjs.entry.js → tttx-checkbox-group_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox_1_9_67.cjs.entry.js → tttx-checkbox_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-comments_1_9_67.cjs.entry.js → tttx-comments_1_9_69.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-data-pattern_1_9_67.cjs.entry.js → tttx-data-pattern_1_9_69.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-datacard_1_9_67.cjs.entry.js → tttx-datacard_1_9_69.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_67.cjs.entry.js → tttx-dialog-box_1_9_69.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog_1_9_67.cjs.entry.js → tttx-dialog_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-expander_1_9_67.cjs.entry.js → tttx-expander_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-filter_1_9_67_4.cjs.entry.js → tttx-filter_1_9_69_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_9_67.cjs.entry.js → tttx-form_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_67.cjs.entry.js → tttx-graph_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-icon_1_9_67.cjs.entry.js → tttx-icon_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-keyvalue-block_1_9_67.cjs.entry.js → tttx-keyvalue-block_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-loading-spinner_1_9_67_3.cjs.entry.js → tttx-loading-spinner_1_9_69_3.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-multiselect-box_1_9_67.cjs.entry.js → tttx-multiselect-box_1_9_69.cjs.entry.js} +8 -8
- package/dist/cjs/{tttx-percentage-bar_1_9_67.cjs.entry.js → tttx-percentage-bar_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-qrcode_1_9_67.cjs.entry.js → tttx-qrcode_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_67.cjs.entry.js → tttx-select-box_1_9_69.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-skeleton_loader_1_9_67.cjs.entry.js → tttx-skeleton_loader_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-table_1_9_67.cjs.entry.js → tttx-table_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tabs_1_9_67.cjs.entry.js → tttx-tabs_1_9_69.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-textarea_1_9_67.cjs.entry.js → tttx-textarea_1_9_69.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-toggle_1_9_67.cjs.entry.js → tttx-toggle_1_9_69.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-tooltip_1_9_69.cjs.entry.js +61 -0
- package/dist/cjs/{tttx-tree-view_1_9_67.cjs.entry.js → tttx-tree-view_1_9_69.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 +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.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 +88 -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_69.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_67.js → tttx-action-dropdown_1_9_69.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_67.d.ts → tttx-button-v2_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_67.js → tttx-button-v2_1_9_69.js} +9 -9
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_67.d.ts → tttx-button_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_67.js → tttx-button_1_9_69.js} +2 -2
- package/dist/components/{tttx-table_1_9_67.d.ts → tttx-chart_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_67.js → tttx-chart_1_9_69.js} +51 -16
- package/dist/components/tttx-checkbox-group-caption_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_67.js → tttx-checkbox-group-caption_1_9_69.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_67.js → tttx-checkbox-group-heading_1_9_69.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_67.js → tttx-checkbox-group_1_9_69.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_67.d.ts → tttx-checkbox_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_67.js → tttx-checkbox_1_9_69.js} +7 -7
- package/dist/components/tttx-comments_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_67.js → tttx-comments_1_9_69.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_67.js → tttx-data-pattern_1_9_69.js} +16 -16
- package/dist/components/tttx-datacard_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_67.js → tttx-datacard_1_9_69.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_67.js → tttx-dialog-box_1_9_69.js} +9 -9
- package/dist/components/{tttx-filter_1_9_67.d.ts → tttx-dialog_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_67.js → tttx-dialog_1_9_69.js} +8 -8
- package/dist/components/tttx-expander_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_67.js → tttx-expander_1_9_69.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_67.d.ts → tttx-filter_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_67.js → tttx-filter_1_9_69.js} +2 -2
- package/dist/components/{tttx-form_1_9_67.d.ts → tttx-form_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_67.js → tttx-form_1_9_69.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_67.d.ts → tttx-graph_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_67.js → tttx-graph_1_9_69.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_67.d.ts → tttx-icon_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_67.js → tttx-icon_1_9_69.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_67.js → tttx-keyvalue-block_1_9_69.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_67.d.ts → tttx-list_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_67.js → tttx-list_1_9_69.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_67.js → tttx-loading-spinner_1_9_69.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_67.js → tttx-multiselect-box_1_9_69.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_67.js → tttx-percentage-bar_1_9_69.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_67.d.ts → tttx-qrcode_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_67.js → tttx-qrcode_1_9_69.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_67.js → tttx-select-box_1_9_69.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_67.js → tttx-skeleton_loader_1_9_69.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_67.js → tttx-sorter_1_9_69.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_67.js → tttx-standalone-input_1_9_69.js} +2 -2
- package/dist/components/{tttx-chart_1_9_67.d.ts → tttx-table_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_67.js → tttx-table_1_9_69.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_67.d.ts → tttx-tabs_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_67.js → tttx-tabs_1_9_69.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_67.d.ts → tttx-tag_1_9_69.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_67.js → tttx-tag_1_9_69.js} +2 -2
- package/dist/components/tttx-textarea_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_67.js → tttx-textarea_1_9_69.js} +6 -6
- package/dist/components/tttx-toggle_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_67.js → tttx-toggle_1_9_69.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_67.js → tttx-toolbar_1_9_69.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_69.d.ts +11 -0
- package/dist/components/tttx-tooltip_1_9_69.js +83 -0
- package/dist/components/tttx-tree-view_1_9_69.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_67.js → tttx-tree-view_1_9_69.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_67.entry.js → tttx-action-dropdown_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-button-v2_1_9_67.entry.js → tttx-button-v2_1_9_69.entry.js} +5 -5
- package/dist/esm/{tttx-button_1_9_67.entry.js → tttx-button_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-chart_1_9_67.entry.js → tttx-chart_1_9_69.entry.js} +45 -11
- package/dist/esm/{tttx-checkbox-group-caption_1_9_67.entry.js → tttx-checkbox-group-caption_1_9_69.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-heading_1_9_67.entry.js → tttx-checkbox-group-heading_1_9_69.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group_1_9_67.entry.js → tttx-checkbox-group_1_9_69.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox_1_9_67.entry.js → tttx-checkbox_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-comments_1_9_67.entry.js → tttx-comments_1_9_69.entry.js} +5 -5
- package/dist/esm/{tttx-data-pattern_1_9_67.entry.js → tttx-data-pattern_1_9_69.entry.js} +6 -6
- package/dist/esm/{tttx-datacard_1_9_67.entry.js → tttx-datacard_1_9_69.entry.js} +5 -5
- package/dist/esm/tttx-date-range-picker.entry.js +2 -2
- package/dist/esm/{tttx-dialog-box_1_9_67.entry.js → tttx-dialog-box_1_9_69.entry.js} +4 -4
- package/dist/esm/{tttx-dialog_1_9_67.entry.js → tttx-dialog_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-expander_1_9_67.entry.js → tttx-expander_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-filter_1_9_67_4.entry.js → tttx-filter_1_9_69_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_9_67.entry.js → tttx-form_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_67.entry.js → tttx-graph_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-icon_1_9_67.entry.js → tttx-icon_1_9_69.entry.js} +2 -2
- package/dist/esm/{tttx-keyvalue-block_1_9_67.entry.js → tttx-keyvalue-block_1_9_69.entry.js} +2 -2
- package/dist/esm/{tttx-loading-spinner_1_9_67_3.entry.js → tttx-loading-spinner_1_9_69_3.entry.js} +5 -5
- package/dist/esm/{tttx-multiselect-box_1_9_67.entry.js → tttx-multiselect-box_1_9_69.entry.js} +8 -8
- package/dist/esm/{tttx-percentage-bar_1_9_67.entry.js → tttx-percentage-bar_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-qrcode_1_9_67.entry.js → tttx-qrcode_1_9_69.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_67.entry.js → tttx-select-box_1_9_69.entry.js} +7 -7
- package/dist/esm/{tttx-skeleton_loader_1_9_67.entry.js → tttx-skeleton_loader_1_9_69.entry.js} +2 -2
- package/dist/esm/{tttx-table_1_9_67.entry.js → tttx-table_1_9_69.entry.js} +2 -2
- package/dist/esm/{tttx-tabs_1_9_67.entry.js → tttx-tabs_1_9_69.entry.js} +5 -5
- package/dist/esm/{tttx-textarea_1_9_67.entry.js → tttx-textarea_1_9_69.entry.js} +3 -3
- package/dist/esm/{tttx-toggle_1_9_67.entry.js → tttx-toggle_1_9_69.entry.js} +2 -2
- package/dist/esm/tttx-tooltip_1_9_69.entry.js +57 -0
- package/dist/esm/{tttx-tree-view_1_9_67.entry.js → tttx-tree-view_1_9_69.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-71bb2f21.entry.js +1 -0
- 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-d51f2e01.entry.js → p-8beccdc9.entry.js} +1 -1
- 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-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/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 +446 -419
- package/package.json +2 -2
- package/dist/components/tttx-action-dropdown_1_9_67.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_67.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_67.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_67.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_67.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_67.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_67.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_67.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_67.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_67.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_67.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_67.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_67.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_67.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_67.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_67.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_67.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_67.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_67.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_67.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_67.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-753a802a.entry.js +0 -1
- package/dist/tttx/p-c2a82822.js +0 -2
package/dist/components/auto.js
CHANGED
|
@@ -580,9 +580,9 @@ class Color {
|
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
/*!
|
|
583
|
-
* Chart.js v4.
|
|
583
|
+
* Chart.js v4.5.0
|
|
584
584
|
* https://www.chartjs.org
|
|
585
|
-
* (c)
|
|
585
|
+
* (c) 2025 Chart.js Contributors
|
|
586
586
|
* Released under the MIT License
|
|
587
587
|
*/
|
|
588
588
|
|
|
@@ -603,7 +603,7 @@ class Color {
|
|
|
603
603
|
* @param value - The value to test.
|
|
604
604
|
* @since 2.7.0
|
|
605
605
|
*/ function isNullOrUndef(value) {
|
|
606
|
-
return value === null ||
|
|
606
|
+
return value === null || value === undefined;
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
609
609
|
* Returns true if `value` is an array (including typed arrays), else returns false.
|
|
@@ -898,8 +898,13 @@ function almostEquals(x, y, epsilon) {
|
|
|
898
898
|
result.sort((a, b)=>a - b).pop();
|
|
899
899
|
return result;
|
|
900
900
|
}
|
|
901
|
+
/**
|
|
902
|
+
* Verifies that attempting to coerce n to string or number won't throw a TypeError.
|
|
903
|
+
*/ function isNonPrimitive(n) {
|
|
904
|
+
return typeof n === 'symbol' || typeof n === 'object' && n !== null && !(Symbol.toPrimitive in n || 'toString' in n || 'valueOf' in n);
|
|
905
|
+
}
|
|
901
906
|
function isNumber(n) {
|
|
902
|
-
return !isNaN(parseFloat(n)) && isFinite(n);
|
|
907
|
+
return !isNonPrimitive(n) && !isNaN(parseFloat(n)) && isFinite(n);
|
|
903
908
|
}
|
|
904
909
|
function almostWhole(x, epsilon) {
|
|
905
910
|
const rounded = Math.round(x);
|
|
@@ -1191,18 +1196,29 @@ function unlistenArrayEvents(array, listener) {
|
|
|
1191
1196
|
let start = 0;
|
|
1192
1197
|
let count = pointCount;
|
|
1193
1198
|
if (meta._sorted) {
|
|
1194
|
-
const { iScale , _parsed } = meta;
|
|
1199
|
+
const { iScale , vScale , _parsed } = meta;
|
|
1200
|
+
const spanGaps = meta.dataset ? meta.dataset.options ? meta.dataset.options.spanGaps : null : null;
|
|
1195
1201
|
const axis = iScale.axis;
|
|
1196
1202
|
const { min , max , minDefined , maxDefined } = iScale.getUserBounds();
|
|
1197
1203
|
if (minDefined) {
|
|
1198
|
-
start =
|
|
1204
|
+
start = Math.min(// @ts-expect-error Need to type _parsed
|
|
1199
1205
|
_lookupByKey(_parsed, axis, min).lo, // @ts-expect-error Need to fix types on _lookupByKey
|
|
1200
|
-
animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo)
|
|
1206
|
+
animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo);
|
|
1207
|
+
if (spanGaps) {
|
|
1208
|
+
const distanceToDefinedLo = _parsed.slice(0, start + 1).reverse().findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
|
|
1209
|
+
start -= Math.max(0, distanceToDefinedLo);
|
|
1210
|
+
}
|
|
1211
|
+
start = _limitValue(start, 0, pointCount - 1);
|
|
1201
1212
|
}
|
|
1202
1213
|
if (maxDefined) {
|
|
1203
|
-
|
|
1214
|
+
let end = Math.max(// @ts-expect-error Need to type _parsed
|
|
1204
1215
|
_lookupByKey(_parsed, iScale.axis, max, true).hi + 1, // @ts-expect-error Need to fix types on _lookupByKey
|
|
1205
|
-
animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1)
|
|
1216
|
+
animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1);
|
|
1217
|
+
if (spanGaps) {
|
|
1218
|
+
const distanceToDefinedHi = _parsed.slice(end - 1).findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
|
|
1219
|
+
end += Math.max(0, distanceToDefinedHi);
|
|
1220
|
+
}
|
|
1221
|
+
count = _limitValue(end, start, pointCount) - start;
|
|
1206
1222
|
} else {
|
|
1207
1223
|
count = pointCount - start;
|
|
1208
1224
|
}
|
|
@@ -2696,12 +2712,6 @@ function capBezierPoints(points, area) {
|
|
|
2696
2712
|
}
|
|
2697
2713
|
|
|
2698
2714
|
/**
|
|
2699
|
-
* Note: typedefs are auto-exported, so use a made-up `dom` namespace where
|
|
2700
|
-
* necessary to avoid duplicates with `export * from './helpers`; see
|
|
2701
|
-
* https://github.com/microsoft/TypeScript/issues/46011
|
|
2702
|
-
* @typedef { import('../core/core.controller.js').default } dom.Chart
|
|
2703
|
-
* @typedef { import('../../types').ChartEvent } ChartEvent
|
|
2704
|
-
*/ /**
|
|
2705
2715
|
* @private
|
|
2706
2716
|
*/ function _isDomSupported() {
|
|
2707
2717
|
return typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
@@ -3314,10 +3324,39 @@ function styleChanged(style, prevStyle) {
|
|
|
3314
3324
|
return JSON.stringify(style, replacer) !== JSON.stringify(prevStyle, replacer);
|
|
3315
3325
|
}
|
|
3316
3326
|
|
|
3327
|
+
function getSizeForArea(scale, chartArea, field) {
|
|
3328
|
+
return scale.options.clip ? scale[field] : chartArea[field];
|
|
3329
|
+
}
|
|
3330
|
+
function getDatasetArea(meta, chartArea) {
|
|
3331
|
+
const { xScale , yScale } = meta;
|
|
3332
|
+
if (xScale && yScale) {
|
|
3333
|
+
return {
|
|
3334
|
+
left: getSizeForArea(xScale, chartArea, 'left'),
|
|
3335
|
+
right: getSizeForArea(xScale, chartArea, 'right'),
|
|
3336
|
+
top: getSizeForArea(yScale, chartArea, 'top'),
|
|
3337
|
+
bottom: getSizeForArea(yScale, chartArea, 'bottom')
|
|
3338
|
+
};
|
|
3339
|
+
}
|
|
3340
|
+
return chartArea;
|
|
3341
|
+
}
|
|
3342
|
+
function getDatasetClipArea(chart, meta) {
|
|
3343
|
+
const clip = meta._clip;
|
|
3344
|
+
if (clip.disabled) {
|
|
3345
|
+
return false;
|
|
3346
|
+
}
|
|
3347
|
+
const area = getDatasetArea(meta, chart.chartArea);
|
|
3348
|
+
return {
|
|
3349
|
+
left: clip.left === false ? 0 : area.left - (clip.left === true ? 0 : clip.left),
|
|
3350
|
+
right: clip.right === false ? chart.width : area.right + (clip.right === true ? 0 : clip.right),
|
|
3351
|
+
top: clip.top === false ? 0 : area.top - (clip.top === true ? 0 : clip.top),
|
|
3352
|
+
bottom: clip.bottom === false ? chart.height : area.bottom + (clip.bottom === true ? 0 : clip.bottom)
|
|
3353
|
+
};
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3317
3356
|
/*!
|
|
3318
|
-
* Chart.js v4.
|
|
3357
|
+
* Chart.js v4.5.0
|
|
3319
3358
|
* https://www.chartjs.org
|
|
3320
|
-
* (c)
|
|
3359
|
+
* (c) 2025 Chart.js Contributors
|
|
3321
3360
|
* Released under the MIT License
|
|
3322
3361
|
*/
|
|
3323
3362
|
|
|
@@ -3751,9 +3790,11 @@ function applyStack(stack, value, dsIndex, options = {}) {
|
|
|
3751
3790
|
if (value === null) {
|
|
3752
3791
|
return;
|
|
3753
3792
|
}
|
|
3793
|
+
let found = false;
|
|
3754
3794
|
for(i = 0, ilen = keys.length; i < ilen; ++i){
|
|
3755
3795
|
datasetIndex = +keys[i];
|
|
3756
3796
|
if (datasetIndex === dsIndex) {
|
|
3797
|
+
found = true;
|
|
3757
3798
|
if (options.all) {
|
|
3758
3799
|
continue;
|
|
3759
3800
|
}
|
|
@@ -3764,6 +3805,9 @@ function applyStack(stack, value, dsIndex, options = {}) {
|
|
|
3764
3805
|
value += otherValue;
|
|
3765
3806
|
}
|
|
3766
3807
|
}
|
|
3808
|
+
if (!found && !options.all) {
|
|
3809
|
+
return 0;
|
|
3810
|
+
}
|
|
3767
3811
|
return value;
|
|
3768
3812
|
}
|
|
3769
3813
|
function convertObjectDataToArray(data, meta) {
|
|
@@ -4007,6 +4051,7 @@ class DatasetController {
|
|
|
4007
4051
|
this._resyncElements(resetNewElements);
|
|
4008
4052
|
if (stackChanged || oldStacked !== meta._stacked) {
|
|
4009
4053
|
updateStacks(this, meta._parsed);
|
|
4054
|
+
meta._stacked = isStacked(meta.vScale, meta);
|
|
4010
4055
|
}
|
|
4011
4056
|
}
|
|
4012
4057
|
configure() {
|
|
@@ -4801,8 +4846,10 @@ class BarController extends DatasetController {
|
|
|
4801
4846
|
const metasets = iScale.getMatchingVisibleMetas(this._type).filter((meta)=>meta.controller.options.grouped);
|
|
4802
4847
|
const stacked = iScale.options.stacked;
|
|
4803
4848
|
const stacks = [];
|
|
4849
|
+
const currentParsed = this._cachedMeta.controller.getParsed(dataIndex);
|
|
4850
|
+
const iScaleValue = currentParsed && currentParsed[iScale.axis];
|
|
4804
4851
|
const skipNull = (meta)=>{
|
|
4805
|
-
const parsed = meta.
|
|
4852
|
+
const parsed = meta._parsed.find((item)=>item[iScale.axis] === iScaleValue);
|
|
4806
4853
|
const val = parsed && parsed[meta.vScale.axis];
|
|
4807
4854
|
if (isNullOrUndef(val) || isNaN(val)) {
|
|
4808
4855
|
return true;
|
|
@@ -4827,6 +4874,22 @@ class BarController extends DatasetController {
|
|
|
4827
4874
|
_getStackCount(index) {
|
|
4828
4875
|
return this._getStacks(undefined, index).length;
|
|
4829
4876
|
}
|
|
4877
|
+
_getAxisCount() {
|
|
4878
|
+
return this._getAxis().length;
|
|
4879
|
+
}
|
|
4880
|
+
getFirstScaleIdForIndexAxis() {
|
|
4881
|
+
const scales = this.chart.scales;
|
|
4882
|
+
const indexScaleId = this.chart.options.indexAxis;
|
|
4883
|
+
return Object.keys(scales).filter((key)=>scales[key].axis === indexScaleId).shift();
|
|
4884
|
+
}
|
|
4885
|
+
_getAxis() {
|
|
4886
|
+
const axis = {};
|
|
4887
|
+
const firstScaleAxisId = this.getFirstScaleIdForIndexAxis();
|
|
4888
|
+
for (const dataset of this.chart.data.datasets){
|
|
4889
|
+
axis[valueOrDefault(this.chart.options.indexAxis === 'x' ? dataset.xAxisID : dataset.yAxisID, firstScaleAxisId)] = true;
|
|
4890
|
+
}
|
|
4891
|
+
return Object.keys(axis);
|
|
4892
|
+
}
|
|
4830
4893
|
_getStackIndex(datasetIndex, name, dataIndex) {
|
|
4831
4894
|
const stacks = this._getStacks(datasetIndex, dataIndex);
|
|
4832
4895
|
const index = name !== undefined ? stacks.indexOf(name) : -1;
|
|
@@ -4917,10 +4980,13 @@ class BarController extends DatasetController {
|
|
|
4917
4980
|
const skipNull = options.skipNull;
|
|
4918
4981
|
const maxBarThickness = valueOrDefault(options.maxBarThickness, Infinity);
|
|
4919
4982
|
let center, size;
|
|
4983
|
+
const axisCount = this._getAxisCount();
|
|
4920
4984
|
if (ruler.grouped) {
|
|
4921
4985
|
const stackCount = skipNull ? this._getStackCount(index) : ruler.stackCount;
|
|
4922
|
-
const range = options.barThickness === 'flex' ? computeFlexCategoryTraits(index, ruler, options, stackCount) : computeFitCategoryTraits(index, ruler, options, stackCount);
|
|
4923
|
-
const
|
|
4986
|
+
const range = options.barThickness === 'flex' ? computeFlexCategoryTraits(index, ruler, options, stackCount * axisCount) : computeFitCategoryTraits(index, ruler, options, stackCount * axisCount);
|
|
4987
|
+
const axisID = this.chart.options.indexAxis === 'x' ? this.getDataset().xAxisID : this.getDataset().yAxisID;
|
|
4988
|
+
const axisNumber = this._getAxis().indexOf(valueOrDefault(axisID, this.getFirstScaleIdForIndexAxis()));
|
|
4989
|
+
const stackIndex = this._getStackIndex(this.index, this._cachedMeta.stack, skipNull ? index : undefined) + axisNumber;
|
|
4924
4990
|
center = range.start + range.chunk * stackIndex + range.chunk / 2;
|
|
4925
4991
|
size = Math.min(maxBarThickness, range.chunk * range.ratio);
|
|
4926
4992
|
} else {
|
|
@@ -5937,10 +6003,20 @@ var adapters = {
|
|
|
5937
6003
|
function binarySearch(metaset, axis, value, intersect) {
|
|
5938
6004
|
const { controller , data , _sorted } = metaset;
|
|
5939
6005
|
const iScale = controller._cachedMeta.iScale;
|
|
6006
|
+
const spanGaps = metaset.dataset ? metaset.dataset.options ? metaset.dataset.options.spanGaps : null : null;
|
|
5940
6007
|
if (iScale && axis === iScale.axis && axis !== 'r' && _sorted && data.length) {
|
|
5941
6008
|
const lookupMethod = iScale._reversePixels ? _rlookupByKey : _lookupByKey;
|
|
5942
6009
|
if (!intersect) {
|
|
5943
|
-
|
|
6010
|
+
const result = lookupMethod(data, axis, value);
|
|
6011
|
+
if (spanGaps) {
|
|
6012
|
+
const { vScale } = controller._cachedMeta;
|
|
6013
|
+
const { _parsed } = metaset;
|
|
6014
|
+
const distanceToDefinedLo = _parsed.slice(0, result.lo + 1).reverse().findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
|
|
6015
|
+
result.lo -= Math.max(0, distanceToDefinedLo);
|
|
6016
|
+
const distanceToDefinedHi = _parsed.slice(result.hi).findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
|
|
6017
|
+
result.hi += Math.max(0, distanceToDefinedHi);
|
|
6018
|
+
}
|
|
6019
|
+
return result;
|
|
5944
6020
|
} else if (controller._sharedOptions) {
|
|
5945
6021
|
const el = data[0];
|
|
5946
6022
|
const range = typeof el.getRange === 'function' && el.getRange(axis);
|
|
@@ -6070,7 +6146,7 @@ function binarySearch(metaset, axis, value, intersect) {
|
|
|
6070
6146
|
const rangeMethod = axis === 'x' ? 'inXRange' : 'inYRange';
|
|
6071
6147
|
let intersectsItem = false;
|
|
6072
6148
|
evaluateInteractionItems(chart, axis, position, (element, datasetIndex, index)=>{
|
|
6073
|
-
if (element[rangeMethod](position[axis], useFinalPosition)) {
|
|
6149
|
+
if (element[rangeMethod] && element[rangeMethod](position[axis], useFinalPosition)) {
|
|
6074
6150
|
items.push({
|
|
6075
6151
|
element,
|
|
6076
6152
|
datasetIndex,
|
|
@@ -8828,7 +8904,7 @@ function needContext(proxy, names) {
|
|
|
8828
8904
|
return false;
|
|
8829
8905
|
}
|
|
8830
8906
|
|
|
8831
|
-
var version = "4.
|
|
8907
|
+
var version = "4.5.0";
|
|
8832
8908
|
|
|
8833
8909
|
const KNOWN_POSITIONS = [
|
|
8834
8910
|
'top',
|
|
@@ -8898,21 +8974,6 @@ function moveNumericKeys(obj, start, move) {
|
|
|
8898
8974
|
}
|
|
8899
8975
|
return e;
|
|
8900
8976
|
}
|
|
8901
|
-
function getSizeForArea(scale, chartArea, field) {
|
|
8902
|
-
return scale.options.clip ? scale[field] : chartArea[field];
|
|
8903
|
-
}
|
|
8904
|
-
function getDatasetArea(meta, chartArea) {
|
|
8905
|
-
const { xScale , yScale } = meta;
|
|
8906
|
-
if (xScale && yScale) {
|
|
8907
|
-
return {
|
|
8908
|
-
left: getSizeForArea(xScale, chartArea, 'left'),
|
|
8909
|
-
right: getSizeForArea(xScale, chartArea, 'right'),
|
|
8910
|
-
top: getSizeForArea(yScale, chartArea, 'top'),
|
|
8911
|
-
bottom: getSizeForArea(yScale, chartArea, 'bottom')
|
|
8912
|
-
};
|
|
8913
|
-
}
|
|
8914
|
-
return chartArea;
|
|
8915
|
-
}
|
|
8916
8977
|
class Chart {
|
|
8917
8978
|
static defaults = defaults;
|
|
8918
8979
|
static instances = instances;
|
|
@@ -9360,8 +9421,8 @@ class Chart {
|
|
|
9360
9421
|
let i;
|
|
9361
9422
|
if (this._resizeBeforeDraw) {
|
|
9362
9423
|
const { width , height } = this._resizeBeforeDraw;
|
|
9363
|
-
this._resize(width, height);
|
|
9364
9424
|
this._resizeBeforeDraw = null;
|
|
9425
|
+
this._resize(width, height);
|
|
9365
9426
|
}
|
|
9366
9427
|
this.clear();
|
|
9367
9428
|
if (this.width <= 0 || this.height <= 0) {
|
|
@@ -9411,27 +9472,20 @@ class Chart {
|
|
|
9411
9472
|
}
|
|
9412
9473
|
_drawDataset(meta) {
|
|
9413
9474
|
const ctx = this.ctx;
|
|
9414
|
-
const clip = meta._clip;
|
|
9415
|
-
const useClip = !clip.disabled;
|
|
9416
|
-
const area = getDatasetArea(meta, this.chartArea);
|
|
9417
9475
|
const args = {
|
|
9418
9476
|
meta,
|
|
9419
9477
|
index: meta.index,
|
|
9420
9478
|
cancelable: true
|
|
9421
9479
|
};
|
|
9480
|
+
const clip = getDatasetClipArea(this, meta);
|
|
9422
9481
|
if (this.notifyPlugins('beforeDatasetDraw', args) === false) {
|
|
9423
9482
|
return;
|
|
9424
9483
|
}
|
|
9425
|
-
if (
|
|
9426
|
-
clipArea(ctx,
|
|
9427
|
-
left: clip.left === false ? 0 : area.left - clip.left,
|
|
9428
|
-
right: clip.right === false ? this.width : area.right + clip.right,
|
|
9429
|
-
top: clip.top === false ? 0 : area.top - clip.top,
|
|
9430
|
-
bottom: clip.bottom === false ? this.height : area.bottom + clip.bottom
|
|
9431
|
-
});
|
|
9484
|
+
if (clip) {
|
|
9485
|
+
clipArea(ctx, clip);
|
|
9432
9486
|
}
|
|
9433
9487
|
meta.controller.draw();
|
|
9434
|
-
if (
|
|
9488
|
+
if (clip) {
|
|
9435
9489
|
unclipArea(ctx);
|
|
9436
9490
|
}
|
|
9437
9491
|
args.cancelable = false;
|
|
@@ -9744,6 +9798,34 @@ function invalidatePlugins() {
|
|
|
9744
9798
|
return each(Chart.instances, (chart)=>chart._plugins.invalidate());
|
|
9745
9799
|
}
|
|
9746
9800
|
|
|
9801
|
+
function clipSelf(ctx, element, endAngle) {
|
|
9802
|
+
const { startAngle , x , y , outerRadius , innerRadius , options } = element;
|
|
9803
|
+
const { borderWidth , borderJoinStyle } = options;
|
|
9804
|
+
const outerAngleClip = Math.min(borderWidth / outerRadius, _normalizeAngle(startAngle - endAngle));
|
|
9805
|
+
ctx.beginPath();
|
|
9806
|
+
ctx.arc(x, y, outerRadius - borderWidth / 2, startAngle + outerAngleClip / 2, endAngle - outerAngleClip / 2);
|
|
9807
|
+
if (innerRadius > 0) {
|
|
9808
|
+
const innerAngleClip = Math.min(borderWidth / innerRadius, _normalizeAngle(startAngle - endAngle));
|
|
9809
|
+
ctx.arc(x, y, innerRadius + borderWidth / 2, endAngle - innerAngleClip / 2, startAngle + innerAngleClip / 2, true);
|
|
9810
|
+
} else {
|
|
9811
|
+
const clipWidth = Math.min(borderWidth / 2, outerRadius * _normalizeAngle(startAngle - endAngle));
|
|
9812
|
+
if (borderJoinStyle === 'round') {
|
|
9813
|
+
ctx.arc(x, y, clipWidth, endAngle - PI / 2, startAngle + PI / 2, true);
|
|
9814
|
+
} else if (borderJoinStyle === 'bevel') {
|
|
9815
|
+
const r = 2 * clipWidth * clipWidth;
|
|
9816
|
+
const endX = -r * Math.cos(endAngle + PI / 2) + x;
|
|
9817
|
+
const endY = -r * Math.sin(endAngle + PI / 2) + y;
|
|
9818
|
+
const startX = r * Math.cos(startAngle + PI / 2) + x;
|
|
9819
|
+
const startY = r * Math.sin(startAngle + PI / 2) + y;
|
|
9820
|
+
ctx.lineTo(endX, endY);
|
|
9821
|
+
ctx.lineTo(startX, startY);
|
|
9822
|
+
}
|
|
9823
|
+
}
|
|
9824
|
+
ctx.closePath();
|
|
9825
|
+
ctx.moveTo(0, 0);
|
|
9826
|
+
ctx.rect(0, 0, ctx.canvas.width, ctx.canvas.height);
|
|
9827
|
+
ctx.clip('evenodd');
|
|
9828
|
+
}
|
|
9747
9829
|
function clipArc(ctx, element, endAngle) {
|
|
9748
9830
|
const { startAngle , pixelMargin , x , y , outerRadius , innerRadius } = element;
|
|
9749
9831
|
let angleMargin = pixelMargin / outerRadius;
|
|
@@ -9907,7 +9989,7 @@ function drawArc(ctx, element, offset, spacing, circular) {
|
|
|
9907
9989
|
}
|
|
9908
9990
|
function drawBorder(ctx, element, offset, spacing, circular) {
|
|
9909
9991
|
const { fullCircles , startAngle , circumference , options } = element;
|
|
9910
|
-
const { borderWidth , borderJoinStyle , borderDash , borderDashOffset } = options;
|
|
9992
|
+
const { borderWidth , borderJoinStyle , borderDash , borderDashOffset , borderRadius } = options;
|
|
9911
9993
|
const inner = options.borderAlign === 'inner';
|
|
9912
9994
|
if (!borderWidth) {
|
|
9913
9995
|
return;
|
|
@@ -9934,6 +10016,9 @@ function drawBorder(ctx, element, offset, spacing, circular) {
|
|
|
9934
10016
|
if (inner) {
|
|
9935
10017
|
clipArc(ctx, element, endAngle);
|
|
9936
10018
|
}
|
|
10019
|
+
if (options.selfJoin && endAngle - startAngle >= PI && borderRadius === 0 && borderJoinStyle !== 'miter') {
|
|
10020
|
+
clipSelf(ctx, element, endAngle);
|
|
10021
|
+
}
|
|
9937
10022
|
if (!fullCircles) {
|
|
9938
10023
|
pathArc(ctx, element, offset, spacing, endAngle, circular);
|
|
9939
10024
|
ctx.stroke();
|
|
@@ -9952,7 +10037,8 @@ class ArcElement extends Element {
|
|
|
9952
10037
|
offset: 0,
|
|
9953
10038
|
spacing: 0,
|
|
9954
10039
|
angle: undefined,
|
|
9955
|
-
circular: true
|
|
10040
|
+
circular: true,
|
|
10041
|
+
selfJoin: false
|
|
9956
10042
|
};
|
|
9957
10043
|
static defaultRoutes = {
|
|
9958
10044
|
backgroundColor: 'backgroundColor'
|
|
@@ -10000,7 +10086,8 @@ class ArcElement extends Element {
|
|
|
10000
10086
|
], useFinalPosition);
|
|
10001
10087
|
const rAdjust = (this.options.spacing + this.options.borderWidth) / 2;
|
|
10002
10088
|
const _circumference = valueOrDefault(circumference, endAngle - startAngle);
|
|
10003
|
-
const
|
|
10089
|
+
const nonZeroBetween = _angleBetween(angle, startAngle, endAngle) && startAngle !== endAngle;
|
|
10090
|
+
const betweenAngles = _circumference >= TAU || nonZeroBetween;
|
|
10004
10091
|
const withinRadius = _isBetween(distance, innerRadius + rAdjust, outerRadius + rAdjust);
|
|
10005
10092
|
return betweenAngles && withinRadius;
|
|
10006
10093
|
}
|
|
@@ -10666,6 +10753,9 @@ function containsColorsDefinitions(descriptors) {
|
|
|
10666
10753
|
function containsColorsDefinition(descriptor) {
|
|
10667
10754
|
return descriptor && (descriptor.borderColor || descriptor.backgroundColor);
|
|
10668
10755
|
}
|
|
10756
|
+
function containsDefaultColorsDefenitions() {
|
|
10757
|
+
return defaults.borderColor !== 'rgba(0,0,0,0.1)' || defaults.backgroundColor !== 'rgba(0,0,0,0.1)';
|
|
10758
|
+
}
|
|
10669
10759
|
var plugin_colors = {
|
|
10670
10760
|
id: 'colors',
|
|
10671
10761
|
defaults: {
|
|
@@ -10678,7 +10768,8 @@ var plugin_colors = {
|
|
|
10678
10768
|
}
|
|
10679
10769
|
const { data: { datasets } , options: chartOptions } = chart.config;
|
|
10680
10770
|
const { elements } = chartOptions;
|
|
10681
|
-
|
|
10771
|
+
const containsColorDefenition = containsColorsDefinitions(datasets) || containsColorsDefinition(chartOptions) || elements && containsColorsDefinitions(elements) || containsDefaultColorsDefenitions();
|
|
10772
|
+
if (!options.forceOverride && containsColorDefenition) {
|
|
10682
10773
|
return;
|
|
10683
10774
|
}
|
|
10684
10775
|
const colorizer = getColorizer(chart);
|
|
@@ -11277,11 +11368,13 @@ function computeCircularBoundary(source) {
|
|
|
11277
11368
|
|
|
11278
11369
|
function _drawfill(ctx, source, area) {
|
|
11279
11370
|
const target = _getTarget(source);
|
|
11280
|
-
const { line , scale , axis } = source;
|
|
11371
|
+
const { chart , index , line , scale , axis } = source;
|
|
11281
11372
|
const lineOpts = line.options;
|
|
11282
11373
|
const fillOption = lineOpts.fill;
|
|
11283
11374
|
const color = lineOpts.backgroundColor;
|
|
11284
11375
|
const { above =color , below =color } = fillOption || {};
|
|
11376
|
+
const meta = chart.getDatasetMeta(index);
|
|
11377
|
+
const clip = getDatasetClipArea(chart, meta);
|
|
11285
11378
|
if (target && line.points.length) {
|
|
11286
11379
|
clipArea(ctx, area);
|
|
11287
11380
|
doFill(ctx, {
|
|
@@ -11291,34 +11384,54 @@ function _drawfill(ctx, source, area) {
|
|
|
11291
11384
|
below,
|
|
11292
11385
|
area,
|
|
11293
11386
|
scale,
|
|
11294
|
-
axis
|
|
11387
|
+
axis,
|
|
11388
|
+
clip
|
|
11295
11389
|
});
|
|
11296
11390
|
unclipArea(ctx);
|
|
11297
11391
|
}
|
|
11298
11392
|
}
|
|
11299
11393
|
function doFill(ctx, cfg) {
|
|
11300
|
-
const { line , target , above , below , area , scale } = cfg;
|
|
11394
|
+
const { line , target , above , below , area , scale , clip } = cfg;
|
|
11301
11395
|
const property = line._loop ? 'angle' : cfg.axis;
|
|
11302
11396
|
ctx.save();
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11397
|
+
let fillColor = below;
|
|
11398
|
+
if (below !== above) {
|
|
11399
|
+
if (property === 'x') {
|
|
11400
|
+
clipVertical(ctx, target, area.top);
|
|
11401
|
+
fill(ctx, {
|
|
11402
|
+
line,
|
|
11403
|
+
target,
|
|
11404
|
+
color: above,
|
|
11405
|
+
scale,
|
|
11406
|
+
property,
|
|
11407
|
+
clip
|
|
11408
|
+
});
|
|
11409
|
+
ctx.restore();
|
|
11410
|
+
ctx.save();
|
|
11411
|
+
clipVertical(ctx, target, area.bottom);
|
|
11412
|
+
} else if (property === 'y') {
|
|
11413
|
+
clipHorizontal(ctx, target, area.left);
|
|
11414
|
+
fill(ctx, {
|
|
11415
|
+
line,
|
|
11416
|
+
target,
|
|
11417
|
+
color: below,
|
|
11418
|
+
scale,
|
|
11419
|
+
property,
|
|
11420
|
+
clip
|
|
11421
|
+
});
|
|
11422
|
+
ctx.restore();
|
|
11423
|
+
ctx.save();
|
|
11424
|
+
clipHorizontal(ctx, target, area.right);
|
|
11425
|
+
fillColor = above;
|
|
11426
|
+
}
|
|
11315
11427
|
}
|
|
11316
11428
|
fill(ctx, {
|
|
11317
11429
|
line,
|
|
11318
11430
|
target,
|
|
11319
|
-
color:
|
|
11431
|
+
color: fillColor,
|
|
11320
11432
|
scale,
|
|
11321
|
-
property
|
|
11433
|
+
property,
|
|
11434
|
+
clip
|
|
11322
11435
|
});
|
|
11323
11436
|
ctx.restore();
|
|
11324
11437
|
}
|
|
@@ -11351,15 +11464,44 @@ function clipVertical(ctx, target, clipY) {
|
|
|
11351
11464
|
ctx.closePath();
|
|
11352
11465
|
ctx.clip();
|
|
11353
11466
|
}
|
|
11467
|
+
function clipHorizontal(ctx, target, clipX) {
|
|
11468
|
+
const { segments , points } = target;
|
|
11469
|
+
let first = true;
|
|
11470
|
+
let lineLoop = false;
|
|
11471
|
+
ctx.beginPath();
|
|
11472
|
+
for (const segment of segments){
|
|
11473
|
+
const { start , end } = segment;
|
|
11474
|
+
const firstPoint = points[start];
|
|
11475
|
+
const lastPoint = points[_findSegmentEnd(start, end, points)];
|
|
11476
|
+
if (first) {
|
|
11477
|
+
ctx.moveTo(firstPoint.x, firstPoint.y);
|
|
11478
|
+
first = false;
|
|
11479
|
+
} else {
|
|
11480
|
+
ctx.lineTo(clipX, firstPoint.y);
|
|
11481
|
+
ctx.lineTo(firstPoint.x, firstPoint.y);
|
|
11482
|
+
}
|
|
11483
|
+
lineLoop = !!target.pathSegment(ctx, segment, {
|
|
11484
|
+
move: lineLoop
|
|
11485
|
+
});
|
|
11486
|
+
if (lineLoop) {
|
|
11487
|
+
ctx.closePath();
|
|
11488
|
+
} else {
|
|
11489
|
+
ctx.lineTo(clipX, lastPoint.y);
|
|
11490
|
+
}
|
|
11491
|
+
}
|
|
11492
|
+
ctx.lineTo(clipX, target.first().y);
|
|
11493
|
+
ctx.closePath();
|
|
11494
|
+
ctx.clip();
|
|
11495
|
+
}
|
|
11354
11496
|
function fill(ctx, cfg) {
|
|
11355
|
-
const { line , target , property , color , scale } = cfg;
|
|
11497
|
+
const { line , target , property , color , scale , clip } = cfg;
|
|
11356
11498
|
const segments = _segments(line, target, property);
|
|
11357
11499
|
for (const { source: src , target: tgt , start , end } of segments){
|
|
11358
11500
|
const { style: { backgroundColor =color } = {} } = src;
|
|
11359
11501
|
const notShape = target !== true;
|
|
11360
11502
|
ctx.save();
|
|
11361
11503
|
ctx.fillStyle = backgroundColor;
|
|
11362
|
-
clipBounds(ctx, scale, notShape && _getBounds(property, start, end));
|
|
11504
|
+
clipBounds(ctx, scale, clip, notShape && _getBounds(property, start, end));
|
|
11363
11505
|
ctx.beginPath();
|
|
11364
11506
|
const lineLoop = !!line.pathSegment(ctx, src);
|
|
11365
11507
|
let loop;
|
|
@@ -11383,12 +11525,30 @@ function fill(ctx, cfg) {
|
|
|
11383
11525
|
ctx.restore();
|
|
11384
11526
|
}
|
|
11385
11527
|
}
|
|
11386
|
-
function clipBounds(ctx, scale, bounds) {
|
|
11387
|
-
const
|
|
11528
|
+
function clipBounds(ctx, scale, clip, bounds) {
|
|
11529
|
+
const chartArea = scale.chart.chartArea;
|
|
11388
11530
|
const { property , start , end } = bounds || {};
|
|
11389
|
-
if (property === 'x') {
|
|
11531
|
+
if (property === 'x' || property === 'y') {
|
|
11532
|
+
let left, top, right, bottom;
|
|
11533
|
+
if (property === 'x') {
|
|
11534
|
+
left = start;
|
|
11535
|
+
top = chartArea.top;
|
|
11536
|
+
right = end;
|
|
11537
|
+
bottom = chartArea.bottom;
|
|
11538
|
+
} else {
|
|
11539
|
+
left = chartArea.left;
|
|
11540
|
+
top = start;
|
|
11541
|
+
right = chartArea.right;
|
|
11542
|
+
bottom = end;
|
|
11543
|
+
}
|
|
11390
11544
|
ctx.beginPath();
|
|
11391
|
-
|
|
11545
|
+
if (clip) {
|
|
11546
|
+
left = Math.max(left, clip.left);
|
|
11547
|
+
right = Math.min(right, clip.right);
|
|
11548
|
+
top = Math.max(top, clip.top);
|
|
11549
|
+
bottom = Math.min(bottom, clip.bottom);
|
|
11550
|
+
}
|
|
11551
|
+
ctx.rect(left, top, right - left, bottom - top);
|
|
11392
11552
|
ctx.clip();
|
|
11393
11553
|
}
|
|
11394
11554
|
}
|
|
@@ -12221,6 +12381,9 @@ const positioners = {
|
|
|
12221
12381
|
++count;
|
|
12222
12382
|
}
|
|
12223
12383
|
}
|
|
12384
|
+
if (count === 0 || xSet.size === 0) {
|
|
12385
|
+
return false;
|
|
12386
|
+
}
|
|
12224
12387
|
const xAverage = [
|
|
12225
12388
|
...xSet
|
|
12226
12389
|
].reduce((a, b)=>a + b) / xSet.size;
|
|
@@ -13973,7 +14136,7 @@ function drawRadiusLine(scale, gridLineOpts, radius, labelCount, borderOpts) {
|
|
|
13973
14136
|
ctx.save();
|
|
13974
14137
|
ctx.strokeStyle = color;
|
|
13975
14138
|
ctx.lineWidth = lineWidth;
|
|
13976
|
-
ctx.setLineDash(borderOpts.dash);
|
|
14139
|
+
ctx.setLineDash(borderOpts.dash || []);
|
|
13977
14140
|
ctx.lineDashOffset = borderOpts.dashOffset;
|
|
13978
14141
|
ctx.beginPath();
|
|
13979
14142
|
pathRadiusLine(scale, radius, circular, labelCount);
|
|
@@ -14177,7 +14340,7 @@ class RadialLinearScale extends LinearScaleBase {
|
|
|
14177
14340
|
ctx.strokeStyle = color;
|
|
14178
14341
|
ctx.setLineDash(optsAtIndex.borderDash);
|
|
14179
14342
|
ctx.lineDashOffset = optsAtIndex.borderDashOffset;
|
|
14180
|
-
offset = this.getDistanceFromCenterForValue(opts.
|
|
14343
|
+
offset = this.getDistanceFromCenterForValue(opts.reverse ? this.min : this.max);
|
|
14181
14344
|
position = this.getPointPosition(i, offset);
|
|
14182
14345
|
ctx.beginPath();
|
|
14183
14346
|
ctx.moveTo(this.xCenter, this.yCenter);
|
|
@@ -14288,7 +14451,7 @@ const INTERVALS = {
|
|
|
14288
14451
|
value = parser(value);
|
|
14289
14452
|
}
|
|
14290
14453
|
if (!isNumberFinite(value)) {
|
|
14291
|
-
value = typeof parser === 'string' ? adapter.parse(value,
|
|
14454
|
+
value = typeof parser === 'string' ? adapter.parse(value, parser) : adapter.parse(value);
|
|
14292
14455
|
}
|
|
14293
14456
|
if (value === null) {
|
|
14294
14457
|
return null;
|