@qikdev/vue-ui 0.1.63 → 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 +26 -24
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +2 -2
- 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;
|
|
@@ -16029,6 +16029,7 @@ const _sfc_main$d = {
|
|
|
16029
16029
|
case "type-select":
|
|
16030
16030
|
case "html":
|
|
16031
16031
|
case "filter":
|
|
16032
|
+
case "value":
|
|
16032
16033
|
break;
|
|
16033
16034
|
case "password":
|
|
16034
16035
|
return "textfield";
|
|
@@ -16061,7 +16062,7 @@ const _sfc_main$d = {
|
|
|
16061
16062
|
}
|
|
16062
16063
|
};
|
|
16063
16064
|
const _hoisted_1$a = {
|
|
16064
|
-
key:
|
|
16065
|
+
key: 25,
|
|
16065
16066
|
class: "ux-field-message"
|
|
16066
16067
|
};
|
|
16067
16068
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -16115,35 +16116,36 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16115
16116
|
modelValue: $options.fieldModel,
|
|
16116
16117
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $options.fieldModel = $event)
|
|
16117
16118
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16119
|
+
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [], 64)) : createCommentVNode("", true),
|
|
16118
16120
|
$options.widget == "filter" ? (openBlock(), createBlock(_component_filter_input, {
|
|
16119
|
-
key:
|
|
16121
|
+
key: 4,
|
|
16120
16122
|
onTouched: $options.touch,
|
|
16121
16123
|
field: $options.actualField,
|
|
16122
16124
|
modelValue: $options.fieldModel,
|
|
16123
16125
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $options.fieldModel = $event)
|
|
16124
16126
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16125
16127
|
$options.widget == "checkbox" ? (openBlock(), createBlock(_component_checkbox, {
|
|
16126
|
-
key:
|
|
16128
|
+
key: 5,
|
|
16127
16129
|
onTouched: $options.touch,
|
|
16128
16130
|
field: $options.actualField,
|
|
16129
16131
|
modelValue: $options.fieldModel,
|
|
16130
16132
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $options.fieldModel = $event)
|
|
16131
16133
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16132
16134
|
$options.widget == "switch" ? (openBlock(), createBlock(_component_boolean_switch, {
|
|
16133
|
-
key:
|
|
16135
|
+
key: 6,
|
|
16134
16136
|
onTouched: $options.touch,
|
|
16135
16137
|
field: $options.actualField,
|
|
16136
16138
|
modelValue: $options.fieldModel,
|
|
16137
16139
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $options.fieldModel = $event)
|
|
16138
16140
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16139
16141
|
$options.widget == "upload" ? (openBlock(), createBlock(_component_upload, {
|
|
16140
|
-
key:
|
|
16142
|
+
key: 7,
|
|
16141
16143
|
onTouched: $options.touch,
|
|
16142
16144
|
field: $options.actualField,
|
|
16143
16145
|
modelValue: $options.fieldModel,
|
|
16144
16146
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $options.fieldModel = $event)
|
|
16145
16147
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16146
|
-
$options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
16148
|
+
$options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
|
|
16147
16149
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
16148
16150
|
key: 0,
|
|
16149
16151
|
submission: $props.submission,
|
|
@@ -16167,7 +16169,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16167
16169
|
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
|
|
16168
16170
|
], 64)) : createCommentVNode("", true),
|
|
16169
16171
|
$options.widget == "form" ? (openBlock(), createBlock(_component_field_group, {
|
|
16170
|
-
key:
|
|
16172
|
+
key: 9,
|
|
16171
16173
|
submission: $props.submission,
|
|
16172
16174
|
"onForm:state": $options.groupStateAltered,
|
|
16173
16175
|
ref: "group",
|
|
@@ -16178,99 +16180,99 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16178
16180
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
|
|
16179
16181
|
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
|
|
16180
16182
|
$options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
|
|
16181
|
-
key:
|
|
16183
|
+
key: 10,
|
|
16182
16184
|
onTouched: $options.touch,
|
|
16183
16185
|
field: $options.actualField,
|
|
16184
16186
|
modelValue: $options.fieldModel,
|
|
16185
16187
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
|
|
16186
16188
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16187
16189
|
$options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
|
|
16188
|
-
key:
|
|
16190
|
+
key: 11,
|
|
16189
16191
|
onTouched: $options.touch,
|
|
16190
16192
|
field: $options.actualField,
|
|
16191
16193
|
modelValue: $options.fieldModel,
|
|
16192
16194
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
|
|
16193
16195
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16194
16196
|
$options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
|
|
16195
|
-
key:
|
|
16197
|
+
key: 12,
|
|
16196
16198
|
onTouched: $options.touch,
|
|
16197
16199
|
field: $options.actualField,
|
|
16198
16200
|
modelValue: $options.fieldModel,
|
|
16199
16201
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
|
|
16200
16202
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16201
16203
|
$options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
|
|
16202
|
-
key:
|
|
16204
|
+
key: 13,
|
|
16203
16205
|
onTouched: $options.touch,
|
|
16204
16206
|
field: $options.actualField,
|
|
16205
16207
|
modelValue: $options.fieldModel,
|
|
16206
16208
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
|
|
16207
16209
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16208
16210
|
$options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
|
|
16209
|
-
key:
|
|
16211
|
+
key: 14,
|
|
16210
16212
|
onTouched: $options.touch,
|
|
16211
16213
|
field: $options.actualField,
|
|
16212
16214
|
modelValue: $options.fieldModel,
|
|
16213
16215
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
|
|
16214
16216
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16215
16217
|
$options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
|
|
16216
|
-
key:
|
|
16218
|
+
key: 15,
|
|
16217
16219
|
onTouched: $options.touch,
|
|
16218
16220
|
field: $options.actualField,
|
|
16219
16221
|
modelValue: $options.fieldModel,
|
|
16220
16222
|
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
|
|
16221
16223
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16222
16224
|
$options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
|
|
16223
|
-
key:
|
|
16225
|
+
key: 16,
|
|
16224
16226
|
onTouched: $options.touch,
|
|
16225
16227
|
field: $options.actualField,
|
|
16226
16228
|
modelValue: $options.fieldModel,
|
|
16227
16229
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
|
|
16228
16230
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16229
16231
|
$options.widget == "richtext" ? (openBlock(), createBlock(_component_rich_text_field, {
|
|
16230
|
-
key:
|
|
16232
|
+
key: 17,
|
|
16231
16233
|
onTouched: $options.touch,
|
|
16232
16234
|
field: $options.actualField,
|
|
16233
16235
|
modelValue: $options.fieldModel,
|
|
16234
16236
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
|
|
16235
16237
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16236
16238
|
$options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
|
|
16237
|
-
key:
|
|
16239
|
+
key: 18,
|
|
16238
16240
|
onTouched: $options.touch,
|
|
16239
16241
|
field: $options.actualField,
|
|
16240
16242
|
modelValue: $options.fieldModel,
|
|
16241
16243
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
|
|
16242
16244
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16243
16245
|
$options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
|
|
16244
|
-
key:
|
|
16246
|
+
key: 19,
|
|
16245
16247
|
onTouched: $options.touch,
|
|
16246
16248
|
field: $options.actualField,
|
|
16247
16249
|
modelValue: $options.fieldModel,
|
|
16248
16250
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
|
|
16249
16251
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16250
16252
|
$options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
|
|
16251
|
-
key:
|
|
16253
|
+
key: 20,
|
|
16252
16254
|
onTouched: $options.touch,
|
|
16253
16255
|
field: $options.actualField,
|
|
16254
16256
|
modelValue: $options.fieldModel,
|
|
16255
16257
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
|
|
16256
16258
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16257
|
-
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key:
|
|
16259
|
+
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 21 }, [], 64)) : createCommentVNode("", true),
|
|
16258
16260
|
$options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
|
|
16259
|
-
key:
|
|
16261
|
+
key: 22,
|
|
16260
16262
|
onTouched: $options.touch,
|
|
16261
16263
|
field: $options.actualField,
|
|
16262
16264
|
modelValue: $options.fieldModel,
|
|
16263
16265
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
|
|
16264
16266
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16265
16267
|
$options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
|
|
16266
|
-
key:
|
|
16268
|
+
key: 23,
|
|
16267
16269
|
onTouched: $options.touch,
|
|
16268
16270
|
field: $options.actualField,
|
|
16269
16271
|
modelValue: $options.fieldModel,
|
|
16270
16272
|
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
|
|
16271
16273
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16272
16274
|
$options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
|
|
16273
|
-
key:
|
|
16275
|
+
key: 24,
|
|
16274
16276
|
style: { "min-height": "300px" }
|
|
16275
16277
|
}, {
|
|
16276
16278
|
default: withCtx(() => [
|
|
@@ -16286,7 +16288,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16286
16288
|
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
16287
16289
|
], 34)) : createCommentVNode("", true);
|
|
16288
16290
|
}
|
|
16289
|
-
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"]]);
|
|
16290
16292
|
var form_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16291
16293
|
const _sfc_main$c = {
|
|
16292
16294
|
props: {
|