@qikdev/vue-ui 0.1.94 → 0.2.1
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 +16 -7
- 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, 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.1
|
|
35
|
+
const version$1 = "0.2.1";
|
|
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;
|
|
@@ -5990,6 +5990,13 @@ const _sfc_main$S = {
|
|
|
5990
5990
|
default: "none"
|
|
5991
5991
|
}
|
|
5992
5992
|
},
|
|
5993
|
+
computed: {
|
|
5994
|
+
filteredItems() {
|
|
5995
|
+
return this.items.filter(function(item) {
|
|
5996
|
+
return !item.disabled;
|
|
5997
|
+
});
|
|
5998
|
+
}
|
|
5999
|
+
},
|
|
5993
6000
|
methods: {
|
|
5994
6001
|
toggle(item) {
|
|
5995
6002
|
item.expanded = !item.expanded;
|
|
@@ -6004,7 +6011,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6004
6011
|
const _component_ux_link = resolveComponent("ux-link");
|
|
6005
6012
|
const _component_menulist = resolveComponent("menulist", true);
|
|
6006
6013
|
return openBlock(), createElementBlock("ul", null, [
|
|
6007
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($
|
|
6014
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.filteredItems, (item) => {
|
|
6008
6015
|
var _a;
|
|
6009
6016
|
return openBlock(), createElementBlock("li", {
|
|
6010
6017
|
class: normalizeClass({ expanded: item.expanded, collapsed: item.collapsed })
|
|
@@ -6165,13 +6172,13 @@ const _sfc_main$R = {
|
|
|
6165
6172
|
return params;
|
|
6166
6173
|
},
|
|
6167
6174
|
src() {
|
|
6168
|
-
return this.$sdk.api.generateEndpointURL(`/${this.type}/${this.id}`, this.params);
|
|
6175
|
+
return this.$sdk.api.generateEndpointURL(`/${this.type}/${this.id}`, this.params, { file: true });
|
|
6169
6176
|
},
|
|
6170
6177
|
previewSrc() {
|
|
6171
6178
|
var params = Object.assign({}, this.params);
|
|
6172
6179
|
params.w = 50;
|
|
6173
6180
|
delete params.h;
|
|
6174
|
-
return this.$sdk.api.generateEndpointURL(`/${this.type}/${this.id}`, params);
|
|
6181
|
+
return this.$sdk.api.generateEndpointURL(`/${this.type}/${this.id}`, params, { file: true });
|
|
6175
6182
|
},
|
|
6176
6183
|
imageStyle() {
|
|
6177
6184
|
var style = {};
|
|
@@ -6241,7 +6248,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6241
6248
|
}, null, 12, _hoisted_2$C))
|
|
6242
6249
|
], 6);
|
|
6243
6250
|
}
|
|
6244
|
-
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-
|
|
6251
|
+
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-a5d2a840"]]);
|
|
6245
6252
|
var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6246
6253
|
const _sfc_main$Q = {
|
|
6247
6254
|
props: {
|
|
@@ -16530,11 +16537,13 @@ const _sfc_main$h = {
|
|
|
16530
16537
|
return this.field.expressions;
|
|
16531
16538
|
},
|
|
16532
16539
|
expressionsContext() {
|
|
16540
|
+
var _a;
|
|
16541
|
+
var additionalContext = ((_a = this.additionalContext) == null ? void 0 : _a.value) || {};
|
|
16533
16542
|
const context = {
|
|
16534
16543
|
this: this.model,
|
|
16535
16544
|
model: this.model,
|
|
16536
16545
|
data: this.parentModel,
|
|
16537
|
-
additional: __spreadValues({},
|
|
16546
|
+
additional: __spreadValues({}, additionalContext)
|
|
16538
16547
|
};
|
|
16539
16548
|
return context;
|
|
16540
16549
|
},
|
|
@@ -16909,7 +16918,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16909
16918
|
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$c, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
16910
16919
|
], 34)) : createCommentVNode("", true);
|
|
16911
16920
|
}
|
|
16912
|
-
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
16921
|
+
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-2d97aad1"]]);
|
|
16913
16922
|
var form_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16914
16923
|
const _sfc_main$g = {
|
|
16915
16924
|
props: {
|