@qikdev/vue-ui 0.2.42 → 0.2.46
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 +616 -387
- 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
|
@@ -30,9 +30,9 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
import { openBlock, createElementBlock, renderSlot, resolveComponent, normalizeClass, Fragment, createVNode, withCtx, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, vModelSelect, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, withKeys, TransitionGroup, defineComponent,
|
|
33
|
+
import { openBlock, createElementBlock, renderSlot, resolveComponent, normalizeClass, Fragment, createVNode, withCtx, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, h, mergeProps, toHandlers, vModelSelect, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, withKeys, TransitionGroup, defineComponent, nextTick, vModelDynamic, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.2.
|
|
35
|
+
const version$1 = "0.2.46";
|
|
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;
|
|
@@ -41,104 +41,104 @@ var _export_sfc = (sfc, props2) => {
|
|
|
41
41
|
}
|
|
42
42
|
return target;
|
|
43
43
|
};
|
|
44
|
+
const _sfc_main$1r = {};
|
|
45
|
+
const _hoisted_1$15 = { class: "flex-column" };
|
|
46
|
+
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
|
+
]);
|
|
50
|
+
}
|
|
51
|
+
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__scopeId", "data-v-203ea86f"]]);
|
|
52
|
+
var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
44
53
|
const _sfc_main$1q = {};
|
|
45
|
-
const _hoisted_1$14 = { class: "flex-column" };
|
|
54
|
+
const _hoisted_1$14 = { class: "flex-column-body" };
|
|
46
55
|
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
56
|
return openBlock(), createElementBlock("div", _hoisted_1$14, [
|
|
48
57
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
58
|
]);
|
|
50
59
|
}
|
|
51
|
-
var
|
|
52
|
-
var
|
|
60
|
+
var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__scopeId", "data-v-64850355"]]);
|
|
61
|
+
var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
62
|
const _sfc_main$1p = {};
|
|
54
|
-
const _hoisted_1$13 = { class: "flex-column-
|
|
63
|
+
const _hoisted_1$13 = { class: "flex-column-header" };
|
|
55
64
|
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
65
|
return openBlock(), createElementBlock("div", _hoisted_1$13, [
|
|
57
66
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
67
|
]);
|
|
59
68
|
}
|
|
60
|
-
var
|
|
61
|
-
var
|
|
69
|
+
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
|
+
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
71
|
const _sfc_main$1o = {};
|
|
63
|
-
const _hoisted_1$12 = { class: "flex-column-
|
|
72
|
+
const _hoisted_1$12 = { class: "flex-column-footer" };
|
|
64
73
|
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
74
|
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
66
75
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
76
|
]);
|
|
68
77
|
}
|
|
69
|
-
var
|
|
70
|
-
var
|
|
78
|
+
var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__scopeId", "data-v-68216a72"]]);
|
|
79
|
+
var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
71
80
|
const _sfc_main$1n = {};
|
|
72
|
-
const _hoisted_1$11 = { class: "flex-
|
|
81
|
+
const _hoisted_1$11 = { class: "flex-cell" };
|
|
73
82
|
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
83
|
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
75
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
85
|
]);
|
|
77
86
|
}
|
|
78
|
-
var
|
|
79
|
-
var
|
|
87
|
+
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__scopeId", "data-v-644bb279"]]);
|
|
88
|
+
var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
80
89
|
const _sfc_main$1m = {};
|
|
81
|
-
const _hoisted_1$10 = { class: "flex-
|
|
90
|
+
const _hoisted_1$10 = { class: "flex-row" };
|
|
82
91
|
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
92
|
return openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
84
93
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
85
94
|
]);
|
|
86
95
|
}
|
|
87
|
-
var
|
|
88
|
-
var
|
|
96
|
+
var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__scopeId", "data-v-5b76ad1f"]]);
|
|
97
|
+
var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89
98
|
const _sfc_main$1l = {};
|
|
90
|
-
const _hoisted_1$$ = { class: "flex-
|
|
99
|
+
const _hoisted_1$$ = { class: "flex-spacer" };
|
|
91
100
|
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
|
-
return openBlock(), createElementBlock("div", _hoisted_1
|
|
93
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
|
-
]);
|
|
101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$$);
|
|
95
102
|
}
|
|
96
|
-
var
|
|
97
|
-
var
|
|
103
|
+
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-35b15579"]]);
|
|
104
|
+
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
98
105
|
const _sfc_main$1k = {};
|
|
99
|
-
const _hoisted_1$_ = { class: "
|
|
106
|
+
const _hoisted_1$_ = { class: "panel" };
|
|
100
107
|
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
|
-
return openBlock(), createElementBlock("div", _hoisted_1$_
|
|
108
|
+
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
109
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
|
+
]);
|
|
102
111
|
}
|
|
103
|
-
var
|
|
104
|
-
var
|
|
112
|
+
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
|
+
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
105
114
|
const _sfc_main$1j = {};
|
|
106
|
-
const _hoisted_1$Z = { class: "panel" };
|
|
115
|
+
const _hoisted_1$Z = { class: "panel-body" };
|
|
107
116
|
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
117
|
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
109
118
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
119
|
]);
|
|
111
120
|
}
|
|
112
|
-
var
|
|
113
|
-
var
|
|
121
|
+
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
|
+
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
123
|
const _sfc_main$1i = {};
|
|
115
|
-
const _hoisted_1$Y = { class: "panel-
|
|
124
|
+
const _hoisted_1$Y = { class: "panel-header" };
|
|
116
125
|
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
126
|
return openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
118
127
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
128
|
]);
|
|
120
129
|
}
|
|
121
|
-
var
|
|
122
|
-
var
|
|
130
|
+
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
|
+
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
132
|
const _sfc_main$1h = {};
|
|
124
|
-
const _hoisted_1$X = { class: "panel-
|
|
133
|
+
const _hoisted_1$X = { class: "panel-footer" };
|
|
125
134
|
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
135
|
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
127
136
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128
137
|
]);
|
|
129
138
|
}
|
|
130
|
-
var
|
|
131
|
-
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
132
|
-
const _sfc_main$1g = {};
|
|
133
|
-
const _hoisted_1$W = { class: "panel-footer" };
|
|
134
|
-
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
136
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
|
-
]);
|
|
138
|
-
}
|
|
139
|
-
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-b4f4786a"]]);
|
|
139
|
+
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-b4f4786a"]]);
|
|
140
140
|
var tabset_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
141
|
-
const _sfc_main$
|
|
141
|
+
const _sfc_main$1g = {
|
|
142
142
|
props: {
|
|
143
143
|
vertical: {
|
|
144
144
|
type: Boolean
|
|
@@ -171,9 +171,9 @@ const _sfc_main$1f = {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
|
-
const _hoisted_1$
|
|
174
|
+
const _hoisted_1$W = ["onClick"];
|
|
175
175
|
const _hoisted_2$L = ["onClick"];
|
|
176
|
-
function _sfc_render$
|
|
176
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
177
177
|
const _component_flex_body = resolveComponent("flex-body");
|
|
178
178
|
const _component_flex_column = resolveComponent("flex-column");
|
|
179
179
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -191,7 +191,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
191
191
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
192
192
|
key: `tab-link-${tab.props.heading}`,
|
|
193
193
|
onClick: ($event) => $options.select(index2)
|
|
194
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_1$
|
|
194
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_1$W);
|
|
195
195
|
}), 128))
|
|
196
196
|
]),
|
|
197
197
|
_: 1
|
|
@@ -254,8 +254,8 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
254
254
|
], 64))
|
|
255
255
|
], 2);
|
|
256
256
|
}
|
|
257
|
-
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
258
|
-
const _sfc_main$
|
|
257
|
+
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-621f2a2f"]]);
|
|
258
|
+
const _sfc_main$1f = {
|
|
259
259
|
props: {
|
|
260
260
|
heading: {
|
|
261
261
|
type: String,
|
|
@@ -282,7 +282,7 @@ const _sfc_main$1e = {
|
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
|
-
function _sfc_render$
|
|
285
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
286
286
|
const _component_flex_column = resolveComponent("flex-column");
|
|
287
287
|
return openBlock(), createBlock(_component_flex_column, null, {
|
|
288
288
|
default: withCtx(() => [
|
|
@@ -291,7 +291,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
291
|
_: 3
|
|
292
292
|
});
|
|
293
293
|
}
|
|
294
|
-
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
294
|
+
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f]]);
|
|
295
295
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
296
296
|
var isArray$5 = Array.isArray;
|
|
297
297
|
var isArray_1 = isArray$5;
|
|
@@ -759,7 +759,7 @@ var TableCellMixin = {
|
|
|
759
759
|
}
|
|
760
760
|
};
|
|
761
761
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
762
|
-
const _sfc_main$
|
|
762
|
+
const _sfc_main$1e = {
|
|
763
763
|
mixins: [TableCellMixin],
|
|
764
764
|
computed: {
|
|
765
765
|
imageSource() {
|
|
@@ -776,11 +776,11 @@ const _sfc_main$1d = {
|
|
|
776
776
|
}
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
|
-
const _hoisted_1$
|
|
780
|
-
function _sfc_render$
|
|
779
|
+
const _hoisted_1$V = { class: "table-image-cell" };
|
|
780
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
781
781
|
const _component_ux_image = resolveComponent("ux-image");
|
|
782
782
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
783
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
783
|
+
return openBlock(), createElementBlock("td", _hoisted_1$V, [
|
|
784
784
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", {
|
|
785
785
|
key: 0,
|
|
786
786
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked(_ctx.value), ["stop", "prevent"])),
|
|
@@ -798,9 +798,9 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
798
798
|
}))
|
|
799
799
|
]);
|
|
800
800
|
}
|
|
801
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
801
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-246a2688"]]);
|
|
802
802
|
var Currency_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
803
|
-
const _sfc_main$
|
|
803
|
+
const _sfc_main$1d = {
|
|
804
804
|
mixins: [TableCellMixin],
|
|
805
805
|
computed: {
|
|
806
806
|
string() {
|
|
@@ -823,14 +823,14 @@ const _sfc_main$1c = {
|
|
|
823
823
|
}
|
|
824
824
|
}
|
|
825
825
|
};
|
|
826
|
-
function _sfc_render$
|
|
826
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
827
827
|
return openBlock(), createElementBlock("td", {
|
|
828
828
|
class: normalizeClass(["table-currency-cell", { credit: $options.credit, empty: $options.empty, debit: $options.debit }])
|
|
829
829
|
}, toDisplayString($options.string), 3);
|
|
830
830
|
}
|
|
831
|
-
var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
831
|
+
var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-33a0b926"]]);
|
|
832
832
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
833
|
-
const _sfc_main$
|
|
833
|
+
const _sfc_main$1c = {
|
|
834
834
|
data() {
|
|
835
835
|
return {
|
|
836
836
|
processing: false
|
|
@@ -854,11 +854,11 @@ const _sfc_main$1b = {
|
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
856
|
};
|
|
857
|
-
const _hoisted_1$
|
|
858
|
-
function _sfc_render$
|
|
857
|
+
const _hoisted_1$U = { class: "table-button-cell" };
|
|
858
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
859
859
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
860
860
|
const _component_ux_button = resolveComponent("ux-button");
|
|
861
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
861
|
+
return openBlock(), createElementBlock("td", _hoisted_1$U, [
|
|
862
862
|
createVNode(_component_ux_button, {
|
|
863
863
|
color: $options.button.color,
|
|
864
864
|
size: $options.button.size,
|
|
@@ -879,7 +879,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
879
879
|
}, 8, ["color", "size", "loading", "onClick"])
|
|
880
880
|
]);
|
|
881
881
|
}
|
|
882
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
882
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-36768853"]]);
|
|
883
883
|
class LuxonError extends Error {
|
|
884
884
|
}
|
|
885
885
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -4713,7 +4713,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
4713
4713
|
}
|
|
4714
4714
|
}
|
|
4715
4715
|
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4716
|
-
const _sfc_main$
|
|
4716
|
+
const _sfc_main$1b = {
|
|
4717
4717
|
mixins: [TableCellMixin],
|
|
4718
4718
|
computed: {
|
|
4719
4719
|
hasValue() {
|
|
@@ -4734,23 +4734,23 @@ const _sfc_main$1a = {
|
|
|
4734
4734
|
}
|
|
4735
4735
|
}
|
|
4736
4736
|
};
|
|
4737
|
-
const _hoisted_1$
|
|
4737
|
+
const _hoisted_1$T = { class: "table-date-cell" };
|
|
4738
4738
|
const _hoisted_2$K = { key: 0 };
|
|
4739
|
-
const _hoisted_3$
|
|
4739
|
+
const _hoisted_3$D = { class: "off" };
|
|
4740
4740
|
const _hoisted_4$t = { class: "on" };
|
|
4741
4741
|
const _hoisted_5$o = { class: "spacer" };
|
|
4742
|
-
function _sfc_render$
|
|
4743
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4742
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4743
|
+
return openBlock(), createElementBlock("td", _hoisted_1$T, [
|
|
4744
4744
|
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$K, [
|
|
4745
|
-
createElementVNode("span", _hoisted_3$
|
|
4745
|
+
createElementVNode("span", _hoisted_3$D, toDisplayString($options.readable), 1),
|
|
4746
4746
|
createElementVNode("span", _hoisted_4$t, toDisplayString($options.timeago), 1),
|
|
4747
4747
|
createElementVNode("span", _hoisted_5$o, toDisplayString($options.readable), 1)
|
|
4748
4748
|
])) : createCommentVNode("", true)
|
|
4749
4749
|
]);
|
|
4750
4750
|
}
|
|
4751
|
-
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4751
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-3687693f"]]);
|
|
4752
4752
|
var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4753
|
-
const _sfc_main$
|
|
4753
|
+
const _sfc_main$1a = {
|
|
4754
4754
|
mixins: [TableCellMixin],
|
|
4755
4755
|
computed: {
|
|
4756
4756
|
boolean() {
|
|
@@ -4758,7 +4758,7 @@ const _sfc_main$19 = {
|
|
|
4758
4758
|
}
|
|
4759
4759
|
}
|
|
4760
4760
|
};
|
|
4761
|
-
function _sfc_render$
|
|
4761
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4762
4762
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4763
4763
|
return openBlock(), createElementBlock("td", {
|
|
4764
4764
|
class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
|
|
@@ -4768,32 +4768,76 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4768
4768
|
}, null, 8, ["icon"])
|
|
4769
4769
|
], 2);
|
|
4770
4770
|
}
|
|
4771
|
-
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4771
|
+
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-27f127ae"]]);
|
|
4772
4772
|
var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4773
|
-
const _sfc_main$
|
|
4773
|
+
const _sfc_main$19 = {
|
|
4774
4774
|
mixins: [TableCellMixin],
|
|
4775
|
+
methods: {
|
|
4776
|
+
async clicked() {
|
|
4777
|
+
const self2 = this;
|
|
4778
|
+
const id = self2.$sdk.utils.id(self2.row);
|
|
4779
|
+
const security = self2.public ? "secure" : "public";
|
|
4780
|
+
self2.processing = true;
|
|
4781
|
+
self2.$sdk.content.patch(id, {
|
|
4782
|
+
meta: {
|
|
4783
|
+
security
|
|
4784
|
+
}
|
|
4785
|
+
}).catch(function(err) {
|
|
4786
|
+
self2.$sdk.error(err);
|
|
4787
|
+
self2.processing = false;
|
|
4788
|
+
}).then(function(res) {
|
|
4789
|
+
self2.v = security;
|
|
4790
|
+
self2.processing = false;
|
|
4791
|
+
self2.$sdk.notify(`Set security to ${security}`);
|
|
4792
|
+
});
|
|
4793
|
+
}
|
|
4794
|
+
},
|
|
4795
|
+
data() {
|
|
4796
|
+
return {
|
|
4797
|
+
processing: false,
|
|
4798
|
+
v: this.value
|
|
4799
|
+
};
|
|
4800
|
+
},
|
|
4775
4801
|
computed: {
|
|
4802
|
+
canEdit() {
|
|
4803
|
+
var user = this.user;
|
|
4804
|
+
return this.$sdk.access.canEditItem(user, this.row);
|
|
4805
|
+
},
|
|
4776
4806
|
public() {
|
|
4777
4807
|
return this.security === "public";
|
|
4778
4808
|
},
|
|
4779
4809
|
security() {
|
|
4780
|
-
return this.
|
|
4810
|
+
return this.v || "secure";
|
|
4781
4811
|
}
|
|
4782
4812
|
}
|
|
4783
4813
|
};
|
|
4784
|
-
function _sfc_render$
|
|
4814
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4785
4815
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4816
|
+
const _component_ux_button = resolveComponent("ux-button");
|
|
4786
4817
|
return openBlock(), createElementBlock("td", {
|
|
4787
4818
|
class: normalizeClass(["table-security-cell", $options.security])
|
|
4788
4819
|
}, [
|
|
4789
|
-
|
|
4820
|
+
$options.canEdit ? (openBlock(), createBlock(_component_ux_button, {
|
|
4821
|
+
key: 0,
|
|
4822
|
+
size: "sm",
|
|
4823
|
+
loading: $data.processing,
|
|
4824
|
+
onClick: withModifiers($options.clicked, ["stop", "prevent"])
|
|
4825
|
+
}, {
|
|
4826
|
+
default: withCtx(() => [
|
|
4827
|
+
createVNode(_component_ux_icon, {
|
|
4828
|
+
icon: $options.public ? `fa-lock-open` : `fa-lock`
|
|
4829
|
+
}, null, 8, ["icon"])
|
|
4830
|
+
]),
|
|
4831
|
+
_: 1
|
|
4832
|
+
}, 8, ["loading", "onClick"])) : (openBlock(), createBlock(_component_ux_icon, {
|
|
4833
|
+
key: 1,
|
|
4790
4834
|
icon: $options.public ? `fa-lock-open` : `fa-lock`
|
|
4791
|
-
}, null, 8, ["icon"])
|
|
4835
|
+
}, null, 8, ["icon"]))
|
|
4792
4836
|
], 2);
|
|
4793
4837
|
}
|
|
4794
|
-
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4838
|
+
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-8845b144"]]);
|
|
4795
4839
|
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4796
|
-
const _sfc_main$
|
|
4840
|
+
const _sfc_main$18 = {
|
|
4797
4841
|
mixins: [TableCellMixin],
|
|
4798
4842
|
methods: {
|
|
4799
4843
|
open() {
|
|
@@ -4806,11 +4850,11 @@ const _sfc_main$17 = {
|
|
|
4806
4850
|
}
|
|
4807
4851
|
}
|
|
4808
4852
|
};
|
|
4809
|
-
const _hoisted_1$
|
|
4853
|
+
const _hoisted_1$S = { class: "table-url-cell" };
|
|
4810
4854
|
const _hoisted_2$J = ["href"];
|
|
4811
|
-
function _sfc_render$
|
|
4855
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4812
4856
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4813
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4857
|
+
return openBlock(), createElementBlock("td", _hoisted_1$S, [
|
|
4814
4858
|
createElementVNode("a", {
|
|
4815
4859
|
href: $options.href,
|
|
4816
4860
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -4824,7 +4868,84 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4824
4868
|
], 8, _hoisted_2$J)
|
|
4825
4869
|
]);
|
|
4826
4870
|
}
|
|
4827
|
-
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4871
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-17cf3a86"]]);
|
|
4872
|
+
var o = function(t, o2, e) {
|
|
4873
|
+
if (!o2.hasOwnProperty(e)) {
|
|
4874
|
+
var r = Object.getOwnPropertyDescriptor(t, e);
|
|
4875
|
+
Object.defineProperty(o2, e, r);
|
|
4876
|
+
}
|
|
4877
|
+
};
|
|
4878
|
+
var Compile = { props: { template: String, parent: Object, templateProps: { type: Object, default: function() {
|
|
4879
|
+
return {};
|
|
4880
|
+
} } }, render: function() {
|
|
4881
|
+
if (this.template) {
|
|
4882
|
+
var e = this.parent || this.$parent, r = e.$data;
|
|
4883
|
+
r === void 0 && (r = {});
|
|
4884
|
+
var n2 = e.$props;
|
|
4885
|
+
n2 === void 0 && (n2 = {});
|
|
4886
|
+
var a2 = e.$options;
|
|
4887
|
+
a2 === void 0 && (a2 = {});
|
|
4888
|
+
var p = a2.components;
|
|
4889
|
+
p === void 0 && (p = {});
|
|
4890
|
+
var i2 = a2.computed;
|
|
4891
|
+
i2 === void 0 && (i2 = {});
|
|
4892
|
+
var c2 = a2.methods;
|
|
4893
|
+
c2 === void 0 && (c2 = {});
|
|
4894
|
+
var s2 = this.$data;
|
|
4895
|
+
s2 === void 0 && (s2 = {});
|
|
4896
|
+
var d = this.$props;
|
|
4897
|
+
d === void 0 && (d = {});
|
|
4898
|
+
var v = this.$options;
|
|
4899
|
+
v === void 0 && (v = {});
|
|
4900
|
+
var m = v.methods;
|
|
4901
|
+
m === void 0 && (m = {});
|
|
4902
|
+
var f = v.computed;
|
|
4903
|
+
f === void 0 && (f = {});
|
|
4904
|
+
var u2 = v.components;
|
|
4905
|
+
u2 === void 0 && (u2 = {});
|
|
4906
|
+
var h$1 = { $data: {}, $props: {}, $options: {}, components: {}, computed: {}, methods: {} };
|
|
4907
|
+
Object.keys(r).forEach(function(t) {
|
|
4908
|
+
s2[t] === void 0 && (h$1.$data[t] = r[t]);
|
|
4909
|
+
}), Object.keys(n2).forEach(function(t) {
|
|
4910
|
+
d[t] === void 0 && (h$1.$props[t] = n2[t]);
|
|
4911
|
+
}), Object.keys(c2).forEach(function(t) {
|
|
4912
|
+
m[t] === void 0 && (h$1.methods[t] = c2[t]);
|
|
4913
|
+
}), Object.keys(i2).forEach(function(t) {
|
|
4914
|
+
f[t] === void 0 && (h$1.computed[t] = i2[t]);
|
|
4915
|
+
}), Object.keys(p).forEach(function(t) {
|
|
4916
|
+
u2[t] === void 0 && (h$1.components[t] = p[t]);
|
|
4917
|
+
});
|
|
4918
|
+
var $ = Object.keys(h$1.methods || {}), O = Object.keys(h$1.$data || {}), b = Object.keys(h$1.$props || {}), j = Object.keys(this.templateProps), y = O.concat(b).concat($).concat(j), k = (E = e, P = {}, $.forEach(function(t) {
|
|
4919
|
+
return o(E, P, t);
|
|
4920
|
+
}), P), l2 = function(t) {
|
|
4921
|
+
var e2 = {};
|
|
4922
|
+
return t.forEach(function(t2) {
|
|
4923
|
+
t2 && Object.getOwnPropertyNames(t2).forEach(function(r2) {
|
|
4924
|
+
return o(t2, e2, r2);
|
|
4925
|
+
});
|
|
4926
|
+
}), e2;
|
|
4927
|
+
}([h$1.$data, h$1.$props, k, this.templateProps]);
|
|
4928
|
+
return h({ template: this.template || "<div></div>", props: y, computed: h$1.computed, components: h$1.components, provide: this.$parent.$.provides ? this.$parent.$.provides : {} }, Object.assign({}, l2));
|
|
4929
|
+
}
|
|
4930
|
+
var E, P;
|
|
4931
|
+
} };
|
|
4932
|
+
var ComputedCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4933
|
+
const _sfc_main$17 = {
|
|
4934
|
+
components: {
|
|
4935
|
+
Compile
|
|
4936
|
+
},
|
|
4937
|
+
mixins: [TableCellMixin]
|
|
4938
|
+
};
|
|
4939
|
+
const _hoisted_1$R = { class: "table-computed-cell" };
|
|
4940
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4941
|
+
const _component_compile = resolveComponent("compile");
|
|
4942
|
+
return openBlock(), createElementBlock("td", _hoisted_1$R, [
|
|
4943
|
+
createVNode(_component_compile, {
|
|
4944
|
+
template: this.column.code
|
|
4945
|
+
}, null, 8, ["template"])
|
|
4946
|
+
]);
|
|
4947
|
+
}
|
|
4948
|
+
var ComputedCell = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-5f42b10c"]]);
|
|
4828
4949
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4829
4950
|
const _sfc_main$16 = {
|
|
4830
4951
|
props: {
|
|
@@ -4945,6 +5066,9 @@ const _sfc_main$15 = {
|
|
|
4945
5066
|
case "datetime":
|
|
4946
5067
|
component = DateCell;
|
|
4947
5068
|
break;
|
|
5069
|
+
case "computed":
|
|
5070
|
+
component = ComputedCell;
|
|
5071
|
+
break;
|
|
4948
5072
|
case "url":
|
|
4949
5073
|
component = URLCell;
|
|
4950
5074
|
break;
|
|
@@ -5009,7 +5133,7 @@ const _hoisted_1$Q = {
|
|
|
5009
5133
|
class: "table-cell"
|
|
5010
5134
|
};
|
|
5011
5135
|
const _hoisted_2$I = { class: "value" };
|
|
5012
|
-
const _hoisted_3$
|
|
5136
|
+
const _hoisted_3$C = { class: "value" };
|
|
5013
5137
|
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5014
5138
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
5015
5139
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
@@ -5029,7 +5153,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5029
5153
|
}, null, 8, ["type", "last", "value"])
|
|
5030
5154
|
]);
|
|
5031
5155
|
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
|
|
5032
|
-
return openBlock(), createElementBlock("span", _hoisted_3$
|
|
5156
|
+
return openBlock(), createElementBlock("span", _hoisted_3$C, [
|
|
5033
5157
|
createVNode(_component_value_renderer, {
|
|
5034
5158
|
type: $props.column.type,
|
|
5035
5159
|
multi: "",
|
|
@@ -5045,7 +5169,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5045
5169
|
}, null, 8, ["type", "value"]))
|
|
5046
5170
|
]));
|
|
5047
5171
|
}
|
|
5048
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-
|
|
5172
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-342f534a"]]);
|
|
5049
5173
|
const _sfc_main$14 = {
|
|
5050
5174
|
components: {
|
|
5051
5175
|
TableCell
|
|
@@ -5417,7 +5541,7 @@ const _hoisted_2$H = {
|
|
|
5417
5541
|
class: "table-scroll",
|
|
5418
5542
|
ref: "scroll"
|
|
5419
5543
|
};
|
|
5420
|
-
const _hoisted_3$
|
|
5544
|
+
const _hoisted_3$B = {
|
|
5421
5545
|
key: 0,
|
|
5422
5546
|
class: "first table-select shrink"
|
|
5423
5547
|
};
|
|
@@ -5439,7 +5563,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5439
5563
|
createElementVNode("table", null, [
|
|
5440
5564
|
createElementVNode("thead", null, [
|
|
5441
5565
|
createElementVNode("tr", null, [
|
|
5442
|
-
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
5566
|
+
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$B, [
|
|
5443
5567
|
createVNode(_component_ux_menu, null, {
|
|
5444
5568
|
activator: withCtx(({ on: on2 }) => [
|
|
5445
5569
|
createVNode(_component_ux_checkbox, mergeProps(toHandlers(on2), { value: $options.pageSelected }), null, 16, ["value"])
|
|
@@ -6080,7 +6204,7 @@ const _hoisted_2$G = {
|
|
|
6080
6204
|
key: 0,
|
|
6081
6205
|
class: "ux-required-marker"
|
|
6082
6206
|
};
|
|
6083
|
-
const _hoisted_3$
|
|
6207
|
+
const _hoisted_3$A = {
|
|
6084
6208
|
key: 1,
|
|
6085
6209
|
class: "ux-field-description"
|
|
6086
6210
|
};
|
|
@@ -6103,7 +6227,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6103
6227
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6104
6228
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$G, "*")) : createCommentVNode("", true)
|
|
6105
6229
|
])) : createCommentVNode("", true),
|
|
6106
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6230
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$A, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
6107
6231
|
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
|
|
6108
6232
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6109
6233
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
@@ -7432,7 +7556,7 @@ const _hoisted_2$B = {
|
|
|
7432
7556
|
key: 0,
|
|
7433
7557
|
class: "ux-required-marker"
|
|
7434
7558
|
};
|
|
7435
|
-
const _hoisted_3$
|
|
7559
|
+
const _hoisted_3$z = {
|
|
7436
7560
|
key: 1,
|
|
7437
7561
|
class: "ux-field-description"
|
|
7438
7562
|
};
|
|
@@ -7456,7 +7580,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7456
7580
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7457
7581
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$B, "*")) : createCommentVNode("", true)
|
|
7458
7582
|
])) : createCommentVNode("", true),
|
|
7459
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7583
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$z, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7460
7584
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
|
|
7461
7585
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
7462
7586
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -8129,7 +8253,7 @@ const _hoisted_2$A = {
|
|
|
8129
8253
|
key: 0,
|
|
8130
8254
|
class: "ux-required-marker"
|
|
8131
8255
|
};
|
|
8132
|
-
const _hoisted_3$
|
|
8256
|
+
const _hoisted_3$y = {
|
|
8133
8257
|
key: 1,
|
|
8134
8258
|
class: "ux-field-description"
|
|
8135
8259
|
};
|
|
@@ -8152,7 +8276,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8152
8276
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8153
8277
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$A, "*")) : createCommentVNode("", true)
|
|
8154
8278
|
])) : createCommentVNode("", true),
|
|
8155
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8279
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$y, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8156
8280
|
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
|
|
8157
8281
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
8158
8282
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
@@ -11111,7 +11235,7 @@ const _hoisted_2$z = {
|
|
|
11111
11235
|
key: 0,
|
|
11112
11236
|
class: "ux-required-marker"
|
|
11113
11237
|
};
|
|
11114
|
-
const _hoisted_3$
|
|
11238
|
+
const _hoisted_3$x = {
|
|
11115
11239
|
key: 1,
|
|
11116
11240
|
class: "ux-field-description"
|
|
11117
11241
|
};
|
|
@@ -11132,14 +11256,14 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11132
11256
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11133
11257
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
|
|
11134
11258
|
])) : createCommentVNode("", true),
|
|
11135
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11259
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$x, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11136
11260
|
$options.showList ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11137
11261
|
_ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11138
11262
|
_ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
|
|
11139
11263
|
key: 0,
|
|
11140
11264
|
class: "items",
|
|
11141
11265
|
modelValue: _ctx.model,
|
|
11142
|
-
"onUpdate:modelValue": _cache[
|
|
11266
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
11143
11267
|
}, {
|
|
11144
11268
|
item: withCtx(({ element, index: index2 }) => [
|
|
11145
11269
|
(openBlock(), createBlock(_component_item, {
|
|
@@ -11147,9 +11271,19 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11147
11271
|
item: element
|
|
11148
11272
|
}, {
|
|
11149
11273
|
actions: withCtx(() => [
|
|
11150
|
-
|
|
11274
|
+
_ctx.$actions ? (openBlock(), createBlock(_component_ux_button, {
|
|
11151
11275
|
key: 0,
|
|
11152
11276
|
icon: "",
|
|
11277
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$actions.open([_ctx.model]), ["stop", "prevent"]))
|
|
11278
|
+
}, {
|
|
11279
|
+
default: withCtx(() => [
|
|
11280
|
+
createVNode(_component_ux_icon, { icon: "fa-ellipsis" })
|
|
11281
|
+
]),
|
|
11282
|
+
_: 1
|
|
11283
|
+
})) : createCommentVNode("", true),
|
|
11284
|
+
$options.canEdit(element) ? (openBlock(), createBlock(_component_ux_button, {
|
|
11285
|
+
key: 1,
|
|
11286
|
+
icon: "",
|
|
11153
11287
|
onClick: withModifiers(($event) => $options.edit(element), ["stop", "prevent"])
|
|
11154
11288
|
}, {
|
|
11155
11289
|
default: withCtx(() => [
|
|
@@ -11175,10 +11309,20 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11175
11309
|
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
|
|
11176
11310
|
createVNode(_component_item, { item: _ctx.model }, {
|
|
11177
11311
|
actions: withCtx(() => [
|
|
11178
|
-
|
|
11312
|
+
_ctx.$actions ? (openBlock(), createBlock(_component_ux_button, {
|
|
11179
11313
|
key: 0,
|
|
11180
11314
|
icon: "",
|
|
11181
|
-
onClick: _cache[
|
|
11315
|
+
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => _ctx.$actions.open([_ctx.model]), ["stop", "prevent"]))
|
|
11316
|
+
}, {
|
|
11317
|
+
default: withCtx(() => [
|
|
11318
|
+
createVNode(_component_ux_icon, { icon: "fa-ellipsis" })
|
|
11319
|
+
]),
|
|
11320
|
+
_: 1
|
|
11321
|
+
})) : createCommentVNode("", true),
|
|
11322
|
+
$options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
|
|
11323
|
+
key: 1,
|
|
11324
|
+
icon: "",
|
|
11325
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => $options.edit(_ctx.model), ["stop", "prevent"]))
|
|
11182
11326
|
}, {
|
|
11183
11327
|
default: withCtx(() => [
|
|
11184
11328
|
createVNode(_component_ux_icon, { icon: "fa-pencil" })
|
|
@@ -11242,7 +11386,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11242
11386
|
})) : createCommentVNode("", true)
|
|
11243
11387
|
], 64);
|
|
11244
11388
|
}
|
|
11245
|
-
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-
|
|
11389
|
+
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-391cbaa6"]]);
|
|
11246
11390
|
var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11247
11391
|
function isUndefined$5(entry) {
|
|
11248
11392
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
@@ -11364,7 +11508,7 @@ const _hoisted_2$y = {
|
|
|
11364
11508
|
key: 0,
|
|
11365
11509
|
class: "ux-required-marker"
|
|
11366
11510
|
};
|
|
11367
|
-
const _hoisted_3$
|
|
11511
|
+
const _hoisted_3$w = {
|
|
11368
11512
|
key: 1,
|
|
11369
11513
|
class: "ux-field-description"
|
|
11370
11514
|
};
|
|
@@ -11387,7 +11531,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11387
11531
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11388
11532
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
|
|
11389
11533
|
])) : createCommentVNode("", true),
|
|
11390
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11534
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$w, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11391
11535
|
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
11392
11536
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
11393
11537
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
@@ -11942,7 +12086,7 @@ const _hoisted_2$w = {
|
|
|
11942
12086
|
key: 0,
|
|
11943
12087
|
class: "ux-required-marker"
|
|
11944
12088
|
};
|
|
11945
|
-
const _hoisted_3$
|
|
12089
|
+
const _hoisted_3$v = {
|
|
11946
12090
|
key: 1,
|
|
11947
12091
|
class: "ux-field-description"
|
|
11948
12092
|
};
|
|
@@ -11955,7 +12099,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11955
12099
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11956
12100
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
|
|
11957
12101
|
])) : createCommentVNode("", true),
|
|
11958
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12102
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11959
12103
|
createVNode(_component_scope_select_button, {
|
|
11960
12104
|
type: $options.contextReferenceType,
|
|
11961
12105
|
action: $options.contextReferenceAction,
|
|
@@ -12151,7 +12295,7 @@ const _hoisted_2$v = {
|
|
|
12151
12295
|
key: 0,
|
|
12152
12296
|
class: "ux-required-marker"
|
|
12153
12297
|
};
|
|
12154
|
-
const _hoisted_3$
|
|
12298
|
+
const _hoisted_3$u = {
|
|
12155
12299
|
key: 1,
|
|
12156
12300
|
class: "ux-field-description"
|
|
12157
12301
|
};
|
|
@@ -12174,7 +12318,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12174
12318
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
12175
12319
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
|
|
12176
12320
|
])) : createCommentVNode("", true),
|
|
12177
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12321
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
12178
12322
|
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
12179
12323
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
12180
12324
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
@@ -12288,7 +12432,7 @@ const _hoisted_2$u = {
|
|
|
12288
12432
|
key: 0,
|
|
12289
12433
|
class: "ux-required-marker"
|
|
12290
12434
|
};
|
|
12291
|
-
const _hoisted_3$
|
|
12435
|
+
const _hoisted_3$t = {
|
|
12292
12436
|
key: 1,
|
|
12293
12437
|
class: "ux-field-description"
|
|
12294
12438
|
};
|
|
@@ -12320,7 +12464,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12320
12464
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
12321
12465
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
|
|
12322
12466
|
])) : createCommentVNode("", true),
|
|
12323
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12467
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
12324
12468
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
12325
12469
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
12326
12470
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -12491,7 +12635,7 @@ const _hoisted_2$t = {
|
|
|
12491
12635
|
key: 0,
|
|
12492
12636
|
class: "ux-required-marker"
|
|
12493
12637
|
};
|
|
12494
|
-
const _hoisted_3$
|
|
12638
|
+
const _hoisted_3$s = {
|
|
12495
12639
|
key: 1,
|
|
12496
12640
|
class: "ux-field-description"
|
|
12497
12641
|
};
|
|
@@ -12531,7 +12675,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12531
12675
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
12532
12676
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
|
|
12533
12677
|
])) : createCommentVNode("", true),
|
|
12534
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12678
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$s, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
12535
12679
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
12536
12680
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
12537
12681
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -12671,7 +12815,7 @@ const _hoisted_2$s = {
|
|
|
12671
12815
|
key: 0,
|
|
12672
12816
|
class: "ux-required-marker"
|
|
12673
12817
|
};
|
|
12674
|
-
const _hoisted_3$
|
|
12818
|
+
const _hoisted_3$r = {
|
|
12675
12819
|
key: 1,
|
|
12676
12820
|
class: "ux-field-description"
|
|
12677
12821
|
};
|
|
@@ -12687,7 +12831,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12687
12831
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
12688
12832
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
|
|
12689
12833
|
])) : createCommentVNode("", true),
|
|
12690
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12834
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
12691
12835
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
|
|
12692
12836
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
12693
12837
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -12819,7 +12963,7 @@ const _hoisted_2$r = {
|
|
|
12819
12963
|
key: 0,
|
|
12820
12964
|
class: "ux-required-marker"
|
|
12821
12965
|
};
|
|
12822
|
-
const _hoisted_3$
|
|
12966
|
+
const _hoisted_3$q = {
|
|
12823
12967
|
key: 1,
|
|
12824
12968
|
class: "ux-field-description"
|
|
12825
12969
|
};
|
|
@@ -12835,7 +12979,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12835
12979
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
12836
12980
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
|
|
12837
12981
|
])) : createCommentVNode("", true),
|
|
12838
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12982
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
12839
12983
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$i, [
|
|
12840
12984
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
12841
12985
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -12956,7 +13100,7 @@ const _hoisted_2$q = {
|
|
|
12956
13100
|
key: 0,
|
|
12957
13101
|
class: "ux-required-marker"
|
|
12958
13102
|
};
|
|
12959
|
-
const _hoisted_3$
|
|
13103
|
+
const _hoisted_3$p = {
|
|
12960
13104
|
key: 1,
|
|
12961
13105
|
class: "ux-field-description"
|
|
12962
13106
|
};
|
|
@@ -12972,7 +13116,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12972
13116
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
12973
13117
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
|
|
12974
13118
|
])) : createCommentVNode("", true),
|
|
12975
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13119
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
12976
13120
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$h, [
|
|
12977
13121
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
12978
13122
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -13082,7 +13226,7 @@ const _hoisted_2$p = {
|
|
|
13082
13226
|
key: 0,
|
|
13083
13227
|
class: "ux-required-marker"
|
|
13084
13228
|
};
|
|
13085
|
-
const _hoisted_3$
|
|
13229
|
+
const _hoisted_3$o = {
|
|
13086
13230
|
key: 1,
|
|
13087
13231
|
class: "ux-field-description"
|
|
13088
13232
|
};
|
|
@@ -13114,7 +13258,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13114
13258
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
13115
13259
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$p, "*")) : createCommentVNode("", true)
|
|
13116
13260
|
])) : createCommentVNode("", true),
|
|
13117
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13261
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
13118
13262
|
])
|
|
13119
13263
|
]),
|
|
13120
13264
|
_: 1
|
|
@@ -13139,7 +13283,7 @@ const _sfc_main$y = {
|
|
|
13139
13283
|
};
|
|
13140
13284
|
const _hoisted_1$s = { key: 0 };
|
|
13141
13285
|
const _hoisted_2$o = ["innerHTML"];
|
|
13142
|
-
const _hoisted_3$
|
|
13286
|
+
const _hoisted_3$n = ["innerHTML"];
|
|
13143
13287
|
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13144
13288
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
13145
13289
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -13193,7 +13337,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13193
13337
|
])) : (openBlock(), createElementBlock("div", {
|
|
13194
13338
|
key: 1,
|
|
13195
13339
|
innerHTML: _ctx.field.template
|
|
13196
|
-
}, null, 8, _hoisted_3$
|
|
13340
|
+
}, null, 8, _hoisted_3$n));
|
|
13197
13341
|
}
|
|
13198
13342
|
var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y]]);
|
|
13199
13343
|
var FilterCondition_vue_vue_type_style_index_0_lang = "";
|
|
@@ -13483,7 +13627,7 @@ const _hoisted_1$r = {
|
|
|
13483
13627
|
class: "filter-condition"
|
|
13484
13628
|
};
|
|
13485
13629
|
const _hoisted_2$n = { key: 0 };
|
|
13486
|
-
const _hoisted_3$
|
|
13630
|
+
const _hoisted_3$m = { key: 1 };
|
|
13487
13631
|
const _hoisted_4$g = { key: 2 };
|
|
13488
13632
|
const _hoisted_5$d = { key: 3 };
|
|
13489
13633
|
const _hoisted_6$9 = { key: 4 };
|
|
@@ -13546,7 +13690,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13546
13690
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.model.values = $event)
|
|
13547
13691
|
}, null, 8, ["field", "modelValue"]))
|
|
13548
13692
|
])) : createCommentVNode("", true),
|
|
13549
|
-
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13693
|
+
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
|
|
13550
13694
|
createVNode(_component_text_field, {
|
|
13551
13695
|
field: $options.normalField,
|
|
13552
13696
|
modelValue: $data.model.value,
|
|
@@ -13969,7 +14113,7 @@ const _hoisted_1$q = {
|
|
|
13969
14113
|
class: "filter-rule"
|
|
13970
14114
|
};
|
|
13971
14115
|
const _hoisted_2$m = { class: "top" };
|
|
13972
|
-
const _hoisted_3$
|
|
14116
|
+
const _hoisted_3$l = { class: "summary" };
|
|
13973
14117
|
const _hoisted_4$f = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
|
|
13974
14118
|
const _hoisted_5$c = { class: "operator" };
|
|
13975
14119
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -13985,7 +14129,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13985
14129
|
default: withCtx(() => [
|
|
13986
14130
|
createVNode(_component_flex_cell, null, {
|
|
13987
14131
|
default: withCtx(() => [
|
|
13988
|
-
createElementVNode("div", _hoisted_3$
|
|
14132
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
13989
14133
|
createTextVNode(" Match "),
|
|
13990
14134
|
createVNode(_component_native_select, {
|
|
13991
14135
|
modelValue: $data.model.operator,
|
|
@@ -14180,7 +14324,7 @@ const _hoisted_2$l = {
|
|
|
14180
14324
|
key: 0,
|
|
14181
14325
|
class: "top"
|
|
14182
14326
|
};
|
|
14183
|
-
const _hoisted_3$
|
|
14327
|
+
const _hoisted_3$k = { class: "summary" };
|
|
14184
14328
|
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14185
14329
|
const _component_native_select = resolveComponent("native-select");
|
|
14186
14330
|
const _component_filter_rule = resolveComponent("filter-rule");
|
|
@@ -14193,7 +14337,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14193
14337
|
default: withCtx(() => [
|
|
14194
14338
|
createElementVNode("div", _hoisted_1$p, [
|
|
14195
14339
|
$data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
|
|
14196
|
-
createElementVNode("div", _hoisted_3$
|
|
14340
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
14197
14341
|
createTextVNode(" Match "),
|
|
14198
14342
|
createVNode(_component_native_select, {
|
|
14199
14343
|
modelValue: $data.model.operator,
|
|
@@ -14289,7 +14433,7 @@ const _hoisted_2$k = {
|
|
|
14289
14433
|
key: 0,
|
|
14290
14434
|
class: "ux-required-marker"
|
|
14291
14435
|
};
|
|
14292
|
-
const _hoisted_3$
|
|
14436
|
+
const _hoisted_3$j = {
|
|
14293
14437
|
key: 1,
|
|
14294
14438
|
class: "ux-field-description"
|
|
14295
14439
|
};
|
|
@@ -14305,7 +14449,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14305
14449
|
createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
|
|
14306
14450
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
|
|
14307
14451
|
])) : createCommentVNode("", true),
|
|
14308
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14452
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$j, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
14309
14453
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
|
|
14310
14454
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
14311
14455
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -14413,7 +14557,7 @@ const _hoisted_2$j = {
|
|
|
14413
14557
|
key: 0,
|
|
14414
14558
|
class: "ux-required-marker"
|
|
14415
14559
|
};
|
|
14416
|
-
const _hoisted_3$
|
|
14560
|
+
const _hoisted_3$i = {
|
|
14417
14561
|
key: 1,
|
|
14418
14562
|
class: "ux-field-description"
|
|
14419
14563
|
};
|
|
@@ -14445,7 +14589,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14445
14589
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14446
14590
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$j, "*")) : createCommentVNode("", true)
|
|
14447
14591
|
])) : createCommentVNode("", true),
|
|
14448
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14592
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$i, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
14449
14593
|
])
|
|
14450
14594
|
]),
|
|
14451
14595
|
_: 1
|
|
@@ -14683,7 +14827,7 @@ const _hoisted_2$i = {
|
|
|
14683
14827
|
key: 0,
|
|
14684
14828
|
class: "ux-required-marker"
|
|
14685
14829
|
};
|
|
14686
|
-
const _hoisted_3$
|
|
14830
|
+
const _hoisted_3$h = {
|
|
14687
14831
|
key: 1,
|
|
14688
14832
|
class: "ux-field-description"
|
|
14689
14833
|
};
|
|
@@ -14704,7 +14848,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14704
14848
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14705
14849
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
|
|
14706
14850
|
])) : createCommentVNode("", true),
|
|
14707
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14851
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$h, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
14708
14852
|
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
|
|
14709
14853
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
|
|
14710
14854
|
return openBlock(), createElementBlock("div", {
|
|
@@ -14876,7 +15020,7 @@ const _hoisted_2$h = {
|
|
|
14876
15020
|
key: 0,
|
|
14877
15021
|
class: "ux-group-title"
|
|
14878
15022
|
};
|
|
14879
|
-
const _hoisted_3$
|
|
15023
|
+
const _hoisted_3$g = {
|
|
14880
15024
|
key: 0,
|
|
14881
15025
|
class: "ux-field-title"
|
|
14882
15026
|
};
|
|
@@ -14913,7 +15057,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14913
15057
|
const _component_draggable = resolveComponent("draggable");
|
|
14914
15058
|
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
14915
15059
|
$options.showLabel ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
|
|
14916
|
-
$options.showLabel ? (openBlock(), createElementBlock("label", _hoisted_3$
|
|
15060
|
+
$options.showLabel ? (openBlock(), createElementBlock("label", _hoisted_3$g, [
|
|
14917
15061
|
createTextVNode(toDisplayString(_ctx.plural || _ctx.title) + " ", 1),
|
|
14918
15062
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_4$c, "*")) : createCommentVNode("", true)
|
|
14919
15063
|
])) : createCommentVNode("", true),
|
|
@@ -15432,7 +15576,7 @@ const _hoisted_2$g = {
|
|
|
15432
15576
|
key: 0,
|
|
15433
15577
|
class: "ux-required-marker"
|
|
15434
15578
|
};
|
|
15435
|
-
const _hoisted_3$
|
|
15579
|
+
const _hoisted_3$f = {
|
|
15436
15580
|
key: 1,
|
|
15437
15581
|
class: "ux-field-description"
|
|
15438
15582
|
};
|
|
@@ -15446,7 +15590,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15446
15590
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15447
15591
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
|
|
15448
15592
|
])) : createCommentVNode("", true),
|
|
15449
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
15593
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
15450
15594
|
createElementVNode("div", _hoisted_4$b, [
|
|
15451
15595
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
|
|
15452
15596
|
return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
|
|
@@ -15495,7 +15639,7 @@ const _hoisted_2$f = {
|
|
|
15495
15639
|
key: 0,
|
|
15496
15640
|
class: "ux-required-marker"
|
|
15497
15641
|
};
|
|
15498
|
-
const _hoisted_3$
|
|
15642
|
+
const _hoisted_3$e = {
|
|
15499
15643
|
key: 1,
|
|
15500
15644
|
class: "ux-field-description"
|
|
15501
15645
|
};
|
|
@@ -15511,7 +15655,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15511
15655
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15512
15656
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
|
|
15513
15657
|
])) : createCommentVNode("", true),
|
|
15514
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
15658
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
15515
15659
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
15516
15660
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
15517
15661
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -15669,7 +15813,7 @@ const _hoisted_2$e = {
|
|
|
15669
15813
|
key: 0,
|
|
15670
15814
|
class: "ux-required-marker"
|
|
15671
15815
|
};
|
|
15672
|
-
const _hoisted_3$
|
|
15816
|
+
const _hoisted_3$d = {
|
|
15673
15817
|
key: 1,
|
|
15674
15818
|
class: "ux-field-description"
|
|
15675
15819
|
};
|
|
@@ -15696,7 +15840,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15696
15840
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15697
15841
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
|
|
15698
15842
|
])) : createCommentVNode("", true),
|
|
15699
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
15843
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
15700
15844
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
15701
15845
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
15702
15846
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -16033,7 +16177,7 @@ const _hoisted_2$d = {
|
|
|
16033
16177
|
key: 0,
|
|
16034
16178
|
class: "ux-required-marker"
|
|
16035
16179
|
};
|
|
16036
|
-
const _hoisted_3$
|
|
16180
|
+
const _hoisted_3$c = {
|
|
16037
16181
|
key: 1,
|
|
16038
16182
|
class: "ux-field-description"
|
|
16039
16183
|
};
|
|
@@ -16056,7 +16200,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16056
16200
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
16057
16201
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
|
|
16058
16202
|
])) : createCommentVNode("", true),
|
|
16059
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16203
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
16060
16204
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
16061
16205
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
16062
16206
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -16148,7 +16292,7 @@ const _hoisted_2$c = {
|
|
|
16148
16292
|
key: 0,
|
|
16149
16293
|
class: "ux-required-marker"
|
|
16150
16294
|
};
|
|
16151
|
-
const _hoisted_3$
|
|
16295
|
+
const _hoisted_3$b = {
|
|
16152
16296
|
key: 1,
|
|
16153
16297
|
class: "ux-field-description"
|
|
16154
16298
|
};
|
|
@@ -16171,7 +16315,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16171
16315
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
16172
16316
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
|
|
16173
16317
|
])) : createCommentVNode("", true),
|
|
16174
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16318
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
16175
16319
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
|
|
16176
16320
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
16177
16321
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -16316,7 +16460,7 @@ const _hoisted_2$b = {
|
|
|
16316
16460
|
key: 0,
|
|
16317
16461
|
class: "ux-required-marker"
|
|
16318
16462
|
};
|
|
16319
|
-
const _hoisted_3$
|
|
16463
|
+
const _hoisted_3$a = {
|
|
16320
16464
|
key: 1,
|
|
16321
16465
|
class: "ux-field-description"
|
|
16322
16466
|
};
|
|
@@ -16337,7 +16481,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16337
16481
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
16338
16482
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$b, "*")) : createCommentVNode("", true)
|
|
16339
16483
|
])) : createCommentVNode("", true),
|
|
16340
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16484
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
16341
16485
|
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
16342
16486
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
16343
16487
|
return openBlock(), createBlock(_component_flex_row, {
|
|
@@ -16534,7 +16678,7 @@ const _hoisted_2$a = {
|
|
|
16534
16678
|
key: 0,
|
|
16535
16679
|
class: "ux-required-marker"
|
|
16536
16680
|
};
|
|
16537
|
-
const _hoisted_3$
|
|
16681
|
+
const _hoisted_3$9 = {
|
|
16538
16682
|
key: 1,
|
|
16539
16683
|
class: "ux-field-description"
|
|
16540
16684
|
};
|
|
@@ -16557,7 +16701,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16557
16701
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
16558
16702
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$a, "*")) : createCommentVNode("", true)
|
|
16559
16703
|
])) : createCommentVNode("", true),
|
|
16560
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16704
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
16561
16705
|
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
|
|
16562
16706
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
16563
16707
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
@@ -16700,7 +16844,7 @@ const _hoisted_2$9 = {
|
|
|
16700
16844
|
key: 0,
|
|
16701
16845
|
class: "ux-required-marker"
|
|
16702
16846
|
};
|
|
16703
|
-
const _hoisted_3$
|
|
16847
|
+
const _hoisted_3$8 = {
|
|
16704
16848
|
key: 1,
|
|
16705
16849
|
class: "ux-field-description"
|
|
16706
16850
|
};
|
|
@@ -16723,7 +16867,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16723
16867
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
16724
16868
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$9, "*")) : createCommentVNode("", true)
|
|
16725
16869
|
])) : createCommentVNode("", true),
|
|
16726
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16870
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$8, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
16727
16871
|
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
16728
16872
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
16729
16873
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
@@ -19176,14 +19320,14 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19176
19320
|
modelValue: $options.formModel,
|
|
19177
19321
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.formModel = $event),
|
|
19178
19322
|
parentModel: $props.parentModel || $options.formModel,
|
|
19179
|
-
class: normalizeClass($options.fieldClass),
|
|
19323
|
+
class: normalizeClass([$options.fieldClass, { "ux-field-clear": field.clear }]),
|
|
19180
19324
|
key: `ux-form-field-${$options.getFieldKey(field)}-${index2}`
|
|
19181
19325
|
}, null, 8, ["trail", "submission", "includeOfficeOnly", "onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]);
|
|
19182
19326
|
}), 128))
|
|
19183
19327
|
], true)
|
|
19184
19328
|
], 2);
|
|
19185
19329
|
}
|
|
19186
|
-
var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-
|
|
19330
|
+
var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-b4748e98"]]);
|
|
19187
19331
|
var submissionform_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
19188
19332
|
const STATE_READY = "form.ready";
|
|
19189
19333
|
const STATE_PROCESSING = "form.processing";
|
|
@@ -19330,7 +19474,7 @@ const _sfc_main$c = {
|
|
|
19330
19474
|
const _withScopeId$2 = (n2) => (pushScopeId("data-v-ec116c7c"), n2 = n2(), popScopeId(), n2);
|
|
19331
19475
|
const _hoisted_1$a = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("h3", null, "An error occurred", -1));
|
|
19332
19476
|
const _hoisted_2$8 = { key: 0 };
|
|
19333
|
-
const _hoisted_3$
|
|
19477
|
+
const _hoisted_3$7 = { key: 1 };
|
|
19334
19478
|
const _hoisted_4$3 = { key: 2 };
|
|
19335
19479
|
const _hoisted_5$2 = ["tooltip"];
|
|
19336
19480
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -19344,7 +19488,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19344
19488
|
$data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19345
19489
|
_hoisted_1$a,
|
|
19346
19490
|
$data.error.message ? (openBlock(), createElementBlock("pre", _hoisted_2$8, toDisplayString($data.error.message), 1)) : createCommentVNode("", true),
|
|
19347
|
-
((_a = $data.error.data) == null ? void 0 : _a.errors) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
19491
|
+
((_a = $data.error.data) == null ? void 0 : _a.errors) ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
19348
19492
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.error.data.errors, (field) => {
|
|
19349
19493
|
return openBlock(), createElementBlock("pre", {
|
|
19350
19494
|
key: field.path
|
|
@@ -19487,66 +19631,6 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19487
19631
|
]);
|
|
19488
19632
|
}
|
|
19489
19633
|
var Search = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-17abf7d1"]]);
|
|
19490
|
-
var o = function(t, o2, e) {
|
|
19491
|
-
if (!o2.hasOwnProperty(e)) {
|
|
19492
|
-
var r = Object.getOwnPropertyDescriptor(t, e);
|
|
19493
|
-
Object.defineProperty(o2, e, r);
|
|
19494
|
-
}
|
|
19495
|
-
};
|
|
19496
|
-
var Compile = { props: { template: String, parent: Object, templateProps: { type: Object, default: function() {
|
|
19497
|
-
return {};
|
|
19498
|
-
} } }, render: function() {
|
|
19499
|
-
if (this.template) {
|
|
19500
|
-
var e = this.parent || this.$parent, r = e.$data;
|
|
19501
|
-
r === void 0 && (r = {});
|
|
19502
|
-
var n2 = e.$props;
|
|
19503
|
-
n2 === void 0 && (n2 = {});
|
|
19504
|
-
var a2 = e.$options;
|
|
19505
|
-
a2 === void 0 && (a2 = {});
|
|
19506
|
-
var p = a2.components;
|
|
19507
|
-
p === void 0 && (p = {});
|
|
19508
|
-
var i2 = a2.computed;
|
|
19509
|
-
i2 === void 0 && (i2 = {});
|
|
19510
|
-
var c2 = a2.methods;
|
|
19511
|
-
c2 === void 0 && (c2 = {});
|
|
19512
|
-
var s2 = this.$data;
|
|
19513
|
-
s2 === void 0 && (s2 = {});
|
|
19514
|
-
var d = this.$props;
|
|
19515
|
-
d === void 0 && (d = {});
|
|
19516
|
-
var v = this.$options;
|
|
19517
|
-
v === void 0 && (v = {});
|
|
19518
|
-
var m = v.methods;
|
|
19519
|
-
m === void 0 && (m = {});
|
|
19520
|
-
var f = v.computed;
|
|
19521
|
-
f === void 0 && (f = {});
|
|
19522
|
-
var u2 = v.components;
|
|
19523
|
-
u2 === void 0 && (u2 = {});
|
|
19524
|
-
var h$1 = { $data: {}, $props: {}, $options: {}, components: {}, computed: {}, methods: {} };
|
|
19525
|
-
Object.keys(r).forEach(function(t) {
|
|
19526
|
-
s2[t] === void 0 && (h$1.$data[t] = r[t]);
|
|
19527
|
-
}), Object.keys(n2).forEach(function(t) {
|
|
19528
|
-
d[t] === void 0 && (h$1.$props[t] = n2[t]);
|
|
19529
|
-
}), Object.keys(c2).forEach(function(t) {
|
|
19530
|
-
m[t] === void 0 && (h$1.methods[t] = c2[t]);
|
|
19531
|
-
}), Object.keys(i2).forEach(function(t) {
|
|
19532
|
-
f[t] === void 0 && (h$1.computed[t] = i2[t]);
|
|
19533
|
-
}), Object.keys(p).forEach(function(t) {
|
|
19534
|
-
u2[t] === void 0 && (h$1.components[t] = p[t]);
|
|
19535
|
-
});
|
|
19536
|
-
var $ = Object.keys(h$1.methods || {}), O = Object.keys(h$1.$data || {}), b = Object.keys(h$1.$props || {}), j = Object.keys(this.templateProps), y = O.concat(b).concat($).concat(j), k = (E = e, P = {}, $.forEach(function(t) {
|
|
19537
|
-
return o(E, P, t);
|
|
19538
|
-
}), P), l2 = function(t) {
|
|
19539
|
-
var e2 = {};
|
|
19540
|
-
return t.forEach(function(t2) {
|
|
19541
|
-
t2 && Object.getOwnPropertyNames(t2).forEach(function(r2) {
|
|
19542
|
-
return o(t2, e2, r2);
|
|
19543
|
-
});
|
|
19544
|
-
}), e2;
|
|
19545
|
-
}([h$1.$data, h$1.$props, k, this.templateProps]);
|
|
19546
|
-
return h({ template: this.template || "<div></div>", props: y, computed: h$1.computed, components: h$1.components, provide: this.$parent.$.provides ? this.$parent.$.provides : {} }, Object.assign({}, l2));
|
|
19547
|
-
}
|
|
19548
|
-
var E, P;
|
|
19549
|
-
} };
|
|
19550
19634
|
var RenderMixin = {
|
|
19551
19635
|
props: {
|
|
19552
19636
|
field: {
|
|
@@ -19941,7 +20025,7 @@ const _sfc_main$9 = {
|
|
|
19941
20025
|
};
|
|
19942
20026
|
const _hoisted_1$7 = { class: "ux-field-title" };
|
|
19943
20027
|
const _hoisted_2$6 = { class: "currency" };
|
|
19944
|
-
const _hoisted_3$
|
|
20028
|
+
const _hoisted_3$6 = { key: 1 };
|
|
19945
20029
|
const _hoisted_4$2 = { class: "currency" };
|
|
19946
20030
|
const _hoisted_5$1 = { key: 1 };
|
|
19947
20031
|
const _hoisted_6$1 = { key: 1 };
|
|
@@ -19992,7 +20076,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19992
20076
|
createTextVNode(toDisplayString($options.formatCurrency(value)) + " ", 1),
|
|
19993
20077
|
createElementVNode("span", _hoisted_2$6, toDisplayString($props.field.currency), 1)
|
|
19994
20078
|
]);
|
|
19995
|
-
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
20079
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
19996
20080
|
createTextVNode(toDisplayString($options.formatCurrency($options.fieldModel)) + " ", 1),
|
|
19997
20081
|
createElementVNode("span", _hoisted_4$2, toDisplayString($props.field.currency), 1)
|
|
19998
20082
|
]))
|
|
@@ -20664,6 +20748,14 @@ const _sfc_main$6 = {
|
|
|
20664
20748
|
type: Object,
|
|
20665
20749
|
default: {}
|
|
20666
20750
|
},
|
|
20751
|
+
rolodexPrimary: {
|
|
20752
|
+
type: String,
|
|
20753
|
+
default: ""
|
|
20754
|
+
},
|
|
20755
|
+
rolodexSecondary: {
|
|
20756
|
+
type: String,
|
|
20757
|
+
default: ""
|
|
20758
|
+
},
|
|
20667
20759
|
options: {
|
|
20668
20760
|
type: Object,
|
|
20669
20761
|
default() {
|
|
@@ -20748,12 +20840,24 @@ const _sfc_main$6 = {
|
|
|
20748
20840
|
keywords(k) {
|
|
20749
20841
|
this.$emit("update:search", k);
|
|
20750
20842
|
},
|
|
20843
|
+
roloPrimary(r) {
|
|
20844
|
+
this.$emit("update:rolodexPrimary", r);
|
|
20845
|
+
},
|
|
20846
|
+
roloSecondary(r) {
|
|
20847
|
+
this.$emit("update:rolodexSecondary", r);
|
|
20848
|
+
},
|
|
20751
20849
|
dateRangeFilter(d) {
|
|
20752
20850
|
this.$emit("update:dateRange", d);
|
|
20753
20851
|
},
|
|
20754
20852
|
search(k) {
|
|
20755
20853
|
this.keywords = k;
|
|
20756
20854
|
},
|
|
20855
|
+
rolodexPrimary(r) {
|
|
20856
|
+
this.roloPrimary = r;
|
|
20857
|
+
},
|
|
20858
|
+
rolodexSecondary(r) {
|
|
20859
|
+
this.roloSecondary = r;
|
|
20860
|
+
},
|
|
20757
20861
|
change: {
|
|
20758
20862
|
handler: debounce_1(async function() {
|
|
20759
20863
|
this.dataSource = await this.load();
|
|
@@ -21004,7 +21108,7 @@ const _sfc_main$6 = {
|
|
|
21004
21108
|
return string;
|
|
21005
21109
|
},
|
|
21006
21110
|
change() {
|
|
21007
|
-
return `${JSON.stringify([this.page, this.dateRangeFilter, this.sort, this.keywords, this.selectFields, this.type, this.filterChangeString])}-${this.cacheKey}-${this.$sdk.global.cacheKeys[this.type]}`;
|
|
21111
|
+
return `${JSON.stringify([this.page, this.roloSecondary, this.rolodexPrimary, this.dateRangeFilter, this.sort, this.keywords, this.selectFields, this.type, this.filterChangeString])}-${this.cacheKey}-${this.$sdk.global.cacheKeys[this.type]}`;
|
|
21008
21112
|
},
|
|
21009
21113
|
items() {
|
|
21010
21114
|
return this.dataSource.items;
|
|
@@ -21016,18 +21120,22 @@ const _sfc_main$6 = {
|
|
|
21016
21120
|
return this.definition ? this.definition.definesType || this.definition.key : this.type;
|
|
21017
21121
|
},
|
|
21018
21122
|
loadCriteria() {
|
|
21019
|
-
|
|
21020
|
-
|
|
21021
|
-
|
|
21022
|
-
|
|
21023
|
-
|
|
21024
|
-
|
|
21123
|
+
const self2 = this;
|
|
21124
|
+
const sort2 = self2.sort || self2.defaultSort;
|
|
21125
|
+
const search = self2.keywords;
|
|
21126
|
+
const select = self2.selectFields;
|
|
21127
|
+
const page = self2.page;
|
|
21128
|
+
const filter = self2.combinedFilter;
|
|
21129
|
+
const rolodexPrimary = self2.roloPrimary;
|
|
21130
|
+
const rolodexSecondary = self2.roloSecondary;
|
|
21025
21131
|
return {
|
|
21026
21132
|
sort: sort2,
|
|
21027
21133
|
search,
|
|
21028
21134
|
select,
|
|
21029
21135
|
page,
|
|
21030
|
-
filter
|
|
21136
|
+
filter,
|
|
21137
|
+
rolodexPrimary,
|
|
21138
|
+
rolodexSecondary
|
|
21031
21139
|
};
|
|
21032
21140
|
},
|
|
21033
21141
|
fieldEnabled() {
|
|
@@ -21178,6 +21286,8 @@ const _sfc_main$6 = {
|
|
|
21178
21286
|
actualFilter: this.filter,
|
|
21179
21287
|
sort: this.defaultSort,
|
|
21180
21288
|
keywords: this.search,
|
|
21289
|
+
roloPrimary: this.rolodexPrimary,
|
|
21290
|
+
roloSecondary: this.roloSecondary,
|
|
21181
21291
|
dateRangeFilter: {
|
|
21182
21292
|
dateRange: this.dateRange
|
|
21183
21293
|
},
|
|
@@ -21186,10 +21296,10 @@ const _sfc_main$6 = {
|
|
|
21186
21296
|
};
|
|
21187
21297
|
}
|
|
21188
21298
|
};
|
|
21189
|
-
const _withScopeId$1 = (n2) => (pushScopeId("data-v-
|
|
21299
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-510c624f"), n2 = n2(), popScopeId(), n2);
|
|
21190
21300
|
const _hoisted_1$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
21191
21301
|
const _hoisted_2$5 = { key: 0 };
|
|
21192
|
-
const _hoisted_3$
|
|
21302
|
+
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
21193
21303
|
const _hoisted_4$1 = { class: "footer" };
|
|
21194
21304
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21195
21305
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -21201,11 +21311,11 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21201
21311
|
const _component_flex_column = resolveComponent("flex-column");
|
|
21202
21312
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
21203
21313
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
21314
|
+
const _component_flex_row = resolveComponent("flex-row");
|
|
21204
21315
|
const _component_search = resolveComponent("search");
|
|
21205
21316
|
const _component_ux_field = resolveComponent("ux-field");
|
|
21206
21317
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
21207
21318
|
const _component_flex_body = resolveComponent("flex-body");
|
|
21208
|
-
const _component_flex_row = resolveComponent("flex-row");
|
|
21209
21319
|
const _component_pager = resolveComponent("pager");
|
|
21210
21320
|
const _component_flex_footer = resolveComponent("flex-footer");
|
|
21211
21321
|
const _component_spinner = resolveComponent("spinner");
|
|
@@ -21214,161 +21324,172 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21214
21324
|
class: "content-browser"
|
|
21215
21325
|
}, {
|
|
21216
21326
|
default: withCtx(() => [
|
|
21217
|
-
|
|
21218
|
-
|
|
21219
|
-
|
|
21220
|
-
|
|
21221
|
-
|
|
21222
|
-
|
|
21223
|
-
|
|
21224
|
-
|
|
21225
|
-
|
|
21226
|
-
|
|
21227
|
-
key: 0,
|
|
21228
|
-
|
|
21229
|
-
|
|
21230
|
-
|
|
21231
|
-
|
|
21232
|
-
|
|
21233
|
-
|
|
21234
|
-
|
|
21235
|
-
|
|
21236
|
-
|
|
21237
|
-
|
|
21238
|
-
|
|
21239
|
-
|
|
21240
|
-
|
|
21241
|
-
|
|
21242
|
-
|
|
21243
|
-
|
|
21244
|
-
|
|
21245
|
-
|
|
21246
|
-
|
|
21247
|
-
|
|
21248
|
-
|
|
21249
|
-
|
|
21250
|
-
|
|
21251
|
-
|
|
21252
|
-
|
|
21253
|
-
|
|
21254
|
-
|
|
21255
|
-
|
|
21256
|
-
|
|
21257
|
-
|
|
21327
|
+
createVNode(_component_flex_column, { class: "browser-body" }, {
|
|
21328
|
+
default: withCtx(() => [
|
|
21329
|
+
createVNode(_component_flex_row, null, {
|
|
21330
|
+
default: withCtx(() => [
|
|
21331
|
+
createVNode(_component_flex_row, {
|
|
21332
|
+
class: normalizeClass({ loading: $data.loading })
|
|
21333
|
+
}, {
|
|
21334
|
+
default: withCtx(() => [
|
|
21335
|
+
createVNode(_component_flex_column, null, {
|
|
21336
|
+
default: withCtx(() => [
|
|
21337
|
+
$data.dataSource ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
21338
|
+
renderSlot(_ctx.$slots, "abovecontent", {}, void 0, true),
|
|
21339
|
+
$options.items.length ? (openBlock(), createBlock(_component_flex_column, { key: 0 }, {
|
|
21340
|
+
default: withCtx(() => [
|
|
21341
|
+
$options.viewMode && $options.viewMode.component ? (openBlock(), createBlock(resolveDynamicComponent($options.viewMode.component), {
|
|
21342
|
+
key: 0,
|
|
21343
|
+
cacheKey: $options.viewModeCacheKey,
|
|
21344
|
+
selection: $data.manager.items,
|
|
21345
|
+
items: $options.items,
|
|
21346
|
+
"onClick:actions": $options.actionsClicked,
|
|
21347
|
+
"onSelect:item:toggle": $options.rowToggled,
|
|
21348
|
+
"onClick:item": $options.rowClicked
|
|
21349
|
+
}, null, 40, ["cacheKey", "selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (openBlock(), createBlock(_component_native_table, {
|
|
21350
|
+
key: 1,
|
|
21351
|
+
sort: $data.sort,
|
|
21352
|
+
"onUpdate:sort": _cache[0] || (_cache[0] = ($event) => $data.sort = $event),
|
|
21353
|
+
enableSelection: $props.enableSelection,
|
|
21354
|
+
enableActions: $props.enableActions,
|
|
21355
|
+
total: $options.totalItems,
|
|
21356
|
+
selectAll: $options.selectAll,
|
|
21357
|
+
deselectAll: $options.deselectAllFunction,
|
|
21358
|
+
selection: $data.manager.items,
|
|
21359
|
+
"onClick:row": $options.rowClicked,
|
|
21360
|
+
"onClick:actions": $options.actionsClicked,
|
|
21361
|
+
"onSelect:row:toggle": $options.rowToggled,
|
|
21362
|
+
"onSelect:multiple": $options.selectMultiple,
|
|
21363
|
+
"onDeselect:multiple": $options.deselectMultiple,
|
|
21364
|
+
rows: $options.items,
|
|
21365
|
+
columns: $options.columns
|
|
21366
|
+
}, {
|
|
21367
|
+
corner: withCtx(() => [
|
|
21368
|
+
createVNode(_component_ux_menu, { right: "" }, {
|
|
21369
|
+
activator: withCtx(({ on: on2 }) => [
|
|
21370
|
+
createVNode(_component_ux_button, mergeProps({ icon: "" }, toHandlers(on2)), {
|
|
21371
|
+
default: withCtx(() => [
|
|
21372
|
+
createVNode(_component_ux_icon, { icon: "fa-cog" })
|
|
21373
|
+
]),
|
|
21374
|
+
_: 2
|
|
21375
|
+
}, 1040)
|
|
21376
|
+
]),
|
|
21377
|
+
default: withCtx(() => [
|
|
21378
|
+
createVNode(_component_ux_list, null, {
|
|
21379
|
+
default: withCtx(() => [
|
|
21380
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.fields, (field) => {
|
|
21381
|
+
return openBlock(), createBlock(_component_ux_list_item, {
|
|
21382
|
+
onClick: ($event) => $options.toggleField(field),
|
|
21383
|
+
key: field.path
|
|
21384
|
+
}, {
|
|
21385
|
+
default: withCtx(() => [
|
|
21386
|
+
createVNode(_component_ux_icon, {
|
|
21387
|
+
icon: $options.fieldEnabled[field.path] ? "fa-check-square" : "fa-regular fa-square",
|
|
21388
|
+
left: ""
|
|
21389
|
+
}, null, 8, ["icon"]),
|
|
21390
|
+
createTextVNode(" " + toDisplayString(field.title), 1)
|
|
21391
|
+
]),
|
|
21392
|
+
_: 2
|
|
21393
|
+
}, 1032, ["onClick"]);
|
|
21394
|
+
}), 128))
|
|
21395
|
+
]),
|
|
21396
|
+
_: 1
|
|
21397
|
+
})
|
|
21398
|
+
]),
|
|
21399
|
+
_: 1
|
|
21400
|
+
})
|
|
21258
21401
|
]),
|
|
21259
|
-
_:
|
|
21260
|
-
},
|
|
21402
|
+
_: 1
|
|
21403
|
+
}, 8, ["sort", "enableSelection", "enableActions", "total", "selectAll", "deselectAll", "selection", "onClick:row", "onClick:actions", "onSelect:row:toggle", "onSelect:multiple", "onDeselect:multiple", "rows", "columns"]))
|
|
21261
21404
|
]),
|
|
21405
|
+
_: 1
|
|
21406
|
+
})) : !$data.loading ? (openBlock(), createBlock(_component_flex_column, {
|
|
21407
|
+
key: 1,
|
|
21408
|
+
class: "empty",
|
|
21409
|
+
center: ""
|
|
21410
|
+
}, {
|
|
21262
21411
|
default: withCtx(() => [
|
|
21263
|
-
createVNode(
|
|
21412
|
+
createVNode(_component_ux_panel, null, {
|
|
21264
21413
|
default: withCtx(() => [
|
|
21265
|
-
(
|
|
21266
|
-
|
|
21267
|
-
|
|
21268
|
-
|
|
21269
|
-
|
|
21270
|
-
|
|
21271
|
-
createVNode(_component_ux_icon, {
|
|
21272
|
-
icon: $options.fieldEnabled[field.path] ? "fa-check-square" : "fa-regular fa-square",
|
|
21273
|
-
left: ""
|
|
21274
|
-
}, null, 8, ["icon"]),
|
|
21275
|
-
createTextVNode(" " + toDisplayString(field.title), 1)
|
|
21276
|
-
]),
|
|
21277
|
-
_: 2
|
|
21278
|
-
}, 1032, ["onClick"]);
|
|
21279
|
-
}), 128))
|
|
21414
|
+
createVNode(_component_ux_panel_body, null, {
|
|
21415
|
+
default: withCtx(() => [
|
|
21416
|
+
createElementVNode("div", null, "No " + toDisplayString($data.definition.plural) + " found.", 1)
|
|
21417
|
+
]),
|
|
21418
|
+
_: 1
|
|
21419
|
+
})
|
|
21280
21420
|
]),
|
|
21281
21421
|
_: 1
|
|
21282
21422
|
})
|
|
21283
21423
|
]),
|
|
21284
21424
|
_: 1
|
|
21285
|
-
})
|
|
21286
|
-
|
|
21287
|
-
|
|
21288
|
-
|
|
21289
|
-
|
|
21290
|
-
|
|
21291
|
-
|
|
21292
|
-
|
|
21293
|
-
|
|
21294
|
-
|
|
21295
|
-
|
|
21296
|
-
|
|
21297
|
-
|
|
21298
|
-
|
|
21299
|
-
|
|
21300
|
-
|
|
21301
|
-
|
|
21302
|
-
|
|
21303
|
-
|
|
21304
|
-
|
|
21305
|
-
|
|
21306
|
-
|
|
21307
|
-
|
|
21308
|
-
|
|
21309
|
-
|
|
21310
|
-
|
|
21311
|
-
|
|
21312
|
-
|
|
21313
|
-
|
|
21314
|
-
|
|
21315
|
-
|
|
21316
|
-
|
|
21317
|
-
|
|
21318
|
-
|
|
21319
|
-
|
|
21320
|
-
|
|
21321
|
-
|
|
21322
|
-
|
|
21323
|
-
|
|
21324
|
-
|
|
21325
|
-
|
|
21326
|
-
|
|
21327
|
-
|
|
21328
|
-
|
|
21329
|
-
|
|
21330
|
-
|
|
21331
|
-
|
|
21332
|
-
|
|
21333
|
-
field: $options.dateRangeField,
|
|
21334
|
-
modelValue: $data.dateRangeFilter,
|
|
21335
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.dateRangeFilter = $event)
|
|
21336
|
-
}, null, 8, ["field", "modelValue"])
|
|
21337
|
-
])) : createCommentVNode("", true),
|
|
21338
|
-
_hoisted_3$4,
|
|
21339
|
-
createVNode(_component_filter_builder, {
|
|
21340
|
-
definition: $data.definition,
|
|
21341
|
-
modelValue: $data.actualFilter,
|
|
21342
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.actualFilter = $event)
|
|
21343
|
-
}, null, 8, ["definition", "modelValue"])
|
|
21344
|
-
]),
|
|
21345
|
-
_: 1
|
|
21346
|
-
}),
|
|
21347
|
-
renderSlot(_ctx.$slots, "belowfilter", {}, void 0, true)
|
|
21348
|
-
]),
|
|
21349
|
-
_: 3
|
|
21350
|
-
})) : createCommentVNode("", true)
|
|
21351
|
-
]),
|
|
21352
|
-
_: 3
|
|
21353
|
-
})
|
|
21354
|
-
]),
|
|
21355
|
-
_: 3
|
|
21356
|
-
}, 8, ["class"]),
|
|
21357
|
-
createVNode(_component_flex_footer, null, {
|
|
21358
|
-
default: withCtx(() => [
|
|
21359
|
-
renderSlot(_ctx.$slots, "footera", {}, void 0, true),
|
|
21360
|
-
createElementVNode("div", _hoisted_4$1, [
|
|
21361
|
-
createVNode(_component_pager, {
|
|
21362
|
-
page: $data.page,
|
|
21363
|
-
"onUpdate:page": _cache[4] || (_cache[4] = ($event) => $data.page = $event),
|
|
21364
|
-
total: $options.totalItems
|
|
21365
|
-
}, null, 8, ["page", "total"])
|
|
21425
|
+
})) : (openBlock(), createBlock(_component_flex_column, {
|
|
21426
|
+
key: 2,
|
|
21427
|
+
class: "empty",
|
|
21428
|
+
center: ""
|
|
21429
|
+
}))
|
|
21430
|
+
], 64)) : createCommentVNode("", true)
|
|
21431
|
+
]),
|
|
21432
|
+
_: 3
|
|
21433
|
+
})
|
|
21434
|
+
]),
|
|
21435
|
+
_: 3
|
|
21436
|
+
}, 8, ["class"]),
|
|
21437
|
+
$props.showFilters ? (openBlock(), createBlock(_component_flex_column, {
|
|
21438
|
+
key: 0,
|
|
21439
|
+
class: "filter-column"
|
|
21440
|
+
}, {
|
|
21441
|
+
default: withCtx(() => [
|
|
21442
|
+
renderSlot(_ctx.$slots, "abovefilter", {}, void 0, true),
|
|
21443
|
+
createVNode(_component_flex_body, null, {
|
|
21444
|
+
default: withCtx(() => [
|
|
21445
|
+
createVNode(_component_search, {
|
|
21446
|
+
modelValue: $data.keywords,
|
|
21447
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.keywords = $event),
|
|
21448
|
+
loading: $options.searching,
|
|
21449
|
+
debounce: 500,
|
|
21450
|
+
placeholder: "Keyword Search"
|
|
21451
|
+
}, null, 8, ["modelValue", "loading"]),
|
|
21452
|
+
_hoisted_1$6,
|
|
21453
|
+
$props.dateFilterEnabled ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
21454
|
+
createVNode(_component_ux_field, {
|
|
21455
|
+
field: $options.dateRangeField,
|
|
21456
|
+
modelValue: $data.dateRangeFilter,
|
|
21457
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.dateRangeFilter = $event)
|
|
21458
|
+
}, null, 8, ["field", "modelValue"])
|
|
21459
|
+
])) : createCommentVNode("", true),
|
|
21460
|
+
_hoisted_3$5,
|
|
21461
|
+
createVNode(_component_filter_builder, {
|
|
21462
|
+
definition: $data.definition,
|
|
21463
|
+
modelValue: $data.actualFilter,
|
|
21464
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.actualFilter = $event)
|
|
21465
|
+
}, null, 8, ["definition", "modelValue"])
|
|
21466
|
+
]),
|
|
21467
|
+
_: 1
|
|
21468
|
+
}),
|
|
21469
|
+
renderSlot(_ctx.$slots, "belowfilter", {}, void 0, true)
|
|
21470
|
+
]),
|
|
21471
|
+
_: 3
|
|
21472
|
+
})) : createCommentVNode("", true)
|
|
21366
21473
|
]),
|
|
21367
|
-
|
|
21474
|
+
_: 3
|
|
21475
|
+
})
|
|
21476
|
+
]),
|
|
21477
|
+
_: 3
|
|
21478
|
+
}),
|
|
21479
|
+
$data.dataSource ? (openBlock(), createBlock(_component_flex_footer, { key: 0 }, {
|
|
21480
|
+
default: withCtx(() => [
|
|
21481
|
+
renderSlot(_ctx.$slots, "footera", {}, void 0, true),
|
|
21482
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
21483
|
+
createVNode(_component_pager, {
|
|
21484
|
+
page: $data.page,
|
|
21485
|
+
"onUpdate:page": _cache[4] || (_cache[4] = ($event) => $data.page = $event),
|
|
21486
|
+
total: $options.totalItems
|
|
21487
|
+
}, null, 8, ["page", "total"])
|
|
21368
21488
|
]),
|
|
21369
|
-
|
|
21370
|
-
|
|
21371
|
-
|
|
21489
|
+
renderSlot(_ctx.$slots, "footerb", {}, void 0, true)
|
|
21490
|
+
]),
|
|
21491
|
+
_: 3
|
|
21492
|
+
})) : createCommentVNode("", true),
|
|
21372
21493
|
$data.loading ? (openBlock(), createBlock(_component_spinner, {
|
|
21373
21494
|
key: 1,
|
|
21374
21495
|
large: ""
|
|
@@ -21377,7 +21498,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21377
21498
|
_: 3
|
|
21378
21499
|
})) : createCommentVNode("", true);
|
|
21379
21500
|
}
|
|
21380
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
21501
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-510c624f"]]);
|
|
21381
21502
|
var ModalMixin = {
|
|
21382
21503
|
props: {
|
|
21383
21504
|
options: {
|
|
@@ -21463,7 +21584,7 @@ const _sfc_main$4 = {
|
|
|
21463
21584
|
};
|
|
21464
21585
|
const _hoisted_1$4 = { class: "padder" };
|
|
21465
21586
|
const _hoisted_2$4 = ["innerHTML"];
|
|
21466
|
-
const _hoisted_3$
|
|
21587
|
+
const _hoisted_3$4 = { class: "padder" };
|
|
21467
21588
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21468
21589
|
const _component_flex_body = resolveComponent("flex-body");
|
|
21469
21590
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -21486,7 +21607,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21486
21607
|
}),
|
|
21487
21608
|
createVNode(_component_flex_footer, null, {
|
|
21488
21609
|
default: withCtx(() => [
|
|
21489
|
-
createElementVNode("div", _hoisted_3$
|
|
21610
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
21490
21611
|
createVNode(_component_flex_row, null, {
|
|
21491
21612
|
default: withCtx(() => [
|
|
21492
21613
|
createVNode(_component_flex_cell, null, {
|
|
@@ -21546,7 +21667,7 @@ const _sfc_main$3 = {
|
|
|
21546
21667
|
};
|
|
21547
21668
|
const _hoisted_1$3 = { class: "header" };
|
|
21548
21669
|
const _hoisted_2$3 = { class: "padder" };
|
|
21549
|
-
const _hoisted_3$
|
|
21670
|
+
const _hoisted_3$3 = ["onClick"];
|
|
21550
21671
|
const _hoisted_4 = {
|
|
21551
21672
|
key: 0,
|
|
21552
21673
|
class: "title"
|
|
@@ -21602,7 +21723,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21602
21723
|
]),
|
|
21603
21724
|
_: 2
|
|
21604
21725
|
}, 1024)
|
|
21605
|
-
], 8, _hoisted_3$
|
|
21726
|
+
], 8, _hoisted_3$3);
|
|
21606
21727
|
}), 256))
|
|
21607
21728
|
])
|
|
21608
21729
|
]),
|
|
@@ -21648,7 +21769,7 @@ const _sfc_main$2 = {
|
|
|
21648
21769
|
};
|
|
21649
21770
|
const _hoisted_1$2 = { class: "padder" };
|
|
21650
21771
|
const _hoisted_2$2 = { key: 0 };
|
|
21651
|
-
const _hoisted_3$
|
|
21772
|
+
const _hoisted_3$2 = { class: "padder" };
|
|
21652
21773
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21653
21774
|
const _component_ux_form = resolveComponent("ux-form");
|
|
21654
21775
|
const _component_flex_body = resolveComponent("flex-body");
|
|
@@ -21681,7 +21802,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21681
21802
|
}),
|
|
21682
21803
|
createVNode(_component_flex_footer, null, {
|
|
21683
21804
|
default: withCtx(() => [
|
|
21684
|
-
createElementVNode("div", _hoisted_3$
|
|
21805
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
21685
21806
|
createVNode(_component_flex_row, null, {
|
|
21686
21807
|
default: withCtx(() => [
|
|
21687
21808
|
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
@@ -21745,8 +21866,49 @@ const _sfc_main$1 = {
|
|
|
21745
21866
|
return;
|
|
21746
21867
|
}
|
|
21747
21868
|
self2.definition = definition;
|
|
21869
|
+
if (self2.bigData && self2.rolodexEnabled) {
|
|
21870
|
+
self2.rolodexLetter = "A";
|
|
21871
|
+
}
|
|
21748
21872
|
},
|
|
21749
21873
|
computed: {
|
|
21874
|
+
bigData() {
|
|
21875
|
+
var _a;
|
|
21876
|
+
return ((_a = this.definition) == null ? void 0 : _a.count) > 2e4;
|
|
21877
|
+
},
|
|
21878
|
+
rolodexEnabled() {
|
|
21879
|
+
let enabled;
|
|
21880
|
+
if (!this.bigData) {
|
|
21881
|
+
return;
|
|
21882
|
+
}
|
|
21883
|
+
const basicType = this.definition.definesType || this.definition.key;
|
|
21884
|
+
switch (basicType) {
|
|
21885
|
+
case "profile":
|
|
21886
|
+
case "persona":
|
|
21887
|
+
enabled = true;
|
|
21888
|
+
break;
|
|
21889
|
+
}
|
|
21890
|
+
if (this.search || this.shortcut) {
|
|
21891
|
+
enabled = false;
|
|
21892
|
+
}
|
|
21893
|
+
return enabled;
|
|
21894
|
+
},
|
|
21895
|
+
rolodexPrimary: {
|
|
21896
|
+
get() {
|
|
21897
|
+
if (this.search || this.shortcut) {
|
|
21898
|
+
return;
|
|
21899
|
+
}
|
|
21900
|
+
return this.rolodexLetter;
|
|
21901
|
+
},
|
|
21902
|
+
set(r) {
|
|
21903
|
+
if (this.search || this.shortcut) {
|
|
21904
|
+
return;
|
|
21905
|
+
}
|
|
21906
|
+
this.rolodexLetter = r;
|
|
21907
|
+
}
|
|
21908
|
+
},
|
|
21909
|
+
letters() {
|
|
21910
|
+
return "abcdefghijklmnopqrstuvwxyz".toUpperCase().split("");
|
|
21911
|
+
},
|
|
21750
21912
|
type() {
|
|
21751
21913
|
return this.options.type;
|
|
21752
21914
|
},
|
|
@@ -21763,16 +21925,35 @@ const _sfc_main$1 = {
|
|
|
21763
21925
|
return this.options.browserOptions || {};
|
|
21764
21926
|
}
|
|
21765
21927
|
},
|
|
21928
|
+
watch: {
|
|
21929
|
+
search(s2, before) {
|
|
21930
|
+
const self2 = this;
|
|
21931
|
+
if (!s2 && self2.bigData) {
|
|
21932
|
+
if (!self2.rolodexLetter) {
|
|
21933
|
+
self2.rolodexLetter = "A";
|
|
21934
|
+
}
|
|
21935
|
+
}
|
|
21936
|
+
}
|
|
21937
|
+
},
|
|
21766
21938
|
data() {
|
|
21767
21939
|
return {
|
|
21940
|
+
showFilters: false,
|
|
21768
21941
|
search: "",
|
|
21769
21942
|
searching: false,
|
|
21770
21943
|
definition: null,
|
|
21771
21944
|
loading: true,
|
|
21772
|
-
model: this.options.model.slice()
|
|
21945
|
+
model: this.options.model.slice(),
|
|
21946
|
+
rolodexLetter: ""
|
|
21773
21947
|
};
|
|
21774
21948
|
},
|
|
21775
21949
|
methods: {
|
|
21950
|
+
toggleRolodex(letter) {
|
|
21951
|
+
if (this.rolodexLetter === letter) {
|
|
21952
|
+
this.rolodexLetter = "";
|
|
21953
|
+
} else {
|
|
21954
|
+
this.rolodexLetter = letter;
|
|
21955
|
+
}
|
|
21956
|
+
},
|
|
21776
21957
|
rowClicked(row) {
|
|
21777
21958
|
this.$refs.browser.toggle(row);
|
|
21778
21959
|
},
|
|
@@ -21783,10 +21964,12 @@ const _sfc_main$1 = {
|
|
|
21783
21964
|
};
|
|
21784
21965
|
const _hoisted_1$1 = { class: "header" };
|
|
21785
21966
|
const _hoisted_2$1 = { class: "font-muted font-sm" };
|
|
21967
|
+
const _hoisted_3$1 = { class: "rolodex" };
|
|
21786
21968
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21787
21969
|
const _component_flex_column = resolveComponent("flex-column");
|
|
21788
21970
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
21789
21971
|
const _component_search = resolveComponent("search");
|
|
21972
|
+
const _component_ux_icon = resolveComponent("ux-icon");
|
|
21790
21973
|
const _component_ux_button = resolveComponent("ux-button");
|
|
21791
21974
|
const _component_flex_row = resolveComponent("flex-row");
|
|
21792
21975
|
const _component_flex_header = resolveComponent("flex-header");
|
|
@@ -21820,7 +22003,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21820
22003
|
]),
|
|
21821
22004
|
_: 1
|
|
21822
22005
|
})) : createCommentVNode("", true),
|
|
21823
|
-
|
|
22006
|
+
!$data.showFilters ? (openBlock(), createBlock(_component_flex_cell, { key: 1 }, {
|
|
21824
22007
|
default: withCtx(() => [
|
|
21825
22008
|
createVNode(_component_search, {
|
|
21826
22009
|
modelValue: $data.search,
|
|
@@ -21831,6 +22014,25 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21831
22014
|
}, null, 8, ["modelValue", "loading"])
|
|
21832
22015
|
]),
|
|
21833
22016
|
_: 1
|
|
22017
|
+
})) : createCommentVNode("", true),
|
|
22018
|
+
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
22019
|
+
default: withCtx(() => [
|
|
22020
|
+
createVNode(_component_ux_button, {
|
|
22021
|
+
icon: _ctx.$device.breakpoint.mobile,
|
|
22022
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $data.showFilters = !$data.showFilters)
|
|
22023
|
+
}, {
|
|
22024
|
+
default: withCtx(() => [
|
|
22025
|
+
_ctx.$device.breakpoint.mobile ? (openBlock(), createBlock(_component_ux_icon, {
|
|
22026
|
+
key: 0,
|
|
22027
|
+
icon: "fa-search"
|
|
22028
|
+
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
22029
|
+
createTextVNode(toDisplayString($data.showFilters ? "Hide" : "Show") + " Filters", 1)
|
|
22030
|
+
], 64))
|
|
22031
|
+
]),
|
|
22032
|
+
_: 1
|
|
22033
|
+
}, 8, ["icon"])
|
|
22034
|
+
]),
|
|
22035
|
+
_: 1
|
|
21834
22036
|
}),
|
|
21835
22037
|
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
21836
22038
|
default: withCtx(() => [
|
|
@@ -21854,22 +22056,49 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21854
22056
|
_: 1
|
|
21855
22057
|
}),
|
|
21856
22058
|
createVNode(_component_content_browser, {
|
|
22059
|
+
rolodexPrimary: $options.rolodexPrimary,
|
|
22060
|
+
"onUpdate:rolodexPrimary": _cache[2] || (_cache[2] = ($event) => $options.rolodexPrimary = $event),
|
|
22061
|
+
showFilters: $data.showFilters,
|
|
21857
22062
|
ref: "browser",
|
|
21858
22063
|
search: $data.search,
|
|
21859
22064
|
"onClick:row": $options.rowClicked,
|
|
21860
22065
|
maximum: _ctx.options.maximum,
|
|
21861
22066
|
modelValue: $data.model,
|
|
21862
|
-
"onUpdate:modelValue": _cache[
|
|
22067
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.model = $event),
|
|
21863
22068
|
type: _ctx.options.type,
|
|
21864
22069
|
options: $options.browserOptions
|
|
21865
|
-
},
|
|
22070
|
+
}, {
|
|
22071
|
+
abovecontent: withCtx(() => [
|
|
22072
|
+
$options.rolodexEnabled ? (openBlock(), createBlock(_component_flex_header, { key: 0 }, {
|
|
22073
|
+
default: withCtx(() => [
|
|
22074
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
22075
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.letters, (letter) => {
|
|
22076
|
+
return openBlock(), createBlock(_component_ux_button, {
|
|
22077
|
+
size: "sm",
|
|
22078
|
+
onClick: ($event) => $options.toggleRolodex(letter),
|
|
22079
|
+
icon: "",
|
|
22080
|
+
color: $options.rolodexPrimary === letter ? "primary" : ""
|
|
22081
|
+
}, {
|
|
22082
|
+
default: withCtx(() => [
|
|
22083
|
+
createTextVNode(toDisplayString(letter), 1)
|
|
22084
|
+
]),
|
|
22085
|
+
_: 2
|
|
22086
|
+
}, 1032, ["onClick", "color"]);
|
|
22087
|
+
}), 256))
|
|
22088
|
+
])
|
|
22089
|
+
]),
|
|
22090
|
+
_: 1
|
|
22091
|
+
})) : createCommentVNode("", true)
|
|
22092
|
+
]),
|
|
22093
|
+
_: 1
|
|
22094
|
+
}, 8, ["rolodexPrimary", "showFilters", "search", "onClick:row", "maximum", "modelValue", "type", "options"])
|
|
21866
22095
|
], 64)) : createCommentVNode("", true)
|
|
21867
22096
|
], 64))
|
|
21868
22097
|
]),
|
|
21869
22098
|
_: 1
|
|
21870
22099
|
});
|
|
21871
22100
|
}
|
|
21872
|
-
var UxContentModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
22101
|
+
var UxContentModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-0eebffb8"]]);
|
|
21873
22102
|
var ScopeModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21874
22103
|
const _sfc_main = {
|
|
21875
22104
|
components: {
|