@qikdev/vue-ui 0.1.61 → 0.1.64
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/lib.es.js +140 -43
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelSelect, withKeys, vModelText, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.1.
|
|
35
|
+
const version$1 = "0.1.64";
|
|
36
36
|
var flexColumn_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37
37
|
var _export_sfc = (sfc, props2) => {
|
|
38
38
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -4633,13 +4633,13 @@ const _hoisted_1$L = { class: "table-date-cell" };
|
|
|
4633
4633
|
const _hoisted_2$D = { key: 0 };
|
|
4634
4634
|
const _hoisted_3$w = { class: "off" };
|
|
4635
4635
|
const _hoisted_4$s = { class: "on" };
|
|
4636
|
-
const _hoisted_5$
|
|
4636
|
+
const _hoisted_5$n = { class: "spacer" };
|
|
4637
4637
|
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4638
4638
|
return openBlock(), createElementBlock("td", _hoisted_1$L, [
|
|
4639
4639
|
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
|
|
4640
4640
|
createElementVNode("span", _hoisted_3$w, toDisplayString($options.readable), 1),
|
|
4641
4641
|
createElementVNode("span", _hoisted_4$s, toDisplayString($options.timeago), 1),
|
|
4642
|
-
createElementVNode("span", _hoisted_5$
|
|
4642
|
+
createElementVNode("span", _hoisted_5$n, toDisplayString($options.readable), 1)
|
|
4643
4643
|
])) : createCommentVNode("", true)
|
|
4644
4644
|
]);
|
|
4645
4645
|
}
|
|
@@ -5186,7 +5186,7 @@ const _hoisted_3$u = {
|
|
|
5186
5186
|
class: "first table-select shrink"
|
|
5187
5187
|
};
|
|
5188
5188
|
const _hoisted_4$r = /* @__PURE__ */ createTextVNode(" Select Page ");
|
|
5189
|
-
const _hoisted_5$
|
|
5189
|
+
const _hoisted_5$m = /* @__PURE__ */ createTextVNode(" Deselect Page ");
|
|
5190
5190
|
const _hoisted_6$i = /* @__PURE__ */ createTextVNode(" Deselect All ");
|
|
5191
5191
|
const _hoisted_7$f = ["onClick"];
|
|
5192
5192
|
const _hoisted_8$8 = {
|
|
@@ -5225,7 +5225,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5225
5225
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.deselectPage())
|
|
5226
5226
|
}, {
|
|
5227
5227
|
default: withCtx(() => [
|
|
5228
|
-
_hoisted_5$
|
|
5228
|
+
_hoisted_5$m
|
|
5229
5229
|
]),
|
|
5230
5230
|
_: 1
|
|
5231
5231
|
})) : createCommentVNode("", true),
|
|
@@ -5422,7 +5422,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5422
5422
|
_: 3
|
|
5423
5423
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
5424
5424
|
}
|
|
5425
|
-
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-
|
|
5425
|
+
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-56c95efc"]]);
|
|
5426
5426
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
5427
5427
|
const _sfc_main$R = {
|
|
5428
5428
|
props: {
|
|
@@ -5826,7 +5826,7 @@ const _sfc_main$M = {
|
|
|
5826
5826
|
},
|
|
5827
5827
|
expandOn: {
|
|
5828
5828
|
type: String,
|
|
5829
|
-
default: "
|
|
5829
|
+
default: "none"
|
|
5830
5830
|
}
|
|
5831
5831
|
},
|
|
5832
5832
|
methods: {
|
|
@@ -6606,7 +6606,7 @@ const _hoisted_4$q = {
|
|
|
6606
6606
|
key: 2,
|
|
6607
6607
|
class: "ui-select-button"
|
|
6608
6608
|
};
|
|
6609
|
-
const _hoisted_5$
|
|
6609
|
+
const _hoisted_5$l = ["multiple"];
|
|
6610
6610
|
const _hoisted_6$h = {
|
|
6611
6611
|
key: 0,
|
|
6612
6612
|
value: ""
|
|
@@ -6643,7 +6643,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6643
6643
|
value: option2.value
|
|
6644
6644
|
}, toDisplayString(option2.title), 9, _hoisted_7$e);
|
|
6645
6645
|
}), 256))
|
|
6646
|
-
], 40, _hoisted_5$
|
|
6646
|
+
], 40, _hoisted_5$l), [
|
|
6647
6647
|
[vModelSelect, _ctx.model]
|
|
6648
6648
|
])
|
|
6649
6649
|
], 2);
|
|
@@ -6735,7 +6735,7 @@ const _hoisted_3$s = {
|
|
|
6735
6735
|
class: "ux-field-description"
|
|
6736
6736
|
};
|
|
6737
6737
|
const _hoisted_4$p = { key: 2 };
|
|
6738
|
-
const _hoisted_5$
|
|
6738
|
+
const _hoisted_5$k = /* @__PURE__ */ createTextVNode(" Country Code ");
|
|
6739
6739
|
const _hoisted_6$g = { key: 0 };
|
|
6740
6740
|
const _hoisted_7$d = { key: 1 };
|
|
6741
6741
|
const _hoisted_8$7 = { class: "ux-text-wrap" };
|
|
@@ -6773,7 +6773,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6773
6773
|
}, {
|
|
6774
6774
|
default: withCtx(() => [
|
|
6775
6775
|
!entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
6776
|
-
_hoisted_5$
|
|
6776
|
+
_hoisted_5$k
|
|
6777
6777
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
6778
6778
|
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$g, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$d, "Loading"))
|
|
6779
6779
|
], 64))
|
|
@@ -7429,7 +7429,7 @@ const _hoisted_4$o = {
|
|
|
7429
7429
|
key: 2,
|
|
7430
7430
|
class: "ui-select-button"
|
|
7431
7431
|
};
|
|
7432
|
-
const _hoisted_5$
|
|
7432
|
+
const _hoisted_5$j = ["multiple"];
|
|
7433
7433
|
const _hoisted_6$f = {
|
|
7434
7434
|
key: 0,
|
|
7435
7435
|
value: ""
|
|
@@ -7466,7 +7466,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7466
7466
|
value: option2.value
|
|
7467
7467
|
}, toDisplayString(option2.title), 9, _hoisted_7$c);
|
|
7468
7468
|
}), 256))
|
|
7469
|
-
], 40, _hoisted_5$
|
|
7469
|
+
], 40, _hoisted_5$j), [
|
|
7470
7470
|
[vModelSelect, _ctx.model]
|
|
7471
7471
|
])
|
|
7472
7472
|
], 2);
|
|
@@ -10199,11 +10199,33 @@ const _sfc_main$D = {
|
|
|
10199
10199
|
}
|
|
10200
10200
|
},
|
|
10201
10201
|
mixins: [InputMixin],
|
|
10202
|
-
created() {
|
|
10202
|
+
async created() {
|
|
10203
|
+
this.glossary = await this.$sdk.content.glossary({ hash: true });
|
|
10203
10204
|
this.value = this.cleanInput(this.value, true);
|
|
10204
10205
|
this.dispatch();
|
|
10205
10206
|
},
|
|
10207
|
+
data() {
|
|
10208
|
+
return {
|
|
10209
|
+
glossary: {}
|
|
10210
|
+
};
|
|
10211
|
+
},
|
|
10206
10212
|
methods: {
|
|
10213
|
+
async create() {
|
|
10214
|
+
var _a;
|
|
10215
|
+
const self2 = this;
|
|
10216
|
+
if (!((_a = self2.$sdk.global) == null ? void 0 : _a.create)) {
|
|
10217
|
+
return;
|
|
10218
|
+
}
|
|
10219
|
+
const item = await self2.$sdk.global.create(self2.field.referenceType);
|
|
10220
|
+
if (self2.multiValue) {
|
|
10221
|
+
if (!self2.model) {
|
|
10222
|
+
self2.model = [];
|
|
10223
|
+
}
|
|
10224
|
+
self2.model.push(item);
|
|
10225
|
+
} else {
|
|
10226
|
+
self2.model = item;
|
|
10227
|
+
}
|
|
10228
|
+
},
|
|
10207
10229
|
clear() {
|
|
10208
10230
|
this.model = void 0;
|
|
10209
10231
|
this.touch();
|
|
@@ -10264,6 +10286,27 @@ const _sfc_main$D = {
|
|
|
10264
10286
|
}
|
|
10265
10287
|
},
|
|
10266
10288
|
computed: {
|
|
10289
|
+
canAdd() {
|
|
10290
|
+
const self2 = this;
|
|
10291
|
+
if (!self2.maximum) {
|
|
10292
|
+
return true;
|
|
10293
|
+
}
|
|
10294
|
+
return self2.multiValue ? self2.model.length < self2.maximum : !self2.model;
|
|
10295
|
+
},
|
|
10296
|
+
canCreate() {
|
|
10297
|
+
var _a;
|
|
10298
|
+
if (!((_a = this.$sdk.global) == null ? void 0 : _a.create)) {
|
|
10299
|
+
return;
|
|
10300
|
+
}
|
|
10301
|
+
var basicType = this.field.referenceType;
|
|
10302
|
+
var definedType = basicType;
|
|
10303
|
+
var match2 = this.glossary[this.field.referenceType];
|
|
10304
|
+
if (match2) {
|
|
10305
|
+
basicType = match2.definesType || match2.key;
|
|
10306
|
+
definedType = match2.key || match2.definesType;
|
|
10307
|
+
}
|
|
10308
|
+
return this.user && this.$sdk.access.canCreate(this.user, definedType, basicType);
|
|
10309
|
+
},
|
|
10267
10310
|
summary() {
|
|
10268
10311
|
if (this.multiValue) {
|
|
10269
10312
|
if (this.model && this.model.length) {
|
|
@@ -10277,6 +10320,9 @@ const _sfc_main$D = {
|
|
|
10277
10320
|
if (difference) {
|
|
10278
10321
|
summary = `${summary}... +${difference} more...`;
|
|
10279
10322
|
}
|
|
10323
|
+
if (!summary) {
|
|
10324
|
+
return `Click to select`;
|
|
10325
|
+
}
|
|
10280
10326
|
return summary;
|
|
10281
10327
|
} else {
|
|
10282
10328
|
return `Click to select`;
|
|
@@ -10307,11 +10353,15 @@ const _hoisted_4$n = {
|
|
|
10307
10353
|
key: 3,
|
|
10308
10354
|
class: "items"
|
|
10309
10355
|
};
|
|
10356
|
+
const _hoisted_5$i = /* @__PURE__ */ createTextVNode(" Create ");
|
|
10310
10357
|
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10311
10358
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
10312
10359
|
const _component_ux_button = resolveComponent("ux-button");
|
|
10313
10360
|
const _component_item = resolveComponent("item");
|
|
10314
10361
|
const _component_draggable = resolveComponent("draggable");
|
|
10362
|
+
const _component_flex_cell = resolveComponent("flex-cell");
|
|
10363
|
+
const _component_flex_spacer = resolveComponent("flex-spacer");
|
|
10364
|
+
const _component_flex_row = resolveComponent("flex-row");
|
|
10315
10365
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
10316
10366
|
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
|
|
10317
10367
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
@@ -10382,15 +10432,50 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10382
10432
|
_: 1
|
|
10383
10433
|
}, 8, ["item"])
|
|
10384
10434
|
])) : createCommentVNode("", true),
|
|
10385
|
-
|
|
10435
|
+
$options.canAdd ? (openBlock(), createBlock(_component_flex_row, {
|
|
10436
|
+
key: 4,
|
|
10437
|
+
gap: ""
|
|
10438
|
+
}, {
|
|
10386
10439
|
default: withCtx(() => [
|
|
10387
|
-
|
|
10440
|
+
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
10441
|
+
default: withCtx(() => [
|
|
10442
|
+
createVNode(_component_ux_button, { onClick: $options.open }, {
|
|
10443
|
+
default: withCtx(() => [
|
|
10444
|
+
createTextVNode(toDisplayString($options.summary), 1)
|
|
10445
|
+
]),
|
|
10446
|
+
_: 1
|
|
10447
|
+
}, 8, ["onClick"])
|
|
10448
|
+
]),
|
|
10449
|
+
_: 1
|
|
10450
|
+
}),
|
|
10451
|
+
$options.canCreate ? (openBlock(), createBlock(_component_flex_cell, {
|
|
10452
|
+
key: 0,
|
|
10453
|
+
shrink: ""
|
|
10454
|
+
}, {
|
|
10455
|
+
default: withCtx(() => [
|
|
10456
|
+
createVNode(_component_ux_button, {
|
|
10457
|
+
color: "primary",
|
|
10458
|
+
onClick: $options.create
|
|
10459
|
+
}, {
|
|
10460
|
+
default: withCtx(() => [
|
|
10461
|
+
_hoisted_5$i,
|
|
10462
|
+
createVNode(_component_ux_icon, {
|
|
10463
|
+
right: "",
|
|
10464
|
+
icon: "fa-plus"
|
|
10465
|
+
})
|
|
10466
|
+
]),
|
|
10467
|
+
_: 1
|
|
10468
|
+
}, 8, ["onClick"])
|
|
10469
|
+
]),
|
|
10470
|
+
_: 1
|
|
10471
|
+
})) : createCommentVNode("", true),
|
|
10472
|
+
createVNode(_component_flex_spacer)
|
|
10388
10473
|
]),
|
|
10389
10474
|
_: 1
|
|
10390
|
-
}
|
|
10475
|
+
})) : createCommentVNode("", true)
|
|
10391
10476
|
], 64);
|
|
10392
10477
|
}
|
|
10393
|
-
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-
|
|
10478
|
+
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-60b312d0"]]);
|
|
10394
10479
|
var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10395
10480
|
function isUndefined$3(entry) {
|
|
10396
10481
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
@@ -15944,6 +16029,7 @@ const _sfc_main$d = {
|
|
|
15944
16029
|
case "type-select":
|
|
15945
16030
|
case "html":
|
|
15946
16031
|
case "filter":
|
|
16032
|
+
case "value":
|
|
15947
16033
|
break;
|
|
15948
16034
|
case "password":
|
|
15949
16035
|
return "textfield";
|
|
@@ -15976,7 +16062,7 @@ const _sfc_main$d = {
|
|
|
15976
16062
|
}
|
|
15977
16063
|
};
|
|
15978
16064
|
const _hoisted_1$a = {
|
|
15979
|
-
key:
|
|
16065
|
+
key: 25,
|
|
15980
16066
|
class: "ux-field-message"
|
|
15981
16067
|
};
|
|
15982
16068
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -16030,35 +16116,36 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16030
16116
|
modelValue: $options.fieldModel,
|
|
16031
16117
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $options.fieldModel = $event)
|
|
16032
16118
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16119
|
+
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [], 64)) : createCommentVNode("", true),
|
|
16033
16120
|
$options.widget == "filter" ? (openBlock(), createBlock(_component_filter_input, {
|
|
16034
|
-
key:
|
|
16121
|
+
key: 4,
|
|
16035
16122
|
onTouched: $options.touch,
|
|
16036
16123
|
field: $options.actualField,
|
|
16037
16124
|
modelValue: $options.fieldModel,
|
|
16038
16125
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $options.fieldModel = $event)
|
|
16039
16126
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16040
16127
|
$options.widget == "checkbox" ? (openBlock(), createBlock(_component_checkbox, {
|
|
16041
|
-
key:
|
|
16128
|
+
key: 5,
|
|
16042
16129
|
onTouched: $options.touch,
|
|
16043
16130
|
field: $options.actualField,
|
|
16044
16131
|
modelValue: $options.fieldModel,
|
|
16045
16132
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $options.fieldModel = $event)
|
|
16046
16133
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16047
16134
|
$options.widget == "switch" ? (openBlock(), createBlock(_component_boolean_switch, {
|
|
16048
|
-
key:
|
|
16135
|
+
key: 6,
|
|
16049
16136
|
onTouched: $options.touch,
|
|
16050
16137
|
field: $options.actualField,
|
|
16051
16138
|
modelValue: $options.fieldModel,
|
|
16052
16139
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $options.fieldModel = $event)
|
|
16053
16140
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16054
16141
|
$options.widget == "upload" ? (openBlock(), createBlock(_component_upload, {
|
|
16055
|
-
key:
|
|
16142
|
+
key: 7,
|
|
16056
16143
|
onTouched: $options.touch,
|
|
16057
16144
|
field: $options.actualField,
|
|
16058
16145
|
modelValue: $options.fieldModel,
|
|
16059
16146
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $options.fieldModel = $event)
|
|
16060
16147
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16061
|
-
$options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
16148
|
+
$options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
|
|
16062
16149
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
16063
16150
|
key: 0,
|
|
16064
16151
|
submission: $props.submission,
|
|
@@ -16082,7 +16169,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16082
16169
|
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
|
|
16083
16170
|
], 64)) : createCommentVNode("", true),
|
|
16084
16171
|
$options.widget == "form" ? (openBlock(), createBlock(_component_field_group, {
|
|
16085
|
-
key:
|
|
16172
|
+
key: 9,
|
|
16086
16173
|
submission: $props.submission,
|
|
16087
16174
|
"onForm:state": $options.groupStateAltered,
|
|
16088
16175
|
ref: "group",
|
|
@@ -16093,99 +16180,99 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16093
16180
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
|
|
16094
16181
|
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
|
|
16095
16182
|
$options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
|
|
16096
|
-
key:
|
|
16183
|
+
key: 10,
|
|
16097
16184
|
onTouched: $options.touch,
|
|
16098
16185
|
field: $options.actualField,
|
|
16099
16186
|
modelValue: $options.fieldModel,
|
|
16100
16187
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
|
|
16101
16188
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16102
16189
|
$options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
|
|
16103
|
-
key:
|
|
16190
|
+
key: 11,
|
|
16104
16191
|
onTouched: $options.touch,
|
|
16105
16192
|
field: $options.actualField,
|
|
16106
16193
|
modelValue: $options.fieldModel,
|
|
16107
16194
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
|
|
16108
16195
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16109
16196
|
$options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
|
|
16110
|
-
key:
|
|
16197
|
+
key: 12,
|
|
16111
16198
|
onTouched: $options.touch,
|
|
16112
16199
|
field: $options.actualField,
|
|
16113
16200
|
modelValue: $options.fieldModel,
|
|
16114
16201
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
|
|
16115
16202
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16116
16203
|
$options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
|
|
16117
|
-
key:
|
|
16204
|
+
key: 13,
|
|
16118
16205
|
onTouched: $options.touch,
|
|
16119
16206
|
field: $options.actualField,
|
|
16120
16207
|
modelValue: $options.fieldModel,
|
|
16121
16208
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
|
|
16122
16209
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16123
16210
|
$options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
|
|
16124
|
-
key:
|
|
16211
|
+
key: 14,
|
|
16125
16212
|
onTouched: $options.touch,
|
|
16126
16213
|
field: $options.actualField,
|
|
16127
16214
|
modelValue: $options.fieldModel,
|
|
16128
16215
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
|
|
16129
16216
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16130
16217
|
$options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
|
|
16131
|
-
key:
|
|
16218
|
+
key: 15,
|
|
16132
16219
|
onTouched: $options.touch,
|
|
16133
16220
|
field: $options.actualField,
|
|
16134
16221
|
modelValue: $options.fieldModel,
|
|
16135
16222
|
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
|
|
16136
16223
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16137
16224
|
$options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
|
|
16138
|
-
key:
|
|
16225
|
+
key: 16,
|
|
16139
16226
|
onTouched: $options.touch,
|
|
16140
16227
|
field: $options.actualField,
|
|
16141
16228
|
modelValue: $options.fieldModel,
|
|
16142
16229
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
|
|
16143
16230
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16144
16231
|
$options.widget == "richtext" ? (openBlock(), createBlock(_component_rich_text_field, {
|
|
16145
|
-
key:
|
|
16232
|
+
key: 17,
|
|
16146
16233
|
onTouched: $options.touch,
|
|
16147
16234
|
field: $options.actualField,
|
|
16148
16235
|
modelValue: $options.fieldModel,
|
|
16149
16236
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
|
|
16150
16237
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16151
16238
|
$options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
|
|
16152
|
-
key:
|
|
16239
|
+
key: 18,
|
|
16153
16240
|
onTouched: $options.touch,
|
|
16154
16241
|
field: $options.actualField,
|
|
16155
16242
|
modelValue: $options.fieldModel,
|
|
16156
16243
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
|
|
16157
16244
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16158
16245
|
$options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
|
|
16159
|
-
key:
|
|
16246
|
+
key: 19,
|
|
16160
16247
|
onTouched: $options.touch,
|
|
16161
16248
|
field: $options.actualField,
|
|
16162
16249
|
modelValue: $options.fieldModel,
|
|
16163
16250
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
|
|
16164
16251
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16165
16252
|
$options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
|
|
16166
|
-
key:
|
|
16253
|
+
key: 20,
|
|
16167
16254
|
onTouched: $options.touch,
|
|
16168
16255
|
field: $options.actualField,
|
|
16169
16256
|
modelValue: $options.fieldModel,
|
|
16170
16257
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
|
|
16171
16258
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16172
|
-
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
16259
|
+
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 21 }, [], 64)) : createCommentVNode("", true),
|
|
16173
16260
|
$options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
|
|
16174
|
-
key:
|
|
16261
|
+
key: 22,
|
|
16175
16262
|
onTouched: $options.touch,
|
|
16176
16263
|
field: $options.actualField,
|
|
16177
16264
|
modelValue: $options.fieldModel,
|
|
16178
16265
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
|
|
16179
16266
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16180
16267
|
$options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
|
|
16181
|
-
key:
|
|
16268
|
+
key: 23,
|
|
16182
16269
|
onTouched: $options.touch,
|
|
16183
16270
|
field: $options.actualField,
|
|
16184
16271
|
modelValue: $options.fieldModel,
|
|
16185
16272
|
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
|
|
16186
16273
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16187
16274
|
$options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
|
|
16188
|
-
key:
|
|
16275
|
+
key: 24,
|
|
16189
16276
|
style: { "min-height": "300px" }
|
|
16190
16277
|
}, {
|
|
16191
16278
|
default: withCtx(() => [
|
|
@@ -16201,7 +16288,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16201
16288
|
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
16202
16289
|
], 34)) : createCommentVNode("", true);
|
|
16203
16290
|
}
|
|
16204
|
-
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-
|
|
16291
|
+
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-6c49b812"]]);
|
|
16205
16292
|
var form_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16206
16293
|
const _sfc_main$c = {
|
|
16207
16294
|
props: {
|
|
@@ -17746,6 +17833,7 @@ function defaultColumns(self2, type) {
|
|
|
17746
17833
|
return columns;
|
|
17747
17834
|
}
|
|
17748
17835
|
let cancelInflight;
|
|
17836
|
+
let cancelledUnmount;
|
|
17749
17837
|
let typeCacheKey;
|
|
17750
17838
|
const _sfc_main$5 = {
|
|
17751
17839
|
props: {
|
|
@@ -17810,6 +17898,11 @@ const _sfc_main$5 = {
|
|
|
17810
17898
|
},
|
|
17811
17899
|
deactivated() {
|
|
17812
17900
|
typeCacheKey = this.$sdk.global.cacheKeys[this.type];
|
|
17901
|
+
if (cancelInflight) {
|
|
17902
|
+
cancelInflight();
|
|
17903
|
+
cancelInflight = null;
|
|
17904
|
+
cancelledUnmount = true;
|
|
17905
|
+
}
|
|
17813
17906
|
},
|
|
17814
17907
|
async activated() {
|
|
17815
17908
|
var self2 = this;
|
|
@@ -17818,6 +17911,10 @@ const _sfc_main$5 = {
|
|
|
17818
17911
|
typeCacheKey = nowCacheKey;
|
|
17819
17912
|
self2.dataSource = await self2.load();
|
|
17820
17913
|
}
|
|
17914
|
+
if (cancelledUnmount) {
|
|
17915
|
+
cancelledUnmount = false;
|
|
17916
|
+
self2.dataSource = await self2.load();
|
|
17917
|
+
}
|
|
17821
17918
|
},
|
|
17822
17919
|
async created() {
|
|
17823
17920
|
var self2 = this;
|
|
@@ -18193,7 +18290,7 @@ const _sfc_main$5 = {
|
|
|
18193
18290
|
};
|
|
18194
18291
|
}
|
|
18195
18292
|
};
|
|
18196
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
18293
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-00a8af80"), n2 = n2(), popScopeId(), n2);
|
|
18197
18294
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
18198
18295
|
const _hoisted_2$4 = { class: "footer" };
|
|
18199
18296
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -18367,7 +18464,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18367
18464
|
_: 3
|
|
18368
18465
|
})) : createCommentVNode("", true);
|
|
18369
18466
|
}
|
|
18370
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
18467
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-00a8af80"]]);
|
|
18371
18468
|
var ModalMixin = {
|
|
18372
18469
|
props: {
|
|
18373
18470
|
options: {
|