@ironsource/shared-ui 2.1.12-test.1 → 2.1.12-test.2

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.
Files changed (69) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
  5. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +1 -0
  7. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +1 -0
  8. package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +1 -0
  9. package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +1 -0
  10. package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +1 -0
  11. package/OptionV4.vue_vue_type_style_index_0_scoped_7d287ee5_lang.css +1 -0
  12. package/components/button/v4/ButtonV4.vue.d.ts +1 -0
  13. package/components/button/v4/ButtonV4.vue.js +3 -3
  14. package/components/button/v4/ButtonV4.vue2.js +22 -21
  15. package/components/chart/Chart.vue.d.ts +5 -0
  16. package/components/chart/Chart.vue.js +3 -3
  17. package/components/chart/Chart.vue2.js +9 -7
  18. package/components/chart/ChartHeader.vue.d.ts +5 -0
  19. package/components/chart/ChartHeader.vue.js +2 -2
  20. package/components/chart/ChartHeader.vue2.js +42 -34
  21. package/components/chart/ChartPlane.vue.d.ts +5 -0
  22. package/components/chart/ChartPlane.vue.js +4 -4
  23. package/components/chart/ChartPlane.vue2.js +14 -12
  24. package/components/chart/ChartTooltip.vue.js +2 -2
  25. package/components/chart/ChartTooltip.vue2.js +3 -3
  26. package/components/chart/index.d.ts +15 -0
  27. package/components/dateRange/common/DateRange.common.js +81 -75
  28. package/components/dateRange/common/DateServices.common.d.ts +1 -1
  29. package/components/dateRange/common/DateServices.common.js +1 -0
  30. package/components/dropdown/common/Dropdown.common.js +83 -79
  31. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  32. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  33. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +15 -12
  34. package/components/dropdown/v4/ConditionalDropdown.vue.js +2 -2
  35. package/components/dropdown/v4/ConditionalDropdown.vue2.js +105 -96
  36. package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
  37. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  38. package/components/dropdown/v4/DropdownV4.vue2.js +56 -54
  39. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -5
  40. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  41. package/components/dropdown/v4/OptionV4.vue2.js +3 -3
  42. package/components/dropdown/v4/index.d.ts +30 -15
  43. package/components/link/Link.vue.d.ts +70 -0
  44. package/components/link/Link.vue.js +7 -0
  45. package/components/link/Link.vue2.js +43 -0
  46. package/components/link/index.d.ts +140 -0
  47. package/components/link/index.js +6 -0
  48. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  49. package/components/table/v4/DataGrid.vue.js +3 -3
  50. package/components/table/v4/DataGrid.vue2.js +5 -4
  51. package/components/table/v4/index.d.ts +2 -0
  52. package/composables/useDateService.d.ts +7 -0
  53. package/composables/useDateService.js +10 -0
  54. package/index.d.ts +68 -30
  55. package/index.js +111 -105
  56. package/mocks/optionsWithIcons.d.ts +1 -0
  57. package/package.json +9 -1
  58. package/testids/index.d.ts +4 -0
  59. package/testids/index.js +31 -30
  60. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_0123c361_lang.css +0 -1
  61. package/ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css +0 -1
  62. package/Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css +0 -1
  63. package/ChartHeader.vue_vue_type_style_index_0_scoped_da34b108_lang.css +0 -1
  64. package/ChartPlane.vue_vue_type_style_index_0_scoped_ff7e556e_lang.css +0 -1
  65. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
  66. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_683b8a75_lang.css +0 -1
  67. package/DataGrid.vue_vue_type_style_index_0_scoped_0963bb3c_lang.css +0 -1
  68. package/DropdownV4.vue_vue_type_style_index_0_scoped_dd86e387_lang.css +0 -1
  69. package/OptionV4.vue_vue_type_style_index_0_scoped_b9724567_lang.css +0 -1
