bt-core-app 2.2.5 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +14 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +21 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +21 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +4 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +92 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +1 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +133 -50
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +20 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +2 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +248 -141
- package/dist/components/BT-Assistant-Menu.vue.mjs +226 -211
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +30 -28
- package/dist/components/BT-Blade-Item.vue.mjs +111 -102
- package/dist/components/BT-Blade-Items.vue.mjs +2 -2
- package/dist/components/BT-Blade-Items.vue2.mjs +413 -402
- package/dist/components/BT-Blade-Steps.vue.mjs +1 -1
- package/dist/components/BT-Blade-Steps.vue2.mjs +597 -583
- package/dist/components/BT-Blade.vue.mjs +19 -19
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +72 -68
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +249 -235
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +107 -97
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
- package/dist/components/BT-Drag-Counter.vue2.mjs +58 -56
- package/dist/components/BT-Entity.vue.mjs +50 -48
- package/dist/components/BT-Error.vue.mjs +16 -15
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +342 -322
- package/dist/components/BT-Form-Field.vue.mjs +81 -75
- package/dist/components/BT-Form.vue.mjs +263 -253
- package/dist/components/BT-Header-Option.vue.mjs +10 -9
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +2 -2
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +71 -66
- package/dist/components/BT-Select-List-Box.vue.mjs +157 -144
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +63 -60
- package/dist/components/BT-Signature.vue.mjs +66 -64
- package/dist/components/BT-Slider.vue.mjs +69 -61
- package/dist/components/BT-Square-Check.vue.mjs +24 -22
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isNullOrEmpty as
|
|
3
|
-
import { isLengthyArray as
|
|
4
|
-
|
|
1
|
+
import { defineComponent as q, computed as h, ref as R, watch as U, onMounted as A, resolveComponent as _, openBlock as o, createElementBlock as d, createBlock as B, unref as a, withCtx as g, createVNode as u, createElementVNode as D, withModifiers as y, createCommentVNode as f, normalizeClass as F, toDisplayString as N } from "vue";
|
|
2
|
+
import { isNullOrEmpty as p } from "../composables/helpers.mjs";
|
|
3
|
+
import { isLengthyArray as V } from "../node_modules/bt-core-app/dist/bt-core-app.mjs";
|
|
4
|
+
import { VCard as C } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
5
|
+
import { VBtn as k } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
6
|
+
import { VDivider as E } from "../bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs";
|
|
7
|
+
import { VTextField as w } from "../bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs";
|
|
8
|
+
import { VTextarea as T } from "../bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs";
|
|
9
|
+
import { VCheckbox as Z } from "../bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs";
|
|
10
|
+
const L = { class: "d-flex align-center" }, M = {
|
|
5
11
|
key: "2",
|
|
6
12
|
class: "d-flex flex-column"
|
|
7
|
-
},
|
|
13
|
+
}, I = {
|
|
8
14
|
key: 0,
|
|
9
15
|
class: "text-body-2 pa-1 py-2"
|
|
10
|
-
},
|
|
16
|
+
}, O = { key: 1 }, P = {
|
|
11
17
|
key: 0,
|
|
12
18
|
class: "text-grey"
|
|
13
|
-
}, j = { key: 2 }, G = { key: 3 }, H = { key: 4 }, J = { key: 5 }, K = { key: 6 }, Q = { key: 7 },
|
|
19
|
+
}, j = { key: 2 }, G = { key: 3 }, H = { key: 4 }, J = { key: 5 }, K = { key: 6 }, Q = { key: 7 }, ue = /* @__PURE__ */ q({
|
|
14
20
|
__name: "BT-Form-Field",
|
|
15
21
|
props: {
|
|
16
22
|
data: {},
|
|
@@ -21,8 +27,8 @@ const M = { class: "d-flex align-center" }, I = {
|
|
|
21
27
|
isSelected: { type: Boolean }
|
|
22
28
|
},
|
|
23
29
|
emits: ["update:modelValue", "onSubmit", "moveup", "movedown", "select", "duplicate"],
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
30
|
+
setup($, { emit: S }) {
|
|
31
|
+
const c = S, r = $, n = h({
|
|
26
32
|
get() {
|
|
27
33
|
var l;
|
|
28
34
|
if (r.data != null && ((l = e.value) == null ? void 0 : l.prop) != null)
|
|
@@ -32,155 +38,155 @@ const M = { class: "d-flex align-center" }, I = {
|
|
|
32
38
|
var t;
|
|
33
39
|
r.data != null && ((t = e.value) == null ? void 0 : t.prop) != null && (r.data[e.value.prop] = l);
|
|
34
40
|
}
|
|
35
|
-
}), e =
|
|
41
|
+
}), e = R(), v = h(() => {
|
|
36
42
|
var l;
|
|
37
|
-
if (!
|
|
43
|
+
if (!p((l = e.value) == null ? void 0 : l.label))
|
|
38
44
|
return e.value.isRequired ? `${e.value.label} [Required]` : e.value.label;
|
|
39
45
|
}), x = h(() => {
|
|
40
46
|
var l;
|
|
41
|
-
if (!
|
|
47
|
+
if (!p((l = e.value) == null ? void 0 : l.description))
|
|
42
48
|
return e.value.isRequired ? `${e.value.description} [Required]` : e.value.description;
|
|
43
|
-
}),
|
|
44
|
-
var t,
|
|
49
|
+
}), s = h(() => {
|
|
50
|
+
var t, b;
|
|
45
51
|
if (!r.isBuilding) {
|
|
46
52
|
var l = [];
|
|
47
|
-
return ((t = e.value) == null ? void 0 : t.isRequired) == !0 && l.push((
|
|
53
|
+
return ((t = e.value) == null ? void 0 : t.isRequired) == !0 && l.push((m) => !!m || "Required"), ((b = e.value) == null ? void 0 : b.type) == "email" && l.push((m) => p(m) || /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(m) || "Invalid Email"), l;
|
|
48
54
|
}
|
|
49
55
|
});
|
|
50
|
-
function
|
|
51
|
-
e.value != null && (e.value.isSubmitButton ?
|
|
56
|
+
function z() {
|
|
57
|
+
e.value != null && (e.value.isSubmitButton ? c("onSubmit") : p(e.value.url) || window.open(e.value.url, "_blank"));
|
|
52
58
|
}
|
|
53
|
-
return
|
|
59
|
+
return U(() => r.field, (l) => {
|
|
54
60
|
e.value = l;
|
|
55
|
-
}),
|
|
61
|
+
}), A(() => {
|
|
56
62
|
e.value = r.field;
|
|
57
63
|
}), (l, t) => {
|
|
58
|
-
const
|
|
59
|
-
return
|
|
60
|
-
l.isBuilding ? (
|
|
64
|
+
const b = _("v-slide-x-transition"), m = _("bt-field-date");
|
|
65
|
+
return o(), d("div", L, [
|
|
66
|
+
l.isBuilding ? (o(), B(a(C), {
|
|
61
67
|
key: 0,
|
|
62
68
|
style: { "min-height": "65px", "min-width": "32px" },
|
|
63
69
|
class: "ml-2 my-1 border-sm"
|
|
64
70
|
}, {
|
|
65
71
|
default: g(() => [
|
|
66
|
-
|
|
72
|
+
u(b, null, {
|
|
67
73
|
default: g(() => [
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
onClick: t[0] || (t[0] =
|
|
74
|
+
D("div", M, [
|
|
75
|
+
u(a(k), {
|
|
76
|
+
onClick: t[0] || (t[0] = y((i) => c("moveup", e.value), ["stop"])),
|
|
71
77
|
class: "ma-0 pa-0",
|
|
72
78
|
icon: "$menu-up",
|
|
73
79
|
size: "x-small",
|
|
74
80
|
variant: "text"
|
|
75
81
|
}),
|
|
76
|
-
|
|
77
|
-
onClick: t[1] || (t[1] =
|
|
82
|
+
u(a(k), {
|
|
83
|
+
onClick: t[1] || (t[1] = y((i) => c("movedown", e.value), ["stop"])),
|
|
78
84
|
class: "ma-0 pa-0",
|
|
79
85
|
icon: "$menu-down",
|
|
80
86
|
size: "x-small",
|
|
81
87
|
variant: "text"
|
|
82
88
|
}),
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
onClick: t[2] || (t[2] =
|
|
89
|
+
u(a(E)),
|
|
90
|
+
u(a(k), {
|
|
91
|
+
onClick: t[2] || (t[2] = y((i) => c("duplicate"), ["stop"])),
|
|
86
92
|
class: "ma-0 pa-0",
|
|
87
93
|
icon: "$content-duplicate",
|
|
88
94
|
size: "x-small",
|
|
89
95
|
title: "Duplicate",
|
|
90
96
|
variant: "text"
|
|
91
97
|
}),
|
|
92
|
-
|
|
98
|
+
u(a(E))
|
|
93
99
|
])
|
|
94
100
|
]),
|
|
95
101
|
_: 1
|
|
96
102
|
})
|
|
97
103
|
]),
|
|
98
104
|
_: 1
|
|
99
|
-
})) :
|
|
100
|
-
e.value != null ? (
|
|
105
|
+
})) : f("", !0),
|
|
106
|
+
e.value != null ? (o(), B(a(C), {
|
|
101
107
|
key: 1,
|
|
102
|
-
onClick: t[8] || (t[8] =
|
|
103
|
-
class:
|
|
108
|
+
onClick: t[8] || (t[8] = y((i) => c("select"), ["stop"])),
|
|
109
|
+
class: F(["ma-1 pa-1", l.isSelected ? "text-primary elevation-5" : void 0]),
|
|
104
110
|
flat: "",
|
|
105
111
|
ripple: !1,
|
|
106
112
|
width: "100%"
|
|
107
113
|
}, {
|
|
108
114
|
default: g(() => [
|
|
109
|
-
|
|
110
|
-
e.value.type == "info" ? (
|
|
111
|
-
|
|
112
|
-
])) : e.value.type == "short-text" || e.value.type == "email" || e.value.type == "phone" ? (
|
|
113
|
-
|
|
115
|
+
a(p)(x.value) ? f("", !0) : (o(), d("div", I, N(x.value), 1)),
|
|
116
|
+
e.value.type == "info" ? (o(), d("div", O, [
|
|
117
|
+
a(p)(x.value) ? (o(), d("div", P, "[Select and write text in description]")) : f("", !0)
|
|
118
|
+
])) : e.value.type == "short-text" || e.value.type == "email" || e.value.type == "phone" ? (o(), d("div", j, [
|
|
119
|
+
u(a(w), {
|
|
114
120
|
class: "py-2",
|
|
115
|
-
"hide-details": !
|
|
116
|
-
label:
|
|
121
|
+
"hide-details": !a(V)(s.value),
|
|
122
|
+
label: v.value,
|
|
117
123
|
placeholder: e.value.placeholder,
|
|
118
124
|
readonly: !l.isEditing,
|
|
119
|
-
rules:
|
|
125
|
+
rules: s.value,
|
|
120
126
|
variant: "outlined",
|
|
121
127
|
modelValue: n.value,
|
|
122
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
128
|
+
"onUpdate:modelValue": t[3] || (t[3] = (i) => n.value = i)
|
|
123
129
|
}, null, 8, ["hide-details", "label", "placeholder", "readonly", "rules", "modelValue"])
|
|
124
|
-
])) : e.value.type == "long-text" ? (
|
|
125
|
-
|
|
130
|
+
])) : e.value.type == "long-text" ? (o(), d("div", G, [
|
|
131
|
+
u(a(T), {
|
|
126
132
|
class: "py-2",
|
|
127
|
-
"hide-details": !
|
|
128
|
-
label:
|
|
133
|
+
"hide-details": !a(V)(s.value),
|
|
134
|
+
label: v.value,
|
|
129
135
|
placeholder: e.value.placeholder,
|
|
130
136
|
lines: "three",
|
|
131
137
|
readonly: !l.isEditing,
|
|
132
|
-
rules:
|
|
138
|
+
rules: s.value,
|
|
133
139
|
variant: "outlined",
|
|
134
140
|
modelValue: n.value,
|
|
135
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
141
|
+
"onUpdate:modelValue": t[4] || (t[4] = (i) => n.value = i)
|
|
136
142
|
}, null, 8, ["hide-details", "label", "placeholder", "readonly", "rules", "modelValue"])
|
|
137
|
-
])) : e.value.type == "number" ? (
|
|
138
|
-
|
|
143
|
+
])) : e.value.type == "number" ? (o(), d("div", H, [
|
|
144
|
+
u(a(w), {
|
|
139
145
|
class: "py-2",
|
|
140
|
-
"hide-details": !
|
|
141
|
-
label:
|
|
146
|
+
"hide-details": !a(V)(s.value),
|
|
147
|
+
label: v.value,
|
|
142
148
|
placeholder: e.value.placeholder,
|
|
143
149
|
readonly: !l.isEditing,
|
|
144
|
-
rules:
|
|
150
|
+
rules: s.value,
|
|
145
151
|
type: "number",
|
|
146
152
|
variant: "outlined",
|
|
147
153
|
modelValue: n.value,
|
|
148
|
-
"onUpdate:modelValue": t[5] || (t[5] = (
|
|
154
|
+
"onUpdate:modelValue": t[5] || (t[5] = (i) => n.value = i)
|
|
149
155
|
}, null, 8, ["hide-details", "label", "placeholder", "readonly", "rules", "modelValue"])
|
|
150
|
-
])) : e.value.type == "checkbox" ? (
|
|
151
|
-
|
|
156
|
+
])) : e.value.type == "checkbox" ? (o(), d("div", J, [
|
|
157
|
+
u(a(Z), {
|
|
152
158
|
class: "py-2",
|
|
153
|
-
"hide-details": !
|
|
154
|
-
label:
|
|
159
|
+
"hide-details": !a(V)(s.value),
|
|
160
|
+
label: v.value,
|
|
155
161
|
readonly: !l.isEditing,
|
|
156
|
-
rules:
|
|
162
|
+
rules: s.value,
|
|
157
163
|
modelValue: n.value,
|
|
158
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
164
|
+
"onUpdate:modelValue": t[6] || (t[6] = (i) => n.value = i)
|
|
159
165
|
}, null, 8, ["hide-details", "label", "readonly", "rules", "modelValue"])
|
|
160
|
-
])) : e.value.type == "date" ? (
|
|
161
|
-
|
|
166
|
+
])) : e.value.type == "date" ? (o(), d("div", K, [
|
|
167
|
+
u(m, {
|
|
162
168
|
colClass: "px-0 ma-0 py-2",
|
|
163
169
|
isEditing: l.isEditing,
|
|
164
|
-
label:
|
|
170
|
+
label: v.value,
|
|
165
171
|
modelValue: n.value,
|
|
166
|
-
"onUpdate:modelValue": t[7] || (t[7] = (
|
|
172
|
+
"onUpdate:modelValue": t[7] || (t[7] = (i) => n.value = i)
|
|
167
173
|
}, null, 8, ["isEditing", "label", "modelValue"])
|
|
168
|
-
])) : e.value.type == "button" ? (
|
|
169
|
-
|
|
170
|
-
"append-icon": !e.value.isSubmitButton && !
|
|
171
|
-
onClick:
|
|
174
|
+
])) : e.value.type == "button" ? (o(), d("div", Q, [
|
|
175
|
+
u(a(k), {
|
|
176
|
+
"append-icon": !e.value.isSubmitButton && !a(p)(e.value.url) ? "$open-in-new" : void 0,
|
|
177
|
+
onClick: y(z, ["stop"]),
|
|
172
178
|
color: "primary",
|
|
173
179
|
disabled: !l.isEditing,
|
|
174
|
-
text:
|
|
180
|
+
text: v.value
|
|
175
181
|
}, null, 8, ["append-icon", "disabled", "text"])
|
|
176
|
-
])) :
|
|
182
|
+
])) : f("", !0)
|
|
177
183
|
]),
|
|
178
184
|
_: 1
|
|
179
|
-
}, 8, ["class"])) :
|
|
185
|
+
}, 8, ["class"])) : f("", !0)
|
|
180
186
|
]);
|
|
181
187
|
};
|
|
182
188
|
}
|
|
183
189
|
});
|
|
184
190
|
export {
|
|
185
|
-
|
|
191
|
+
ue as default
|
|
186
192
|
};
|