@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.
- package/README.md +0 -1
- package/dist/@types/config/schemas.js +6 -12
- package/dist/components/Guido.vue.js +6 -6
- package/dist/components/Guido.vue2.js +61 -63
- package/dist/composables/useCustomInterfaceAppearance.js +16 -19
- package/dist/composables/useRecommendation.js +34 -41
- package/dist/composables/useStripo.js +14 -14
- package/dist/config/migrator/index.js +9 -8
- package/dist/config/migrator/recommendation/compositionMapper.js +20 -20
- package/dist/config/migrator/recommendation/extractors.js +29 -24
- package/dist/config/migrator/recommendation/htmlBuilder.js +116 -130
- package/dist/config/migrator/recommendationMigrator.js +16 -15
- package/dist/config/migrator/recommendationTitleMigrator.js +119 -0
- package/dist/enums/date.js +3 -4
- package/dist/enums/extensions/recommendationBlock.js +23 -25
- package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +1 -1
- package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +1 -1
- package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +20 -21
- package/dist/extensions/Blocks/Recommendation/constants/selectors.js +34 -28
- package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +306 -238
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +95 -122
- package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +1 -0
- package/dist/extensions/Blocks/Recommendation/controls/title/index.js +44 -0
- package/dist/extensions/Blocks/Recommendation/extension.js +31 -29
- package/dist/extensions/Blocks/Recommendation/settingsPanel.js +23 -4
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +53 -199
- package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +3 -3
- package/dist/extensions/Blocks/Recommendation/templates/titleRows.js +33 -0
- package/dist/extensions/Blocks/Recommendation/templates/utils.js +85 -107
- package/dist/extensions/Blocks/common-control.js +19 -22
- package/dist/guido.css +1 -1
- package/dist/services/recommendationApi.js +28 -77
- package/dist/src/@types/config/schemas.d.ts +0 -12
- package/dist/src/composables/useConfig.d.ts +0 -2
- package/dist/src/composables/useRecommendation.d.ts +0 -1
- package/dist/src/config/migrator/recommendation/extractors.d.ts +8 -0
- package/dist/src/config/migrator/recommendationTitleMigrator.d.ts +5 -0
- package/dist/src/enums/extensions/recommendationBlock.d.ts +0 -2
- package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +2 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/controlIds.d.ts +7 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/cardComposition/index.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +3 -12
- package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/title/index.d.ts +86 -0
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +10 -210
- package/dist/src/extensions/Blocks/Recommendation/templates/titleRows.d.ts +13 -0
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +0 -6
- package/dist/src/extensions/Blocks/common-control.d.ts +1 -4
- package/dist/src/services/recommendationApi.d.ts +1 -4
- package/dist/src/stores/config.d.ts +0 -18
- package/dist/static/styles/customEditorStyle.css.js +3 -1
- package/dist/utils/dateUtil.js +10 -23
- package/dist/utils/templatePreparation.js +34 -37
- package/package.json +1 -2
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +0 -18
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +0 -67
- package/dist/components/organisms/extensions/recommendation/StrategyInfoBox.vue.js +0 -20
- package/dist/components/organisms/extensions/recommendation/StrategyInfoBox.vue2.js +0 -55
- package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +0 -132
- package/dist/node_modules/@useinsider/design-system-organisms/dist/index-Dc9AygoZ.js +0 -526
- package/dist/node_modules/@useinsider/design-system-organisms/dist/index.js +0 -9345
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InAccordion.js +0 -174
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBasicTextInput.js +0 -381
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBox.js +0 -236
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBulkActions.js +0 -70
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InButton.js +0 -350
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InButtonV2.js +0 -371
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InCheckBox.js +0 -152
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InChips.js +0 -141
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InCustomDropDown.js +0 -1047
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDataTableV2.js +0 -96050
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDatePicker.js +0 -2042
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDrawer.js +0 -166
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDropDown.js +0 -1098
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InIcons.js +0 -55
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InInfoBox.js +0 -265
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InLinks.js +0 -184
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InLoading.js +0 -50
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InModals.js +0 -453
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InNoData.js +0 -145
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InOnPageMessage.js +0 -176
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InProgress.js +0 -266
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InRadioButton.js +0 -114
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSegments.js +0 -200
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSelect.js +0 -451
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSkeleton.js +0 -49
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InStatusText.js +0 -119
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTabs.js +0 -4309
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTagsText.js +0 -129
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTextInput.js +0 -503
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InToasts.js +0 -253
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InToggle.js +0 -107
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTooltip.js +0 -134
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTooltipV2.js +0 -464
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/_commonjsHelpers.BItOPCY9.js +0 -28
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/_plugin-vue2_normalizer.WQT2Fc8L.js +0 -23
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/clickOutside.qP9M0QCm.js +0 -29
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/helpers.CgHNyjAJ.js +0 -109
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/index.Bw_06igr.js +0 -2339
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/localLocalesMixin.DYMhydo2.js +0 -16
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/useLocalLocales.Ckuhy7d-.js +0 -17
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/vue-property-decorator.BtlM7Epa.js +0 -188
- package/dist/src/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.d.ts +0 -3
- package/dist/src/components/organisms/extensions/recommendation/StrategyInfoBox.vue.d.ts +0 -24
- package/dist/src/extensions/Blocks/Recommendation/controls/main/strategy.d.ts +0 -37
- package/dist/src/mock/api/recommendation-strategies.d.ts +0 -43
- package/dist/static/styles/components/recommendation-strategy.css.js +0 -171
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
import { computed as l, ref as b, inject as $, onMounted as R, watch as L, nextTick as z } from "vue";
|
|
2
|
-
import { i as m } from "./chunks/helpers.CgHNyjAJ.js";
|
|
3
|
-
import { InSkeleton as G } from "./InSkeleton.js";
|
|
4
|
-
import { InIcons as P } from "./InIcons.js";
|
|
5
|
-
import { InTooltipV2 as A } from "./InTooltipV2.js";
|
|
6
|
-
import { n as u } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
|
|
7
|
-
/* empty css */
|
|
8
|
-
const E = "_in-single-button_v01428_lrHk2", H = "_in-single-button__wrapper_v01428_szU8g", M = "_in-single-button__wrapper-flex_v01428_1pz-l", N = "_in-single-button__wrapper-disabled_v01428_TP-f5", j = "_in-single-button__container_v01428_eu7is", C = "_in-single-button__container--text_v01428_f1fgz", D = "_in-single-button__label_v01428_f8PvS", V = "_multiline_v01428_Se9k-", U = "_singleline_v01428_g33fA", W = "_in-single-button__icons-margin--left_v01428_PmEyW", Y = "_in-single-button__icons-margin--right_v01428_iz-f4", X = "_in-single-button__size_default_v01428_gVeOe", F = "_in-single-button__size_small_v01428_87QiQ", Q = "_in-single-button__style_text_v01428_a8u0m", q = "_in-single-button_solid-primary_v01428_DN6b5", J = "_no-hover-effect_v01428_FOXop", K = "_in-single-button__label-styling_v01428_L05Te", Z = "_in-single-button--selected_v01428_uHQEJ", tt = "_in-single-button_solid-subtle-primary_v01428_I3ujr", nt = "_in-single-button_solid-secondary_v01428_51YNO", et = "_in-single-button_solid-danger_v01428_PmQNH", it = "_in-single-button_solid-warning_v01428_6vL9B", lt = "_in-single-button_solid-smart_v01428_Ltdtk", st = "_in-single-button_solid-subtle-smart_v01428_xuw-a", ot = "_in-single-button_solid-inverse_v01428_q-o4y", _t = "_in-single-button_ghost-primary_v01428_PvfN3", at = "_in-single-button_ghost-subtle-primary_v01428_djawj", ut = "_in-single-button_ghost-secondary_v01428_yxWFY", gt = "_in-single-button_ghost-danger_v01428_hJ-YO", rt = "_in-single-button_ghost-warning_v01428_ZVlxs", bt = "_in-single-button_ghost-smart_v01428_yEw4k", ct = "_in-single-button_ghost-subtle-smart_v01428_b2NW-", dt = "_in-single-button_ghost-inverse_v01428_FYjBJ", pt = "_in-single-button_text-primary_v01428_L3yTd", St = "_in-single-button_text-subtle-primary_v01428_dPXGK", yt = "_in-single-button_text-secondary_v01428_yUH-o", vt = "_in-single-button_text-danger_v01428_esyTp", ft = "_in-single-button_text-warning_v01428_bGgnh", mt = "_in-single-button_text-smart_v01428_ju8-I", xt = "_in-single-button_text-subtle-smart_v01428_ogRqJ", Bt = "_in-single-button_text-inverse_v01428_8sLpA", ht = "_in-single-button_loading_v01428_LIRtg", It = "_spinner_v01428_PNZIG", Tt = "_in-single-button_success_v01428_jaoPi", kt = "_in-single-button__style_solid_v01428_ylanV", wt = "_in-single-button__style_ghost_v01428_VXQ1A", Ot = "_in-single-button_disabled_v01428_-HKXR", $t = {
|
|
9
|
-
"in-single-button": "_in-single-button_v01428_lrHk2",
|
|
10
|
-
inSingleButton: E,
|
|
11
|
-
"in-single-button__wrapper": "_in-single-button__wrapper_v01428_szU8g",
|
|
12
|
-
inSingleButtonWrapper: H,
|
|
13
|
-
"in-single-button__wrapper-flex": "_in-single-button__wrapper-flex_v01428_1pz-l",
|
|
14
|
-
inSingleButtonWrapperFlex: M,
|
|
15
|
-
"in-single-button__wrapper-disabled": "_in-single-button__wrapper-disabled_v01428_TP-f5",
|
|
16
|
-
inSingleButtonWrapperDisabled: N,
|
|
17
|
-
"in-single-button__container": "_in-single-button__container_v01428_eu7is",
|
|
18
|
-
inSingleButtonContainer: j,
|
|
19
|
-
"in-single-button__container--text": "_in-single-button__container--text_v01428_f1fgz",
|
|
20
|
-
inSingleButtonContainerText: C,
|
|
21
|
-
"in-single-button__label": "_in-single-button__label_v01428_f8PvS",
|
|
22
|
-
inSingleButtonLabel: D,
|
|
23
|
-
multiline: V,
|
|
24
|
-
singleline: U,
|
|
25
|
-
"in-single-button__icons-margin--left": "_in-single-button__icons-margin--left_v01428_PmEyW",
|
|
26
|
-
inSingleButtonIconsMarginLeft: W,
|
|
27
|
-
"in-single-button__icons-margin--right": "_in-single-button__icons-margin--right_v01428_iz-f4",
|
|
28
|
-
inSingleButtonIconsMarginRight: Y,
|
|
29
|
-
"in-single-button__size_default": "_in-single-button__size_default_v01428_gVeOe",
|
|
30
|
-
inSingleButtonSizeDefault: X,
|
|
31
|
-
"in-single-button__size_small": "_in-single-button__size_small_v01428_87QiQ",
|
|
32
|
-
inSingleButtonSizeSmall: F,
|
|
33
|
-
"in-single-button__style_text": "_in-single-button__style_text_v01428_a8u0m",
|
|
34
|
-
inSingleButtonStyleText: Q,
|
|
35
|
-
"in-single-button_solid-primary": "_in-single-button_solid-primary_v01428_DN6b5",
|
|
36
|
-
inSingleButtonSolidPrimary: q,
|
|
37
|
-
"no-hover-effect": "_no-hover-effect_v01428_FOXop",
|
|
38
|
-
noHoverEffect: J,
|
|
39
|
-
"in-single-button__label-styling": "_in-single-button__label-styling_v01428_L05Te",
|
|
40
|
-
inSingleButtonLabelStyling: K,
|
|
41
|
-
"in-single-button--selected": "_in-single-button--selected_v01428_uHQEJ",
|
|
42
|
-
inSingleButtonSelected: Z,
|
|
43
|
-
"in-single-button_solid-subtle-primary": "_in-single-button_solid-subtle-primary_v01428_I3ujr",
|
|
44
|
-
inSingleButtonSolidSubtlePrimary: tt,
|
|
45
|
-
"in-single-button_solid-secondary": "_in-single-button_solid-secondary_v01428_51YNO",
|
|
46
|
-
inSingleButtonSolidSecondary: nt,
|
|
47
|
-
"in-single-button_solid-danger": "_in-single-button_solid-danger_v01428_PmQNH",
|
|
48
|
-
inSingleButtonSolidDanger: et,
|
|
49
|
-
"in-single-button_solid-warning": "_in-single-button_solid-warning_v01428_6vL9B",
|
|
50
|
-
inSingleButtonSolidWarning: it,
|
|
51
|
-
"in-single-button_solid-smart": "_in-single-button_solid-smart_v01428_Ltdtk",
|
|
52
|
-
inSingleButtonSolidSmart: lt,
|
|
53
|
-
"in-single-button_solid-subtle-smart": "_in-single-button_solid-subtle-smart_v01428_xuw-a",
|
|
54
|
-
inSingleButtonSolidSubtleSmart: st,
|
|
55
|
-
"in-single-button_solid-inverse": "_in-single-button_solid-inverse_v01428_q-o4y",
|
|
56
|
-
inSingleButtonSolidInverse: ot,
|
|
57
|
-
"in-single-button_ghost-primary": "_in-single-button_ghost-primary_v01428_PvfN3",
|
|
58
|
-
inSingleButtonGhostPrimary: _t,
|
|
59
|
-
"in-single-button_ghost-subtle-primary": "_in-single-button_ghost-subtle-primary_v01428_djawj",
|
|
60
|
-
inSingleButtonGhostSubtlePrimary: at,
|
|
61
|
-
"in-single-button_ghost-secondary": "_in-single-button_ghost-secondary_v01428_yxWFY",
|
|
62
|
-
inSingleButtonGhostSecondary: ut,
|
|
63
|
-
"in-single-button_ghost-danger": "_in-single-button_ghost-danger_v01428_hJ-YO",
|
|
64
|
-
inSingleButtonGhostDanger: gt,
|
|
65
|
-
"in-single-button_ghost-warning": "_in-single-button_ghost-warning_v01428_ZVlxs",
|
|
66
|
-
inSingleButtonGhostWarning: rt,
|
|
67
|
-
"in-single-button_ghost-smart": "_in-single-button_ghost-smart_v01428_yEw4k",
|
|
68
|
-
inSingleButtonGhostSmart: bt,
|
|
69
|
-
"in-single-button_ghost-subtle-smart": "_in-single-button_ghost-subtle-smart_v01428_b2NW-",
|
|
70
|
-
inSingleButtonGhostSubtleSmart: ct,
|
|
71
|
-
"in-single-button_ghost-inverse": "_in-single-button_ghost-inverse_v01428_FYjBJ",
|
|
72
|
-
inSingleButtonGhostInverse: dt,
|
|
73
|
-
"in-single-button_text-primary": "_in-single-button_text-primary_v01428_L3yTd",
|
|
74
|
-
inSingleButtonTextPrimary: pt,
|
|
75
|
-
"in-single-button_text-subtle-primary": "_in-single-button_text-subtle-primary_v01428_dPXGK",
|
|
76
|
-
inSingleButtonTextSubtlePrimary: St,
|
|
77
|
-
"in-single-button_text-secondary": "_in-single-button_text-secondary_v01428_yUH-o",
|
|
78
|
-
inSingleButtonTextSecondary: yt,
|
|
79
|
-
"in-single-button_text-danger": "_in-single-button_text-danger_v01428_esyTp",
|
|
80
|
-
inSingleButtonTextDanger: vt,
|
|
81
|
-
"in-single-button_text-warning": "_in-single-button_text-warning_v01428_bGgnh",
|
|
82
|
-
inSingleButtonTextWarning: ft,
|
|
83
|
-
"in-single-button_text-smart": "_in-single-button_text-smart_v01428_ju8-I",
|
|
84
|
-
inSingleButtonTextSmart: mt,
|
|
85
|
-
"in-single-button_text-subtle-smart": "_in-single-button_text-subtle-smart_v01428_ogRqJ",
|
|
86
|
-
inSingleButtonTextSubtleSmart: xt,
|
|
87
|
-
"in-single-button_text-inverse": "_in-single-button_text-inverse_v01428_8sLpA",
|
|
88
|
-
inSingleButtonTextInverse: Bt,
|
|
89
|
-
"in-single-button_loading": "_in-single-button_loading_v01428_LIRtg",
|
|
90
|
-
inSingleButtonLoading: ht,
|
|
91
|
-
spinner: It,
|
|
92
|
-
"in-single-button_success": "_in-single-button_success_v01428_jaoPi",
|
|
93
|
-
inSingleButtonSuccess: Tt,
|
|
94
|
-
"in-single-button__style_solid": "_in-single-button__style_solid_v01428_ylanV",
|
|
95
|
-
inSingleButtonStyleSolid: kt,
|
|
96
|
-
"in-single-button__style_ghost": "_in-single-button__style_ghost_v01428_VXQ1A",
|
|
97
|
-
inSingleButtonStyleGhost: wt,
|
|
98
|
-
"in-single-button_disabled": "_in-single-button_disabled_v01428_-HKXR",
|
|
99
|
-
inSingleButtonDisabled: Ot
|
|
100
|
-
}, _ = {
|
|
101
|
-
SOLID: "solid",
|
|
102
|
-
GHOST: "ghost",
|
|
103
|
-
TEXT: "text"
|
|
104
|
-
}, c = {
|
|
105
|
-
PRIMARY: "primary",
|
|
106
|
-
SUBTLE_PRIMARY: "subtle-primary",
|
|
107
|
-
SECONDARY: "secondary",
|
|
108
|
-
DANGER: "danger",
|
|
109
|
-
WARNING: "warning",
|
|
110
|
-
SMART: "smart",
|
|
111
|
-
SUBTLE_SMART: "subtle-smart",
|
|
112
|
-
INVERSE: "inverse"
|
|
113
|
-
}, d = {
|
|
114
|
-
DEFAULT: "default",
|
|
115
|
-
SMALL: "small"
|
|
116
|
-
}, Rt = ["40", "24", "20"], Lt = {
|
|
117
|
-
id: "tooltip",
|
|
118
|
-
dynamicPosition: !1,
|
|
119
|
-
staticPosition: "top center",
|
|
120
|
-
iconStatus: !1,
|
|
121
|
-
offset: { x: 4, y: 4 },
|
|
122
|
-
preventXss: !1
|
|
123
|
-
}, zt = {
|
|
124
|
-
componentName: "InButton",
|
|
125
|
-
components: { InTooltipV2: A, InIcons: P },
|
|
126
|
-
props: {
|
|
127
|
-
id: { type: String, required: !0 },
|
|
128
|
-
styling: { type: String, default: _.SOLID, validator: (t) => Object.values(_).includes(t) },
|
|
129
|
-
type: { type: String, default: c.PRIMARY, validator: (t) => Object.values(c).includes(t) },
|
|
130
|
-
size: { type: String, default: d.DEFAULT, validator: (t) => Object.values(d).includes(t) },
|
|
131
|
-
selectedStatus: { type: Boolean, default: !1 },
|
|
132
|
-
disabledStatus: { type: Boolean, default: !1 },
|
|
133
|
-
loadingStatus: { type: Boolean, default: !1 },
|
|
134
|
-
successStatus: { type: Boolean, default: !1 },
|
|
135
|
-
labelTextStatus: { type: Boolean, default: !0 },
|
|
136
|
-
labelText: { type: String | Number, default: "Label" },
|
|
137
|
-
leftIcon: { type: String, default: "" },
|
|
138
|
-
rightIcon: { type: String, default: "" },
|
|
139
|
-
skeletonStatus: { type: Boolean, default: !1 },
|
|
140
|
-
skeletonSizing: { type: Object, default: () => ({ width: 0, height: 0 }) },
|
|
141
|
-
iconSize: { type: String, default: "24", validator: (t) => Rt.includes(t) },
|
|
142
|
-
buttonGroup: { type: Boolean, default: !0 },
|
|
143
|
-
iconClick: { type: Boolean, default: !1 },
|
|
144
|
-
isTooltip: { type: Boolean, default: !1 },
|
|
145
|
-
tooltipText: { type: String, default: "" },
|
|
146
|
-
tooltipOptions: { type: Object, default: () => Lt }
|
|
147
|
-
},
|
|
148
|
-
setup(t, { emit: n }) {
|
|
149
|
-
const e = b(null), i = b(!1), s = $("__disableTriggerButtonMultiline", !1), g = async () => {
|
|
150
|
-
var r;
|
|
151
|
-
if (s) {
|
|
152
|
-
i.value = !1;
|
|
153
|
-
return;
|
|
154
|
-
}
|
|
155
|
-
await z();
|
|
156
|
-
const o = e.value;
|
|
157
|
-
if (o) {
|
|
158
|
-
const O = parseInt(((r = window.getComputedStyle(o)) == null ? void 0 : r.lineHeight) || 0);
|
|
159
|
-
i.value = o.offsetHeight > O * 1.5;
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
R(() => {
|
|
163
|
-
g();
|
|
164
|
-
}), L(() => t.labelText, () => {
|
|
165
|
-
g();
|
|
166
|
-
});
|
|
167
|
-
const B = l(() => t.loadingStatus ? "loading-circle" : t.successStatus ? "line-check-netural" : t.leftIcon), h = l(() => t.loadingStatus || t.successStatus ? "" : t.rightIcon), I = l(() => t.loadingStatus || t.successStatus ? !0 : !!t.leftIcon.length), T = l(() => t.loadingStatus || t.successStatus ? !1 : !!t.rightIcon.length), k = l(() => t.styling === _.TEXT && t.labelTextStatus && t.labelText !== "" && (t.leftIcon.length || t.rightIcon.length || t.loadingStatus || t.successStatus) ? "in-single-button__container--text" : ""), w = l(() => !m(t.tooltipText));
|
|
168
|
-
return {
|
|
169
|
-
clickHandler: () => {
|
|
170
|
-
t.disabledStatus || n("click");
|
|
171
|
-
},
|
|
172
|
-
stylingTextClass: k,
|
|
173
|
-
leftIcon: B,
|
|
174
|
-
rightIcon: h,
|
|
175
|
-
leftIconStatus: I,
|
|
176
|
-
rightIconStatus: T,
|
|
177
|
-
clickIconHandler: () => {
|
|
178
|
-
t.iconClick && n("clickIcon");
|
|
179
|
-
},
|
|
180
|
-
tooltipStatus: w,
|
|
181
|
-
labelRef: e,
|
|
182
|
-
isMultiline: i,
|
|
183
|
-
disableMultiline: s
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
var Gt = function() {
|
|
188
|
-
var t = this, n = t._self._c;
|
|
189
|
-
return n("in-tooltip-v2", t._b({ staticClass: "in-single-button__tooltip", class: t.$style["in-single-button__tooltip"], attrs: { text: t.tooltipText, status: t.tooltipStatus } }, "in-tooltip-v2", t.tooltipOptions, !1), [n("div", { staticClass: "in-single-button__wrapper w-1", class: [
|
|
190
|
-
t.$style["in-single-button__wrapper"],
|
|
191
|
-
t.styling === "text" ? "in-single-button__wrapper-flex" : "",
|
|
192
|
-
t.styling === "text" ? t.$style["in-single-button__wrapper-flex"] : "",
|
|
193
|
-
t.disabledStatus ? "in-single-button__wrapper-disabled" : "",
|
|
194
|
-
t.disabledStatus ? t.$style["in-single-button__wrapper-disabled"] : ""
|
|
195
|
-
], attrs: { slot: "triggerElement" }, slot: "triggerElement" }, [n("button", { staticClass: "in-single-button", class: [
|
|
196
|
-
t.$style["in-single-button"],
|
|
197
|
-
{ "in-single-button_loading": t.loadingStatus },
|
|
198
|
-
{ [t.$style["in-single-button_loading"]]: t.loadingStatus },
|
|
199
|
-
{ "in-single-button_disabled": t.disabledStatus },
|
|
200
|
-
{ [t.$style["in-single-button_disabled"]]: t.disabledStatus },
|
|
201
|
-
{ "in-single-button_success": t.successStatus },
|
|
202
|
-
{ [t.$style["in-single-button_success"]]: t.successStatus },
|
|
203
|
-
{ "in-single-button--selected": t.selectedStatus },
|
|
204
|
-
{ [t.$style["in-single-button--selected"]]: t.selectedStatus },
|
|
205
|
-
{
|
|
206
|
-
multiline: t.isMultiline,
|
|
207
|
-
singleline: t.disableMultiline
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
[t.$style.multiline]: t.isMultiline,
|
|
211
|
-
[t.$style.singleline]: t.disableMultiline
|
|
212
|
-
},
|
|
213
|
-
`in-single-button__style_${t.styling}`,
|
|
214
|
-
t.$style[`in-single-button__style_${t.styling}`],
|
|
215
|
-
`in-single-button_${t.styling}-${t.type}`,
|
|
216
|
-
t.$style[`in-single-button_${t.styling}-${t.type}`],
|
|
217
|
-
`in-single-button__size_${t.size}`,
|
|
218
|
-
t.$style[`in-single-button__size_${t.size}`]
|
|
219
|
-
], attrs: { id: t.id, disabled: t.disabledStatus, "data-title": t.labelText }, on: { click: t.clickHandler } }, [n("div", { staticClass: "in-single-button__container", class: [
|
|
220
|
-
t.$style["in-single-button__container"],
|
|
221
|
-
t.stylingTextClass,
|
|
222
|
-
t.stylingTextClass ? t.$style[t.stylingTextClass] : ""
|
|
223
|
-
] }, [t.leftIconStatus ? n("in-icons", { staticClass: "qa-left-icon", attrs: { size: t.iconSize, name: t.leftIcon }, on: { click: t.clickIconHandler } }) : t._e(), t.labelTextStatus ? n("span", { ref: "labelRef", class: [
|
|
224
|
-
{ "in-single-button__label": t.styling !== "text" },
|
|
225
|
-
{ [t.$style["in-single-button__label"]]: t.styling !== "text" },
|
|
226
|
-
{ "in-single-button__label-styling": t.styling == "text" },
|
|
227
|
-
{ [t.$style["in-single-button__label-styling"]]: t.styling == "text" },
|
|
228
|
-
{
|
|
229
|
-
multiline: t.isMultiline,
|
|
230
|
-
singleline: t.disableMultiline
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
[t.$style.multiline]: t.isMultiline,
|
|
234
|
-
[t.$style.singleline]: t.disableMultiline
|
|
235
|
-
}
|
|
236
|
-
] }, [t._v(" " + t._s(t.labelText) + " ")]) : t._e(), t.rightIconStatus ? n("in-icons", { staticClass: "qa-right-icon", attrs: { size: t.iconSize, name: t.rightIcon }, on: { click: t.clickIconHandler } }) : t._e()], 1)])])]);
|
|
237
|
-
}, Pt = [];
|
|
238
|
-
const p = {
|
|
239
|
-
$style: $t
|
|
240
|
-
};
|
|
241
|
-
function At(t) {
|
|
242
|
-
for (var n in p)
|
|
243
|
-
this[n] = p[n];
|
|
244
|
-
}
|
|
245
|
-
var Et = /* @__PURE__ */ u(
|
|
246
|
-
zt,
|
|
247
|
-
Gt,
|
|
248
|
-
Pt,
|
|
249
|
-
!1,
|
|
250
|
-
At
|
|
251
|
-
);
|
|
252
|
-
const x = Et.exports, Ht = "_in-group-button__wrapper_v01428_mmOVR", Mt = "_multiline_v01428_0gXor", Nt = {
|
|
253
|
-
"in-group-button__wrapper": "_in-group-button__wrapper_v01428_mmOVR",
|
|
254
|
-
inGroupButtonWrapper: Ht,
|
|
255
|
-
multiline: Mt
|
|
256
|
-
}, jt = {
|
|
257
|
-
componentName: "InButtonGroup",
|
|
258
|
-
components: { InButton: x },
|
|
259
|
-
props: {
|
|
260
|
-
buttonGroupOptions: { type: Array, default: () => [] }
|
|
261
|
-
},
|
|
262
|
-
setup(t, { emit: n }) {
|
|
263
|
-
return { clickHandler: (e) => n("click", e) };
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
var Ct = function() {
|
|
267
|
-
var t = this, n = t._self._c;
|
|
268
|
-
return n("div", { staticClass: "in-group-button__wrapper", class: t.$style["in-group-button__wrapper"] }, t._l(t.buttonGroupOptions, function(e, i) {
|
|
269
|
-
return n("in-button", t._b({ key: i, attrs: { id: e.id }, on: { click: () => t.clickHandler({ option: e, index: i }) } }, "in-button", e, !1));
|
|
270
|
-
}), 1);
|
|
271
|
-
}, Dt = [];
|
|
272
|
-
const S = {
|
|
273
|
-
$style: Nt
|
|
274
|
-
};
|
|
275
|
-
function Vt(t) {
|
|
276
|
-
for (var n in S)
|
|
277
|
-
this[n] = S[n];
|
|
278
|
-
}
|
|
279
|
-
var Ut = /* @__PURE__ */ u(
|
|
280
|
-
jt,
|
|
281
|
-
Ct,
|
|
282
|
-
Dt,
|
|
283
|
-
!1,
|
|
284
|
-
Vt
|
|
285
|
-
);
|
|
286
|
-
const Wt = Ut.exports, Yt = "_in-button-v2__wrapper_v01428_kaglf", Xt = "_in-button-v2__single_v01428_3Fffr", Ft = {
|
|
287
|
-
"in-button-v2__wrapper": "_in-button-v2__wrapper_v01428_kaglf",
|
|
288
|
-
inButtonV2Wrapper: Yt,
|
|
289
|
-
"in-button-v2__single": "_in-button-v2__single_v01428_3Fffr",
|
|
290
|
-
inButtonV2Single: Xt
|
|
291
|
-
}, a = {
|
|
292
|
-
SOLID: "solid",
|
|
293
|
-
GHOST: "ghost",
|
|
294
|
-
TEXT: "text"
|
|
295
|
-
}, y = {
|
|
296
|
-
PRIMARY: "primary",
|
|
297
|
-
SUBTLE_PRIMARY: "subtle-primary",
|
|
298
|
-
SECONDARY: "secondary",
|
|
299
|
-
DANGER: "danger",
|
|
300
|
-
WARNING: "warning",
|
|
301
|
-
SMART: "smart",
|
|
302
|
-
SUBTLE_SMART: "subtle-smart",
|
|
303
|
-
INVERSE: "inverse"
|
|
304
|
-
}, v = {
|
|
305
|
-
DEFAULT: "default",
|
|
306
|
-
SMALL: "small"
|
|
307
|
-
}, Qt = ["40", "24", "20"], qt = {
|
|
308
|
-
id: "tooltip",
|
|
309
|
-
dynamicPosition: !1,
|
|
310
|
-
staticPosition: "top center",
|
|
311
|
-
iconStatus: !1,
|
|
312
|
-
offset: { x: 4, y: 4 },
|
|
313
|
-
preventXss: !1
|
|
314
|
-
}, Jt = {
|
|
315
|
-
components: { InSkeleton: G, InButton: x, InButtonGroup: Wt },
|
|
316
|
-
props: {
|
|
317
|
-
id: { type: String, required: !0 },
|
|
318
|
-
styling: { type: String, default: a.SOLID, validator: (t) => Object.values(a).includes(t) },
|
|
319
|
-
type: { type: String, default: y.PRIMARY, validator: (t) => Object.values(y).includes(t) },
|
|
320
|
-
size: { type: String, default: v.DEFAULT, validator: (t) => Object.values(v).includes(t) },
|
|
321
|
-
disabledStatus: { type: Boolean, default: !1 },
|
|
322
|
-
selectedStatus: { type: Boolean, default: !1 },
|
|
323
|
-
loadingStatus: { type: Boolean, default: !1 },
|
|
324
|
-
successStatus: { type: Boolean, default: !1 },
|
|
325
|
-
labelTextStatus: { type: Boolean, default: !0 },
|
|
326
|
-
labelText: { type: String | Number, default: "Label" },
|
|
327
|
-
leftIcon: { type: String, default: "" },
|
|
328
|
-
rightIcon: { type: String, default: "" },
|
|
329
|
-
skeletonStatus: { type: Boolean, default: !1 },
|
|
330
|
-
skeletonSizing: { type: Object, default: () => ({ width: 0, height: 0 }) },
|
|
331
|
-
iconSize: { type: String, default: "24", validator: (t) => Qt.includes(t) },
|
|
332
|
-
buttonGroupOptions: { type: Array, default: () => [] },
|
|
333
|
-
iconClick: { type: Boolean, default: !1 },
|
|
334
|
-
tooltipText: { type: String, default: "" },
|
|
335
|
-
tooltipOptions: { type: Object, default: () => qt }
|
|
336
|
-
},
|
|
337
|
-
setup(t, { emit: n }) {
|
|
338
|
-
const e = l(() => !m(t.buttonGroupOptions)), i = l(() => t.styling === a.TEXT);
|
|
339
|
-
return {
|
|
340
|
-
isButtonGroupOptionsUsed: e,
|
|
341
|
-
isText: i,
|
|
342
|
-
clickHandler: (s = {}) => n("click", s),
|
|
343
|
-
clickIconHandler: () => n("clickIcon")
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
var Kt = function() {
|
|
348
|
-
var t = this, n = t._self._c;
|
|
349
|
-
return n("div", { class: [
|
|
350
|
-
{ "in-button-v2__wrapper": !t.isButtonGroupOptionsUsed },
|
|
351
|
-
{ [t.$style["in-button-v2__wrapper"]]: !t.isButtonGroupOptionsUsed }
|
|
352
|
-
] }, [!t.skeletonStatus && t.isButtonGroupOptionsUsed ? n("in-button-group", t._b({ on: { click: t.clickHandler } }, "in-button-group", t.$props, !1)) : t.skeletonStatus ? t._e() : n("in-button", t._b({ staticClass: "in-button-v2__single", class: t.$style["in-button-v2__single"], on: { click: t.clickHandler, clickIcon: t.clickIconHandler } }, "in-button", t.$props, !1)), t.skeletonStatus ? n("in-skeleton", { attrs: { name: "InButtonV2", status: t.skeletonStatus, sizing: t.skeletonSizing } }) : t._e()], 1);
|
|
353
|
-
}, Zt = [];
|
|
354
|
-
const f = {
|
|
355
|
-
$style: Ft
|
|
356
|
-
};
|
|
357
|
-
function tn(t) {
|
|
358
|
-
for (var n in f)
|
|
359
|
-
this[n] = f[n];
|
|
360
|
-
}
|
|
361
|
-
var nn = /* @__PURE__ */ u(
|
|
362
|
-
Jt,
|
|
363
|
-
Kt,
|
|
364
|
-
Zt,
|
|
365
|
-
!1,
|
|
366
|
-
tn
|
|
367
|
-
);
|
|
368
|
-
const gn = nn.exports;
|
|
369
|
-
export {
|
|
370
|
-
gn as InButtonV2
|
|
371
|
-
};
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { InIcons as n } from "./InIcons.js";
|
|
2
|
-
import { InSkeleton as i } from "./InSkeleton.js";
|
|
3
|
-
import { p as a } from "./chunks/helpers.CgHNyjAJ.js";
|
|
4
|
-
import { l as s } from "./chunks/localLocalesMixin.DYMhydo2.js";
|
|
5
|
-
import { n as o } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
|
|
6
|
-
/* empty css */
|
|
7
|
-
const p = "_in-check-box-wrapper_v01428_RJybU", l = "_in-check-box-wrapper__input_v01428_Rg-c6", k = "_in-check-box-wrapper__label_v01428_22cve", h = "_in-check-box-wrapper_checked_v01428_KVQrp", _ = {
|
|
8
|
-
"in-check-box-wrapper": "_in-check-box-wrapper_v01428_RJybU",
|
|
9
|
-
inCheckBoxWrapper: p,
|
|
10
|
-
"in-check-box-wrapper__input": "_in-check-box-wrapper__input_v01428_Rg-c6",
|
|
11
|
-
inCheckBoxWrapperInput: l,
|
|
12
|
-
"in-check-box-wrapper__label": "_in-check-box-wrapper__label_v01428_22cve",
|
|
13
|
-
inCheckBoxWrapperLabel: k,
|
|
14
|
-
"in-check-box-wrapper_checked": "_in-check-box-wrapper_checked_v01428_KVQrp",
|
|
15
|
-
inCheckBoxWrapperChecked: h
|
|
16
|
-
}, b = {
|
|
17
|
-
name: "InCheckBox",
|
|
18
|
-
components: {
|
|
19
|
-
InIcons: n,
|
|
20
|
-
InSkeleton: i
|
|
21
|
-
},
|
|
22
|
-
mixins: [s],
|
|
23
|
-
props: {
|
|
24
|
-
/**
|
|
25
|
-
* @property {string} id
|
|
26
|
-
*/
|
|
27
|
-
id: {
|
|
28
|
-
type: String,
|
|
29
|
-
required: !0
|
|
30
|
-
},
|
|
31
|
-
/**
|
|
32
|
-
* @property {string} name
|
|
33
|
-
*/
|
|
34
|
-
name: {
|
|
35
|
-
type: String | Number,
|
|
36
|
-
required: !0
|
|
37
|
-
},
|
|
38
|
-
/**
|
|
39
|
-
* @property {string|number|boolean} selected
|
|
40
|
-
*/
|
|
41
|
-
checked: {
|
|
42
|
-
type: String | Number | Boolean,
|
|
43
|
-
required: !0
|
|
44
|
-
},
|
|
45
|
-
/**
|
|
46
|
-
* @property {string} label
|
|
47
|
-
*/
|
|
48
|
-
label: {
|
|
49
|
-
type: String,
|
|
50
|
-
required: !0
|
|
51
|
-
},
|
|
52
|
-
/**
|
|
53
|
-
* @property {boolean} boldLabel
|
|
54
|
-
*/
|
|
55
|
-
boldLabel: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: !1
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* @property {boolean} disable
|
|
61
|
-
*/
|
|
62
|
-
disable: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
default: !1
|
|
65
|
-
},
|
|
66
|
-
/**
|
|
67
|
-
* @property {boolean} indeterminate
|
|
68
|
-
*/
|
|
69
|
-
indeterminate: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
default: !1
|
|
72
|
-
},
|
|
73
|
-
preventXss: { type: Boolean, default: !1 },
|
|
74
|
-
/**
|
|
75
|
-
* @property {boolean} skeletonStatus
|
|
76
|
-
*/
|
|
77
|
-
skeletonStatus: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: !1
|
|
80
|
-
},
|
|
81
|
-
/**
|
|
82
|
-
* @property {number} skeletonSizing
|
|
83
|
-
*/
|
|
84
|
-
skeletonSizing: {
|
|
85
|
-
type: Object,
|
|
86
|
-
default: () => ({
|
|
87
|
-
width: 0,
|
|
88
|
-
number: 0
|
|
89
|
-
})
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
data() {
|
|
93
|
-
return {
|
|
94
|
-
isChecked: this.checked
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
|
-
computed: {
|
|
98
|
-
iconName() {
|
|
99
|
-
return this.indeterminate ? "line-minus-netural" : "line-check-netural";
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
watch: {
|
|
103
|
-
checked(e) {
|
|
104
|
-
this.isChecked = e;
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
methods: {
|
|
108
|
-
/**
|
|
109
|
-
* @param {string} label
|
|
110
|
-
* @return {string}
|
|
111
|
-
*/
|
|
112
|
-
getSanitizedLabel(e) {
|
|
113
|
-
return this.preventXss ? a(e) : e;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
var d = function() {
|
|
118
|
-
var e = this, t = e._self._c;
|
|
119
|
-
return t("fieldset", { staticClass: "in-form-item in-check-box-wrapper qa-checkbox d-f min-w-0-s", class: [
|
|
120
|
-
e.$style["in-check-box-wrapper"],
|
|
121
|
-
{ "in-check-box-wrapper_checked": e.isChecked },
|
|
122
|
-
{ [e.$style["in-check-box-wrapper_checked"]]: e.isChecked }
|
|
123
|
-
] }, [e.skeletonStatus ? e._e() : t("input", { staticClass: "in-check-box-wrapper__input", class: e.$style["in-check-box-wrapper__input"], attrs: { id: e.id, name: e.name, type: "checkbox" }, domProps: { checked: e.isChecked, indeterminate: e.indeterminate } }), e.skeletonStatus ? e._e() : t("label", { staticClass: "d-i-b in-check-box-wrapper__label h-4-s", class: [
|
|
124
|
-
e.$style["in-check-box-wrapper__label"],
|
|
125
|
-
{ "in-check-box-wrapper__label_disable": e.disable },
|
|
126
|
-
{ [e.$style["in-check-box-wrapper__label_disable"]]: e.disable },
|
|
127
|
-
{ "in-check-box-wrapper_checked": e.isChecked },
|
|
128
|
-
{ [e.$style["in-check-box-wrapper_checked"]]: e.isChecked }
|
|
129
|
-
], attrs: { for: e.id }, on: { click: function(r) {
|
|
130
|
-
return e.$emit("click", !e.isChecked);
|
|
131
|
-
} } }, [t("in-icons", { attrs: { name: e.iconName, size: "20" } })], 1), e.skeletonStatus ? e._e() : t("span", { staticClass: "w-s-n-w cur-p w-1 t-o-e o-h in-check-box-wrapper__checkbox-text", class: [{ "f-w-600": e.boldLabel }, { "t-c-3 p-e-n": e.disable }], attrs: { title: e.label }, domProps: { innerHTML: e._s(e.getSanitizedLabel(e.label)) }, on: { click: function(r) {
|
|
132
|
-
return e.$emit("click", !e.isChecked);
|
|
133
|
-
} } }), e.skeletonStatus ? t("in-skeleton", { attrs: { sizing: e.skeletonSizing, name: "InCheckbox" } }) : e._e()], 1);
|
|
134
|
-
}, u = [];
|
|
135
|
-
const c = {
|
|
136
|
-
$style: _
|
|
137
|
-
};
|
|
138
|
-
function x(e) {
|
|
139
|
-
for (var t in c)
|
|
140
|
-
this[t] = c[t];
|
|
141
|
-
}
|
|
142
|
-
var m = /* @__PURE__ */ o(
|
|
143
|
-
b,
|
|
144
|
-
d,
|
|
145
|
-
u,
|
|
146
|
-
!1,
|
|
147
|
-
x
|
|
148
|
-
);
|
|
149
|
-
const B = m.exports;
|
|
150
|
-
export {
|
|
151
|
-
B as InCheckBox
|
|
152
|
-
};
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { computed as p, ref as o } from "vue";
|
|
2
|
-
import { InIcons as c } from "./InIcons.js";
|
|
3
|
-
import { n as l } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
|
|
4
|
-
/* empty css */
|
|
5
|
-
const h = "_in-chips-wrapper_v01428_Clh-l", d = "_in-chips-content_v01428_dOhUp", w = "_in-chips-content--no-icon_v01428_4NgbY", v = "_in-chips-content__text_v01428_TCp-G", g = "_in-chips-wrapper_stroke_default_v01428_X93KH", u = "_in-chips-content-actionable_v01428_0tfd6", f = "_is-dragged_v01428_IkWu5", m = "_in-chips-wrapper--selected_v01428_b1h8j", k = "_in-chips-wrapper--not-interactive_v01428_xraQb", C = "_in-chips-content__icon_v01428_jeDjB", S = "_in-chips-wrapper_stroke_danger_v01428_2kqkM", y = "_in-chips-wrapper_stroke_warning_v01428_OWNFf", b = "_in-chips-wrapper_stroke_neutral_v01428_G0XK9", W = "_in-chips-wrapper_stroke_disable_v01428_TX26f", x = "_in-chips-wrapper_stroke_smart_v01428_jVR0V", D = "_in-chips-wrapper_stroke_information_v01428_f2l0e", $ = "_in-chips-wrapper_stroke_orange_v01428_zuDPg", B = "_in-chips-wrapper_stroke_magenta_v01428_7KrNe", I = "_in-chips-wrapper_solid_default_v01428_QsDc0", N = "_in-chips-wrapper_solid_danger_v01428_mXQz5", j = "_in-chips-wrapper_solid_warning_v01428_HnJdi", F = "_in-chips-wrapper_solid_neutral_v01428_hvQFF", G = "_in-chips-wrapper_solid_disable_v01428_3imwD", O = "_in-chips-wrapper_solid_smart_v01428_J6tuO", Q = "_in-chips-wrapper_solid_information_v01428_GGesF", X = "_in-chips-wrapper_solid_orange_v01428_-nea5", T = "_in-chips-wrapper_solid_magenta_v01428_Hcx8w", H = "_in-chips-wrapper_solid_v01428_PD6Lf", K = {
|
|
6
|
-
"in-chips-wrapper": "_in-chips-wrapper_v01428_Clh-l",
|
|
7
|
-
inChipsWrapper: h,
|
|
8
|
-
"in-chips-content": "_in-chips-content_v01428_dOhUp",
|
|
9
|
-
inChipsContent: d,
|
|
10
|
-
"in-chips-content--no-icon": "_in-chips-content--no-icon_v01428_4NgbY",
|
|
11
|
-
inChipsContentNoIcon: w,
|
|
12
|
-
"in-chips-content__text": "_in-chips-content__text_v01428_TCp-G",
|
|
13
|
-
inChipsContentText: v,
|
|
14
|
-
"in-chips-wrapper_stroke_default": "_in-chips-wrapper_stroke_default_v01428_X93KH",
|
|
15
|
-
inChipsWrapperStrokeDefault: g,
|
|
16
|
-
"in-chips-content-actionable": "_in-chips-content-actionable_v01428_0tfd6",
|
|
17
|
-
inChipsContentActionable: u,
|
|
18
|
-
"is-dragged": "_is-dragged_v01428_IkWu5",
|
|
19
|
-
isDragged: f,
|
|
20
|
-
"in-chips-wrapper--selected": "_in-chips-wrapper--selected_v01428_b1h8j",
|
|
21
|
-
inChipsWrapperSelected: m,
|
|
22
|
-
"in-chips-wrapper--not-interactive": "_in-chips-wrapper--not-interactive_v01428_xraQb",
|
|
23
|
-
inChipsWrapperNotInteractive: k,
|
|
24
|
-
"in-chips-content__icon": "_in-chips-content__icon_v01428_jeDjB",
|
|
25
|
-
inChipsContentIcon: C,
|
|
26
|
-
"in-chips-wrapper_stroke_danger": "_in-chips-wrapper_stroke_danger_v01428_2kqkM",
|
|
27
|
-
inChipsWrapperStrokeDanger: S,
|
|
28
|
-
"in-chips-wrapper_stroke_warning": "_in-chips-wrapper_stroke_warning_v01428_OWNFf",
|
|
29
|
-
inChipsWrapperStrokeWarning: y,
|
|
30
|
-
"in-chips-wrapper_stroke_neutral": "_in-chips-wrapper_stroke_neutral_v01428_G0XK9",
|
|
31
|
-
inChipsWrapperStrokeNeutral: b,
|
|
32
|
-
"in-chips-wrapper_stroke_disable": "_in-chips-wrapper_stroke_disable_v01428_TX26f",
|
|
33
|
-
inChipsWrapperStrokeDisable: W,
|
|
34
|
-
"in-chips-wrapper_stroke_smart": "_in-chips-wrapper_stroke_smart_v01428_jVR0V",
|
|
35
|
-
inChipsWrapperStrokeSmart: x,
|
|
36
|
-
"in-chips-wrapper_stroke_information": "_in-chips-wrapper_stroke_information_v01428_f2l0e",
|
|
37
|
-
inChipsWrapperStrokeInformation: D,
|
|
38
|
-
"in-chips-wrapper_stroke_orange": "_in-chips-wrapper_stroke_orange_v01428_zuDPg",
|
|
39
|
-
inChipsWrapperStrokeOrange: $,
|
|
40
|
-
"in-chips-wrapper_stroke_magenta": "_in-chips-wrapper_stroke_magenta_v01428_7KrNe",
|
|
41
|
-
inChipsWrapperStrokeMagenta: B,
|
|
42
|
-
"in-chips-wrapper_solid_default": "_in-chips-wrapper_solid_default_v01428_QsDc0",
|
|
43
|
-
inChipsWrapperSolidDefault: I,
|
|
44
|
-
"in-chips-wrapper_solid_danger": "_in-chips-wrapper_solid_danger_v01428_mXQz5",
|
|
45
|
-
inChipsWrapperSolidDanger: N,
|
|
46
|
-
"in-chips-wrapper_solid_warning": "_in-chips-wrapper_solid_warning_v01428_HnJdi",
|
|
47
|
-
inChipsWrapperSolidWarning: j,
|
|
48
|
-
"in-chips-wrapper_solid_neutral": "_in-chips-wrapper_solid_neutral_v01428_hvQFF",
|
|
49
|
-
inChipsWrapperSolidNeutral: F,
|
|
50
|
-
"in-chips-wrapper_solid_disable": "_in-chips-wrapper_solid_disable_v01428_3imwD",
|
|
51
|
-
inChipsWrapperSolidDisable: G,
|
|
52
|
-
"in-chips-wrapper_solid_smart": "_in-chips-wrapper_solid_smart_v01428_J6tuO",
|
|
53
|
-
inChipsWrapperSolidSmart: O,
|
|
54
|
-
"in-chips-wrapper_solid_information": "_in-chips-wrapper_solid_information_v01428_GGesF",
|
|
55
|
-
inChipsWrapperSolidInformation: Q,
|
|
56
|
-
"in-chips-wrapper_solid_orange": "_in-chips-wrapper_solid_orange_v01428_-nea5",
|
|
57
|
-
inChipsWrapperSolidOrange: X,
|
|
58
|
-
"in-chips-wrapper_solid_magenta": "_in-chips-wrapper_solid_magenta_v01428_Hcx8w",
|
|
59
|
-
inChipsWrapperSolidMagenta: T,
|
|
60
|
-
"in-chips-wrapper_solid": "_in-chips-wrapper_solid_v01428_PD6Lf",
|
|
61
|
-
inChipsWrapperSolid: H
|
|
62
|
-
}, z = ["default", "danger", "warning", "neutral", "smart", "information", "orange", "magenta"], L = 26, q = {
|
|
63
|
-
components: { InIcons: c },
|
|
64
|
-
props: {
|
|
65
|
-
id: { type: String, default: "" },
|
|
66
|
-
type: {
|
|
67
|
-
validator(i) {
|
|
68
|
-
return z.includes(i);
|
|
69
|
-
},
|
|
70
|
-
default: "default"
|
|
71
|
-
},
|
|
72
|
-
styles: {
|
|
73
|
-
validator(i) {
|
|
74
|
-
return ["stroke", "solid"].includes(i);
|
|
75
|
-
},
|
|
76
|
-
default: "stroke"
|
|
77
|
-
},
|
|
78
|
-
text: { type: String, required: !0 },
|
|
79
|
-
value: { type: String | Number, required: !0 },
|
|
80
|
-
disabledStatus: { type: Boolean, default: !1 },
|
|
81
|
-
interactive: { type: Boolean, default: !0 },
|
|
82
|
-
closeButton: { type: Boolean, default: !0 },
|
|
83
|
-
selectedStatus: { type: Boolean, default: !1 },
|
|
84
|
-
actionableLabel: { type: Boolean, default: !1 },
|
|
85
|
-
maxWidth: { type: Number, default: null }
|
|
86
|
-
},
|
|
87
|
-
setup(i, { emit: e }) {
|
|
88
|
-
const t = p(
|
|
89
|
-
() => i.disabledStatus ? `in-chips-wrapper_${i.styles}_disable` : `in-chips-wrapper_${i.styles} in-chips-wrapper_${i.styles}_${i.type}`
|
|
90
|
-
), a = p(() => i.closeButton ? L : 0), s = () => e("tagClick", i.value), _ = () => e("click", i.value), r = o(!1);
|
|
91
|
-
return { tagWrapperSpacing: a, onDragStart: () => r.value = !0, onDragEnd: () => r.value = !1, removeTag: _, tagClick: s, isDragged: r, chipStyle: t };
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
var J = function() {
|
|
95
|
-
var i = this, e = i._self._c;
|
|
96
|
-
return e("div", { staticClass: "in-chips-wrapper", class: [
|
|
97
|
-
i.$style["in-chips-wrapper"],
|
|
98
|
-
i.chipStyle,
|
|
99
|
-
i.disabledStatus ? i.$style[`in-chips-wrapper_${i.styles}_disable`] : [i.$style[`in-chips-wrapper_${i.styles}`], i.$style[`in-chips-wrapper_${i.styles}_${i.type}`]],
|
|
100
|
-
{
|
|
101
|
-
"is-dragged": i.isDragged,
|
|
102
|
-
[i.$style["is-dragged"]]: i.isDragged
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"in-chips-wrapper--selected": i.selectedStatus,
|
|
106
|
-
[i.$style["in-chips-wrapper--selected"]]: i.selectedStatus
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"in-chips-content-actionable": i.actionableLabel,
|
|
110
|
-
[i.$style["in-chips-content-actionable"]]: i.actionableLabel
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"in-chips-wrapper--not-interactive": !i.interactive,
|
|
114
|
-
[i.$style["in-chips-wrapper--not-interactive"]]: !i.interactive
|
|
115
|
-
}
|
|
116
|
-
], style: i.maxWidth ? { "max-width": i.maxWidth + "px" } : {}, attrs: { tabindex: "1" }, on: { dragstart: i.onDragStart, dragend: i.onDragEnd } }, [e("div", { staticClass: "in-chips-content", class: [
|
|
117
|
-
i.$style["in-chips-content"],
|
|
118
|
-
{
|
|
119
|
-
"in-chips-content--no-icon": !i.closeButton,
|
|
120
|
-
[i.$style["in-chips-content--no-icon"]]: !i.closeButton
|
|
121
|
-
}
|
|
122
|
-
] }, [e("p", { staticClass: "in-chips-content__text", class: i.$style["in-chips-content__text"], style: i.maxWidth ? { "max-width": i.maxWidth - i.tagWrapperSpacing + "px" } : {}, attrs: { "data-value": i.value, title: i.text }, on: { click: i.tagClick } }, [i._v(" " + i._s(i.text) + " ")]), i.closeButton && i.interactive ? e("in-icons", { staticClass: "in-chips-content__icon", class: [i.$style["in-chips-content__icon"], i.disabledStatus ? "p-e-n" : "cur-p"], attrs: { name: "line-close-netural", size: "16" }, on: { click: i.removeTag } }) : i._e()], 1)]);
|
|
123
|
-
}, M = [];
|
|
124
|
-
const n = {
|
|
125
|
-
$style: K
|
|
126
|
-
};
|
|
127
|
-
function P(i) {
|
|
128
|
-
for (var e in n)
|
|
129
|
-
this[e] = n[e];
|
|
130
|
-
}
|
|
131
|
-
var V = /* @__PURE__ */ l(
|
|
132
|
-
q,
|
|
133
|
-
J,
|
|
134
|
-
M,
|
|
135
|
-
!1,
|
|
136
|
-
P
|
|
137
|
-
);
|
|
138
|
-
const A = V.exports;
|
|
139
|
-
export {
|
|
140
|
-
A as InChips
|
|
141
|
-
};
|