@@ -0,0 +1 @@
1
+ .button-trigger.open[data-v-adb49e50]{background:var(--action-selected);outline:2px solid var(--action-active);outline-offset:-2px;transition:outline 0s}.button-trigger.open[data-v-adb49e50]:hover{background:var(--action-selected)}.button-trigger .label-wrapper[data-v-adb49e50]{display:block;width:100%}.button-trigger .label-wrapper .label-text[data-v-adb49e50]{white-space:nowrap}.button-trigger[data-v-adb49e50] .end-icon{color:var(--action-active)}
@@ -0,0 +1 @@
1
+ .button-wrap[data-v-852be7ec]{border-radius:var(--border-radius-md);transition:all .2s ease;padding:0;min-width:auto;background-image:none;box-sizing:border-box;border:0;cursor:pointer}.contained.primary[data-v-852be7ec]{color:var(--primary-button-contrast-text);background:var(--primary-main)}.contained.primary[data-v-852be7ec]:hover{background:var(--primary-darker)}.contained.primary[data-v-852be7ec]:disabled{color:var(--text-disabled);background:var(--action-disabled-background)!important;opacity:1}.contained.primary[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.contained.default[data-v-852be7ec]{color:var(--default-button-contrast-text);background:var(--default-main)}.contained.default[data-v-852be7ec]:hover{background:var(--default-light)}.contained.default[data-v-852be7ec]:disabled{color:var(--text-disabled);background:var(--action-disabled-background)!important;opacity:1}.contained.default[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.contained.danger[data-v-852be7ec]{color:var(--error-button-contrast-text);background:var(--error-main)}.contained.danger[data-v-852be7ec]:hover{background:var(--error-dark)}.contained.danger[data-v-852be7ec]:disabled{color:var(--text-disabled);background:var(--action-disabled-background)!important;opacity:1}.contained.danger[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.contained.info[data-v-852be7ec]{color:var(--info-button-contrast-text);background:var(--info-main)}.contained.info[data-v-852be7ec]:hover{background:var(--info-dark)}.contained.info[data-v-852be7ec]:disabled{color:var(--text-disabled);background:var(--action-disabled-background)!important;opacity:1}.contained.info[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.contained.success[data-v-852be7ec]{color:var(--success-button-contrast-text);background:var(--success-main)}.contained.success[data-v-852be7ec]:hover{background:var(--success-dark)}.contained.success[data-v-852be7ec]:disabled{color:var(--text-disabled);background:var(--action-disabled-background)!important;opacity:1}.contained.success[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.contained.warning[data-v-852be7ec]{color:var(--warning-button-contrast-text);background:var(--warning-main)}.contained.warning[data-v-852be7ec]:hover{background:var(--warning-dark)}.contained.warning[data-v-852be7ec]:disabled{color:var(--text-disabled);background:var(--action-disabled-background)!important;opacity:1}.contained.warning[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.contained.loading[data-v-852be7ec],.contained.loading[data-v-852be7ec]:hover{background:var(--action-disabled-background)}.outlined[data-v-852be7ec]{background:transparent}.outlined.primary[data-v-852be7ec]{color:var(--primary-main);border:1px solid var(--primary-main)}.outlined.primary[data-v-852be7ec]:hover{background:var(--primary-lighter)}.outlined.primary[data-v-852be7ec]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border)!important;opacity:1}.outlined.primary[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.outlined.default[data-v-852be7ec]{color:var(--text-primary);border:1px solid var(--default-outlined-border)}.outlined.default[data-v-852be7ec]:hover{border:1px solid var(--action-active);background:var(--action-hover)}.outlined.default[data-v-852be7ec]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border)!important;opacity:1}.outlined.default[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.outlined.danger[data-v-852be7ec]{color:var(--error-main);border:1px solid var(--error-main)}.outlined.danger[data-v-852be7ec]:hover{background:var(--error-lighter)}.outlined.danger[data-v-852be7ec]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border)!important;opacity:1}.outlined.danger[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.outlined.info[data-v-852be7ec]{color:var(--info-main);border:1px solid var(--info-main)}.outlined.info[data-v-852be7ec]:hover{background:var(--info-lighter)}.outlined.info[data-v-852be7ec]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border)!important;opacity:1}.outlined.info[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.outlined.success[data-v-852be7ec]{color:var(--success-main);border:1px solid var(--success-main)}.outlined.success[data-v-852be7ec]:hover{background:var(--success-lighter)}.outlined.success[data-v-852be7ec]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border)!important;opacity:1}.outlined.success[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.outlined.warning[data-v-852be7ec]{color:var(--warning-darker);border:1px solid var(--warning-darker)}.outlined.warning[data-v-852be7ec]:hover{background:var(--warning-lighter)}.outlined.warning[data-v-852be7ec]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border)!important;opacity:1}.outlined.warning[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.outlined.loading[data-v-852be7ec],.outlined.loading[data-v-852be7ec]:hover{border:1px solid var(--common-divider);background:var(--action-disabled-background)}.text[data-v-852be7ec]{background:transparent}.text.primary[data-v-852be7ec]{color:var(--primary-main)}.text.primary[data-v-852be7ec]:hover{background:var(--primary-lighter)}.text.primary[data-v-852be7ec]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.primary[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.text.default[data-v-852be7ec]{color:var(--text-primary)}.text.default[data-v-852be7ec]:hover{background:var(--action-hover)}.text.default[data-v-852be7ec]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.default[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.text.danger[data-v-852be7ec]{color:var(--error-main)}.text.danger[data-v-852be7ec]:hover{background:var(--error-lighter)}.text.danger[data-v-852be7ec]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.danger[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.text.info[data-v-852be7ec]{color:var(--info-main)}.text.info[data-v-852be7ec]:hover{background:var(--info-lighter)}.text.info[data-v-852be7ec]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.info[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.text.success[data-v-852be7ec]{color:var(--success-main)}.text.success[data-v-852be7ec]:hover{background:var(--success-lighter)}.text.success[data-v-852be7ec]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.success[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.text.warning[data-v-852be7ec]{color:var(--warning-darker)}.text.warning[data-v-852be7ec]:hover{background:var(--warning-lighter)}.text.warning[data-v-852be7ec]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.warning[data-v-852be7ec]:disabled:hover{cursor:not-allowed}.text.loading[data-v-852be7ec],.text.loading[data-v-852be7ec]:hover{border:0;background:transparent}.small[data-v-852be7ec]{padding:2px 6px}.small.outlined[data-v-852be7ec]{padding:1px 5px}.medium[data-v-852be7ec]{padding:4px 8px}.medium.outlined[data-v-852be7ec]{padding:3px 7px}.large[data-v-852be7ec]{padding:6px 8px}.large.outlined[data-v-852be7ec]{padding:5px 7px}.extraLarge[data-v-852be7ec]{padding:10px 12px}.extraLarge.outlined[data-v-852be7ec]{padding:9px 11px}.small[data-v-852be7ec],.medium[data-v-852be7ec],.large[data-v-852be7ec],.extraLarge[data-v-852be7ec]{height:auto}.flex[data-v-852be7ec]{display:flex;align-items:center;gap:8px}.loading.with-start-icon .content-with-icon[data-v-852be7ec]{padding-left:22px}.loading.with-end-icon .content-with-icon[data-v-852be7ec]{padding-right:22px}
@@ -0,0 +1 @@
1
+ .chart-container[data-v-e8f25a03]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-e8f25a03]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-e8f25a03]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-e8f25a03]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-e8f25a03]{border-left:1px solid var(--common-divider)}
@@ -0,0 +1 @@
1
+ .chart-header[data-v-af520313]{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 0}.chart-header--compact[data-v-af520313]{padding-top:22px}.chart-header--compact .header-texts[data-v-af520313]{flex-direction:row}.chart-header--compact .header-text[data-v-af520313]{color:var(--text-secondary)}.header-row[data-v-af520313]{display:flex;align-items:flex-end;gap:4px}.header-texts[data-v-af520313]{display:flex;flex-direction:column;color:var(--text-primary);gap:4px;cursor:default}.header-actions[data-v-af520313]{display:flex;align-items:center;gap:var(--spacing-200)}
@@ -0,0 +1 @@
1
+ .chart-plane-container[data-v-4f67d41d]{--headerHeight: var(--11153e48);width:100%;height:var(--30644433);position:relative}.header-wrapper[data-v-4f67d41d]{position:absolute;width:100%;height:var(--headerHeight);top:0;z-index:1}.chart-plane[data-v-4f67d41d]{padding-top:var(--headerHeight);height:100%}.chart-empty[data-v-4f67d41d]{background:var(--background-paper)}.chart[data-v-4f67d41d]{width:100%;height:100%;position:relative}.chart__canvas[data-v-4f67d41d]{width:100%;height:100%}.chart__tooltip[data-v-4f67d41d]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px;z-index:1}
@@ -0,0 +1 @@
1
+ .chart-tooltip[data-v-3315b68f]{color:var(--text-primary);background:var(--common-white);box-shadow:0 4px 8px -2px #1018281f;border:1px solid var(--common-divider-elevation-0);border-radius:var(--border-radius-md);width:280px;padding:calc(var(--spacing-100) - 1px)}.color-box[data-v-3315b68f]{width:12px;height:12px;border-radius:2px;display:inline-block;margin-right:var(--spacing-100)}.color-box+.platform-icon[data-v-3315b68f]{margin-left:calc(var(--spacing-50) - var(--spacing-100))}.list[data-v-3315b68f]{list-style:none;margin:0;padding:0}.list__item[data-v-3315b68f]{display:flex;align-items:center;margin-bottom:var(--spacing-50);color:var(--text-secondary)}.list__item[data-v-3315b68f]:last-child{margin-bottom:0}.platform-icon[data-v-3315b68f]{color:var(--action-active);margin-right:var(--spacing-50)}.popover-label-wrapper[data-v-3315b68f]{display:flex;width:200px;flex-grow:1}.truncated-label[data-v-3315b68f]{max-width:90%}.tooltip-footer[data-v-3315b68f]{display:flex;align-items:center;margin-top:var(--spacing-100);color:var(--text-primary)}.flex-grow[data-v-3315b68f]{flex-grow:1}
@@ -0,0 +1 @@
1
+ .custom-list-area[data-v-f5204c04]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:63px 10px}.inline-search[data-v-f5204c04]{width:100%}.contain-accept[data-v-f5204c04]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-f5204c04]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-f5204c04]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
@@ -0,0 +1 @@
1
+ .sticky[data-v-b21a79b1]{position:sticky}.table-container[data-v-b21a79b1]{width:100%;position:relative;display:flex;flex-direction:column}.table-header[data-v-b21a79b1]{display:flex;align-items:center;height:calc(var(--spacing-800) - 1px);border-bottom:1px solid var(--common-divider);background-color:var(--background-paper-elevation-0);position:sticky;left:0;padding:var(--spacing-300)}.table-header .table-title[data-v-b21a79b1]{display:flex;flex:1;align-items:center;justify-content:flex-start;height:100%;color:var(--text-primary)}.table-header .table-header-right[data-v-b21a79b1]{display:flex;align-items:center;height:100%}.table-header .search-wrapper[data-v-b21a79b1]{width:13.75rem}.table-header.isStickyHeader[data-v-b21a79b1]{z-index:calc(var(--fa2ac520) + 3);top:0}.table-head-container[data-v-b21a79b1]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-b21a79b1]{color:var(--text-primary);background-color:var(--background-paper-elevation-0);padding:0 var(--spacing-300);display:flex;align-items:center;min-height:var(--spacing-600);border:1px solid var(--common-divider);border-radius:var(--border-radius-md);border-top-right-radius:0;border-top-left-radius:0}.table-body-wrapper[data-v-b21a79b1]{display:inline-table}.table-header-pre-search-content[data-v-b21a79b1]{margin-right:var(--spacing-100);display:flex;align-items:center}.table-header-actions[data-v-b21a79b1]{margin-left:var(--spacing-100);display:flex;align-items:center}.table-row[data-v-b21a79b1]{position:relative}.table-row.loading[data-v-b21a79b1]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-b21a79b1]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-b21a79b1]{border-bottom:none}.expanded-row[data-v-b21a79b1]{grid-column:var(--0a907be4);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-b21a79b1]{position:relative;display:block;overflow:auto;background:var(--background-paper-elevation-0);border:1px solid var(--common-divider);color:var(--text-primary);text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:var(--border-radius-md);border-collapse:collapse;border-spacing:0}table.hasFooter[data-v-b21a79b1]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-b21a79b1],table th[data-v-b21a79b1]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-b21a79b1]:first-of-type,table th[data-v-b21a79b1]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-b21a79b1]:last-of-type,table th[data-v-b21a79b1]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-b21a79b1],table th.expand-toggle-cell[data-v-b21a79b1]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-b21a79b1]{border-bottom:none;z-index:calc(var(--fa2ac520) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-b21a79b1]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);height:var(--spacing-500);display:grid;grid-template-columns:var(--702d25dd)}table>thead>tr>th[data-v-b21a79b1]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.isSortable[data-v-b21a79b1]{cursor:pointer}table>thead>tr>td[data-v-b21a79b1]{display:flex;align-items:center}table>thead>tr>th.bordered[data-v-b21a79b1],table>thead>tr>td.bordered[data-v-b21a79b1]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-b21a79b1],table>thead>tr>td.bordered.isStickyRight[data-v-b21a79b1]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-b21a79b1],table>thead>tr>td.isTextRight[data-v-b21a79b1]{justify-content:flex-end}table>thead.sticky[data-v-b21a79b1]{position:sticky;top:0;background:var(--background-default)}table>thead.isStickyHeader[data-v-b21a79b1]{z-index:calc(var(--fa2ac520) + 2);top:calc(var(--spacing-800) - 1px)}table .totals-row[data-v-b21a79b1]{height:40px}table .totals-row[data-v-b21a79b1]:hover{background:var(--background-paper-elevation-1)}table>tbody[data-v-b21a79b1]{display:block}table>tbody>*>tr[data-v-b21a79b1]{background-color:var(--background-default);height:auto;display:grid;align-items:center;grid-template-columns:var(--702d25dd)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-b21a79b1]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-b21a79b1],table>tbody>*>tr.activeMenu>td[data-v-b21a79b1]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-b21a79b1]{background-color:var(--background-default);border:none;min-width:0;display:flex;height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-b21a79b1]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-b21a79b1]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-b21a79b1]{justify-content:flex-end;text-align:right}.underlined[data-v-b21a79b1]{border-bottom:.0625rem dashed var(--default-outlined-border)}.underlined[data-v-b21a79b1]:hover{cursor:help}.section-container[data-v-b21a79b1]{left:0}.sections[data-v-b21a79b1]{display:flex}.section[data-v-b21a79b1]{padding:0 1.5rem;background:var(--background-default);left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid var(--common-divider)}.table-cell[data-v-b21a79b1]{width:100%}.empty-state[data-v-b21a79b1]{min-height:250px}.floating-row[data-v-b21a79b1]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--fa2ac520) + 1)}.floating-row [data-v-b21a79b1-s]{pointer-events:auto}.bg[data-v-b21a79b1]{background:var(--background-default)}
@@ -0,0 +1 @@
1
+ .v-enter-active[data-v-55dd36a7],.v-leave-active[data-v-55dd36a7]{transition:opacity .25s ease}ol[data-v-55dd36a7],ul[data-v-55dd36a7],menu[data-v-55dd36a7]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-55dd36a7],.dropdown.full-width .button__container[data-v-55dd36a7]{width:100%}.dropdown-list-wrapper[data-v-55dd36a7]{display:flex;flex-direction:column;padding:.5rem .5rem .25rem}.dropdown-list-wrapper--multi[data-v-55dd36a7]{padding:.5rem}.list-container--multi[data-v-55dd36a7]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-55dd36a7]{display:flex;gap:4px;padding-bottom:.25rem}.inline-search .inline-search-wrapper .search-container[data-v-55dd36a7]{width:100%}.inline-search .list-container[data-v-55dd36a7]{padding-top:0}.no-result-container[data-v-55dd36a7]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-55dd36a7]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-55dd36a7]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-55dd36a7]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.list--with-conditions[data-v-55dd36a7]{min-height:0;margin-bottom:0}.image-slot[data-v-55dd36a7]{margin-right:.5rem}.actions-wrapper[data-v-55dd36a7]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between;margin-top:.25rem}.apply-button[data-v-55dd36a7]{margin-left:.5rem}
@@ -0,0 +1 @@
1
+ .link[data-v-ad98fe7b]{cursor:pointer;color:var(--primary-main);display:inline-flex;align-items:center;gap:var(--spacing-50)}.link[data-v-ad98fe7b]:hover{color:var(--primary-dark)}.link--default[data-v-ad98fe7b]{color:var(--text-secondary)}.link--default[data-v-ad98fe7b]:hover{color:var(--text-primary)}.link--disabled[data-v-ad98fe7b]{color:var(--text-disabled);pointer-events:none}
@@ -0,0 +1 @@
1
+ .label[data-v-7d287ee5]{color:#41454d}.item-container[data-v-7d287ee5]{width:100%;display:flex;align-items:center;cursor:pointer;border-radius:var(--border-radius-lg);margin-bottom:.25rem;color:var(--text-primary);padding:6px 8px}.item-container--disabled[data-v-7d287ee5]{cursor:not-allowed;color:var(--text-disabled)}.item-container--disabled .item .start-icon[data-v-7d287ee5],.item-container--disabled .item .end-icon[data-v-7d287ee5],.item-container--disabled .item .end-text-icon[data-v-7d287ee5]{color:var(--text-disabled)}.item-container--disabled .item .image img[data-v-7d287ee5]{opacity:.5}.item-container[data-v-7d287ee5]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-7d287ee5],.item-container[data-v-7d287ee5]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-7d287ee5]{background-color:var(--action-selected)}.subtitle[data-v-7d287ee5]{color:#7b838c;line-height:1rem}.clear-button[data-v-7d287ee5]{display:flex;padding:0 4px;color:#7b838c;align-items:center;height:auto;background-image:none;min-width:auto;border:none;background-color:transparent}.clear-button[data-v-7d287ee5]:hover{color:#3083ff}.item[data-v-7d287ee5]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-7d287ee5],.item--multi[data-v-7d287ee5]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-7d287ee5]{width:20px;height:20px;flex:none}.item .image img[data-v-7d287ee5]{width:20px;height:20px;border-radius:4px}.item .flag[data-v-7d287ee5]{width:16px;height:16px}.item .flag img[data-v-7d287ee5]{width:16px;height:16px;border-radius:50%}.item .start-icon[data-v-7d287ee5],.item .end-icon[data-v-7d287ee5]{display:flex;color:var(--action-active)}.item .end-text-icon[data-v-7d287ee5]{display:inline-flex}.item .option-text[data-v-7d287ee5]{line-height:1.1875rem}.text-container[data-v-7d287ee5]{width:100%;text-overflow:ellipsis;overflow:hidden}.v4-tooltip.tooltip-option[data-v-7d287ee5]{display:block}.tooltip-option[data-v-7d287ee5] .container{width:100%}.app-trigger--icon[data-v-7d287ee5]{color:var(--action-active);transform:rotate(-90deg);transition:transform .2s}.app-trigger--icon.expanded[data-v-7d287ee5]{transform:rotate(0)}.option-warning[data-v-7d287ee5]{display:flex}.option-warning__icon[data-v-7d287ee5]{color:var(--warning-main)}.option-content[data-v-7d287ee5]{display:flex}.option-content[data-v-7d287ee5]:not(.option-content-vertical){gap:.5rem;align-items:center}.option-content-horizontal[data-v-7d287ee5]{justify-content:space-between;gap:.5rem}.option-content-vertical[data-v-7d287ee5]{flex-direction:column}.option-text .main-text[data-v-7d287ee5]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.option-text .main-text .conditional-option-label[data-v-7d287ee5]{color:var(--text-secondary);display:inline-flex}.option-text .main-text .conditional-option-value[data-v-7d287ee5]{margin-left:4px;display:inline-flex;color:var(--primary-main)}.option-text .caption-text[data-v-7d287ee5]{color:var(--text-secondary)}.multiline-tooltip[data-v-7d287ee5]{display:flex;flex-direction:column}
@@ -61,6 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
61
61
  endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
63
63
  default?(_: {}): any;
64
+ "after-label"?(_: {}): any;
64
65
  loader?(_: {}): any;
65
66
  }>;
