@ironsource/shared-ui 2.1.11-test.41 → 2.1.11-test.44

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 (79) hide show
  1. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
  2. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8f96cf5a_lang.css +1 -0
  3. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
  4. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
  5. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
  6. package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
  7. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
  8. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
  9. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
  10. package/SortableItem.vue_vue_type_style_index_0_scoped_7cb676f1_lang.css +1 -0
  11. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
  12. package/SortableList.vue_vue_type_style_index_0_scoped_156c01ca_lang.css +1 -0
  13. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  14. package/TreeDropdown.vue_vue_type_style_index_0_scoped_a898b632_lang.css +1 -0
  15. package/Typography.vue_vue_type_style_index_0_scoped_a14013a5_lang.css +1 -0
  16. package/components/dialog/v4/DialogV4.vue.d.ts +5 -0
  17. package/components/dialog/v4/DialogV4.vue.js +3 -3
  18. package/components/dialog/v4/DialogV4.vue2.js +52 -49
  19. package/components/dialog/v4/index.d.ts +20 -1
  20. package/components/dropdown/common/Dropdown.common.js +36 -34
  21. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  22. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +55 -40
  23. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +20 -0
  24. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  25. package/components/dropdown/v4/ConditionalDropdown.vue2.js +136 -97
  26. package/components/dropdown/v4/DropdownV4.vue.d.ts +2 -0
  27. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  28. package/components/dropdown/v4/DropdownV4.vue2.js +7 -7
  29. package/components/dropdown/v4/TreeDropdown.vue.d.ts +5 -0
  30. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  31. package/components/dropdown/v4/TreeDropdown.vue2.js +165 -158
  32. package/components/dropdown/v4/index.d.ts +67 -2
  33. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  34. package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
  35. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +3 -3
  36. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +1 -1
  37. package/components/forms/FormCard.vue.js +3 -3
  38. package/components/forms/FormCard.vue2.js +1 -1
  39. package/components/sortableList/SortableItem.vue.js +3 -3
  40. package/components/sortableList/SortableItem.vue2.js +57 -56
  41. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  42. package/components/sortableList/SortableItemLabel.vue2.js +20 -23
  43. package/components/sortableList/SortableList.vue.js +3 -3
  44. package/components/sortableList/SortableList.vue2.js +82 -76
  45. package/components/table/common/Table.common.d.ts +1 -1
  46. package/components/table/common/Table.common.js +78 -70
  47. package/components/table/common/consts.d.ts +4 -0
  48. package/components/table/common/consts.js +7 -0
  49. package/components/table/v4/DataGrid.vue.d.ts +10 -5
  50. package/components/table/v4/DataGrid.vue.js +3 -3
  51. package/components/table/v4/DataGrid.vue2.js +173 -171
  52. package/components/table/v4/DataGridMenu.vue.js +5 -5
  53. package/components/table/v4/DataGridMenu.vue2.js +1 -1
  54. package/components/table/v4/index.d.ts +39 -20
  55. package/components/table-cells/common/Editable.common.js +24 -19
  56. package/components/typography/v4/Typography.vue.js +3 -3
  57. package/components/typography/v4/Typography.vue2.js +24 -18
  58. package/index.d.ts +252 -46
  59. package/index.js +1 -1
  60. package/package.json +1 -1
  61. package/style/v4/grid.css +1 -1
  62. package/style/v4/grid.css.map +1 -1
  63. package/style/v4/spacings.scss +1 -0
  64. package/testids/index.d.ts +1 -0
  65. package/testids/index.js +13 -13
  66. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css +0 -1
  67. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css +0 -1
  68. package/DataGrid.vue_vue_type_style_index_0_scoped_2406226b_lang.css +0 -1
  69. package/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
  70. package/DialogV4.vue_vue_type_style_index_0_scoped_c65df8d7_lang.css +0 -1
  71. package/DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css +0 -1
  72. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
  73. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css +0 -1
  74. package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
  75. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
  76. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
  77. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +0 -1
  78. package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +0 -1
  79. package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
