@qikdev/vue-ui 0.1.79 → 0.1.80
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 +37 -12
- 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.80";
|
|
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;
|
|
@@ -12394,14 +12394,17 @@ const _sfc_main$u = {
|
|
|
12394
12394
|
NativeSelect
|
|
12395
12395
|
}
|
|
12396
12396
|
};
|
|
12397
|
-
const _hoisted_1$o = {
|
|
12397
|
+
const _hoisted_1$o = {
|
|
12398
|
+
key: 0,
|
|
12399
|
+
class: "filter-rule"
|
|
12400
|
+
};
|
|
12398
12401
|
const _hoisted_2$k = { class: "top" };
|
|
12399
12402
|
const _hoisted_3$h = { class: "summary" };
|
|
12400
12403
|
const _hoisted_4$g = /* @__PURE__ */ createTextVNode(" Match ");
|
|
12401
12404
|
const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
|
|
12402
12405
|
const _hoisted_6$a = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
|
|
12403
12406
|
const _hoisted_7$7 = { class: "operator" };
|
|
12404
|
-
const _hoisted_8$3 = /* @__PURE__ */ createTextVNode("Add Condition");
|
|
12407
|
+
const _hoisted_8$3 = /* @__PURE__ */ createTextVNode(" Add Condition ");
|
|
12405
12408
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12406
12409
|
const _component_native_select = resolveComponent("native-select");
|
|
12407
12410
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -12409,7 +12412,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12409
12412
|
const _component_ux_button = resolveComponent("ux-button");
|
|
12410
12413
|
const _component_flex_row = resolveComponent("flex-row");
|
|
12411
12414
|
const _component_filter_condition = resolveComponent("filter-condition");
|
|
12412
|
-
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
12415
|
+
return $props.definition ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
12413
12416
|
createElementVNode("div", _hoisted_2$k, [
|
|
12414
12417
|
createVNode(_component_flex_row, null, {
|
|
12415
12418
|
default: withCtx(() => [
|
|
@@ -12487,13 +12490,20 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12487
12490
|
_: 2
|
|
12488
12491
|
}, 1024);
|
|
12489
12492
|
}), 128)),
|
|
12490
|
-
createVNode(_component_ux_button, {
|
|
12493
|
+
createVNode(_component_ux_button, {
|
|
12494
|
+
size: "sm",
|
|
12495
|
+
onClick: $options.addCondition
|
|
12496
|
+
}, {
|
|
12491
12497
|
default: withCtx(() => [
|
|
12492
|
-
_hoisted_8$3
|
|
12498
|
+
_hoisted_8$3,
|
|
12499
|
+
createVNode(_component_ux_icon, {
|
|
12500
|
+
icon: "fa-plus",
|
|
12501
|
+
right: ""
|
|
12502
|
+
})
|
|
12493
12503
|
]),
|
|
12494
12504
|
_: 1
|
|
12495
12505
|
}, 8, ["onClick"])
|
|
12496
|
-
]);
|
|
12506
|
+
])) : createCommentVNode("", true);
|
|
12497
12507
|
}
|
|
12498
12508
|
var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u]]);
|
|
12499
12509
|
var FilterBuilder_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -12646,6 +12656,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12646
12656
|
}, null, 8, ["onRemove", "definition", "modelValue", "onUpdate:modelValue", "index"]);
|
|
12647
12657
|
}), 128)),
|
|
12648
12658
|
createVNode(_component_ux_button, {
|
|
12659
|
+
size: "sm",
|
|
12649
12660
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.addRule())
|
|
12650
12661
|
}, {
|
|
12651
12662
|
default: withCtx(() => [
|
|
@@ -12661,7 +12672,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12661
12672
|
_: 1
|
|
12662
12673
|
});
|
|
12663
12674
|
}
|
|
12664
|
-
var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t], ["__scopeId", "data-v-
|
|
12675
|
+
var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t], ["__scopeId", "data-v-7933a5ee"]]);
|
|
12665
12676
|
var filter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12666
12677
|
const _sfc_main$s = {
|
|
12667
12678
|
mixins: [InputMixin],
|
|
@@ -12771,6 +12782,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12771
12782
|
}), 128)),
|
|
12772
12783
|
_ctx.canAddValue ? (openBlock(), createBlock(_component_ux_button, {
|
|
12773
12784
|
key: 0,
|
|
12785
|
+
size: "sm",
|
|
12774
12786
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.add())
|
|
12775
12787
|
}, {
|
|
12776
12788
|
default: withCtx(() => [
|
|
@@ -12786,7 +12798,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12786
12798
|
}, null, 8, ["definition", "modelValue"]))
|
|
12787
12799
|
], 64);
|
|
12788
12800
|
}
|
|
12789
|
-
var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-
|
|
12801
|
+
var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-4aae9a4a"]]);
|
|
12790
12802
|
var switch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12791
12803
|
const _sfc_main$r = {
|
|
12792
12804
|
mixins: [InputMixin],
|
|
@@ -18199,12 +18211,25 @@ const _sfc_main$5 = {
|
|
|
18199
18211
|
return view;
|
|
18200
18212
|
},
|
|
18201
18213
|
sort() {
|
|
18202
|
-
var
|
|
18214
|
+
var _a;
|
|
18215
|
+
var defaultSort = ((_a = this.definition) == null ? void 0 : _a.defaultSort) || {
|
|
18203
18216
|
key: "title",
|
|
18204
18217
|
direction: "asc",
|
|
18205
18218
|
type: "string"
|
|
18206
18219
|
};
|
|
18207
18220
|
switch (this.basicType) {
|
|
18221
|
+
case "email":
|
|
18222
|
+
case "notification":
|
|
18223
|
+
case "transaction":
|
|
18224
|
+
case "campaign":
|
|
18225
|
+
case "transaction":
|
|
18226
|
+
case "componentsnapshot":
|
|
18227
|
+
case "interfacesnapshot":
|
|
18228
|
+
case "image":
|
|
18229
|
+
case "video":
|
|
18230
|
+
case "audio":
|
|
18231
|
+
case "file":
|
|
18232
|
+
case "submission":
|
|
18208
18233
|
case "log":
|
|
18209
18234
|
defaultSort = {
|
|
18210
18235
|
key: "meta.created",
|
|
@@ -18509,7 +18534,7 @@ const _sfc_main$5 = {
|
|
|
18509
18534
|
};
|
|
18510
18535
|
}
|
|
18511
18536
|
};
|
|
18512
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
18537
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-34d46a88"), n2 = n2(), popScopeId(), n2);
|
|
18513
18538
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
18514
18539
|
const _hoisted_2$4 = { class: "footer" };
|
|
18515
18540
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -18683,7 +18708,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18683
18708
|
_: 3
|
|
18684
18709
|
})) : createCommentVNode("", true);
|
|
18685
18710
|
}
|
|
18686
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
18711
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-34d46a88"]]);
|
|
18687
18712
|
var ModalMixin = {
|
|
18688
18713
|
props: {
|
|
18689
18714
|
options: {
|