66
67
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "./ButtonV4.vue2.js";
2
- /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css"; //*');
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d7948c77"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css"; //*');
4
+ const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-852be7ec"]]);
5
5
  export {
6
6
  c as default
7
7
  };
@@ -1,9 +1,9 @@
1
- import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css"; import { defineComponent as y, computed as N, openBlock as t, createElementBlock as u, normalizeClass as l, createElementVNode as m, createBlock as p, unref as a, createCommentVNode as o, createVNode as s, withCtx as r, renderSlot as i, createTextVNode as h, toDisplayString as v } from "vue";
1
+ import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css"; import { defineComponent as y, computed as N, openBlock as t, createElementBlock as u, normalizeClass as s, createElementVNode as m, createBlock as p, unref as a, createCommentVNode as o, createVNode as r, withCtx as i, renderSlot as n, createTextVNode as v, toDisplayString as h } from "vue";
2
2
  import c from "../../typography/v4/Typography.vue.js";
3
3
  import f from "../../icon/v4/IconV4.vue.js";
4
4
  import "../../icon/v4/IconFlag.vue.js";
5
5
  import z from "../../loader/v4/Loader.vue.js";
6
- const g = ["data-testid", "disabled"], b = { key: 0 }, $ = /* @__PURE__ */ y({
6
+ const b = ["data-testid", "disabled"], g = { key: 0 }, V = /* @__PURE__ */ y({
7
7
  __name: "ButtonV4",
8
8
  props: {
9
9
  variant: { default: "contained" },
@@ -19,11 +19,11 @@ const g = ["data-testid", "disabled"], b = { key: 0 }, $ = /* @__PURE__ */ y({
19
19
  endIconType: { default: "regular" }
20
20
  },
21
21
  setup(I) {
22
- const n = I, d = N(
23
- () => n.size === "small" || n.size === "medium" ? 16 : 20
22
+ const l = I, d = N(
23
+ () => l.size === "small" || l.size === "medium" ? 16 : 20
24
24
  );
25
25
  return (e, k) => (t(), u("button", {
26
- class: l([[
26
+ class: s([[
27
27
  e.size,
28
28
  e.color,
29
29
  e.variant,
@@ -33,12 +33,12 @@ const g = ["data-testid", "disabled"], b = { key: 0 }, $ = /* @__PURE__ */ y({
33
33
  "with-end-icon": !!e.endIconName
34
34
  }
35
35
  ], "button-wrap"]),
36
- "data-testid": n.testId,
36
+ "data-testid": l.testId,
37
37
  disabled: e.disabled
38
38
  }, [
39
- e.loading ? o("", !0) : (t(), u("span", b, [
39
+ e.loading ? o("", !0) : (t(), u("span", g, [
40
40
  m("div", {
41
- class: l({
41
+ class: s({
42
42
  flex: e.startIconName || e.endIconName
43
43
  })
44
44
  }, [
@@ -49,14 +49,15 @@ const g = ["data-testid", "disabled"], b = { key: 0 }, $ = /* @__PURE__ */ y({
49
49
  type: e.startIconType,
50
50
  class: "start-icon"
51
51
  }, null, 8, ["name", "size", "type"])) : o("", !0),
52
- s(a(c), { variant: "button" }, {
53
- default: r(() => [
54
- i(e.$slots, "default", {}, () => [
55
- h(v(e.content), 1)
52
+ r(a(c), { variant: "button" }, {
53
+ default: i(() => [
54
+ n(e.$slots, "default", {}, () => [
55
+ v(h(e.content), 1)
56
56
  ], !0)
57
57
  ]),
58
58
  _: 3
59
59
  }),
60
+ n(e.$slots, "after-label", {}, void 0, !0),
60
61
  e.endIconName ? (t(), p(a(f), {
61
62
  key: 1,
62
63
  name: e.endIconName,
@@ -66,15 +67,15 @@ const g = ["data-testid", "disabled"], b = { key: 0 }, $ = /* @__PURE__ */ y({
66
67
  }, null, 8, ["name", "size", "type"])) : o("", !0)
67
68
  ], 2)
68
69
  ])),
69
- e.loading ? i(e.$slots, "loader", { key: 1 }, () => [
70
- s(a(z), { "max-width": d.value }, {
71
- default: r(() => [
70
+ e.loading ? n(e.$slots, "loader", { key: 1 }, () => [
71
+ r(a(z), { "max-width": d.value }, {
72
+ default: i(() => [
72
73
  m("div", {
73
- class: l({ "content-with-icon": e.startIconName || e.endIconName })
74
+ class: s({ "content-with-icon": e.startIconName || e.endIconName })
74
75
  }, [
75
- s(a(c), { variant: "button" }, {
76
- default: r(() => [
77
- i(e.$slots, "default", {}, void 0, !0)
76
+ r(a(c), { variant: "button" }, {
77
+ default: i(() => [
78
+ n(e.$slots, "default", {}, void 0, !0)
78
79
  ]),
79
80
  _: 3
80
81
  })
@@ -83,9 +84,9 @@ const g = ["data-testid", "disabled"], b = { key: 0 }, $ = /* @__PURE__ */ y({
83
84
  _: 3
84
85
  }, 8, ["max-width"])
85
86
  ], !0) : o("", !0)
86
- ], 10, g));
87
+ ], 10, b));
87
88
  }
88
89
  });
89
90
  export {
90
- $ as default
91
+ V as default
91
92
  };
@@ -33,6 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
33
33
  rangeCurrent?: string;
34
34
  rangePrevious?: string;
35
35
  };
36
+ noteText?: string;
36
37
  noDataIcon?: string;
37
38
  noDataTitle?: string;
38
39
  noDataSubtitle?: string;
@@ -73,6 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
73
74
  trendValue: any;
74
75
  trendDirection: TrendDirection;
75
76
  trendTooltip: any;
77
+ noteText: string;
76
78
  noDataIcon: string;
77
79
  noDataTitle: string;
78
80
  noDataSubtitle: string;
@@ -124,6 +126,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
124
126
  rangeCurrent?: string;
125
127
  rangePrevious?: string;
126
128
  };
129
+ noteText?: string;
127
130
  noDataIcon?: string;
128
131
  noDataTitle?: string;
129
132
  noDataSubtitle?: string;
@@ -164,6 +167,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
164
167
  trendValue: any;
165
168
  trendDirection: TrendDirection;
166
169
  trendTooltip: any;
170
+ noteText: string;
167
171
  noDataIcon: string;
168
172
  noDataTitle: string;
169
173
  noDataSubtitle: string;
@@ -213,6 +217,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
213
217
  };
214
218
  trendValue: string | number;
215
219
  trendDirection: TrendDirection;
220
+ noteText: string;
216
221
  dataSets: ChartDataSet[];
217
222
  tickCount: number;
218
223
  truncateTickLabels: boolean;
@@ -1,7 +1,7 @@
1
1
  import o from "./Chart.vue2.js";
2
- /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css"; //*');
4
- const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-03771fa3"]]);
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css"; //*');
4
+ const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e8f25a03"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css"; import { defineComponent as O, ref as E, computed as i, openBlock as n, createElementBlock as m, Fragment as C, createBlock as x, unref as r, isRef as c, withCtx as s, renderSlot as d, createCommentVNode as I, createElementVNode as D, mergeProps as b, normalizeClass as N, createVNode as k, createSlots as M, renderList as $ } from "vue";
1
+ import "../../Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css"; import { defineComponent as O, ref as E, computed as i, openBlock as n, createElementBlock as m, Fragment as x, createBlock as C, unref as r, isRef as c, withCtx as s, renderSlot as d, createCommentVNode as I, createElementVNode as D, mergeProps as b, normalizeClass as N, createVNode as k, createSlots as M, renderList as $ } from "vue";
2
2
  import { useVModel as L } from "@vueuse/core";
3
3
  import K from "./ChartLegend.vue.js";
4
4
  import z from "./SettingsHeader.vue.js";
@@ -39,6 +39,7 @@ const ee = {
39
39
  trendValue: { default: null },
40
40
  trendDirection: { default: Q.UP },
41
41
  trendTooltip: { default: null },
42
+ noteText: { default: "" },
42
43
  noDataIcon: { default: "file-search" },
43
44
  noDataTitle: { default: "No data to display" },
44
45
  noDataSubtitle: { default: "Search again with different filters" },
@@ -67,6 +68,7 @@ const ee = {
67
68
  truncateTickLabels: e.truncateTickLabels,
68
69
  header: e.header,
69
70
  subheader: e.subheader,
71
+ noteText: e.noteText,
70
72
  loading: e.loading,
71
73
  empty: e.empty,
72
74
  noDataIcon: e.noDataIcon,
@@ -75,7 +77,7 @@ const ee = {
75
77
  withAnimation: e.withAnimation,
76
78
  typeSwitcher: !e.withSettingsHeader,
77
79
  height: U.value,
78
- compactHeader: T.value > 1,
80
+ compactHeader: v.value > 1,
79
81
  trendValue: e.trendValue,
80
82
  trendDirection: e.trendDirection,
81
83
  trendTooltip: e.trendTooltip,
@@ -89,7 +91,7 @@ const ee = {
89
91
  highlightedId: f.value,
90
92
  valueSuffix: e.valueSuffix,
91
93
  valuePrefix: e.valuePrefix
92
- })), F = i(() => e.dataSets), y = i(() => e.visibleIds), v = i(() => e.extraCharts.length), T = i(() => 1 + v.value), w = (t) => t === v.value - 1, { colorsMap: h } = R({
94
+ })), F = i(() => e.dataSets), y = i(() => e.visibleIds), T = i(() => e.extraCharts.length), v = i(() => 1 + T.value), w = (t) => t === T.value - 1, { colorsMap: h } = R({
93
95
  dataSets: F,
94
96
  visibleIds: y
95
97
  }), H = i(() => e.dataSets.map((t) => ({
@@ -100,12 +102,12 @@ const ee = {
100
102
  icon: t.icon || null,
101
103
  iconType: t.iconType || "branded"
102
104
  }))), { containerProps: P, eachPlaneHeight: U } = W({
103
- chartPlanesCount: T,
105
+ chartPlanesCount: v,
104
106
  useFullHeight: e.fullHeight,
105
107
  bottomSpacing: e.fullHeightBottomSpacing
106
108
  });
107
- return (t, l) => (n(), m(C, null, [
108
- t.withSettingsHeader ? (n(), x(z, {
109
+ return (t, l) => (n(), m(x, null, [
110
+ t.withSettingsHeader ? (n(), C(z, {
109
111
  key: 0,
110
112
  "chart-type": r(o),
111
113
  "onUpdate:chartType": l[0] || (l[0] = (a) => c(o) ? o.value = a : null),
@@ -138,7 +140,7 @@ const ee = {
138
140
  key: "0"
139
141
  } : void 0
140
142
  ]), 1040, ["chart-type"]),
141
- (n(!0), m(C, null, $(t.extraCharts, (a, S) => (n(), x(A, b({
143
+ (n(!0), m(x, null, $(t.extraCharts, (a, S) => (n(), C(A, b({
142
144
  key: S,
143
145
  class: "extra-chart-plane",
144
146
  ref_for: !0
@@ -16,6 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
16
16
  compact: boolean;
17
17
  trendValue?: string | number;
18
18
  trendDirection?: TrendDirection;
19
+ noteText?: string;
19
20
  }>, {
20
21
  chartType: ChartType;
21
22
  typeSwitcher: boolean;
@@ -26,6 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
26
27
  compact: boolean;
27
28
  trendValue: any;
28
29
  trendDirection: TrendDirection;
30
+ noteText: string;
29
31
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
32
  "update:chartType": (type: ChartType) => void;
31
33
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -45,6 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
45
47
  compact: boolean;
46
48
  trendValue?: string | number;
47
49
  trendDirection?: TrendDirection;
50
+ noteText?: string;
48
51
  }>, {
49
52
  chartType: ChartType;
50
53
  typeSwitcher: boolean;
@@ -55,6 +58,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
55
58
  compact: boolean;
56
59
  trendValue: any;
57
60
  trendDirection: TrendDirection;
61
+ noteText: string;
58
62
  }>>> & Readonly<{
59
63
  "onUpdate:chartType"?: (type: ChartType) => any;
60
64
  }>, {
@@ -74,6 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
74
78
  compact: boolean;
75
79
  trendValue: string | number;
76
80
  trendDirection: TrendDirection;
81
+ noteText: string;
77
82
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
78
83
  "subheader-tooltip"?(_: {}): any;
79
84
  }>;
@@ -1,7 +1,7 @@
1
1
  import e from "./ChartHeader.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ChartHeader.vue_vue_type_style_index_0_scoped_da34b108_lang.css"; //*');
4
- const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-da34b108"]]);
3
+ // import "../../ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css"; //*');
4
+ const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-af520313"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,13 +1,14 @@
1
- import "../../ChartHeader.vue_vue_type_style_index_0_scoped_da34b108_lang.css"; import { defineComponent as S, computed as p, openBlock as r, createElementBlock as w, normalizeClass as C, createElementVNode as s, createVNode as c, createSlots as B, withCtx as h, renderSlot as g, unref as m, createTextVNode as D, toDisplayString as N, createBlock as o, normalizeProps as f, mergeProps as y, createCommentVNode as l } from "vue";
1
+ import "../../ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css"; import { defineComponent as C, computed as c, openBlock as t, createElementBlock as S, normalizeClass as w, createElementVNode as d, createVNode as h, createSlots as B, withCtx as m, renderSlot as N, unref as n, createTextVNode as g, toDisplayString as D, createBlock as a, normalizeProps as f, mergeProps as y, createCommentVNode as o } from "vue";
2
2
  import P from "../typography/v4/Typography.vue.js";
3
3
  import H from "../switch/v4/SwitchV4.vue.js";
4
- import { ChartType as a, TrendDirection as L } from "./types.js";
4
+ import L from "../chip/v4/ChipV4.vue.js";
5
+ import { ChartType as l, TrendDirection as $ } from "./types.js";
5
6
  import T from "./ChartHeaderTrend.vue.js";
6
7
  import z from "./SubHeader.vue.js";
7
- const E = { class: "header-texts" }, U = { class: "header-row" }, G = /* @__PURE__ */ S({
8
+ const E = { class: "header-texts" }, U = { class: "header-row" }, O = { class: "header-actions" }, K = /* @__PURE__ */ C({
8
9
  __name: "ChartHeader",
9
10
  props: {
10
- chartType: { default: a.Line },
11
+ chartType: { default: l.Line },
11
12
  typeSwitcher: { type: Boolean, default: !0 },
12
13
  header: { default: "" },
13
14
  subheader: { default: "" },
@@ -15,66 +16,73 @@ const E = { class: "header-texts" }, U = { class: "header-row" }, G = /* @__PURE
15
16
  trendTooltip: { default: null },
16
17
  compact: { type: Boolean, default: !1 },
17
18
  trendValue: { default: null },
18
- trendDirection: { default: L.UP }
19
+ trendDirection: { default: $.UP },
20
+ noteText: { default: "" }
19
21
  },
20
22
  emits: ["update:chartType"],
21
23
  setup(b, { emit: v }) {
22
- const t = b, V = v, d = [
23
- { id: a.Line, icon: "chart-line-up" },
24
- { id: a.Bar, icon: "chart-bar" },
25
- { id: a.StackedLine, icon: "chart-line" }
26
- ], n = p({
24
+ const r = b, V = v, i = [
25
+ { id: l.Line, icon: "chart-line-up" },
26
+ { id: l.Bar, icon: "chart-bar" },
27
+ { id: l.StackedLine, icon: "chart-line" }
28
+ ], s = c({
27
29
  get() {
28
- return d.find(({ id: e }) => e === t.chartType);
30
+ return i.find(({ id: e }) => e === r.chartType);
29
31
  },
30
32
  set(e) {
31
33
  V("update:chartType", e.id);
32
34
  }
33
- }), i = p(() => ({
34
- value: t.trendValue,
35
- direction: t.trendDirection,
36
- trendTooltip: t.trendTooltip
35
+ }), u = c(() => ({
36
+ value: r.trendValue,
37
+ direction: r.trendDirection,
38
+ trendTooltip: r.trendTooltip
37
39
  }));
38
- return (e, u) => (r(), w("div", {
39
- class: C(["chart-header", { "chart-header--compact": e.compact }])
40
+ return (e, p) => (t(), S("div", {
41
+ class: w(["chart-header", { "chart-header--compact": e.compact }])
40
42
  }, [
41
- s("div", E, [
42
- c(z, {
43
+ d("div", E, [
44
+ h(z, {
43
45
  subheader: e.subheader,
44
46
  "subheader-tooltip": e.subheaderTooltip,
45
47
  "show-separator": e.compact && (!!e.header || !!e.trendValue)
46
48
  }, B({ _: 2 }, [
47
49
  e.$slots["subheader-tooltip"] ? {
48
50
  name: "subheader-tooltip",
49
- fn: h(() => [
50
- g(e.$slots, "subheader-tooltip", {}, void 0, !0)
51
+ fn: m(() => [
52
+ N(e.$slots, "subheader-tooltip", {}, void 0, !0)
51
53
  ]),
52
54
  key: "0"
53
55
  } : void 0
54
56
  ]), 1032, ["subheader", "subheader-tooltip", "show-separator"]),
55
- s("div", U, [
56
- c(m(P), {
57
+ d("div", U, [
58
+ h(n(P), {
57
59
  class: "header-text",
58
60
  variant: e.compact ? "h5" : "chart2"
59
61
  }, {
60
- default: h(() => [
61
- D(N(e.header), 1)
62
+ default: m(() => [
63
+ g(D(e.header), 1)
62
64
  ]),
63
65
  _: 1
64
66
  }, 8, ["variant"]),
65
- !e.compact && e.trendValue !== null ? (r(), o(T, f(y({ key: 0 }, i.value)), null, 16)) : l("", !0)
67
+ !e.compact && e.trendValue !== null ? (t(), a(T, f(y({ key: 0 }, u.value)), null, 16)) : o("", !0)
66
68
  ]),
67
- e.compact && e.trendValue !== null ? (r(), o(T, f(y({ key: 0 }, i.value)), null, 16)) : l("", !0)
69
+ e.compact && e.trendValue !== null ? (t(), a(T, f(y({ key: 0 }, u.value)), null, 16)) : o("", !0)
68
70
  ]),
69
- e.typeSwitcher ? (r(), o(m(H), {
70
- key: 0,
71
- modelValue: n.value,
72
- "onUpdate:modelValue": u[0] || (u[0] = (k) => n.value = k),
73
- options: d
74
- }, null, 8, ["modelValue"])) : l("", !0)
71
+ d("div", O, [
72
+ e.noteText ? (t(), a(n(L), {
73
+ key: 0,
74
+ label: `Note: ${e.noteText}`
75
+ }, null, 8, ["label"])) : o("", !0),
76
+ e.typeSwitcher ? (t(), a(n(H), {
77
+ key: 1,
78
+ modelValue: s.value,
79
+ "onUpdate:modelValue": p[0] || (p[0] = (k) => s.value = k),
80
+ options: i
81
+ }, null, 8, ["modelValue"])) : o("", !0)
82
+ ])
75
83
  ], 2));
76
84
  }
77
85
  });
78
86
  export {
79
- G as default
87
+ K as default
80
88
  };
@@ -27,6 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
27
27
  typeSwitcher?: boolean;
28
28
  height?: string;
29
29
  compactHeader?: boolean;
30
+ noteText?: string;
30
31
  tooltipRespectsTopEdge?: boolean;
31
32
  tooltipTotalType?: TotalType;
32
33
  tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
@@ -66,6 +67,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
66
67
  typeSwitcher: boolean;
67
68
  height: string;
68
69
  compactHeader: boolean;
70
+ noteText: string;
69
71
  tooltipRespectsTopEdge: boolean;
70
72
  tooltipTotalType: TotalType;
71
73
  tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
@@ -106,6 +108,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
106
108
  typeSwitcher?: boolean;
107
109
  height?: string;
108
110
  compactHeader?: boolean;
111
+ noteText?: string;
109
112
  tooltipRespectsTopEdge?: boolean;
110
113
  tooltipTotalType?: TotalType;
111
114
  tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
@@ -145,6 +148,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
145
148
  typeSwitcher: boolean;
146
149
  height: string;
147
150
  compactHeader: boolean;
151
+ noteText: string;
148
152
  tooltipRespectsTopEdge: boolean;
149
153
  tooltipTotalType: TotalType;
150
154
  tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
@@ -185,6 +189,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
185
189
  typeSwitcher: boolean;
186
190
  trendValue: string | number;
187
191
  trendDirection: TrendDirection;
192
+ noteText: string;
188
193
  dataSets: ChartDataSet[];
189
194
  tickCount: number;
190
195
  truncateTickLabels: boolean;
@@ -1,7 +1,7 @@
1
- import e from "./ChartPlane.vue2.js";
2
- /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ChartPlane.vue_vue_type_style_index_0_scoped_ff7e556e_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-ff7e556e"]]);
1
+ import o from "./ChartPlane.vue2.js";
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css"; //*');
4
+ const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-4f67d41d"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import "../../ChartPlane.vue_vue_type_style_index_0_scoped_ff7e556e_lang.css"; import { defineComponent as ae, useCssVars as oe, computed as o, ref as g, onMounted as le, watch as h, nextTick as re, openBlock as c, createElementBlock as k, createVNode as ie, unref as _, isRef as ne, createSlots as se, withCtx as ue, renderSlot as de, createCommentVNode as A, createElementVNode as S, normalizeStyle as ce, createBlock as L } from "vue";
1
+ import "../../ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css"; import { defineComponent as ae, useCssVars as oe, computed as o, ref as g, onMounted as le, watch as h, nextTick as re, openBlock as c, createElementBlock as k, createVNode as ie, unref as _, isRef as ne, createSlots as se, withCtx as ue, renderSlot as de, createCommentVNode as A, createElementVNode as S, normalizeStyle as ce, createBlock as x } from "vue";
2
2
  import { Chart as I, ArcElement as pe, LineElement as fe, BarElement as he, PointElement as ve, LineController as me, BarController as ye, PieController as Te, ScatterController as Ce, CategoryScale as be, LinearScale as ge, Filler as ke, Tooltip as Ae } from "chart.js";
3
3
  import { HoverVerticalLine as Se } from "./plugins/HoverVerticalLine.js";
4
- import { prepareTickLabel as Le, formatValue as xe } from "./utils/utils.js";
4
+ import { prepareTickLabel as xe, formatValue as Le } from "./utils/utils.js";
5
5
  import { DEFAULT_TICK_COUNT as Ee, TOTALS_HELPER_KEY as H, BASE_COLOR_KEY as P, CHART_PADDING as Re, POINT_BORDER_COLOR as Be, TICK_LABEL_COLOR as w, TICK_LABEL_FONT as V, TICKS_EXTRA_PADDING as De, GRID_LINE_COLOR as N, HEADER_HEIGHT as Oe, COMPACT_HEADER_HEIGHT as _e, HOVER_AREA_TRANSPARENCY as Ie, HOVER_TRANSPARENCY as v } from "./consts.js";
6
6
  import { ChartType as n, DateInterval as He, TooltipOrder as F, TrendDirection as Pe } from "./types.js";
7
7
  import { useTooltipPosition as we } from "./composables/useTooltipPosition.js";
@@ -47,6 +47,7 @@ const Ze = { class: "chart-plane-container" }, Xe = {
47
47
  typeSwitcher: { type: Boolean, default: !0 },
48
48
  height: { default: "100%" },
49
49
  compactHeader: { type: Boolean, default: !1 },
50
+ noteText: { default: "" },
50
51
  tooltipRespectsTopEdge: { type: Boolean, default: !0 },
51
52
  tooltipTotalType: { default: K.Total },
52
53
  tooltipTotalCalcFn: { type: Function, default: Ge },
@@ -62,10 +63,10 @@ const Ze = { class: "chart-plane-container" }, Xe = {
62
63
  emits: ["update:chartType"],
63
64
  setup(M, { emit: U }) {
64
65
  oe((e) => ({
65
- "2f09324f": q.value,
66
- "0d942f3a": e.height
66
+ "11153e48": q.value,
67
+ 30644433: e.height
67
68
  }));
68
- const Y = Fe(Le);
69
+ const Y = Fe(xe);
69
70
  I.register(
70
71
  pe,
71
72
  fe,
@@ -85,7 +86,7 @@ const Ze = { class: "chart-plane-container" }, Xe = {
85
86
  () => t.withAnimation ? "" : "none"
86
87
  ), f = g(null);
87
88
  let i = null;
88
- const x = o(() => t.empty || t.dataSets.length === 0), u = o(() => !t.loading && !x.value), y = () => {
89
+ const L = o(() => t.empty || t.dataSets.length === 0), u = o(() => !t.loading && !L.value), y = () => {
89
90
  f.value && (i && i.destroy(), i = new I(f.value, B.value));
90
91
  }, $ = () => {
91
92
  i && (i.data.datasets = R.value, i.options = B.value.options, i.update(G.value));
@@ -256,7 +257,7 @@ const Ze = { class: "chart-plane-container" }, Xe = {
256
257
  count: t.tickCount + 1,
257
258
  padding: 8,
258
259
  min: 0,
259
- callback: (e) => t.valuePrefix + xe(e, t.yAxisFormat) + t.valueSuffix
260
+ callback: (e) => t.valuePrefix + Le(e, t.yAxisFormat) + t.valueSuffix
260
261
  },
261
262
  // grid lines
262
263
  grid: {
@@ -309,7 +310,8 @@ const Ze = { class: "chart-plane-container" }, Xe = {
309
310
  "trend-tooltip": e.trendTooltip,
310
311
  compact: e.compactHeader,
311
312
  "trend-value": u.value ? e.trendValue : null,
312
- "trend-direction": e.trendDirection
313
+ "trend-direction": e.trendDirection,
314
+ "note-text": e.noteText
313
315
  }, se({ _: 2 }, [
314
316
  e.$slots["subheader-tooltip"] ? {
315
317
  name: "subheader-tooltip",
@@ -318,7 +320,7 @@ const Ze = { class: "chart-plane-container" }, Xe = {
318
320
  ]),
319
321
  key: "0"
320
322
  } : void 0
321
- ]), 1032, ["chart-type", "type-switcher", "header", "subheader", "subheader-tooltip", "trend-tooltip", "compact", "trend-value", "trend-direction"])
323
+ ]), 1032, ["chart-type", "type-switcher", "header", "subheader", "subheader-tooltip", "trend-tooltip", "compact", "trend-value", "trend-direction", "note-text"])
322
324
  ])) : A("", !0),
323
325
  u.value ? (c(), k("section", je, [
324
326
  S("div", qe, [
@@ -333,7 +335,7 @@ const Ze = { class: "chart-plane-container" }, Xe = {
333
335
  class: "chart__tooltip",
334
336
  style: ce(j.value)
335
337
  }, [
336
- s.value ? (c(), L(Ve, {
338
+ s.value ? (c(), x(Ve, {
337
339
  key: 0,
338
340
  "totals-chart": d.value,
339
341
  title: String(s.value.title),
@@ -348,10 +350,10 @@ const Ze = { class: "chart-plane-container" }, Xe = {
348
350
  }, null, 8, ["totals-chart", "title", "data-points", "x-axis-format", "y-axis-format", "x-axis-date-interval", "total-label", "total-value", "value-suffix", "value-prefix"])) : A("", !0)
349
351
  ], 4)
350
352
  ])
351
- ])) : e.loading ? (c(), L(Ue, {
353
+ ])) : e.loading ? (c(), x(Ue, {
352
354
  key: 2,
353
355
  class: "chart-loading"
354
- })) : x.value ? (c(), L(_(Me), {
356
+ })) : L.value ? (c(), x(_(Me), {
355
357
  key: 3,
356
358
  class: "chart-empty",
357
359
  variant: null,