@@ -2022,6 +2022,7 @@ declare const DropdownTypes: () => (({
2022
2022
  "onUpdate:isOpen"?: (value: unknown) => any;
2023
2023
  onOnsearch?: (value: string) => any;
2024
2024
  onLoadMore?: () => any;
2025
+ onUnsavedSelectionUpdate?: (value: unknown[]) => any;
2025
2026
  onOpened?: () => any;
2026
2027
  onClosed?: () => any;
2027
2028
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "multi" | "infiniteLoading" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClearSearch" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation" | "withConditions">;
@@ -2036,7 +2037,7 @@ declare const DropdownTypes: () => (({
2036
2037
  }>;
2037
2038
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
2038
2039
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
2039
- $emit: ((event: "clear") => void) & ((event: "copyToClipboard") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "allSelectedChanged", value: boolean) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "onsearch", value: string) => void) & ((event: "selectAll") => void) & ((event: "loadMore") => void) & ((event: "opened") => void) & ((event: "closed") => void);
2040
+ $emit: ((event: "clear") => void) & ((event: "copyToClipboard") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "allSelectedChanged", value: boolean) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "onsearch", value: string) => void) & ((event: "selectAll") => void) & ((event: "loadMore") => void) & ((event: "unsavedSelectionUpdate", value: unknown[]) => void) & ((event: "opened") => void) & ((event: "closed") => void);
2040
2041
  $el: any;
2041
2042
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
2042
2043
  theme: {
@@ -2290,6 +2291,7 @@ declare const DropdownTypes: () => (({
2290
2291
  "onUpdate:isOpen"?: (value: unknown) => any;
2291
2292
  onOnsearch?: (value: string) => any;
2292
2293
  onLoadMore?: () => any;
2294
+ onUnsavedSelectionUpdate?: (value: unknown[]) => any;
2293
2295
  onOpened?: () => any;
2294
2296
  onClosed?: () => any;
2295
2297
  }, {
@@ -2307,6 +2309,7 @@ declare const DropdownTypes: () => (({
2307
2309
  onsearch: (value: string) => void;
2308
2310
  loadMore: () => void;
2309
2311
  allSelectedChanged: (value: boolean) => void;
2312
+ unsavedSelectionUpdate: (value: unknown[]) => void;
2310
2313
  }, string, {
2311
2314
  theme: string;
2312
2315
  testId: string;
@@ -2636,6 +2639,7 @@ declare const DropdownTypes: () => (({
2636
2639
  "onUpdate:isOpen"?: (value: unknown) => any;
2637
2640
  onOnsearch?: (value: string) => any;
2638
2641
  onLoadMore?: () => any;
2642
+ onUnsavedSelectionUpdate?: (value: unknown[]) => any;
2639
2643
  onOpened?: () => any;
2640
2644
  onClosed?: () => any;
2641
2645
  } & import("vue").ShallowUnwrapRef<{
@@ -2897,6 +2901,7 @@ declare const DropdownTypes: () => (({
2897
2901
  "onUpdate:isOpen"?: (value: unknown) => any;
2898
2902
  onOnsearch?: (value: string) => any;
2899
2903
  onLoadMore?: () => any;
2904
+ onUnsavedSelectionUpdate?: (value: unknown[]) => any;
2900
2905
  onOpened?: () => any;
2901
2906
  onClosed?: () => any;
2902
2907
  }, {
@@ -2914,6 +2919,7 @@ declare const DropdownTypes: () => (({
2914
2919
  onsearch: (value: string) => void;
2915
2920
  loadMore: () => void;
2916
2921
  allSelectedChanged: (value: boolean) => void;
2922
+ unsavedSelectionUpdate: (value: unknown[]) => void;
2917
2923
  }, string, {
2918
2924
  theme: string;
2919
2925
  testId: string;
@@ -3125,6 +3131,7 @@ declare const DropdownTypes: () => (({
3125
3131
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3126
3132
  disabledOptionKey: string;
3127
3133
  optionEndTextIconKey: string;
3134
+ debug: boolean;
3128
3135
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
3129
3136
  testId: {
3130
3137
  type: import("vue").PropType<string>;
@@ -3209,10 +3216,15 @@ declare const DropdownTypes: () => (({
3209
3216
  type: import("vue").PropType<string[] | number[]>;
3210
3217
  required: true;
3211
3218
  };
3219
+ debug: {
3220
+ type: import("vue").PropType<boolean>;
3221
+ required: true;
3222
+ default: boolean;
3223
+ };
3212
3224
  }>> & {
3213
3225
  "onUpdate:selected"?: (value: unknown) => any;
3214
3226
  "onUpdate:isOpen"?: (value: unknown) => any;
3215
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "size" | "selected" | "valueToCopy" | "placeholder" | "inlineSearchPlaceholder" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "disabledOptionKey" | "optionEndTextIconKey">;
3227
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "size" | "selected" | "valueToCopy" | "placeholder" | "inlineSearchPlaceholder" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "disabledOptionKey" | "optionEndTextIconKey" | "debug">;
3216
3228
  $attrs: {
3217
3229
  [x: string]: unknown;
3218
3230
  };
@@ -3310,6 +3322,11 @@ declare const DropdownTypes: () => (({
3310
3322
  type: import("vue").PropType<string[] | number[]>;
3311
3323
  required: true;
3312
3324
  };
3325
+ debug: {
3326
+ type: import("vue").PropType<boolean>;
3327
+ required: true;
3328
+ default: boolean;
3329
+ };
3313
3330
  }>> & {
3314
3331
  "onUpdate:selected"?: (value: unknown) => any;
3315
3332
  "onUpdate:isOpen"?: (value: unknown) => any;
@@ -3332,6 +3349,7 @@ declare const DropdownTypes: () => (({
3332
3349
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3333
3350
  disabledOptionKey: string;
3334
3351
  optionEndTextIconKey: string;
3352
+ debug: boolean;
3335
3353
  }, {}, string> & {
3336
3354
  beforeCreate?: (() => void) | (() => void)[];
3337
3355
  created?: (() => void) | (() => void)[];
@@ -3436,6 +3454,11 @@ declare const DropdownTypes: () => (({
3436
3454
  type: import("vue").PropType<string[] | number[]>;
3437
3455
  required: true;
3438
3456
  };
3457
+ debug: {
3458
+ type: import("vue").PropType<boolean>;
3459
+ required: true;
3460
+ default: boolean;
3461
+ };
3439
3462
  }>> & {
3440
3463
  "onUpdate:selected"?: (value: unknown) => any;
3441
3464
  "onUpdate:isOpen"?: (value: unknown) => any;
@@ -3527,6 +3550,11 @@ declare const DropdownTypes: () => (({
3527
3550
  type: import("vue").PropType<string[] | number[]>;
3528
3551
  required: true;
3529
3552
  };
3553
+ debug: {
3554
+ type: import("vue").PropType<boolean>;
3555
+ required: true;
3556
+ default: boolean;
3557
+ };
3530
3558
  }>> & {
3531
3559
  "onUpdate:selected"?: (value: unknown) => any;
3532
3560
  "onUpdate:isOpen"?: (value: unknown) => any;
@@ -3549,6 +3577,7 @@ declare const DropdownTypes: () => (({
3549
3577
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3550
3578
  disabledOptionKey: string;
3551
3579
  optionEndTextIconKey: string;
3580
+ debug: boolean;
3552
3581
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
3553
3582
  $slots: {
3554
3583
  "trigger-end-icon"?(_: {}): any;
@@ -3576,6 +3605,14 @@ declare const DropdownTypes: () => (({
3576
3605
  required: true;
3577
3606
  default: string;
3578
3607
  };
3608
+ optionFlagKey: {
3609
+ type: import("vue").PropType<string>;
3610
+ default: string;
3611
+ };
3612
+ groupedOptions: {
3613
+ type: import("vue").PropType<boolean>;
3614
+ default: boolean;
3615
+ };
3579
3616
  comparingKey: {
3580
3617
  type: import("vue").PropType<string>;
3581
3618
  required: true;
@@ -3617,6 +3654,14 @@ declare const DropdownTypes: () => (({
3617
3654
  type: import("vue").PropType<() => Promise<void>>;
3618
3655
  default: any;
3619
3656
  };
3657
+ fetchDataDebounceTime: {
3658
+ type: import("vue").PropType<number>;
3659
+ default: number;
3660
+ };
3661
+ autoFocusSearch: {
3662
+ type: import("vue").PropType<boolean>;
3663
+ default: boolean;
3664
+ };
3620
3665
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3621
3666
  "update:selectedCondition": (value: {
3622
3667
  label: string;
@@ -3648,6 +3693,14 @@ declare const DropdownTypes: () => (({
3648
3693
  required: true;
3649
3694
  default: string;
3650
3695
  };
3696
+ optionFlagKey: {
3697
+ type: import("vue").PropType<string>;
3698
+ default: string;
3699
+ };
3700
+ groupedOptions: {
3701
+ type: import("vue").PropType<boolean>;
3702
+ default: boolean;
3703
+ };
3651
3704
  comparingKey: {
3652
3705
  type: import("vue").PropType<string>;
3653
3706
  required: true;
@@ -3689,6 +3742,14 @@ declare const DropdownTypes: () => (({
3689
3742
  type: import("vue").PropType<() => Promise<void>>;
3690
3743
  default: any;
3691
3744
  };
3745
+ fetchDataDebounceTime: {
3746
+ type: import("vue").PropType<number>;
3747
+ default: number;
3748
+ };
3749
+ autoFocusSearch: {
3750
+ type: import("vue").PropType<boolean>;
3751
+ default: boolean;
3752
+ };
3692
3753
  }>> & {
3693
3754
  onClear?: () => any;
3694
3755
  "onUpdate:selectedCondition"?: (value: {
@@ -3703,9 +3764,13 @@ declare const DropdownTypes: () => (({
3703
3764
  isOpen: boolean;
3704
3765
  infiniteLoading: boolean;
3705
3766
  optionNameKey: string;
3767
+ optionFlagKey: string;
3768
+ groupedOptions: boolean;
3706
3769
  comparingKey: string;
3707
3770
  minCharsToStart: number;
3708
3771
  searchQuery: string;
3709
3772
  loadMoreFn: () => Promise<void>;
3773
+ fetchDataDebounceTime: number;
3774
+ autoFocusSearch: boolean;
3710
3775
  }>)[];
3711
3776
  export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, TreeDropdown, ConditionalDropdown, };
@@ -1,7 +1,7 @@
1
1
  import t from "./EmptyStateV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-24001caa"]]);
3
+ // import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(t, [["__scopeId", "data-v-18728498"]]);
5
5
  export {
6
- p as default
6
+ s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css"; import p from "../../../_virtual/dynamic-import-helper.js";
1
+ import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css"; import p from "../../../_virtual/dynamic-import-helper.js";
2
2
  import { defineComponent as v, computed as y, defineAsyncComponent as b, openBlock as e, createElementBlock as k, createBlock as i, unref as n, createCommentVNode as a, createElementVNode as N, renderSlot as s, withCtx as c, createTextVNode as r, toDisplayString as l } from "vue";
3
3
  import I from "../../button/v4/ButtonV4.vue.js";
4
4
  import "../../button/v4/IconButtonV4.vue.js";
@@ -1,7 +1,7 @@
1
1
  import e from "./FiltersPanelV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-111b200a"]]);
3
+ // import "../../../FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-383011d3"]]);
5
5
  export {
6
- a as default
6
+ p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css"; import { defineComponent as d, openBlock as t, createElementBlock as s, Fragment as a, renderList as i, renderSlot as l, normalizeProps as c, guardReactiveProps as u } from "vue";
1
+ import "../../../FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css"; import { defineComponent as d, openBlock as t, createElementBlock as s, Fragment as a, renderList as i, renderSlot as l, normalizeProps as c, guardReactiveProps as u } from "vue";
2
2
  const p = { class: "filters-panel" }, m = ["data-testid"], v = /* @__PURE__ */ d({
3
3
  __name: "FiltersPanelV4",
4
4
  props: {
@@ -1,7 +1,7 @@
1
1
  import o from "./FormCard.vue2.js";
2
- /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css"; //*');
4
- const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-c7965a69"]]);
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-86feae7b"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css"; import { defineComponent as B, openBlock as d, createElementBlock as c, createElementVNode as f, mergeProps as n, unref as e, renderSlot as m, createVNode as a, withCtx as u, createTextVNode as g, toDisplayString as v, createBlock as T, createCommentVNode as C } from "vue";
1
+ import "../../FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css"; import { defineComponent as B, openBlock as d, createElementBlock as c, createElementVNode as f, mergeProps as n, unref as e, renderSlot as m, createVNode as a, withCtx as u, createTextVNode as g, toDisplayString as v, createBlock as T, createCommentVNode as C } from "vue";
2
2
  import b from "../typography/v4/Typography.vue.js";
3
3
  import k from "../button/v4/ButtonV4.vue.js";
4
4
  import "../button/v4/IconButtonV4.vue.js";
@@ -1,7 +1,7 @@
1
1
  import o from "./SortableItem.vue2.js";
2
2
  /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9dd4d372"]]);
3
+ // import "../../SortableItem.vue_vue_type_style_index_0_scoped_7cb676f1_lang.css"; //*');
4
+ const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-7cb676f1"]]);
5
5
  export {
6
- s as default
6
+ c as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import "../../SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css"; import { defineComponent as P, computed as x, watch as E, ref as $, openBlock as o, createElementBlock as a, normalizeClass as f, unref as e, withModifiers as c, createElementVNode as r, createVNode as h, createBlock as s, withCtx as b, createTextVNode as w, toDisplayString as F, createCommentVNode as u, renderSlot as z, mergeProps as S, normalizeProps as I, Fragment as R, renderList as D } from "vue";
1
+ import "../../SortableItem.vue_vue_type_style_index_0_scoped_7cb676f1_lang.css"; import { defineComponent as P, useSlots as E, computed as x, watch as $, ref as I, openBlock as l, createElementBlock as i, normalizeClass as f, unref as e, withModifiers as u, createElementVNode as a, createVNode as h, createBlock as r, withCtx as b, createTextVNode as S, toDisplayString as w, createCommentVNode as d, renderSlot as R, mergeProps as F, normalizeProps as D, Fragment as j, renderList as q } from "vue";
2
2
  import V from "../typography/v4/Typography.vue.js";
3
3
  import m from "../icon/v4/IconV4.vue.js";
4
4
  import L from "../icon/v4/IconFlag.vue.js";
5
- import j from "./SortableItemLabel.vue.js";
6
- import { useVirtualList as q } from "@vueuse/core";
7
- import { matchString as A } from "../../utils/search.js";
8
- import { useHoverEffect as G } from "./composables/useHoverEffect.js";
9
- const J = { class: "draggable-handle" }, K = { class: "item__prefix" }, U = ["onClick"], W = { class: "item__text" }, X = ["onClick"], re = /* @__PURE__ */ P({
5
+ import A from "./SortableItemLabel.vue.js";
6
+ import { useVirtualList as G } from "@vueuse/core";
7
+ import { matchString as J } from "../../utils/search.js";
8
+ import { useHoverEffect as K } from "./composables/useHoverEffect.js";
9
+ const U = { class: "draggable-handle" }, W = { class: "item__prefix" }, X = ["onClick"], Y = { class: "item__text" }, Z = ["onClick"], ae = /* @__PURE__ */ P({
10
10
  __name: "SortableItem",
11
11
  props: {
12
12
  item: null,
@@ -20,121 +20,122 @@ const J = { class: "draggable-handle" }, K = { class: "item__prefix" }, U = ["on
20
20
  },
21
21
  emits: ["toggle", "select", "selectChild"],
22
22
  setup(t, { emit: y }) {
23
- const n = t, Q = () => {
23
+ const n = t, Q = E(), B = () => {
24
24
  y("toggle", !n.isOpen);
25
25
  }, g = x(() => (n.item.children || []).filter(
26
- (l) => n.searchHandler ? n.searchHandler(l, n.searchQuery) : A(l.displayText, n.searchQuery)
27
- )), p = x(() => g.value.length > 0), B = (d) => d.id === n.selectedChildId, {
28
- list: H,
29
- containerProps: M,
30
- wrapperProps: T,
26
+ (o) => n.searchHandler ? n.searchHandler(o, n.searchQuery) : J(o.displayText, n.searchQuery)
27
+ )), k = x(() => g.value.length > 0), H = (c) => c.id === n.selectedChildId, {
28
+ list: M,
29
+ containerProps: T,
30
+ wrapperProps: z,
31
31
  scrollTo: N
32
- } = q(g, {
32
+ } = G(g, {
33
33
  itemHeight: 34
34
34
  });
35
- E(
35
+ $(
36
36
  () => n.searchQuery,
37
37
  () => N(0)
38
38
  );
39
- const k = $(null), { handleMouseout: v, handleMouseover: C } = G(
40
- k,
39
+ const p = I(null), { handleMouseout: v, handleMouseover: C } = K(
40
+ p,
41
41
  "sortable-item--hovered"
42
42
  );
43
- return (d, l) => (o(), a("div", {
43
+ return (c, o) => (l(), i("div", {
44
44
  ref_key: "itemRef",
45
- ref: k,
45
+ ref: p,
46
46
  class: f(["sortable-item", { "sortable-item--selected": t.isSelected }]),
47
- onMouseover: l[1] || (l[1] = //@ts-ignore
48
- (...i) => e(C) && e(C)(...i)),
49
- onMouseout: l[2] || (l[2] = //@ts-ignore
50
- (...i) => e(v) && e(v)(...i)),
51
- onClick: l[3] || (l[3] = c((i) => y("select"), ["stop"]))
47
+ onMouseover: o[1] || (o[1] = //@ts-ignore
48
+ (...s) => e(C) && e(C)(...s)),
49
+ onMouseout: o[2] || (o[2] = //@ts-ignore
50
+ (...s) => e(v) && e(v)(...s)),
51
+ onClick: o[3] || (o[3] = u((s) => y("select"), ["stop"]))
52
52
  }, [
53
- r("div", {
53
+ a("div", {
54
54
  class: f(["item", { "drag-allowed": !t.item.isLocked && !t.searchQuery }])
55
55
  }, [
56
- r("div", J, [
56
+ a("div", U, [
57
57
  h(e(m), {
58
58
  name: "dots-six-vertical",
59
59
  width: "20px",
60
60
  type: "bold"
61
61
  })
62
62
  ]),
63
- r("div", K, [
64
- t.item.isLocked ? (o(), s(e(m), {
63
+ a("div", W, [
64
+ t.item.isLocked ? (l(), r(e(m), {
65
65
  key: 1,
66
66
  class: "locked-icon",
67
67
  name: "lock",
68
68
  width: "16px"
69
- })) : (o(), s(e(V), {
69
+ })) : (l(), r(e(V), {
70
70
  key: 0,
71
71
  class: "order-num",
72
72
  variant: "subtitle2"
73
73
  }, {
74
74
  default: b(() => [
75
- w(F(t.index + 1) + ". ", 1)
75
+ S(w(t.index + 1) + ". ", 1)
76
76
  ]),
77
77
  _: 1
78
78
  }))
79
79
  ]),
80
- e(p) && !t.searchQuery ? (o(), a("div", {
80
+ e(k) && !t.searchQuery ? (l(), i("div", {
81
81
  key: 0,
82
82
  class: "expand-icon",
83
- onClick: c(Q, ["stop"])
83
+ onClick: u(B, ["stop"])
84
84
  }, [
85
- t.isOpen ? (o(), s(e(m), {
85
+ t.isOpen ? (l(), r(e(m), {
86
86
  key: 0,
87
87
  name: "caret-down",
88
- width: "16px"
89
- })) : (o(), s(e(m), {
88
+ size: "16px"
89
+ })) : (l(), r(e(m), {
90
90
  key: 1,
91
91
  name: "caret-right",
92
- width: "16px"
92
+ size: "16px"
93
93
  }))
94
- ], 8, U)) : u("", !0),
95
- r("div", W, [
96
- t.item.countryFlag ? (o(), s(e(L), {
94
+ ], 8, X)) : d("", !0),
95
+ a("div", Y, [
96
+ t.item.countryFlag ? (l(), r(e(L), {
97
97
  key: 0,
98
98
  class: "country-flag",
99
99
  "country-code": t.item.countryFlag
100
- }, null, 8, ["country-code"])) : u("", !0),
101
- h(j, {
100
+ }, null, 8, ["country-code"])) : d("", !0),
101
+ h(A, {
102
102
  "display-value": t.displayValue,
103
103
  item: t.item
104
104
  }, null, 8, ["display-value", "item"])
105
105
  ]),
106
- r("div", {
106
+ e(Q).menu ? (l(), i("div", {
107
+ key: 1,
107
108
  class: "item__menu",
108
- onClick: l[0] || (l[0] = c(() => {
109
+ onClick: o[0] || (o[0] = u(() => {
109
110
  }, ["stop"]))
110
111
  }, [
111
- z(d.$slots, "menu", {}, void 0, !0)
112
- ])
112
+ R(c.$slots, "menu", {}, void 0, !0)
113
+ ])) : d("", !0)
113
114
  ], 2),
114
- r("div", S(e(M), { class: "child-list" }), [
115
- e(p) && t.isOpen ? (o(), a("ul", I(S({ key: 0 }, e(T))), [
116
- (o(!0), a(R, null, D(e(H), ({ data: i, index: O }) => (o(), a("li", {
115
+ a("div", F(e(T), { class: "child-list" }), [
116
+ e(k) && t.isOpen ? (l(), i("ul", D(F({ key: 0 }, e(z))), [
117
+ (l(!0), i(j, null, q(e(M), ({ data: s, index: O }) => (l(), i("li", {
117
118
  key: O,
118
- class: f({ selected: B(i) }),
119
- onClick: c((Y) => y("selectChild", i), ["stop"])
119
+ class: f({ selected: H(s) }),
120
+ onClick: u((_) => y("selectChild", s), ["stop"])
120
121
  }, [
121
- i.countryFlag ? (o(), s(e(L), {
122
+ s.countryFlag ? (l(), r(e(L), {
122
123
  key: 0,
123
124
  class: "country-flag",
124
- "country-code": i.countryFlag
125
- }, null, 8, ["country-code"])) : u("", !0),
125
+ "country-code": s.countryFlag
126
+ }, null, 8, ["country-code"])) : d("", !0),
126
127
  h(e(V), { variant: "body2" }, {
127
128
  default: b(() => [
128
- w(F(t.displayValue(i)), 1)
129
+ S(w(t.displayValue(s)), 1)
129
130
  ]),
130
131
  _: 2
131
132
  }, 1024)
132
- ], 10, X))), 128))
133
- ], 16)) : u("", !0)
133
+ ], 10, Z))), 128))
134
+ ], 16)) : d("", !0)
134
135
  ], 16)
135
136
  ], 34));
136
137
  }
137
138
  });
138
139
  export {
139
- re as default
140
+ ae as default
140
141
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./SortableItemLabel.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-1386ae20"]]);
3
+ // import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f2ced2f4"]]);
5
5
  export {
6
- s as default
6
+ a as default
7
7
  };
@@ -1,30 +1,30 @@
1
- import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css"; import { defineComponent as m, openBlock as a, createBlock as u, unref as l, withCtx as t, createElementVNode as p, createElementBlock as c, Fragment as h, renderList as f, createVNode as i, createTextVNode as o, toDisplayString as r, normalizeClass as x } from "vue";
1
+ import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css"; import { defineComponent as m, openBlock as a, createBlock as p, unref as l, withCtx as e, createElementVNode as u, createElementBlock as d, Fragment as f, renderList as h, createVNode as i, createTextVNode as o, toDisplayString as r } from "vue";
2
2
  import n from "../typography/v4/Typography.vue.js";
3
- import y from "../tooltip/v4/TooltipV4.vue.js";
4
- const _ = { class: "tooltip-content" }, k = /* @__PURE__ */ m({
3
+ import _ from "../tooltip/v4/TooltipV4.vue.js";
4
+ const x = { class: "tooltip-content" }, g = /* @__PURE__ */ m({
5
5
  __name: "SortableItemLabel",
6
6
  props: {
7
7
  item: null,
8
8
  displayValue: null
9
9
  },
10
- setup(e) {
11
- return (b, T) => (a(), u(l(y), {
10
+ setup(t) {
11
+ return (y, b) => (a(), p(l(_), {
12
12
  class: "item-label",
13
13
  placement: "right",
14
- disabled: !e.item.helpText
14
+ disabled: !t.item.helpText
15
15
  }, {
16
- tooltip: t(() => [
17
- p("div", _, [
18
- (a(!0), c(h, null, f(e.item.helpText, (s, d) => (a(), c("div", {
19
- key: d,
16
+ tooltip: e(() => [
17
+ u("div", x, [
18
+ (a(!0), d(f, null, h(t.item.helpText, (c, s) => (a(), d("div", {
19
+ key: s,
20
20
  class: "help"
21
21
  }, [
22
22
  i(l(n), {
23
23
  class: "help__title",
24
24
  variant: "h5"
25
25
  }, {
26
- default: t(() => [
27
- o(r(s.title), 1)
26
+ default: e(() => [
27
+ o(r(c.title), 1)
28
28
  ]),
29
29
  _: 2
30
30
  }, 1024),
@@ -32,29 +32,26 @@ const _ = { class: "tooltip-content" }, k = /* @__PURE__ */ m({
32
32
  class: "help__text",
33
33
  variant: "body2"
34
34
  }, {
35
- default: t(() => [
36
- o(r(s.text), 1)
35
+ default: e(() => [
36
+ o(r(c.text), 1)
37
37
  ]),
38
38
  _: 2
39
39
  }, 1024)
40
40
  ]))), 128))
41
41
  ])
42
42
  ]),
43
- default: t(() => [
44
- i(l(n), {
45
- variant: "body2",
46
- class: x({ "decorated-text": e.item.helpText?.length })
47
- }, {
48
- default: t(() => [
49
- o(r(e.displayValue(e.item)), 1)
43
+ default: e(() => [
44
+ i(l(n), { variant: "body2" }, {
45
+ default: e(() => [
46
+ o(r(t.displayValue(t.item)), 1)
50
47
  ]),
51
48
  _: 1
52
- }, 8, ["class"])
49
+ })
53
50
  ]),
54
51
  _: 1
55
52
  }, 8, ["disabled"]));
56
53
  }
57
54
  });
58
55
  export {
59
- k as default
56
+ g as default
60
57
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./SortableList.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css"; //*');
4
- const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e9cd63b8"]]);
2
+ /* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../SortableList.vue_vue_type_style_index_0_scoped_156c01ca_lang.css"; //*');
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-156c01ca"]]);
5
5
  export {
6
6
  c as default
7
7
  };