@qikdev/vue-ui 0.1.41 → 0.1.42
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 -6
- 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, pushScopeId, popScopeId, createElementVNode, normalizeStyle, createCommentVNode, Teleport, createTextVNode, vModelSelect, withKeys, withModifiers, vModelText, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, mergeProps, toHandlers, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.1.
|
|
35
|
+
const version$1 = "0.1.42";
|
|
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;
|
|
@@ -5072,7 +5072,8 @@ const _sfc_main$J = {
|
|
|
5072
5072
|
maximum: self2.field.maximum,
|
|
5073
5073
|
browserOptions: {
|
|
5074
5074
|
columns: self2.field.columns,
|
|
5075
|
-
select: self2.field.select
|
|
5075
|
+
select: self2.field.select,
|
|
5076
|
+
lockFilter: self2.field.lockFilter
|
|
5076
5077
|
}
|
|
5077
5078
|
};
|
|
5078
5079
|
console.log("Modal options", modalOptions);
|
|
@@ -5231,7 +5232,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5231
5232
|
}, 8, ["onClick"])
|
|
5232
5233
|
], 64);
|
|
5233
5234
|
}
|
|
5234
|
-
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-
|
|
5235
|
+
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-41fe69cc"]]);
|
|
5235
5236
|
var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5236
5237
|
function isUndefined$4(entry) {
|
|
5237
5238
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
@@ -17252,6 +17253,25 @@ const _sfc_main$5 = {
|
|
|
17252
17253
|
}
|
|
17253
17254
|
},
|
|
17254
17255
|
computed: {
|
|
17256
|
+
combinedFilter() {
|
|
17257
|
+
const self2 = this;
|
|
17258
|
+
let userSelectedFilters = self2.filter;
|
|
17259
|
+
let lockFilter = self2.options.lockFilter;
|
|
17260
|
+
if (!lockFilter) {
|
|
17261
|
+
return userSelectedFilters;
|
|
17262
|
+
}
|
|
17263
|
+
userSelectedFilters = JSON.parse(JSON.stringify(userSelectedFilters));
|
|
17264
|
+
lockFilter = JSON.parse(JSON.stringify(lockFilter));
|
|
17265
|
+
let combinedFilter;
|
|
17266
|
+
if (userSelectedFilters.operator === "and") {
|
|
17267
|
+
combinedFilter = userSelectedFilters;
|
|
17268
|
+
combinedFilter.filters.push(lockFilter);
|
|
17269
|
+
} else {
|
|
17270
|
+
combinedFilter = lockFilter;
|
|
17271
|
+
lockFilter.filters.push(userSelectedFilters);
|
|
17272
|
+
}
|
|
17273
|
+
return combinedFilter;
|
|
17274
|
+
},
|
|
17255
17275
|
viewMode() {
|
|
17256
17276
|
var view = this.view;
|
|
17257
17277
|
switch (view.key) {
|
|
@@ -17413,7 +17433,7 @@ const _sfc_main$5 = {
|
|
|
17413
17433
|
var search = self2.keywords;
|
|
17414
17434
|
var select = self2.selectFields;
|
|
17415
17435
|
var page = self2.page;
|
|
17416
|
-
var filter = self2.
|
|
17436
|
+
var filter = self2.combinedFilter;
|
|
17417
17437
|
return {
|
|
17418
17438
|
sort: sort2,
|
|
17419
17439
|
search,
|
|
@@ -17547,7 +17567,7 @@ const _sfc_main$5 = {
|
|
|
17547
17567
|
};
|
|
17548
17568
|
}
|
|
17549
17569
|
};
|
|
17550
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
17570
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-04072c44"), n2 = n2(), popScopeId(), n2);
|
|
17551
17571
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
17552
17572
|
const _hoisted_2$4 = { class: "footer" };
|
|
17553
17573
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -17717,7 +17737,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17717
17737
|
_: 3
|
|
17718
17738
|
})) : createCommentVNode("", true);
|
|
17719
17739
|
}
|
|
17720
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
17740
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-04072c44"]]);
|
|
17721
17741
|
var ModalMixin = {
|
|
17722
17742
|
props: {
|
|
17723
17743
|
options: {
|