@qikdev/vue-ui 0.2.6 → 0.2.7
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 +33 -29
- 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, vModelText, vModelSelect, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.2.
|
|
35
|
+
const version$1 = "0.2.7";
|
|
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;
|
|
@@ -7112,7 +7112,7 @@ const _hoisted_8$7 = { class: "ux-text-wrap" };
|
|
|
7112
7112
|
const _hoisted_9$6 = ["placeholder", "onUpdate:modelValue"];
|
|
7113
7113
|
const _hoisted_10$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
|
|
7114
7114
|
const _hoisted_11$4 = ["value"];
|
|
7115
|
-
const _hoisted_12$
|
|
7115
|
+
const _hoisted_12$4 = { class: "ux-text-wrap" };
|
|
7116
7116
|
const _hoisted_13$3 = ["placeholder"];
|
|
7117
7117
|
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7118
7118
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -7240,7 +7240,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7240
7240
|
}),
|
|
7241
7241
|
createVNode(_component_flex_cell, null, {
|
|
7242
7242
|
default: withCtx(() => [
|
|
7243
|
-
createElementVNode("div", _hoisted_12$
|
|
7243
|
+
createElementVNode("div", _hoisted_12$4, [
|
|
7244
7244
|
withDirectives(createElementVNode("input", {
|
|
7245
7245
|
class: "ux-field-focus ux-text-input-multiple",
|
|
7246
7246
|
placeholder: $options.actualPlaceholder,
|
|
@@ -11397,7 +11397,7 @@ const _hoisted_11$3 = {
|
|
|
11397
11397
|
key: 0,
|
|
11398
11398
|
class: "ux-text-prefix"
|
|
11399
11399
|
};
|
|
11400
|
-
const _hoisted_12$
|
|
11400
|
+
const _hoisted_12$3 = ["type", "placeholder"];
|
|
11401
11401
|
const _hoisted_13$2 = ["type", "placeholder"];
|
|
11402
11402
|
const _hoisted_14$2 = {
|
|
11403
11403
|
key: 3,
|
|
@@ -11507,7 +11507,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11507
11507
|
placeholder: $options.actualPlaceholder,
|
|
11508
11508
|
onFocus: _cache[5] || (_cache[5] = (...args) => _ctx.touch && _ctx.touch(...args)),
|
|
11509
11509
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.model = $event)
|
|
11510
|
-
}, null, 40, _hoisted_12$
|
|
11510
|
+
}, null, 40, _hoisted_12$3)), [
|
|
11511
11511
|
[
|
|
11512
11512
|
vModelDynamic,
|
|
11513
11513
|
_ctx.model,
|
|
@@ -12360,7 +12360,7 @@ const _hoisted_8$4 = { key: 4 };
|
|
|
12360
12360
|
const _hoisted_9$3 = { key: 5 };
|
|
12361
12361
|
const _hoisted_10$3 = { key: 6 };
|
|
12362
12362
|
const _hoisted_11$2 = { key: 7 };
|
|
12363
|
-
const _hoisted_12$
|
|
12363
|
+
const _hoisted_12$2 = { key: 8 };
|
|
12364
12364
|
const _hoisted_13$1 = { key: 9 };
|
|
12365
12365
|
const _hoisted_14$1 = { key: 10 };
|
|
12366
12366
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -12497,7 +12497,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12497
12497
|
[vModelCheckbox, $data.model.value]
|
|
12498
12498
|
])
|
|
12499
12499
|
])) : createCommentVNode("", true),
|
|
12500
|
-
$options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
12500
|
+
$options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$2)) : createCommentVNode("", true),
|
|
12501
12501
|
$options.inputType == "number" ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
12502
12502
|
createVNode(_component_text_field, {
|
|
12503
12503
|
field: $options.normalField,
|
|
@@ -14460,7 +14460,7 @@ const _hoisted_8$2 = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"];
|
|
|
14460
14460
|
const _hoisted_9$2 = { class: "ux-text-wrap prefixed" };
|
|
14461
14461
|
const _hoisted_10$2 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
|
|
14462
14462
|
const _hoisted_11$1 = ["onFocus", "onUpdate:modelValue"];
|
|
14463
|
-
const _hoisted_12 = ["onFocus", "onUpdate:modelValue"];
|
|
14463
|
+
const _hoisted_12$1 = ["onFocus", "onUpdate:modelValue"];
|
|
14464
14464
|
const _hoisted_13 = { class: "ux-text-wrap prefixed" };
|
|
14465
14465
|
const _hoisted_14 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
14466
14466
|
const _hoisted_15 = { class: "ux-text-wrap prefixed" };
|
|
@@ -14554,7 +14554,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14554
14554
|
ref: "valueInput",
|
|
14555
14555
|
onKeydown: _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
14556
14556
|
"onUpdate:modelValue": ($event) => _ctx.model[index2].value = $event
|
|
14557
|
-
}, null, 40, _hoisted_12)), [
|
|
14557
|
+
}, null, 40, _hoisted_12$1)), [
|
|
14558
14558
|
[vModelText, _ctx.model[index2].value]
|
|
14559
14559
|
]) : createCommentVNode("", true)
|
|
14560
14560
|
])
|
|
@@ -17873,16 +17873,17 @@ const _sfc_main$c = {
|
|
|
17873
17873
|
}
|
|
17874
17874
|
};
|
|
17875
17875
|
const _hoisted_1$8 = { class: "ux-field-title" };
|
|
17876
|
-
const _hoisted_2$7 =
|
|
17877
|
-
const _hoisted_3$6 =
|
|
17876
|
+
const _hoisted_2$7 = ["innerHTML"];
|
|
17877
|
+
const _hoisted_3$6 = ["innerHTML"];
|
|
17878
17878
|
const _hoisted_4$6 = { key: 1 };
|
|
17879
|
-
const _hoisted_5$1 =
|
|
17880
|
-
const _hoisted_6$1 =
|
|
17881
|
-
const _hoisted_7$1 =
|
|
17879
|
+
const _hoisted_5$1 = { key: 1 };
|
|
17880
|
+
const _hoisted_6$1 = ["href"];
|
|
17881
|
+
const _hoisted_7$1 = { key: 1 };
|
|
17882
17882
|
const _hoisted_8 = ["href"];
|
|
17883
|
-
const _hoisted_9 =
|
|
17884
|
-
const _hoisted_10 =
|
|
17885
|
-
const _hoisted_11 =
|
|
17883
|
+
const _hoisted_9 = ["href"];
|
|
17884
|
+
const _hoisted_10 = { key: 1 };
|
|
17885
|
+
const _hoisted_11 = ["href"];
|
|
17886
|
+
const _hoisted_12 = { key: 1 };
|
|
17886
17887
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17887
17888
|
const _component_field_group = resolveComponent("field-group");
|
|
17888
17889
|
const _component_item = resolveComponent("item");
|
|
@@ -17930,50 +17931,53 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17930
17931
|
], 64)) : createCommentVNode("", true),
|
|
17931
17932
|
$options.type == "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
17932
17933
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
17933
|
-
return openBlock(), createElementBlock("div", null,
|
|
17934
|
-
}), 256)) : (openBlock(), createElementBlock("div",
|
|
17934
|
+
return openBlock(), createElementBlock("div", { innerHTML: value }, null, 8, _hoisted_2$7);
|
|
17935
|
+
}), 256)) : (openBlock(), createElementBlock("div", {
|
|
17936
|
+
key: 1,
|
|
17937
|
+
innerHTML: $options.fieldModel
|
|
17938
|
+
}, null, 8, _hoisted_3$6))
|
|
17935
17939
|
], 64)) : createCommentVNode("", true),
|
|
17936
17940
|
$options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
17937
17941
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
17938
17942
|
return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
|
|
17939
|
-
}), 256)) : (openBlock(), createElementBlock("div",
|
|
17943
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$6, toDisplayString(!!$options.fieldModel), 1))
|
|
17940
17944
|
], 64)) : createCommentVNode("", true),
|
|
17941
17945
|
$options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
17942
17946
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
17943
17947
|
return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
|
|
17944
|
-
}), 256)) : (openBlock(), createElementBlock("div",
|
|
17948
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString($options.fieldModel), 1))
|
|
17945
17949
|
], 64)) : createCommentVNode("", true),
|
|
17946
17950
|
$options.type == "email" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
17947
17951
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
17948
17952
|
return openBlock(), createElementBlock("div", null, [
|
|
17949
17953
|
createElementVNode("a", {
|
|
17950
17954
|
href: `mailto:${value}`
|
|
17951
|
-
}, toDisplayString(value), 9,
|
|
17955
|
+
}, toDisplayString(value), 9, _hoisted_6$1)
|
|
17952
17956
|
]);
|
|
17953
|
-
}), 256)) : (openBlock(), createElementBlock("div",
|
|
17957
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_7$1, [
|
|
17954
17958
|
createElementVNode("a", {
|
|
17955
17959
|
href: `mailto:${$options.fieldModel}`
|
|
17956
|
-
}, toDisplayString($options.fieldModel), 9,
|
|
17960
|
+
}, toDisplayString($options.fieldModel), 9, _hoisted_8)
|
|
17957
17961
|
]))
|
|
17958
17962
|
], 64)) : createCommentVNode("", true),
|
|
17959
17963
|
$options.type == "url" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
17960
17964
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
17961
17965
|
return openBlock(), createElementBlock("div", null, [
|
|
17962
|
-
createElementVNode("a", { href: value }, toDisplayString(value), 9,
|
|
17966
|
+
createElementVNode("a", { href: value }, toDisplayString(value), 9, _hoisted_9)
|
|
17963
17967
|
]);
|
|
17964
|
-
}), 256)) : (openBlock(), createElementBlock("div",
|
|
17965
|
-
createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9,
|
|
17968
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
17969
|
+
createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9, _hoisted_11)
|
|
17966
17970
|
]))
|
|
17967
17971
|
], 64)) : createCommentVNode("", true),
|
|
17968
17972
|
$options.isNumber ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
|
|
17969
17973
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
17970
17974
|
return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
|
|
17971
|
-
}), 256)) : (openBlock(), createElementBlock("div",
|
|
17975
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString($options.fieldModel), 1))
|
|
17972
17976
|
], 64)) : createCommentVNode("", true)
|
|
17973
17977
|
], 64))
|
|
17974
17978
|
], 2)) : createCommentVNode("", true);
|
|
17975
17979
|
}
|
|
17976
|
-
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-
|
|
17980
|
+
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-3ba53078"]]);
|
|
17977
17981
|
var render_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
17978
17982
|
const _sfc_main$b = {
|
|
17979
17983
|
props: {
|