@useinsider/guido 3.17.0-beta.3e9d6e7 → 3.17.0-beta.3ff6ea0

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 (111) hide show
  1. package/README.md +0 -1
  2. package/dist/@types/config/schemas.js +6 -12
  3. package/dist/components/Guido.vue.js +6 -6
  4. package/dist/components/Guido.vue2.js +61 -63
  5. package/dist/composables/useCustomInterfaceAppearance.js +16 -19
  6. package/dist/composables/useRecommendation.js +34 -41
  7. package/dist/composables/useStripo.js +14 -14
  8. package/dist/config/migrator/index.js +9 -8
  9. package/dist/config/migrator/recommendation/compositionMapper.js +20 -20
  10. package/dist/config/migrator/recommendation/extractors.js +29 -24
  11. package/dist/config/migrator/recommendation/htmlBuilder.js +116 -130
  12. package/dist/config/migrator/recommendationMigrator.js +16 -15
  13. package/dist/config/migrator/recommendationTitleMigrator.js +119 -0
  14. package/dist/enums/date.js +3 -4
  15. package/dist/enums/extensions/recommendationBlock.js +23 -25
  16. package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +1 -1
  17. package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +1 -1
  18. package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +20 -21
  19. package/dist/extensions/Blocks/Recommendation/constants/selectors.js +34 -28
  20. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +306 -238
  21. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +95 -122
  22. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +1 -0
  23. package/dist/extensions/Blocks/Recommendation/controls/title/index.js +44 -0
  24. package/dist/extensions/Blocks/Recommendation/extension.js +31 -29
  25. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +23 -4
  26. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +53 -199
  27. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +3 -3
  28. package/dist/extensions/Blocks/Recommendation/templates/titleRows.js +33 -0
  29. package/dist/extensions/Blocks/Recommendation/templates/utils.js +85 -107
  30. package/dist/extensions/Blocks/common-control.js +19 -22
  31. package/dist/guido.css +1 -1
  32. package/dist/services/recommendationApi.js +28 -77
  33. package/dist/src/@types/config/schemas.d.ts +0 -12
  34. package/dist/src/composables/useConfig.d.ts +0 -2
  35. package/dist/src/composables/useRecommendation.d.ts +0 -1
  36. package/dist/src/config/migrator/recommendation/extractors.d.ts +8 -0
  37. package/dist/src/config/migrator/recommendationTitleMigrator.d.ts +5 -0
  38. package/dist/src/enums/extensions/recommendationBlock.d.ts +0 -2
  39. package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +2 -1
  40. package/dist/src/extensions/Blocks/Recommendation/constants/controlIds.d.ts +7 -0
  41. package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +1 -0
  42. package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
  43. package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +10 -0
  44. package/dist/src/extensions/Blocks/Recommendation/controls/cardComposition/index.d.ts +10 -0
  45. package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +1 -0
  46. package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +3 -12
  47. package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +1 -0
  48. package/dist/src/extensions/Blocks/Recommendation/controls/title/index.d.ts +86 -0
  49. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +10 -210
  50. package/dist/src/extensions/Blocks/Recommendation/templates/titleRows.d.ts +13 -0
  51. package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +0 -6
  52. package/dist/src/extensions/Blocks/common-control.d.ts +1 -4
  53. package/dist/src/services/recommendationApi.d.ts +1 -4
  54. package/dist/src/stores/config.d.ts +0 -18
  55. package/dist/static/styles/customEditorStyle.css.js +3 -1
  56. package/dist/utils/dateUtil.js +10 -23
  57. package/dist/utils/templatePreparation.js +34 -37
  58. package/package.json +1 -2
  59. package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +0 -18
  60. package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +0 -67
  61. package/dist/components/organisms/extensions/recommendation/StrategyInfoBox.vue.js +0 -20
  62. package/dist/components/organisms/extensions/recommendation/StrategyInfoBox.vue2.js +0 -55
  63. package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +0 -132
  64. package/dist/node_modules/@useinsider/design-system-organisms/dist/index-Dc9AygoZ.js +0 -526
  65. package/dist/node_modules/@useinsider/design-system-organisms/dist/index.js +0 -9345
  66. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InAccordion.js +0 -174
  67. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBasicTextInput.js +0 -381
  68. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBox.js +0 -236
  69. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBulkActions.js +0 -70
  70. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InButton.js +0 -350
  71. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InButtonV2.js +0 -371
  72. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InCheckBox.js +0 -152
  73. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InChips.js +0 -141
  74. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InCustomDropDown.js +0 -1047
  75. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDataTableV2.js +0 -96050
  76. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDatePicker.js +0 -2042
  77. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDrawer.js +0 -166
  78. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDropDown.js +0 -1098
  79. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InIcons.js +0 -55
  80. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InInfoBox.js +0 -265
  81. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InLinks.js +0 -184
  82. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InLoading.js +0 -50
  83. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InModals.js +0 -453
  84. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InNoData.js +0 -145
  85. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InOnPageMessage.js +0 -176
  86. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InProgress.js +0 -266
  87. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InRadioButton.js +0 -114
  88. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSegments.js +0 -200
  89. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSelect.js +0 -451
  90. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSkeleton.js +0 -49
  91. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InStatusText.js +0 -119
  92. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTabs.js +0 -4309
  93. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTagsText.js +0 -129
  94. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTextInput.js +0 -503
  95. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InToasts.js +0 -253
  96. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InToggle.js +0 -107
  97. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTooltip.js +0 -134
  98. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTooltipV2.js +0 -464
  99. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/_commonjsHelpers.BItOPCY9.js +0 -28
  100. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/_plugin-vue2_normalizer.WQT2Fc8L.js +0 -23
  101. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/clickOutside.qP9M0QCm.js +0 -29
  102. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/helpers.CgHNyjAJ.js +0 -109
  103. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/index.Bw_06igr.js +0 -2339
  104. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/localLocalesMixin.DYMhydo2.js +0 -16
  105. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/useLocalLocales.Ckuhy7d-.js +0 -17
  106. package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/vue-property-decorator.BtlM7Epa.js +0 -188
  107. package/dist/src/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.d.ts +0 -3
  108. package/dist/src/components/organisms/extensions/recommendation/StrategyInfoBox.vue.d.ts +0 -24
  109. package/dist/src/extensions/Blocks/Recommendation/controls/main/strategy.d.ts +0 -37
  110. package/dist/src/mock/api/recommendation-strategies.d.ts +0 -43
  111. package/dist/static/styles/components/recommendation-strategy.css.js +0 -171
@@ -1,1047 +0,0 @@
1
- import { o as l, n as u, l as $, q as O, h as S } from "./chunks/helpers.CgHNyjAJ.js";
2
- import { InButtonV2 as L } from "./InButtonV2.js";
3
- import { InTextInput as D } from "./InTextInput.js";
4
- import { InCheckBox as T } from "./InCheckBox.js";
5
- import { InBox as W } from "./InBox.js";
6
- import { InSkeleton as P } from "./InSkeleton.js";
7
- import { c as A } from "./chunks/clickOutside.qP9M0QCm.js";
8
- import { InIcons as N } from "./InIcons.js";
9
- import { InTooltip as B } from "./InTooltip.js";
10
- import { n as z } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
11
- /* empty css */
12
- const F = "_in-dropdown-wrapper_v01428_xv4uP", q = "_in-dropdown-wrapper_invalid_v01428_ZzwQK", R = "_in-dropdown-wrapper__input_v01428_XQpA-", U = "_in-dropdown-wrapper_warning_v01428_-MpOp", E = "_in-dropdown-wrapper__error-message_v01428_hiZfU", H = "_in-dropdown-wrapper__warning-message_v01428_yoig-", M = "_in-dropdown-wrapper__label_v01428_CuzJ2", Z = "_in-dropdown-wrapper__label_disable_v01428_QK15F", K = "_in-dropdown-wrapper__label__tooltip_v01428_0xgyK", X = "_in-dropdown-wrapper__input-tags_v01428_SYZHS", j = "_in-dropdown-wrapper__placeholder_v01428_Sn9KU", Y = "_in-dropdown-wrapper__input-white_v01428_b6t0e", J = "_in-dropdown-wrapper__item-list_v01428_4WJnZ", Q = "_in-dropdown-wrapper__item-list_selected_v01428_CdmYd", V = "_in-dropdown-wrapper__item-list-title_v01428_AB4CI", G = "_in-dropdown-wrapper__item-list_disabled_v01428_wIxF0", tt = "_in-dropdown-wrapper__item-list_checkbox_v01428_XgkwR", et = "_in-dropdown-wrapper__item-list-child_v01428_DJIvR", it = "_in-dropdown-wrapper__item-list-wrapper_v01428_9rWIt", ot = "_in-dropdown-wrapper__no-search-result_v01428_yDtW8", nt = "_in-dropdown-wrapper__item-list-wrapper_top_v01428_BOsgg", rt = "_in-dropdown-wrapper__item-list-wrapper_right_v01428_f8trd", st = "_in-dropdown-wrapper__item-list-wrapper_left_v01428_asCNm", pt = "_in-dropdown-wrapper__item-list-wrapper_bottom_v01428_jJuri", at = "_in-dropdown-wrapper__item-list-wrapper-tag-status_v01428_ncdeD", lt = "_in-dropdown-wrapper__text-type_v01428_MUahl", ct = "_in-dropdown-wrapper__black-item-list_v01428_7x5YI", dt = "_child-option_v01428_5nd3p", _t = "_option_v01428_HlIys", wt = "_option_active_v01428_W8dCS", ut = "_option_active_v01428_W8dCS", ht = "_option_category-dropdown_v01428_WmXAZ", mt = "_option_active-child_v01428_1CvCb", yt = "_create-new-option_v01428_AxeUw", vt = "_chevron-icon_v01428_s--ds", ft = "_update-icon_v01428_9najH", gt = "_category-wrapper_v01428_GtzFw", Ct = "_category-icon-wrapper_v01428_g8tOd", bt = "_category-icon-options_v01428_pnIVM", xt = "_in-custom-dropdown-wrapper_v01428_9m20m", It = "_category-dropdown_v01428_-PsXW", kt = "_category-options_v01428_ccUqQ", $t = "_in-custom-dropdown-wrapper_full-width_v01428_e-s6A", Ot = "_in-custom-icon-dropdown-wrapper__item-list_v01428_KmaGd", St = "_in-custom-dropdown-wrapper--disabled_v01428_YT8H3", Lt = "_in-custom-dropdown-wrapper__open-list-button_v01428_pLtZB", Dt = "_no-hover-effect_v01428_hPzCF", Tt = "_in-custom-icon-dropdown-wrapper_v01428_gcLtX", Wt = "_non-border_v01428_iwZAS", Pt = {
13
- "in-dropdown-wrapper": "_in-dropdown-wrapper_v01428_xv4uP",
14
- inDropdownWrapper: F,
15
- "in-dropdown-wrapper_invalid": "_in-dropdown-wrapper_invalid_v01428_ZzwQK",
16
- inDropdownWrapperInvalid: q,
17
- "in-dropdown-wrapper__input": "_in-dropdown-wrapper__input_v01428_XQpA-",
18
- inDropdownWrapperInput: R,
19
- "in-dropdown-wrapper_warning": "_in-dropdown-wrapper_warning_v01428_-MpOp",
20
- inDropdownWrapperWarning: U,
21
- "in-dropdown-wrapper__error-message": "_in-dropdown-wrapper__error-message_v01428_hiZfU",
22
- inDropdownWrapperErrorMessage: E,
23
- "in-dropdown-wrapper__warning-message": "_in-dropdown-wrapper__warning-message_v01428_yoig-",
24
- inDropdownWrapperWarningMessage: H,
25
- "in-dropdown-wrapper__label": "_in-dropdown-wrapper__label_v01428_CuzJ2",
26
- inDropdownWrapperLabel: M,
27
- "in-dropdown-wrapper__label_disable": "_in-dropdown-wrapper__label_disable_v01428_QK15F",
28
- inDropdownWrapperLabelDisable: Z,
29
- "in-dropdown-wrapper__label__tooltip": "_in-dropdown-wrapper__label__tooltip_v01428_0xgyK",
30
- inDropdownWrapperLabelTooltip: K,
31
- "in-dropdown-wrapper__input-tags": "_in-dropdown-wrapper__input-tags_v01428_SYZHS",
32
- inDropdownWrapperInputTags: X,
33
- "in-dropdown-wrapper__placeholder": "_in-dropdown-wrapper__placeholder_v01428_Sn9KU",
34
- inDropdownWrapperPlaceholder: j,
35
- "in-dropdown-wrapper__input-white": "_in-dropdown-wrapper__input-white_v01428_b6t0e",
36
- inDropdownWrapperInputWhite: Y,
37
- "in-dropdown-wrapper__item-list": "_in-dropdown-wrapper__item-list_v01428_4WJnZ",
38
- inDropdownWrapperItemList: J,
39
- "in-dropdown-wrapper__item-list_selected": "_in-dropdown-wrapper__item-list_selected_v01428_CdmYd",
40
- inDropdownWrapperItemListSelected: Q,
41
- "in-dropdown-wrapper__item-list-title": "_in-dropdown-wrapper__item-list-title_v01428_AB4CI",
42
- inDropdownWrapperItemListTitle: V,
43
- "in-dropdown-wrapper__item-list_disabled": "_in-dropdown-wrapper__item-list_disabled_v01428_wIxF0",
44
- inDropdownWrapperItemListDisabled: G,
45
- "in-dropdown-wrapper__item-list_checkbox": "_in-dropdown-wrapper__item-list_checkbox_v01428_XgkwR",
46
- inDropdownWrapperItemListCheckbox: tt,
47
- "in-dropdown-wrapper__item-list-child": "_in-dropdown-wrapper__item-list-child_v01428_DJIvR",
48
- inDropdownWrapperItemListChild: et,
49
- "in-dropdown-wrapper__item-list-wrapper": "_in-dropdown-wrapper__item-list-wrapper_v01428_9rWIt",
50
- inDropdownWrapperItemListWrapper: it,
51
- "in-dropdown-wrapper__no-search-result": "_in-dropdown-wrapper__no-search-result_v01428_yDtW8",
52
- inDropdownWrapperNoSearchResult: ot,
53
- "in-dropdown-wrapper__item-list-wrapper_top": "_in-dropdown-wrapper__item-list-wrapper_top_v01428_BOsgg",
54
- inDropdownWrapperItemListWrapperTop: nt,
55
- "in-dropdown-wrapper__item-list-wrapper_right": "_in-dropdown-wrapper__item-list-wrapper_right_v01428_f8trd",
56
- inDropdownWrapperItemListWrapperRight: rt,
57
- "in-dropdown-wrapper__item-list-wrapper_left": "_in-dropdown-wrapper__item-list-wrapper_left_v01428_asCNm",
58
- inDropdownWrapperItemListWrapperLeft: st,
59
- "in-dropdown-wrapper__item-list-wrapper_bottom": "_in-dropdown-wrapper__item-list-wrapper_bottom_v01428_jJuri",
60
- inDropdownWrapperItemListWrapperBottom: pt,
61
- "in-dropdown-wrapper__item-list-wrapper-tag-status": "_in-dropdown-wrapper__item-list-wrapper-tag-status_v01428_ncdeD",
62
- inDropdownWrapperItemListWrapperTagStatus: at,
63
- "in-dropdown-wrapper__text-type": "_in-dropdown-wrapper__text-type_v01428_MUahl",
64
- inDropdownWrapperTextType: lt,
65
- "in-dropdown-wrapper__black-item-list": "_in-dropdown-wrapper__black-item-list_v01428_7x5YI",
66
- inDropdownWrapperBlackItemList: ct,
67
- "child-option": "_child-option_v01428_5nd3p",
68
- childOption: dt,
69
- option: _t,
70
- option_active: wt,
71
- optionActive: ut,
72
- "option_category-dropdown": "_option_category-dropdown_v01428_WmXAZ",
73
- optionCategoryDropdown: ht,
74
- "option_active-child": "_option_active-child_v01428_1CvCb",
75
- optionActiveChild: mt,
76
- "create-new-option": "_create-new-option_v01428_AxeUw",
77
- createNewOption: yt,
78
- "chevron-icon": "_chevron-icon_v01428_s--ds",
79
- chevronIcon: vt,
80
- "update-icon": "_update-icon_v01428_9najH",
81
- updateIcon: ft,
82
- "category-wrapper": "_category-wrapper_v01428_GtzFw",
83
- categoryWrapper: gt,
84
- "category-icon-wrapper": "_category-icon-wrapper_v01428_g8tOd",
85
- categoryIconWrapper: Ct,
86
- "category-icon-options": "_category-icon-options_v01428_pnIVM",
87
- categoryIconOptions: bt,
88
- "in-custom-dropdown-wrapper": "_in-custom-dropdown-wrapper_v01428_9m20m",
89
- inCustomDropdownWrapper: xt,
90
- "category-dropdown": "_category-dropdown_v01428_-PsXW",
91
- categoryDropdown: It,
92
- "category-options": "_category-options_v01428_ccUqQ",
93
- categoryOptions: kt,
94
- "in-custom-dropdown-wrapper_full-width": "_in-custom-dropdown-wrapper_full-width_v01428_e-s6A",
95
- inCustomDropdownWrapperFullWidth: $t,
96
- "in-custom-icon-dropdown-wrapper__item-list": "_in-custom-icon-dropdown-wrapper__item-list_v01428_KmaGd",
97
- inCustomIconDropdownWrapperItemList: Ot,
98
- "in-custom-dropdown-wrapper--disabled": "_in-custom-dropdown-wrapper--disabled_v01428_YT8H3",
99
- inCustomDropdownWrapperDisabled: St,
100
- "in-custom-dropdown-wrapper__open-list-button": "_in-custom-dropdown-wrapper__open-list-button_v01428_pLtZB",
101
- inCustomDropdownWrapperOpenListButton: Lt,
102
- "no-hover-effect": "_no-hover-effect_v01428_hPzCF",
103
- noHoverEffect: Dt,
104
- "in-custom-icon-dropdown-wrapper": "_in-custom-icon-dropdown-wrapper_v01428_gcLtX",
105
- inCustomIconDropdownWrapper: Tt,
106
- "non-border": "_non-border_v01428_iwZAS",
107
- nonBorder: Wt
108
- }, At = "category", Nt = "categoryWithIcon", v = "icon", f = "checkbox", g = "link", C = "text", h = [38, 40], Bt = ".router-view", m = [
109
- g,
110
- f,
111
- C,
112
- v
113
- ], _ = "auto", c = "top", d = "bottom", zt = [c, d], Ft = {
114
- [c]: d,
115
- [d]: c
116
- }, qt = [
117
- ["secondary|default", "solid|subtle-primary"],
118
- ["secondary|secondary", "solid|secondary"],
119
- ["secondary|success", "solid|subtle-primary"],
120
- ["secondary|alert", "ghost|danger"],
121
- ["secondary|warning", "ghost|warning"],
122
- ["secondary|smart", "ghost|smart"],
123
- ["secondary|disabled", "solid|subtle-primary"],
124
- ["text|default", "text|primary"],
125
- ["text|secondary", "text|secondary"],
126
- ["text|success", "text|primary"],
127
- ["text|alert", "text|danger"],
128
- ["text|warning", "text|warning"],
129
- ["text|smart", "text|smart"],
130
- ["text|disabled", "text|primary"]
131
- ], Rt = {
132
- directives: { clickOutside: A },
133
- components: {
134
- InIcons: N,
135
- InButtonV2: L,
136
- InCheckBox: T,
137
- InBox: W,
138
- InTextInput: D,
139
- InSkeleton: P,
140
- InTooltip: B
141
- },
142
- props: {
143
- /**
144
- * @property {string} id
145
- */
146
- id: {
147
- type: String,
148
- default: "qa-custom-dropdown"
149
- },
150
- /**
151
- * @property {string} text
152
- */
153
- text: {
154
- type: String,
155
- default: ""
156
- },
157
- /**
158
- * @property {string} status
159
- */
160
- status: {
161
- type: String,
162
- default: "default"
163
- },
164
- /**
165
- * @property {string} type
166
- */
167
- type: {
168
- type: String,
169
- default: "link"
170
- },
171
- /**
172
- * @property {string} target
173
- */
174
- target: {
175
- type: String,
176
- default: "_self"
177
- },
178
- /**
179
- * @property {array} options
180
- */
181
- options: {
182
- type: Array,
183
- required: !0
184
- },
185
- /**
186
- * @property {boolean} searchStatus
187
- */
188
- searchStatus: {
189
- type: Boolean,
190
- default: !1
191
- },
192
- /**
193
- * @property {boolean} createNewOptionStatus
194
- */
195
- createNewOptionStatus: {
196
- type: Boolean,
197
- default: !1
198
- },
199
- /**
200
- * @property {string} createNewOptionText
201
- */
202
- createNewOptionText: {
203
- type: String,
204
- default: "Label"
205
- },
206
- /**
207
- * @property {string} openPosition
208
- */
209
- openPosition: {
210
- type: String,
211
- default: "left"
212
- },
213
- /**
214
- * @property {string} buttonType
215
- */
216
- buttonType: {
217
- type: String,
218
- default: "secondary"
219
- },
220
- /**
221
- * @property {string} icon
222
- */
223
- icon: {
224
- type: String,
225
- default: "filled-dropdown-down"
226
- },
227
- /**
228
- * @property {string} iconPosition
229
- */
230
- iconPosition: {
231
- type: String,
232
- default: "right"
233
- },
234
- /**
235
- * @property {string} iconName
236
- */
237
- iconName: {
238
- type: String,
239
- default: "line-plus-netural"
240
- },
241
- /**
242
- * @property {boolean} disable
243
- */
244
- disable: {
245
- type: Boolean,
246
- default: !1
247
- },
248
- /**
249
- * @property {string} title
250
- */
251
- title: {
252
- type: String,
253
- default: "Select Condition"
254
- },
255
- /**
256
- * @property {object} extraOption
257
- */
258
- extraOption: {
259
- type: Object,
260
- default: () => {
261
- }
262
- },
263
- /**
264
- * @property {string} noDataText
265
- */
266
- noDataText: {
267
- type: String,
268
- default: "No Data to Show"
269
- },
270
- /**
271
- * @property {string} noSearchResultText
272
- */
273
- noSearchResultText: {
274
- type: String,
275
- default: "No Search Result"
276
- },
277
- /**
278
- * @property {boolean} skeletonStatus
279
- */
280
- skeletonStatus: {
281
- type: Boolean,
282
- default: !1
283
- },
284
- /**
285
- * @property {number} skeletonSizing
286
- */
287
- skeletonSizing: {
288
- type: Object,
289
- default: () => ({
290
- width: 0,
291
- number: 0
292
- })
293
- },
294
- /**
295
- * @property {boolean} visibleButton
296
- */
297
- visibleButton: {
298
- type: Boolean,
299
- default: !0
300
- },
301
- /**
302
- * @property {boolean} visibleBorder
303
- */
304
- visibleBorder: {
305
- type: Boolean,
306
- default: !1
307
- },
308
- /**
309
- * @property {string|boolean} avoidClosingSelectors
310
- */
311
- avoidClosingSelectors: {
312
- type: [String, Boolean],
313
- default: !1
314
- },
315
- /**
316
- * @property {boolean} isFullWidth
317
- */
318
- isFullWidth: {
319
- type: Boolean,
320
- default: !1
321
- },
322
- /**
323
- * @property {boolean} isHoverEffectDisabled
324
- */
325
- isHoverEffectDisabled: {
326
- type: Boolean,
327
- default: !1
328
- },
329
- /**
330
- * @property {string} dropdownMenuPosition
331
- */
332
- dropdownMenuPosition: {
333
- type: String,
334
- default: _,
335
- validator(t) {
336
- return [
337
- _,
338
- c,
339
- d
340
- ].includes(t);
341
- }
342
- },
343
- /**
344
- * @property {boolean} withTitle
345
- */
346
- withTitle: {
347
- type: Boolean,
348
- default: !0
349
- },
350
- /**
351
- * @property {boolean} withTooltip
352
- */
353
- withTooltip: {
354
- type: Boolean,
355
- default: !1
356
- },
357
- /**
358
- * @property {string} tooltipText
359
- */
360
- tooltipText: {
361
- type: String,
362
- default: ""
363
- }
364
- },
365
- data() {
366
- return {
367
- statusList: !1,
368
- categoryStatus: !1,
369
- search: "",
370
- trianglePosition: "top",
371
- optionListPosition: "bottom",
372
- childOptions: {},
373
- categoryOptionsLeftSize: 0,
374
- categoryOptionsTopPosition: 0,
375
- autoFocusStatus: !1,
376
- activeItem: 0,
377
- activeChild: 0,
378
- searchInFocus: !1
379
- };
380
- },
381
- computed: {
382
- /**
383
- * @return {boolean}
384
- */
385
- hasExtraOption() {
386
- return l(this.extraOption);
387
- },
388
- /**
389
- * @return {boolean}
390
- */
391
- noSearchResult() {
392
- return this.emptyOptions && this.search !== "";
393
- },
394
- /**
395
- * @return {boolean}
396
- */
397
- emptyOptions() {
398
- return this.cloneOptions.length === 0;
399
- },
400
- /**
401
- * @return {string}
402
- */
403
- emptyOptionsIcon() {
404
- return this.noSearchResult ? "line-architect-predefined-segments-channel-actions-40" : "line-dropdown-empty";
405
- },
406
- /**
407
- * @return {string}
408
- */
409
- emptyOptionsText() {
410
- return this.noSearchResult ? this.noSearchResultText : this.noDataText;
411
- },
412
- /**
413
- * @return {string}
414
- */
415
- optionOpenPosition() {
416
- return this.openPosition === "left" ? "start" : "end";
417
- },
418
- /**
419
- * @return {boolean}
420
- */
421
- hasChildren() {
422
- return l(this.options) && this.options[0].hasOwnProperty("children");
423
- },
424
- /**
425
- * @return {array}
426
- */
427
- cloneOptions() {
428
- let t = S(this.options);
429
- this.search && (t = t.filter((e) => {
430
- const o = this.toLowerCase(e.text).includes(this.toLowerCase(this.search));
431
- let n = [];
432
- return e.hasOwnProperty("children") && (n = e.children.filter(
433
- (r) => this.toLowerCase(r.text).includes(this.toLowerCase(this.search))
434
- ), e.children = n.length > 0 ? n : e.children), o || n.length > 0;
435
- }));
436
- let i = 0;
437
- return t = this.hasExtraOption ? [...t, this.extraOption] : t, t.forEach((e, o) => {
438
- e.hasOwnProperty("children") ? e.children.forEach((n, r) => {
439
- n.itemIndex = o, n.childIndex = r, n.orderIndex = i++, n.packageIcon = n.packageIcon;
440
- }) : (e.itemIndex = o, e.orderIndex = i++);
441
- }), t;
442
- },
443
- /**
444
- * @return {array}
445
- */
446
- extractedChildren() {
447
- let t = [];
448
- return this.cloneOptions.length && this.cloneOptions.map((i) => i.children ? i.children : i).forEach((i) => {
449
- t = Array.isArray(i) ? [...t, ...i] : [...t, i];
450
- }), t;
451
- },
452
- /**
453
- * @return {array}
454
- */
455
- filteredChildOptions() {
456
- return this.childOptions;
457
- },
458
- /**
459
- * @return {boolean}
460
- */
461
- visibleCategoryList() {
462
- return this.statusList && this.categoryStatus;
463
- },
464
- /**
465
- * @return {boolean}
466
- */
467
- isCategoryType() {
468
- return this.type === At;
469
- },
470
- /**
471
- * @return {boolean}
472
- */
473
- isCategoryTypeWithIcon() {
474
- return this.type === Nt;
475
- },
476
- /**
477
- * @return {boolean}
478
- */
479
- isIconType() {
480
- return this.type === v;
481
- },
482
- /**
483
- * @return {boolean}
484
- */
485
- isCheckboxType() {
486
- return this.type === f;
487
- },
488
- /**
489
- * @return {boolean}
490
- */
491
- isLinkType() {
492
- return this.type === g;
493
- },
494
- /**
495
- * @return {boolean}
496
- */
497
- isTextType() {
498
- return this.type === C;
499
- },
500
- /**
501
- * @return {string}
502
- */
503
- marginClassForCategoryWithIcon() {
504
- return this.text === "" ? "" : this.optionListPosition === "bottom" ? "mt-2" : "mb-2";
505
- },
506
- /**
507
- * @return {array}
508
- */
509
- categoryOptions() {
510
- return this.visibleCategoryList ? this.cloneOptions[this.activeItem].children : this.cloneOptions;
511
- },
512
- /**
513
- * @return {object}
514
- */
515
- buttonStyling() {
516
- const t = qt.find((i) => i[0] === `${this.buttonType}|${this.status}`)[1].split("|");
517
- return {
518
- styling: t[0],
519
- type: t[1]
520
- };
521
- },
522
- /**
523
- * @return {boolean}
524
- */
525
- isButtonDisabled() {
526
- return this.disable || this.status === "disabled";
527
- }
528
- },
529
- watch: {
530
- statusList() {
531
- var t;
532
- this.isTextType && ((t = this.$refs.dropDownList) == null || t.scrollTo(0, 0)), this.$nextTick(() => {
533
- this.$el && this.$el.querySelector("#dropDownList") && this.$el.querySelector("#dropDownList").focus();
534
- });
535
- }
536
- },
537
- mounted() {
538
- this.$el.addEventListener("keydown", (t) => {
539
- h.includes(t.keyCode) && t.preventDefault();
540
- }, !1);
541
- },
542
- methods: {
543
- /**
544
- * @return {void}
545
- */
546
- emitHoverItem() {
547
- this.$emit("hoverItem", this.options[this.activeItem]);
548
- },
549
- /**
550
- * @param {object} option
551
- * @param {number} index
552
- * @return {void}
553
- */
554
- checkOption(t, i) {
555
- this.isExtraOption(i) ? this.$emit("clickExtraOption", this.extraOption) : this.openChildInCategory(t);
556
- },
557
- /**
558
- * @param {number} index
559
- * @return {boolean}
560
- */
561
- isExtraOption(t) {
562
- return this.hasExtraOption && t === this.cloneOptions.length - 1;
563
- },
564
- /**
565
- * @param {object} option
566
- * @return {boolean}
567
- */
568
- isDropdownIcon(t) {
569
- var i;
570
- if (!(t != null && t.children))
571
- return t ? t.packageIcon : !0;
572
- const e = (i = t == null ? void 0 : t.children) == null ? void 0 : i.find((o) => o.packageIcon === !1);
573
- return e ? e.packageIcon : !0;
574
- },
575
- /**
576
- * @return {void}
577
- */
578
- openList() {
579
- this.dropdownMenuPosition !== _ && zt.includes(this.dropdownMenuPosition) ? (this.optionListPosition = this.dropdownMenuPosition, this.trianglePosition = Ft[this.dropdownMenuPosition]) : this.calculatePosition(), this.statusList = !this.statusList, this.search = "", this.autoFocusStatus = !this.autoFocusStatus, this.$emit("openList", this.statusList);
580
- },
581
- calculatePosition() {
582
- this.$nextTick(() => {
583
- const t = document.querySelector(Bt), i = window.innerHeight, e = O(this.$el), o = t ? parseInt(window.getComputedStyle(t).paddingBottom) : 0, n = 48, r = 75, s = window.pageYOffset, p = 240 + r + n;
584
- e.top - s + o < p ? (this.trianglePosition = "top", this.optionListPosition = "bottom") : i - (e.top - s + o) < p ? (this.trianglePosition = "bottom", this.optionListPosition = "top") : (this.trianglePosition = "top", this.optionListPosition = "bottom");
585
- });
586
- },
587
- /**
588
- * @param {string} value
589
- */
590
- triggerButton(t) {
591
- this.$emit("click", t), this.isCheckboxType || this.closeList();
592
- },
593
- /**
594
- * @return {void}
595
- */
596
- closeList() {
597
- this.activeItem = 0, this.activeChild = 0, this.statusList && (this.resetScroll(), this.resetToInitialValues(), this.$emit("closeList"));
598
- },
599
- /**
600
- * @return {void}
601
- */
602
- resetToInitialValues() {
603
- this.statusList = !1, this.categoryStatus = !1, this.autoFocusStatus = !1, this.search = "";
604
- },
605
- /**
606
- * @param {function} text
607
- * @param {object} text.target
608
- */
609
- searchOption(t) {
610
- h.includes(t.keyCode) && this.$el && this.$el.querySelector("#dropDownList") && this.$el.querySelector("#dropDownList").focus(), this.search = t.target.value, this.categoryStatus = !1, this.activeItem = this.extractedChildren[0] ? this.extractedChildren[0].itemIndex : 0;
611
- },
612
- /**
613
- * @param {object|string} option
614
- * @return {string}
615
- */
616
- optionNames(t) {
617
- let i = typeof t == "object" ? this.getOptionText(t) : t;
618
- return $(i.toString());
619
- },
620
- /**
621
- * @param {object} option
622
- * @return {string}
623
- */
624
- getOptionText(t = {}) {
625
- return t.text ? t.text : t.meta && t.meta.text ? t.meta.text : "undefined";
626
- },
627
- /**
628
- * @param {object} option
629
- * @param {boolean} hovered
630
- * @param {number} previousActiveItem
631
- * @returns {void}
632
- */
633
- openChildInCategory(t, i = !1, e = -1) {
634
- if (!i && this.searchInFocus || !t)
635
- return;
636
- if (t.inActive && !i) {
637
- this.$emit("selectedInActiveOption", t), this.closeList();
638
- return;
639
- }
640
- const o = !t.withoutChildren && t.children && t.children.length > 0;
641
- if (!o && !i) {
642
- this.$emit("select", t), this.closeList();
643
- return;
644
- }
645
- this.activeChild = 0, this.categoryStatus = o, this.childOptions = t.children, this.categoryOptionsLeftSize = `${this.$el.querySelector(".category-dropdown").clientWidth}px`, this.$nextTick(() => {
646
- var n;
647
- const r = this.$refs.dropDownListWrapper, s = this.$el.querySelector(".option_active"), p = this.$el.querySelector("#dropDownList"), a = this.$refs.secondDropDownList;
648
- if (!r || !s || !p || !a)
649
- return;
650
- const b = r.$el.offsetTop, x = s.offsetTop, I = p.scrollTop, k = window.getComputedStyle(a.$el).paddingTop;
651
- if (this.categoryOptionsTopPosition = `${b + x - I - parseInt(k)}px`, this.activeItem !== e && (n = a == null ? void 0 : a.$el) != null && n.querySelector) {
652
- const w = a.$el.querySelector(".category-wrapper");
653
- w && (w.scrollTop = 0);
654
- }
655
- });
656
- },
657
- /**
658
- * @return {void}
659
- */
660
- closeChildInCategory() {
661
- this.categoryStatus = !1;
662
- },
663
- toLowerCase(t) {
664
- return String(t).toLowerCase();
665
- },
666
- /**
667
- * @param {array} arr
668
- * @param {boolean} children
669
- * @return {void || function}
670
- */
671
- increaseActiveItem(t, i = !1) {
672
- if (!t || t.length < 2 || !u(t))
673
- return;
674
- if (i ? this.activeChild = this.activeChild < t.length - 1 ? ++this.activeChild : 0 : this.activeItem = this.activeItem < t.length - 1 ? ++this.activeItem : 0, m.includes(this.type) && t[this.activeItem].disable)
675
- return this.increaseActiveItem(t);
676
- const e = i ? this.activeChild : this.activeItem, o = this.$el && this.$el.querySelector(`.in-dropdown-wrapper__item-list${i ? "-child" : ""}`), n = `.option__${e}${i ? "-child" : ""}`;
677
- this.scrollDown(e, o, n), this.emitHoverItem();
678
- },
679
- /**
680
- * @param {array} arr
681
- * @param {boolean} children
682
- * @return {void || function}
683
- */
684
- decreaseActiveItem(t, i = !1) {
685
- if (!t || t.length < 2 || !u(t))
686
- return;
687
- if (i ? this.activeChild = this.activeChild === 0 ? t.length - 1 : --this.activeChild : this.activeItem = this.activeItem === 0 ? t.length - 1 : --this.activeItem, m.includes(this.type) && t[this.activeItem].disable)
688
- return this.decreaseActiveItem(t);
689
- const e = i ? this.activeChild : this.activeItem, o = this.$el && this.$el.querySelector(`.in-dropdown-wrapper__item-list${i ? "-child" : ""}`), n = `.option__${e}${i ? "-child" : ""}`;
690
- this.scrollUp(e, o, n, t), this.emitHoverItem();
691
- },
692
- /**
693
- * @param {number} index
694
- * @param {object} option
695
- * @return {void}
696
- */
697
- setActiveItem(t, i = {}) {
698
- const e = this.activeItem;
699
- this.activeItem = t, l(i) && this.openChildInCategory(i, !0, e), this.emitHoverItem();
700
- },
701
- /**
702
- * @param {number} index
703
- * @return {void}
704
- */
705
- setActiveChild(t) {
706
- this.activeChild = t, this.emitHoverItem();
707
- },
708
- /**
709
- * @param {number} active
710
- * @param {HTMLElement} list
711
- * @param {string} selector
712
- * @return {void}
713
- */
714
- scrollDown(t, i, e) {
715
- const o = this.$el.querySelector(e).getBoundingClientRect().bottom, n = i.getBoundingClientRect().bottom, r = o - n;
716
- if (t > 0)
717
- if (r > 0) {
718
- i.scrollBy(0, r);
719
- return;
720
- } else
721
- return;
722
- i.scrollTop = 0;
723
- },
724
- /**
725
- * @param {number} active
726
- * @param {HTMLElement} list
727
- * @param {string} selector
728
- * @param {array} arr
729
- * @return {void}
730
- */
731
- scrollUp(t, i, e, o) {
732
- if (!i || !e)
733
- return;
734
- const n = this.$el.querySelector(e).getBoundingClientRect().top, r = i.getBoundingClientRect().top, s = i.scrollHeight, p = r - n;
735
- if (t < o.length - 1)
736
- if (p > 0) {
737
- i.scrollBy(0, -p);
738
- return;
739
- } else
740
- return;
741
- i.scrollBy(0, s);
742
- },
743
- /**
744
- * @return {void}
745
- */
746
- selectChildOption() {
747
- l(this.filteredChildOptions) && this.visibleCategoryList && (this.$emit("select", this.filteredChildOptions[this.activeChild]), this.closeList());
748
- },
749
- /**
750
- * @param {array} arr
751
- * @return {void}
752
- */
753
- selectOption(t) {
754
- t.length && (this.$emit("select", t[this.activeItem]), this.$emit("click", t[this.activeItem]), this.closeList());
755
- },
756
- /**
757
- * @return {void}
758
- */
759
- resetScroll() {
760
- const t = this.$el.querySelector(".in-dropdown-wrapper__item-list"), i = this.$el.querySelector(".in-dropdown-wrapper__item-list-child");
761
- t && (t.scrollTop = 0), i && (i.scrollTop = 0);
762
- },
763
- /**
764
- * @return {void}
765
- */
766
- focusOnSearch() {
767
- this.searchInFocus = !0;
768
- },
769
- /**
770
- * @return {void}
771
- */
772
- unfocusSearch() {
773
- this.searchInFocus = !1;
774
- },
775
- /**
776
- * @return {void}
777
- */
778
- checkClickOutside(t) {
779
- t && t.target && this.avoidClosingSelectors && t.target.closest(this.avoidClosingSelectors) || this.closeList();
780
- }
781
- }
782
- };
783
- var Ut = function() {
784
- var t = this, i = t._self._c;
785
- return i("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: t.checkClickOutside, expression: "checkClickOutside" }], staticClass: "in-custom-dropdown-wrapper in-dropdown-wrapper qa-drop-down-link", class: [
786
- t.$style["in-custom-dropdown-wrapper"],
787
- t.$style["in-dropdown-wrapper"],
788
- {
789
- "in-custom-icon-dropdown-wrapper": t.isCategoryTypeWithIcon,
790
- [t.$style["in-custom-icon-dropdown-wrapper"]]: t.isCategoryTypeWithIcon,
791
- "in-custom-dropdown-wrapper_full-width": t.isFullWidth,
792
- [t.$style["in-custom-dropdown-wrapper_full-width"]]: t.isFullWidth,
793
- "no-hover-effect": t.isHoverEffectDisabled,
794
- [t.$style["no-hover-effect"]]: t.isHoverEffectDisabled,
795
- "in-custom-dropdown-wrapper--disabled": t.isButtonDisabled,
796
- [t.$style["in-custom-dropdown-wrapper--disabled"]]: t.isButtonDisabled
797
- }
798
- ] }, [t.withTooltip ? i("in-tooltip", { staticClass: "fl-l", attrs: { "with-icon": !1, align: "start", position: "bottom", text: t.tooltipText } }, [!t.skeletonStatus && !t.isIconType && t.visibleButton ? i("in-button-v2", { staticClass: "in-custom-dropdown-wrapper__open-list-button t-a-l", class: t.$style["in-custom-dropdown-wrapper__open-list-button"], attrs: { slot: "element", id: t.id, "disabled-status": t.isButtonDisabled, "label-text": t.text, "left-icon": t.iconPosition === "left" ? t.icon : "", "right-icon": t.iconPosition === "right" ? t.icon : "", styling: t.buttonStyling.styling, type: t.buttonStyling.type }, on: { click: t.openList }, slot: "element" }) : t._e()], 1) : t._e(), !t.skeletonStatus && !t.isIconType && t.visibleButton && !t.withTooltip ? i("in-button-v2", { staticClass: "in-custom-dropdown-wrapper__open-list-button t-a-l", class: t.$style["in-custom-dropdown-wrapper__open-list-button"], attrs: { id: t.id, "label-text": t.text, "left-icon": t.iconPosition === "left" ? t.icon : "", "right-icon": t.iconPosition === "right" ? t.icon : "", "disabled-status": t.isButtonDisabled, styling: t.buttonStyling.styling, type: t.buttonStyling.type }, on: { click: t.openList } }) : t._e(), !t.skeletonStatus && t.isIconType && t.visibleButton ? i("in-icons", { staticClass: "i-c-7 cur-p", attrs: { name: t.iconName }, on: { click: t.openList } }) : t._e(), !t.skeletonStatus && !t.isCategoryType && !t.isCategoryTypeWithIcon ? i("in-box", { directives: [{ name: "show", rawName: "v-show", value: t.statusList, expression: "statusList" }], staticClass: "in-dropdown-wrapper__item-list-wrapper mt-2", class: [
799
- t.$style["in-dropdown-wrapper__item-list-wrapper"],
800
- "in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition,
801
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition],
802
- {
803
- "in-dropdown-wrapper__item-list-wrapper-tag-status": t.createNewOptionStatus,
804
- [t.$style["in-dropdown-wrapper__item-list-wrapper-tag-status"]]: t.createNewOptionStatus
805
- },
806
- "in-dropdown-wrapper__item-list-wrapper_" + t.openPosition,
807
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.openPosition]
808
- ], attrs: { border: "bor-w-0 bor-s-n" } }, [t.isLinkType ? i("div", { ref: "dropDownList", staticClass: "in-dropdown-wrapper__item-list", class: t.$style["in-dropdown-wrapper__item-list"], attrs: { id: "dropDownList", tabindex: "0" }, on: { keyup: [function(e) {
809
- return !e.type.indexOf("key") && t._k(e.keyCode, "down", 40, e.key, ["Down", "ArrowDown"]) ? null : t.increaseActiveItem(t.options);
810
- }, function(e) {
811
- return !e.type.indexOf("key") && t._k(e.keyCode, "up", 38, e.key, ["Up", "ArrowUp"]) ? null : t.decreaseActiveItem(t.options);
812
- }, function(e) {
813
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : t.selectOption(t.options);
814
- }] } }, [t._l(t.options, function(e, o) {
815
- return i("router-link", { key: o, class: [
816
- `${t.id}-${t.optionNames(e.text)}`,
817
- `option__${o}`,
818
- { option_active: t.activeItem === o },
819
- { [t.$style.option_active]: t.activeItem === o },
820
- { "in-dropdown-wrapper__item-list_disabled": e.disable },
821
- { [t.$style["in-dropdown-wrapper__item-list_disabled"]]: e.disable }
822
- ], attrs: { to: e.value, target: t.target }, on: { click: function(n) {
823
- return t.triggerButton(e);
824
- } }, nativeOn: { mouseenter: function(n) {
825
- return t.setActiveItem(o);
826
- } } }, [t._v(" " + t._s(e.text) + " ")]);
827
- }), t.emptyOptions && t.type === "link" ? i("div", { staticClass: "d-f f-d-c a-i-c mt-4 mb-2" }, [i("in-icons", { staticClass: "i-c-2", attrs: { name: t.emptyOptionsIcon, size: "40" } }), i("p", { staticClass: "in-dropdown-wrapper__no-search-result t-c-2 cur-t", class: t.$style["in-dropdown-wrapper__no-search-result"] }, [t._v(" " + t._s(t.emptyOptionsText) + " ")])], 1) : t._e(), t.createNewOptionStatus ? i("div", { staticClass: "create-new-option-clone clearfix cur-p h-0-s d-f v-h px-3 py-0 w-1", class: t.$style["create-new-option-clone"] }, [i("in-icons", { staticClass: "fl-l i-c-7", attrs: { name: "line-plus-netural" } }), i("span", { staticClass: "ml-1 fl-l t-c-7 l-h-2" }, [t._v(" " + t._s(t.createNewOptionText) + " ")])], 1) : t._e(), t.createNewOptionStatus ? i("div", { staticClass: "create-new-option clearfix cur-p d-g px-3 py-2 o-h p-a b-0 bor-t-w-1 bor-t-s-s bor-c-6 w-1", class: t.$style["create-new-option"], on: { click: function(e) {
828
- return t.$emit("createNewOption");
829
- } } }, [i("in-icons", { staticClass: "fl-l i-c-7", attrs: { name: "line-plus-netural" } }), i("span", { staticClass: "ml-1 fl-l t-c-7 l-h-2" }, [t._v(" " + t._s(t.createNewOptionText) + " ")])], 1) : t._e()], 2) : t._e(), t.isTextType || t.isIconType ? i("div", { on: { keyup: [function(e) {
830
- return !e.type.indexOf("key") && t._k(e.keyCode, "down", 40, e.key, ["Down", "ArrowDown"]) ? null : t.increaseActiveItem(t.extractedChildren);
831
- }, function(e) {
832
- return !e.type.indexOf("key") && t._k(e.keyCode, "up", 38, e.key, ["Up", "ArrowUp"]) ? null : t.decreaseActiveItem(t.extractedChildren);
833
- }, function(e) {
834
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : t.selectOption(t.extractedChildren);
835
- }] } }, [t.searchStatus && t.options.length !== 0 ? i("in-text-input", { staticClass: "mx-2 mb-2", attrs: { id: `${t.id}-search`, name: "drop-down-search", "auto-focus": t.autoFocusStatus, value: t.search, placeholder: "Search", "with-icon": !0, "icon-name": "line-menu-search", "icon-position": "right", "with-label": !1 }, on: { focus: t.focusOnSearch, blur: t.unfocusSearch, keyup: t.searchOption } }) : t._e(), t.emptyOptions ? i("div", { staticClass: "d-f f-d-c a-i-c mt-4" }, [i("in-icons", { staticClass: "i-c-2", attrs: { name: t.emptyOptionsIcon, size: "40" } }), i("p", { staticClass: "in-dropdown-wrapper__no-search-result t-c-2 cur-t", class: t.$style["in-dropdown-wrapper__no-search-result"] }, [t._v(" " + t._s(t.emptyOptionsText) + " ")])], 1) : t._e(), t.createNewOptionStatus ? i("div", { staticClass: "create-new-option-clone clearfix cur-p h-0-s d-f v-h px-3 py-0 w-1", class: t.$style["create-new-option-clone"] }, [i("in-icons", { staticClass: "fl-l i-c-7", attrs: { name: "line-plus-netural" } }), i("span", { staticClass: "ml-1 fl-l t-c-7 l-h-2" }, [t._v(" " + t._s(t.createNewOptionText) + " ")])], 1) : t._e(), t.createNewOptionStatus ? i("div", { staticClass: "create-new-option clearfix cur-p d-g px-3 py-2 o-h p-a b-0 bor-t-w-1 bor-t-s-s bor-c-6 w-1", class: t.$style["create-new-option"], on: { click: function(e) {
836
- return t.$emit("createNewOption");
837
- } } }, [i("in-icons", { staticClass: "fl-l i-c-7", attrs: { name: "line-plus-netural" } }), i("span", { staticClass: "ml-1 fl-l t-c-7 l-h-2" }, [t._v(" " + t._s(t.createNewOptionText) + " ")])], 1) : t._e(), i("div", { ref: "dropDownList", staticClass: "in-dropdown-wrapper__item-list", class: t.$style["in-dropdown-wrapper__item-list"], attrs: { id: "dropDownList", tabindex: "0" } }, t._l(t.cloneOptions, function(e, o) {
838
- return i("div", { key: o }, [e.children ? i("div", [i("p", { staticClass: "in-dropdown-wrapper__item-list-title f-s-1 l-h-1 m-0 t-t-u l-s-5 p-e-n", class: t.$style["in-dropdown-wrapper__item-list-title"] }, [t._v(" " + t._s(e.text) + " ")]), t._l(e.children, function(n, r) {
839
- return i("p", { key: r, class: [
840
- `option__${n.orderIndex}`,
841
- `${t.id}-${t.optionNames(n.text)}`,
842
- {
843
- "in-dropdown-wrapper__item-list_disabled": n.disable
844
- },
845
- {
846
- [t.$style["in-dropdown-wrapper__item-list_disabled"]]: n.disable
847
- },
848
- {
849
- option_active: t.extractedChildren[t.activeItem].itemIndex === o && t.extractedChildren[t.activeItem].childIndex === r
850
- },
851
- {
852
- [t.$style.option_active]: t.extractedChildren[t.activeItem].itemIndex === o && t.extractedChildren[t.activeItem].childIndex === r
853
- }
854
- ], on: { mouseenter: function(s) {
855
- return t.setActiveItem(n.orderIndex);
856
- }, click: function(s) {
857
- return t.triggerButton(n);
858
- } } }, [t._v(" " + t._s(n.text) + " ")]);
859
- })], 2) : t._e(), e.children ? t._e() : i("p", { class: [
860
- `${t.id}-${t.optionNames(e)}`,
861
- `option__${e.orderIndex}`,
862
- { option_active: t.activeItem === e.orderIndex },
863
- { [t.$style.option_active]: t.activeItem === e.orderIndex },
864
- { "in-dropdown-wrapper__item-list_disabled": e.disable },
865
- { [t.$style["in-dropdown-wrapper__item-list_disabled"]]: e.disable }
866
- ], on: { mouseenter: function(n) {
867
- return t.setActiveItem(e.orderIndex);
868
- }, click: function(n) {
869
- return t.triggerButton(e);
870
- } } }, [t._v(" " + t._s(t.getOptionText(e)) + " ")])]);
871
- }), 0)], 1) : t._e(), t.isCheckboxType ? i("div", { ref: "dropDownList", staticClass: "in-dropdown-wrapper__item-list", class: t.$style["in-dropdown-wrapper__item-list"], attrs: { id: "dropDownList", tabindex: "0" }, on: { keyup: [function(e) {
872
- return !e.type.indexOf("key") && t._k(e.keyCode, "down", 40, e.key, ["Down", "ArrowDown"]) ? null : t.increaseActiveItem(t.options);
873
- }, function(e) {
874
- return !e.type.indexOf("key") && t._k(e.keyCode, "up", 38, e.key, ["Up", "ArrowUp"]) ? null : t.decreaseActiveItem(t.options);
875
- }, function(e) {
876
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : t.triggerButton(t.options[t.activeItem]);
877
- }] } }, [t._l(t.options, function(e, o) {
878
- return i("in-check-box", { key: o, staticClass: "in-dropdown-wrapper__item-list_checkbox", class: [
879
- t.$style["in-dropdown-wrapper__item-list_checkbox"],
880
- `option__${o}`,
881
- { option_active: t.activeItem === o },
882
- { [t.$style.option_active]: t.activeItem === o }
883
- ], attrs: { id: `${t.id}_${e.text}`, name: `${t.id}_${e.text}`, label: e.text, checked: e.value, disable: e.disable, indeterminate: e.indeterminate }, on: { mouseenter: function(n) {
884
- return t.setActiveItem(o);
885
- }, click: function(n) {
886
- return t.triggerButton(e);
887
- } } });
888
- }), t.emptyOptions ? i("div", { staticClass: "d-f f-d-c a-i-c mt-4" }, [i("in-icons", { staticClass: "i-c-2", attrs: { name: t.emptyOptionsIcon, size: "40" } }), i("p", { staticClass: "in-dropdown-wrapper__no-search-result t-c-2 cur-t", class: t.$style["in-dropdown-wrapper__no-search-result"] }, [t._v(" " + t._s(t.emptyOptionsText) + " ")])], 1) : t._e()], 2) : t._e()]) : t._e(), t.isCategoryType ? i("div", { staticClass: "t-n" }, [t.skeletonStatus ? t._e() : i("in-box", { directives: [{ name: "show", rawName: "v-show", value: t.statusList, expression: "statusList" }], ref: "dropDownListWrapper", staticClass: "category-dropdown in-dropdown-wrapper__item-list-wrapper mt-2", class: [
889
- t.$style["category-dropdown"],
890
- t.$style["in-dropdown-wrapper__item-list-wrapper"],
891
- "in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition,
892
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition],
893
- {
894
- "in-dropdown-wrapper__item-list-wrapper-tag-status": t.createNewOptionStatus,
895
- [t.$style["in-dropdown-wrapper__item-list-wrapper-tag-status"]]: t.createNewOptionStatus
896
- },
897
- "in-dropdown-wrapper__item-list-wrapper_" + t.openPosition,
898
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.openPosition]
899
- ], attrs: { border: "bor-w-0 bor-s-n" }, nativeOn: { keyup: [function(e) {
900
- return !e.type.indexOf("key") && t._k(e.keyCode, "down", 40, e.key, ["Down", "ArrowDown"]) ? null : t.increaseActiveItem(t.categoryOptions, t.visibleCategoryList);
901
- }, function(e) {
902
- return !e.type.indexOf("key") && t._k(e.keyCode, "up", 38, e.key, ["Up", "ArrowUp"]) ? null : t.decreaseActiveItem(t.categoryOptions, t.visibleCategoryList);
903
- }, function(e) {
904
- return !e.type.indexOf("key") && t._k(e.keyCode, "right", 39, e.key, ["Right", "ArrowRight"]) || "button" in e && e.button !== 2 ? null : t.openChildInCategory(t.cloneOptions[t.activeItem]);
905
- }, function(e) {
906
- return !e.type.indexOf("key") && t._k(e.keyCode, "left", 37, e.key, ["Left", "ArrowLeft"]) || "button" in e && e.button !== 0 ? null : t.closeChildInCategory.apply(null, arguments);
907
- }, function(e) {
908
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : t.selectChildOption.apply(null, arguments);
909
- }] } }, [i("div", [t.searchStatus && t.options.length !== 0 ? i("in-text-input", { staticClass: "mx-2 mb-2", attrs: { id: `${t.id}-search`, value: t.search, name: "drop-down-search", "auto-focus": t.autoFocusStatus, placeholder: "Search", "with-icon": !0, "icon-name": "line-menu-search", "icon-position": "right", "with-label": !1 }, on: { focus: t.focusOnSearch, blur: t.unfocusSearch, keyup: t.searchOption } }) : t._e(), i("div", { ref: "dropDownList", staticClass: "in-dropdown-wrapper__item-list", class: t.$style["in-dropdown-wrapper__item-list"], attrs: { id: "dropDownList", tabindex: "0" } }, t._l(t.cloneOptions, function(e, o) {
910
- return i("div", { key: o, staticClass: "option d-f j-c-s-b", class: [
911
- t.$style.option,
912
- `option__${o}`,
913
- { option_active: t.activeItem === o },
914
- { [t.$style.option_active]: t.activeItem === o },
915
- { "in-dropdown-wrapper__item-list_disabled": e.disable },
916
- { [t.$style["in-dropdown-wrapper__item-list_disabled"]]: e.disable }
917
- ], on: { mouseenter: function(n) {
918
- return t.setActiveItem(o, e);
919
- }, click: function(n) {
920
- return t.openChildInCategory(e);
921
- } } }, [i("span", { class: `${t.id}-${t.optionNames(e.text)}` }, [t._v(" " + t._s(e.text) + " ")]), e.children && e.children.length ? i("in-icons", { staticClass: "chevron-icon ml-2 mt-1", class: t.$style["chevron-icon"], attrs: { name: "line-chevron-right", size: "20" } }) : t._e()], 1);
922
- }), 0), t.emptyOptions ? i("div", { staticClass: "d-f f-d-c a-i-c mt-4 mb-2" }, [i("in-icons", { staticClass: "i-c-2", attrs: { name: t.emptyOptionsIcon, size: "40" } }), i("p", { staticClass: "in-dropdown-wrapper__no-search-result t-c-2 cur-t", class: t.$style["in-dropdown-wrapper__no-search-result"] }, [t._v(" " + t._s(t.emptyOptionsText) + " ")])], 1) : t._e(), t.createNewOptionStatus ? i("div", { staticClass: "create-new-option-clone clearfix cur-p h-0-s d-f v-h px-3 py-0 w-1", class: t.$style["create-new-option-clone"] }, [i("in-icons", { staticClass: "fl-l i-c-7", attrs: { name: "line-plus-netural" } }), i("span", { staticClass: "ml-1 fl-l t-c-7 l-h-2" }, [t._v(" " + t._s(t.createNewOptionText) + " ")])], 1) : t._e(), t.createNewOptionStatus ? i("div", { staticClass: "create-new-option clearfix cur-p d-g px-3 py-2 o-h p-a b-0 bor-t-w-1 bor-t-s-s bor-c-6 w-1", class: t.$style["create-new-option"], on: { click: function(e) {
923
- return t.$emit("createNewOption");
924
- } } }, [i("in-icons", { staticClass: "fl-l i-c-7", attrs: { name: "line-plus-netural" } }), i("span", { staticClass: "ml-1 fl-l t-c-7 l-h-2" }, [t._v(" " + t._s(t.createNewOptionText) + " ")])], 1) : t._e()], 1)]), t.skeletonStatus ? t._e() : i("in-box", { directives: [{ name: "show", rawName: "v-show", value: t.visibleCategoryList, expression: "visibleCategoryList" }], ref: "secondDropDownList", staticClass: "category-options in-dropdown-wrapper__item-list-wrapper w-18-s z-13", class: [
925
- t.$style["category-options"],
926
- t.$style["in-dropdown-wrapper__item-list-wrapper"],
927
- "in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition,
928
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition],
929
- "in-dropdown-wrapper__item-list-wrapper_" + t.openPosition,
930
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.openPosition]
931
- ], style: { left: t.categoryOptionsLeftSize, top: t.categoryOptionsTopPosition } }, [i("div", { staticClass: "category-wrapper in-dropdown-wrapper__item-list in-dropdown-wrapper__item-list-child", class: [
932
- t.$style["category-wrapper"],
933
- t.$style["in-dropdown-wrapper__item-list"],
934
- t.$style["in-dropdown-wrapper__item-list-child"]
935
- ] }, t._l(t.filteredChildOptions, function(e, o) {
936
- return i("p", { key: o, staticClass: "child-option", class: [
937
- t.$style["child-option"],
938
- `${t.id}-${t.optionNames(e.text)}`,
939
- `option__${o}-child`,
940
- { "option_active-child": t.activeChild === o },
941
- { [t.$style["option_active-child"]]: t.activeChild === o },
942
- { "in-dropdown-wrapper__item-list_disabled": e.disable },
943
- { [t.$style["in-dropdown-wrapper__item-list_disabled"]]: e.disable }
944
- ], on: { mouseenter: function(n) {
945
- return t.setActiveChild(o);
946
- }, click: t.selectChildOption } }, [t._v(" " + t._s(e.text) + " ")]);
947
- }), 0)])], 1) : t._e(), t.isCategoryTypeWithIcon ? i("div", { staticClass: "t-n", class: [
948
- { "non-border": !t.visibleBorder },
949
- { [t.$style["non-border"]]: !t.visibleBorder }
950
- ] }, [t.skeletonStatus ? t._e() : i("in-box", { directives: [{ name: "show", rawName: "v-show", value: t.statusList, expression: "statusList" }], ref: "dropDownListWrapper", staticClass: "category-dropdown in-dropdown-wrapper__item-list-wrapper z-0", class: [
951
- t.$style["category-dropdown"],
952
- t.$style["in-dropdown-wrapper__item-list-wrapper"],
953
- "in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition,
954
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition],
955
- { "mt-3": !t.withTitle },
956
- {
957
- "in-dropdown-wrapper__item-list-wrapper-tag-status": t.createNewOptionStatus,
958
- [t.$style["in-dropdown-wrapper__item-list-wrapper-tag-status"]]: t.createNewOptionStatus
959
- },
960
- "in-dropdown-wrapper__item-list-wrapper_" + t.openPosition,
961
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.openPosition],
962
- t.marginClassForCategoryWithIcon
963
- ], attrs: { "border-triangle": !1, "border-triangle-position": t.trianglePosition, "border-triangle-align": t.optionOpenPosition }, nativeOn: { keyup: [function(e) {
964
- return !e.type.indexOf("key") && t._k(e.keyCode, "down", 40, e.key, ["Down", "ArrowDown"]) ? null : t.increaseActiveItem(t.categoryOptions, t.visibleCategoryList);
965
- }, function(e) {
966
- return !e.type.indexOf("key") && t._k(e.keyCode, "up", 38, e.key, ["Up", "ArrowUp"]) ? null : t.decreaseActiveItem(t.categoryOptions, t.visibleCategoryList);
967
- }, function(e) {
968
- return !e.type.indexOf("key") && t._k(e.keyCode, "right", 39, e.key, ["Right", "ArrowRight"]) || "button" in e && e.button !== 2 ? null : t.openChildInCategory(t.cloneOptions[t.activeItem]);
969
- }, function(e) {
970
- return !e.type.indexOf("key") && t._k(e.keyCode, "left", 37, e.key, ["Left", "ArrowLeft"]) || "button" in e && e.button !== 0 ? null : t.closeChildInCategory.apply(null, arguments);
971
- }, function(e) {
972
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : t.selectChildOption.apply(null, arguments);
973
- }] } }, [!t.emptyOptions && t.withTitle ? i("div", { staticClass: "py-2 f-w-600 f-s-2 l-h-2 t-a-c bor-b-w-1 bor-b-s-s bor-b-c-6 mb-1" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), i("div", [i("div", { ref: "dropDownList", staticClass: "in-dropdown-wrapper__item-list in-custom-icon-dropdown-wrapper__item-list", class: [
974
- t.$style["in-dropdown-wrapper__item-list"],
975
- t.$style["in-custom-icon-dropdown-wrapper__item-list"]
976
- ], attrs: { id: "dropDownList", tabindex: "0" } }, t._l(t.cloneOptions, function(e, o) {
977
- return i("div", { key: o, staticClass: "option d-f a-i-c j-c-s-b", class: [
978
- t.$style.option,
979
- `option__${o}`,
980
- { option_active: t.activeItem === o },
981
- { [t.$style.option_active]: t.activeItem === o },
982
- {
983
- "py-2 f-s-2 l-h-2 bor-t-w-1 bor-t-s-s bor-t-c-6 mb-1 px-3 cur-p": t.isExtraOption(o)
984
- },
985
- { "in-dropdown-wrapper__item-list_disabled": e.disable },
986
- { [t.$style["in-dropdown-wrapper__item-list_disabled"]]: e.disable }
987
- ], on: { mouseenter: function(n) {
988
- return t.setActiveItem(o, e);
989
- }, click: function(n) {
990
- return t.checkOption(e, o);
991
- } } }, [i("div", { staticClass: "d-f a-i-c" }, [e.icon ? i("in-icons", { staticClass: "l-h-2 i-c-1 min-w-4-s", attrs: { name: e.icon, size: "24" } }) : t._e(), i("span", { staticClass: "ml-2 l-h-2", class: `${t.id}-${t.optionNames(e.text)}` }, [t._v(" " + t._s(e.text) + " ")])], 1), !e.withoutChildren && e.children ? i("in-icons", { staticClass: "chevron-icon ml-2 l-h-2", class: t.$style["chevron-icon"], attrs: { name: "line-chevron-right", size: "20" } }) : t._e(), e.withoutChildren && !t.isDropdownIcon(e) ? i("in-icons", { staticClass: "chevron-icon ml-2 l-h-2", class: [
992
- t.$style["chevron-icon"],
993
- { "update-icon": !e.packageIconName },
994
- { [t.$style["update-icon"]]: !e.packageIconName }
995
- ], attrs: { name: e.packageIconName || "line-architect-feature-update", size: "20" }, nativeOn: { mouseenter: function(n) {
996
- return t.$emit("hoverRightIcon", e);
997
- } } }) : t._e()], 1);
998
- }), 0)]), t.emptyOptions ? i("div", { staticClass: "d-f f-d-c a-i-c mt-4 mb-2" }, [i("in-icons", { staticClass: "i-c-2", attrs: { name: t.emptyOptionsIcon, size: "40" } }), i("p", { staticClass: "in-dropdown-wrapper__no-search-result t-c-2 cur-t", class: t.$style["in-dropdown-wrapper__no-search-result"] }, [t._v(" " + t._s(t.emptyOptionsText) + " ")])], 1) : t._e(), t.createNewOptionStatus ? i("div", { staticClass: "create-new-option-clone clearfix cur-p h-0-s d-f v-h px-3 py-0 w-1", class: t.$style["create-new-option-clone"] }, [i("in-icons", { staticClass: "fl-l i-c-7", attrs: { name: "line-plus-netural" } }), i("span", { staticClass: "ml-1 fl-l t-c-7 l-h-2" }, [t._v(" " + t._s(t.createNewOptionText) + " ")])], 1) : t._e(), t.createNewOptionStatus ? i("div", { staticClass: "create-new-option clearfix cur-p d-g px-3 py-2 o-h p-a b-0 bor-t-w-1 bor-t-s-s bor-c-6 w-1", class: t.$style["create-new-option"], on: { click: function(e) {
999
- return t.$emit("createNewOption");
1000
- } } }, [i("in-icons", { staticClass: "fl-l i-c-7", attrs: { name: "line-plus-netural" } }), i("span", { staticClass: "ml-1 fl-l t-c-7 l-h-2" }, [t._v(" " + t._s(t.createNewOptionText) + " ")])], 1) : t._e()]), t.skeletonStatus ? t._e() : i("in-box", { directives: [{ name: "show", rawName: "v-show", value: t.visibleCategoryList, expression: "visibleCategoryList" }], ref: "secondDropDownList", staticClass: "category-icon-options in-dropdown-wrapper__item-list-wrapper w-18-s", class: [
1001
- t.$style["category-icon-options"],
1002
- t.$style["in-dropdown-wrapper__item-list-wrapper"],
1003
- "in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition,
1004
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.optionListPosition],
1005
- "in-dropdown-wrapper__item-list-wrapper_" + t.openPosition,
1006
- t.$style["in-dropdown-wrapper__item-list-wrapper_" + t.openPosition]
1007
- ], style: { left: t.categoryOptionsLeftSize, top: t.categoryOptionsTopPosition } }, [i("div", { ref: "dropDownList", staticClass: "category-icon-wrapper in-dropdown-wrapper__item-list in-dropdown-wrapper__item-list-child", class: [
1008
- t.$style["category-icon-wrapper"],
1009
- t.$style["in-dropdown-wrapper__item-list"],
1010
- t.$style["in-dropdown-wrapper__item-list-child"]
1011
- ], attrs: { id: "dropDownList" } }, t._l(t.filteredChildOptions, function(e, o) {
1012
- return i("div", { key: o, staticClass: "child-option d-f a-i-c", class: [
1013
- t.$style["child-option"],
1014
- `option__${o}-child`,
1015
- { "option_active-child": t.activeChild === o },
1016
- { [t.$style["option_active-child"]]: t.activeChild === o },
1017
- { "in-dropdown-wrapper__item-list_disabled": e.disable },
1018
- { [t.$style["in-dropdown-wrapper__item-list_disabled"]]: e.disable }
1019
- ], on: { mouseenter: function(n) {
1020
- return t.setActiveChild(o);
1021
- }, click: t.selectChildOption } }, [i("in-icons", { staticClass: "l-h-2 i-c-1 min-w-4-s", attrs: { name: e.icon, size: "24" } }), i("p", { staticClass: "l-h-2 ml-2", class: `${t.id}-${t.optionNames(e.text)}` }, [t._v(" " + t._s(e.text) + " ")]), t.isDropdownIcon(e) ? t._e() : i("in-icons", { staticClass: "chevron-icon ml-auto l-h-2", class: [
1022
- t.$style["chevron-icon"],
1023
- { "update-icon": !e.packageIconName },
1024
- { [t.$style["update-icon"]]: !e.packageIconName }
1025
- ], attrs: { name: e.packageIconName || "line-architect-feature-update", size: "20" }, nativeOn: { mouseenter: function(n) {
1026
- return t.$emit("hoverRightIcon", e);
1027
- } } })], 1);
1028
- }), 0)])], 1) : t._e(), t.skeletonStatus ? i("in-skeleton", { attrs: { sizing: t.skeletonSizing, name: "InCustomDropDown" } }) : t._e()], 1);
1029
- }, Et = [];
1030
- const y = {
1031
- $style: Pt
1032
- };
1033
- function Ht(t) {
1034
- for (var i in y)
1035
- this[i] = y[i];
1036
- }
1037
- var Mt = /* @__PURE__ */ z(
1038
- Rt,
1039
- Ut,
1040
- Et,
1041
- !1,
1042
- Ht
1043
- );
1044
- const ie = Mt.exports;
1045
- export {
1046
- ie as InCustomDropDown
1047
- };