@qikdev/vue-ui 0.1.72 → 0.1.77

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 CHANGED
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
32
32
  };
33
33
  import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelSelect, withKeys, vModelText, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
34
34
  import { EventDispatcher } from "@qikdev/sdk";
35
- const version$1 = "0.1.72";
35
+ const version$1 = "0.1.77";
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$1e = {};
45
+ const _hoisted_1$_ = { class: "flex-column" };
46
+ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
47
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
48
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
+ ]);
50
+ }
51
+ var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-203ea86f"]]);
52
+ var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
44
53
  const _sfc_main$1d = {};
45
- const _hoisted_1$Z = { class: "flex-column" };
54
+ const _hoisted_1$Z = { class: "flex-column-body" };
46
55
  function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
47
56
  return openBlock(), createElementBlock("div", _hoisted_1$Z, [
48
57
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
58
  ]);
50
59
  }
51
- var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-203ea86f"]]);
52
- var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
60
+ var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-64850355"]]);
61
+ var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
53
62
  const _sfc_main$1c = {};
54
- const _hoisted_1$Y = { class: "flex-column-body" };
63
+ const _hoisted_1$Y = { class: "flex-column-header" };
55
64
  function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
56
65
  return openBlock(), createElementBlock("div", _hoisted_1$Y, [
57
66
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
67
  ]);
59
68
  }
60
- var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-64850355"]]);
61
- var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
69
+ var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-10b28f00"]]);
70
+ var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
62
71
  const _sfc_main$1b = {};
63
- const _hoisted_1$X = { class: "flex-column-header" };
72
+ const _hoisted_1$X = { class: "flex-column-footer" };
64
73
  function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
65
74
  return openBlock(), createElementBlock("div", _hoisted_1$X, [
66
75
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
67
76
  ]);
68
77
  }
69
- var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-10b28f00"]]);
70
- var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
78
+ var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-68216a72"]]);
79
+ var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
71
80
  const _sfc_main$1a = {};
72
- const _hoisted_1$W = { class: "flex-column-footer" };
81
+ const _hoisted_1$W = { class: "flex-cell" };
73
82
  function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
74
83
  return openBlock(), createElementBlock("div", _hoisted_1$W, [
75
84
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
76
85
  ]);
77
86
  }
78
- var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-68216a72"]]);
79
- var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
87
+ var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-644bb279"]]);
88
+ var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
80
89
  const _sfc_main$19 = {};
81
- const _hoisted_1$V = { class: "flex-cell" };
90
+ const _hoisted_1$V = { class: "flex-row" };
82
91
  function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
83
92
  return openBlock(), createElementBlock("div", _hoisted_1$V, [
84
93
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
85
94
  ]);
86
95
  }
87
- var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-644bb279"]]);
88
- var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
96
+ var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-5b76ad1f"]]);
97
+ var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
89
98
  const _sfc_main$18 = {};
90
- const _hoisted_1$U = { class: "flex-row" };
99
+ const _hoisted_1$U = { class: "flex-spacer" };
91
100
  function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
92
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
93
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
94
- ]);
101
+ return openBlock(), createElementBlock("div", _hoisted_1$U);
95
102
  }
96
- var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-5b76ad1f"]]);
97
- var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
103
+ var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-35b15579"]]);
104
+ var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
98
105
  const _sfc_main$17 = {};
99
- const _hoisted_1$T = { class: "flex-spacer" };
106
+ const _hoisted_1$T = { class: "panel" };
100
107
  function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
101
- return openBlock(), createElementBlock("div", _hoisted_1$T);
108
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
109
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
+ ]);
102
111
  }
103
- var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-35b15579"]]);
104
- var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
112
+ var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-50ae77fc"]]);
113
+ var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
105
114
  const _sfc_main$16 = {};
106
- const _hoisted_1$S = { class: "panel" };
115
+ const _hoisted_1$S = { class: "panel-body" };
107
116
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
108
117
  return openBlock(), createElementBlock("div", _hoisted_1$S, [
109
118
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
119
  ]);
111
120
  }
112
- var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-50ae77fc"]]);
113
- var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
121
+ var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-c82dca76"]]);
122
+ var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
114
123
  const _sfc_main$15 = {};
115
- const _hoisted_1$R = { class: "panel-body" };
124
+ const _hoisted_1$R = { class: "panel-header" };
116
125
  function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
117
126
  return openBlock(), createElementBlock("div", _hoisted_1$R, [
118
127
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
119
128
  ]);
120
129
  }
121
- var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-c82dca76"]]);
122
- var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
130
+ var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-13bf11da"]]);
131
+ var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
123
132
  const _sfc_main$14 = {};
124
- const _hoisted_1$Q = { class: "panel-header" };
133
+ const _hoisted_1$Q = { class: "panel-footer" };
125
134
  function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
126
135
  return openBlock(), createElementBlock("div", _hoisted_1$Q, [
127
136
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
128
137
  ]);
129
138
  }
130
- var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-13bf11da"]]);
131
- var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
132
- const _sfc_main$13 = {};
133
- const _hoisted_1$P = { class: "panel-footer" };
134
- function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
135
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
136
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
137
- ]);
138
- }
139
- var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-b4f4786a"]]);
139
+ var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-b4f4786a"]]);
140
140
  var tabset_vue_vue_type_style_index_0_scoped_true_lang = "";
141
- const _sfc_main$12 = {
141
+ const _sfc_main$13 = {
142
142
  data() {
143
143
  return {
144
144
  activeIndex: 0
@@ -156,8 +156,8 @@ const _sfc_main$12 = {
156
156
  }
157
157
  }
158
158
  };
159
- const _hoisted_1$O = ["onClick"];
160
- function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
159
+ const _hoisted_1$P = ["onClick"];
160
+ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
161
161
  const _component_flex_row = resolveComponent("flex-row");
162
162
  const _component_flex_header = resolveComponent("flex-header");
163
163
  const _component_flex_column = resolveComponent("flex-column");
@@ -171,7 +171,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
171
171
  return openBlock(), createElementBlock("a", {
172
172
  class: normalizeClass({ active: index2 === $data.activeIndex }),
173
173
  onClick: ($event) => $options.select(index2)
174
- }, toDisplayString(tab.props.heading), 11, _hoisted_1$O);
174
+ }, toDisplayString(tab.props.heading), 11, _hoisted_1$P);
175
175
  }), 256))
176
176
  ]),
177
177
  _: 1
@@ -198,8 +198,8 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
198
198
  _: 1
199
199
  });
200
200
  }
201
- var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-1449f192"]]);
202
- const _sfc_main$11 = {
201
+ var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-1449f192"]]);
202
+ const _sfc_main$12 = {
203
203
  props: {
204
204
  heading: {
205
205
  type: String,
@@ -222,7 +222,7 @@ const _sfc_main$11 = {
222
222
  }
223
223
  }
224
224
  };
225
- function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
225
+ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
226
226
  const _component_flex_column = resolveComponent("flex-column");
227
227
  return openBlock(), createBlock(_component_flex_column, null, {
228
228
  default: withCtx(() => [
@@ -231,7 +231,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
231
231
  _: 3
232
232
  });
233
233
  }
234
- var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11]]);
234
+ var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12]]);
235
235
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
236
236
  var isArray$3 = Array.isArray;
237
237
  var isArray_1 = isArray$3;
@@ -699,7 +699,7 @@ var TableCellMixin = {
699
699
  }
700
700
  };
701
701
  var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
702
- const _sfc_main$10 = {
702
+ const _sfc_main$11 = {
703
703
  mixins: [TableCellMixin],
704
704
  computed: {
705
705
  type() {
@@ -708,25 +708,31 @@ const _sfc_main$10 = {
708
708
  }
709
709
  }
710
710
  };
711
- const _hoisted_1$N = { class: "table-image-cell" };
712
- function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
711
+ const _hoisted_1$O = { class: "table-image-cell" };
712
+ const _hoisted_2$E = {
713
+ key: 0,
714
+ class: "image-wrapper"
715
+ };
716
+ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
713
717
  const _component_ux_image = resolveComponent("ux-image");
714
718
  const _component_ux_icon = resolveComponent("ux-icon");
715
- return openBlock(), createElementBlock("td", _hoisted_1$N, [
716
- $options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
717
- key: 0,
718
- item: _ctx.row,
719
- type: $options.type,
720
- width: 50
721
- }, null, 8, ["item", "type"])) : (openBlock(), createBlock(_component_ux_icon, {
719
+ return openBlock(), createElementBlock("td", _hoisted_1$O, [
720
+ $options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", _hoisted_2$E, [
721
+ createVNode(_component_ux_image, {
722
+ item: _ctx.row,
723
+ type: $options.type,
724
+ width: 100,
725
+ height: 100
726
+ }, null, 8, ["item", "type"])
727
+ ])) : (openBlock(), createBlock(_component_ux_icon, {
722
728
  key: 1,
723
729
  icon: "fa-file"
724
730
  }))
725
731
  ]);
726
732
  }
727
- var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-6dbe8d2c"]]);
733
+ var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-8ce152b2"]]);
728
734
  var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
729
- const _sfc_main$$ = {
735
+ const _sfc_main$10 = {
730
736
  data() {
731
737
  return {
732
738
  processing: false
@@ -750,11 +756,11 @@ const _sfc_main$$ = {
750
756
  }
751
757
  }
752
758
  };
753
- const _hoisted_1$M = { class: "table-button-cell" };
754
- function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
759
+ const _hoisted_1$N = { class: "table-button-cell" };
760
+ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
755
761
  const _component_ux_icon = resolveComponent("ux-icon");
756
762
  const _component_ux_button = resolveComponent("ux-button");
757
- return openBlock(), createElementBlock("td", _hoisted_1$M, [
763
+ return openBlock(), createElementBlock("td", _hoisted_1$N, [
758
764
  createVNode(_component_ux_button, {
759
765
  size: $options.button.size,
760
766
  loading: $data.processing,
@@ -774,7 +780,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
774
780
  }, 8, ["size", "loading", "onClick"])
775
781
  ]);
776
782
  }
777
- var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-3cbecb7e"]]);
783
+ var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-3cbecb7e"]]);
778
784
  class LuxonError extends Error {
779
785
  }
780
786
  class InvalidDateTimeError extends LuxonError {
@@ -4608,7 +4614,7 @@ function friendlyDateTime(dateTimeish) {
4608
4614
  }
4609
4615
  }
4610
4616
  var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4611
- const _sfc_main$_ = {
4617
+ const _sfc_main$$ = {
4612
4618
  mixins: [TableCellMixin],
4613
4619
  computed: {
4614
4620
  hasValue() {
@@ -4629,13 +4635,13 @@ const _sfc_main$_ = {
4629
4635
  }
4630
4636
  }
4631
4637
  };
4632
- const _hoisted_1$L = { class: "table-date-cell" };
4638
+ const _hoisted_1$M = { class: "table-date-cell" };
4633
4639
  const _hoisted_2$D = { key: 0 };
4634
4640
  const _hoisted_3$w = { class: "off" };
4635
4641
  const _hoisted_4$s = { class: "on" };
4636
4642
  const _hoisted_5$n = { class: "spacer" };
4637
- function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
4638
- return openBlock(), createElementBlock("td", _hoisted_1$L, [
4643
+ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
4644
+ return openBlock(), createElementBlock("td", _hoisted_1$M, [
4639
4645
  $options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
4640
4646
  createElementVNode("span", _hoisted_3$w, toDisplayString($options.readable), 1),
4641
4647
  createElementVNode("span", _hoisted_4$s, toDisplayString($options.timeago), 1),
@@ -4643,9 +4649,9 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
4643
4649
  ])) : createCommentVNode("", true)
4644
4650
  ]);
4645
4651
  }
4646
- var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-3687693f"]]);
4652
+ var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-3687693f"]]);
4647
4653
  var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4648
- const _sfc_main$Z = {
4654
+ const _sfc_main$_ = {
4649
4655
  mixins: [TableCellMixin],
4650
4656
  computed: {
4651
4657
  boolean() {
@@ -4653,7 +4659,7 @@ const _sfc_main$Z = {
4653
4659
  }
4654
4660
  }
4655
4661
  };
4656
- function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
4662
+ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
4657
4663
  const _component_ux_icon = resolveComponent("ux-icon");
4658
4664
  return openBlock(), createElementBlock("td", {
4659
4665
  class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
@@ -4663,7 +4669,30 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
4663
4669
  }, null, 8, ["icon"])
4664
4670
  ], 2);
4665
4671
  }
4666
- var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-27f127ae"]]);
4672
+ var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-27f127ae"]]);
4673
+ var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4674
+ const _sfc_main$Z = {
4675
+ mixins: [TableCellMixin],
4676
+ computed: {
4677
+ public() {
4678
+ return this.security === "public";
4679
+ },
4680
+ security() {
4681
+ return this.value || "secure";
4682
+ }
4683
+ }
4684
+ };
4685
+ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
4686
+ const _component_ux_icon = resolveComponent("ux-icon");
4687
+ return openBlock(), createElementBlock("td", {
4688
+ class: normalizeClass(["table-security-cell", $options.security])
4689
+ }, [
4690
+ createVNode(_component_ux_icon, {
4691
+ icon: $options.public ? `fa-lock-open` : `fa-lock`
4692
+ }, null, 8, ["icon"])
4693
+ ], 2);
4694
+ }
4695
+ var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-51f8608e"]]);
4667
4696
  var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4668
4697
  const _sfc_main$Y = {
4669
4698
  mixins: [TableCellMixin],
@@ -4678,11 +4707,11 @@ const _sfc_main$Y = {
4678
4707
  }
4679
4708
  }
4680
4709
  };
4681
- const _hoisted_1$K = { class: "table-url-cell" };
4710
+ const _hoisted_1$L = { class: "table-url-cell" };
4682
4711
  const _hoisted_2$C = ["href"];
4683
4712
  function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
4684
4713
  const _component_ux_icon = resolveComponent("ux-icon");
4685
- return openBlock(), createElementBlock("td", _hoisted_1$K, [
4714
+ return openBlock(), createElementBlock("td", _hoisted_1$L, [
4686
4715
  createElementVNode("a", {
4687
4716
  href: $options.href,
4688
4717
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
@@ -4746,7 +4775,7 @@ const _sfc_main$X = {
4746
4775
  }
4747
4776
  }
4748
4777
  };
4749
- const _hoisted_1$J = /* @__PURE__ */ createTextVNode(",\xA0");
4778
+ const _hoisted_1$K = /* @__PURE__ */ createTextVNode(",\xA0");
4750
4779
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
4751
4780
  return $options.reference ? (openBlock(), createElementBlock("a", {
4752
4781
  key: 0,
@@ -4756,7 +4785,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
4756
4785
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
4757
4786
  createTextVNode(toDisplayString($options.renderValue), 1),
4758
4787
  $props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
4759
- _hoisted_1$J
4788
+ _hoisted_1$K
4760
4789
  ], 64)) : createCommentVNode("", true)
4761
4790
  ], 64));
4762
4791
  }
@@ -4803,6 +4832,9 @@ const _sfc_main$W = {
4803
4832
  case "button":
4804
4833
  component = ButtonCell;
4805
4834
  break;
4835
+ case "security":
4836
+ component = SecurityCell;
4837
+ break;
4806
4838
  case "boolean":
4807
4839
  component = BooleanCell;
4808
4840
  break;
@@ -4866,7 +4898,7 @@ const _sfc_main$W = {
4866
4898
  }
4867
4899
  }
4868
4900
  };
4869
- const _hoisted_1$I = {
4901
+ const _hoisted_1$J = {
4870
4902
  key: 1,
4871
4903
  class: "table-cell"
4872
4904
  };
@@ -4879,7 +4911,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
4879
4911
  column: $props.column,
4880
4912
  row: $props.row,
4881
4913
  value: $options.value
4882
- }, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$I, [
4914
+ }, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$J, [
4883
4915
  $options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
4884
4916
  $options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
4885
4917
  return openBlock(), createElementBlock("span", _hoisted_2$B, [
@@ -4907,7 +4939,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
4907
4939
  }, null, 8, ["type", "value"]))
4908
4940
  ]));
4909
4941
  }
4910
- var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-b6482442"]]);
4942
+ var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-c6534cd4"]]);
4911
4943
  const _sfc_main$V = {
4912
4944
  components: {
4913
4945
  TableCell
@@ -5176,7 +5208,7 @@ const _sfc_main$U = {
5176
5208
  }
5177
5209
  }
5178
5210
  };
5179
- const _hoisted_1$H = { class: "table-wrapper" };
5211
+ const _hoisted_1$I = { class: "table-wrapper" };
5180
5212
  const _hoisted_2$A = {
5181
5213
  class: "table-scroll",
5182
5214
  ref: "scroll"
@@ -5199,7 +5231,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
5199
5231
  const _component_ux_list = resolveComponent("ux-list");
5200
5232
  const _component_ux_menu = resolveComponent("ux-menu");
5201
5233
  const _component_table_row = resolveComponent("table-row");
5202
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
5234
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
5203
5235
  createElementVNode("div", _hoisted_2$A, [
5204
5236
  createElementVNode("table", null, [
5205
5237
  createElementVNode("thead", null, [
@@ -5295,9 +5327,9 @@ const _sfc_main$T = {
5295
5327
  }
5296
5328
  };
5297
5329
  const _withScopeId$5 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
5298
- const _hoisted_1$G = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
5330
+ const _hoisted_1$H = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
5299
5331
  const _hoisted_2$z = [
5300
- _hoisted_1$G
5332
+ _hoisted_1$H
5301
5333
  ];
5302
5334
  function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
5303
5335
  return openBlock(), createElementBlock("div", {
@@ -5400,7 +5432,7 @@ const _sfc_main$S = {
5400
5432
  }
5401
5433
  }
5402
5434
  };
5403
- const _hoisted_1$F = { class: "ux-btn-text" };
5435
+ const _hoisted_1$G = { class: "ux-btn-text" };
5404
5436
  function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
5405
5437
  const _component_spinner = resolveComponent("spinner");
5406
5438
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
@@ -5415,7 +5447,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
5415
5447
  }, {
5416
5448
  default: withCtx(() => [
5417
5449
  $props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
5418
- createElementVNode("span", _hoisted_1$F, [
5450
+ createElementVNode("span", _hoisted_1$G, [
5419
5451
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
5420
5452
  ])
5421
5453
  ]),
@@ -5903,6 +5935,14 @@ const _sfc_main$L = {
5903
5935
  quality: {
5904
5936
  type: Number
5905
5937
  },
5938
+ contain: {
5939
+ type: Boolean,
5940
+ default: true
5941
+ },
5942
+ preview: {
5943
+ type: Boolean,
5944
+ default: false
5945
+ },
5906
5946
  crop: {
5907
5947
  type: Boolean
5908
5948
  },
@@ -5927,6 +5967,12 @@ const _sfc_main$L = {
5927
5967
  };
5928
5968
  },
5929
5969
  computed: {
5970
+ aspectStyle() {
5971
+ return {
5972
+ "aspect-ratio": `${this.imageHeight / this.imageWidth}`,
5973
+ "object-fit": "contain"
5974
+ };
5975
+ },
5930
5976
  isSvg() {
5931
5977
  var _a;
5932
5978
  if (this.svg) {
@@ -5965,7 +6011,9 @@ const _sfc_main$L = {
5965
6011
  if (this.crop) {
5966
6012
  params.c = true;
5967
6013
  } else {
5968
- params.c = this.imageWidth && this.imageHeight;
6014
+ if (!this.contain) {
6015
+ params.c = this.imageWidth && this.imageHeight;
6016
+ }
5969
6017
  }
5970
6018
  if (this.quality) {
5971
6019
  params.q = parseInt(this.quality);
@@ -6007,13 +6055,15 @@ const _sfc_main$L = {
6007
6055
  if (this.isSvg)
6008
6056
  ;
6009
6057
  else {
6010
- style.backgroundImage = `url(${this.previewSrc})`;
6058
+ if (this.preview) {
6059
+ style.backgroundImage = `url(${this.previewSrc})`;
6060
+ }
6011
6061
  }
6012
6062
  return style;
6013
6063
  }
6014
6064
  }
6015
6065
  };
6016
- const _hoisted_1$E = ["data"];
6066
+ const _hoisted_1$F = ["data"];
6017
6067
  const _hoisted_2$y = ["src"];
6018
6068
  function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
6019
6069
  return openBlock(), createElementBlock("div", {
@@ -6024,13 +6074,14 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
6024
6074
  key: 0,
6025
6075
  type: "image/svg+xml",
6026
6076
  data: $options.src
6027
- }, null, 8, _hoisted_1$E)) : (openBlock(), createElementBlock("img", {
6077
+ }, null, 8, _hoisted_1$F)) : (openBlock(), createElementBlock("img", {
6028
6078
  key: 1,
6029
- src: $options.src
6030
- }, null, 8, _hoisted_2$y))
6079
+ src: $options.src,
6080
+ style: normalizeStyle($options.aspectStyle)
6081
+ }, null, 12, _hoisted_2$y))
6031
6082
  ], 4);
6032
6083
  }
6033
- var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-4c8cc011"]]);
6084
+ var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-0013b853"]]);
6034
6085
  var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
6035
6086
  const _sfc_main$K = {
6036
6087
  props: {
@@ -6067,10 +6118,10 @@ const _sfc_main$K = {
6067
6118
  }
6068
6119
  };
6069
6120
  const _withScopeId$4 = (n2) => (pushScopeId("data-v-317a7690"), n2 = n2(), popScopeId(), n2);
6070
- const _hoisted_1$D = { class: "ux-progress" };
6121
+ const _hoisted_1$E = { class: "ux-progress" };
6071
6122
  const _hoisted_2$x = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
6072
6123
  function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
6073
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
6124
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
6074
6125
  _hoisted_2$x,
6075
6126
  createElementVNode("div", {
6076
6127
  class: "ux-progress-fg",
@@ -6081,18 +6132,18 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
6081
6132
  var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-317a7690"]]);
6082
6133
  var list_vue_vue_type_style_index_0_scoped_true_lang = "";
6083
6134
  const _sfc_main$J = {};
6084
- const _hoisted_1$C = { class: "ux-list" };
6135
+ const _hoisted_1$D = { class: "ux-list" };
6085
6136
  function _sfc_render$J(_ctx, _cache) {
6086
- return openBlock(), createElementBlock("ul", _hoisted_1$C, [
6137
+ return openBlock(), createElementBlock("ul", _hoisted_1$D, [
6087
6138
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6088
6139
  ]);
6089
6140
  }
6090
6141
  var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-98e1e4e2"]]);
6091
6142
  var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
6092
6143
  const _sfc_main$I = {};
6093
- const _hoisted_1$B = { class: "ux-list-item" };
6144
+ const _hoisted_1$C = { class: "ux-list-item" };
6094
6145
  function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
6095
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
6146
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
6096
6147
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6097
6148
  ]);
6098
6149
  }
@@ -6591,7 +6642,7 @@ const _sfc_main$H = {
6591
6642
  }
6592
6643
  }
6593
6644
  };
6594
- const _hoisted_1$A = {
6645
+ const _hoisted_1$B = {
6595
6646
  key: 0,
6596
6647
  class: "ux-field-title"
6597
6648
  };
@@ -6618,7 +6669,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
6618
6669
  return openBlock(), createElementBlock("div", {
6619
6670
  class: normalizeClass(["native-select", $options.classes])
6620
6671
  }, [
6621
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
6672
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
6622
6673
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6623
6674
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
6624
6675
  ])) : createCommentVNode("", true),
@@ -6649,7 +6700,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
6649
6700
  ])
6650
6701
  ], 2);
6651
6702
  }
6652
- var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-1d53b270"]]);
6703
+ var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-be09a2cc"]]);
6653
6704
  var phoneNumberInput_vue_vue_type_style_index_0_scoped_true_lang = "";
6654
6705
  const _sfc_main$G = {
6655
6706
  props: {
@@ -6723,7 +6774,7 @@ const _sfc_main$G = {
6723
6774
  }
6724
6775
  };
6725
6776
  const _withScopeId$3 = (n2) => (pushScopeId("data-v-79694d60"), n2 = n2(), popScopeId(), n2);
6726
- const _hoisted_1$z = {
6777
+ const _hoisted_1$A = {
6727
6778
  key: 0,
6728
6779
  class: "ux-field-title"
6729
6780
  };
@@ -6752,7 +6803,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
6752
6803
  const _component_ux_button = resolveComponent("ux-button");
6753
6804
  const _component_flex_row = resolveComponent("flex-row");
6754
6805
  return openBlock(), createElementBlock(Fragment, null, [
6755
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
6806
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
6756
6807
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6757
6808
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
6758
6809
  ])) : createCommentVNode("", true),
@@ -7414,7 +7465,7 @@ const _sfc_main$F = {
7414
7465
  }
7415
7466
  }
7416
7467
  };
7417
- const _hoisted_1$y = {
7468
+ const _hoisted_1$z = {
7418
7469
  key: 0,
7419
7470
  class: "ux-field-title"
7420
7471
  };
@@ -7441,7 +7492,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
7441
7492
  return openBlock(), createElementBlock("div", {
7442
7493
  class: normalizeClass(["native-select", $options.classes])
7443
7494
  }, [
7444
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
7495
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
7445
7496
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7446
7497
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
7447
7498
  ])) : createCommentVNode("", true),
@@ -7482,6 +7533,18 @@ const _sfc_main$E = {
7482
7533
  }
7483
7534
  },
7484
7535
  computed: {
7536
+ basicType() {
7537
+ var _a, _b;
7538
+ return (_b = (_a = this.item) == null ? void 0 : _a.meta) == null ? void 0 : _b.type;
7539
+ },
7540
+ hasImage() {
7541
+ switch (this.basicType) {
7542
+ case "image":
7543
+ case "video":
7544
+ case "profile":
7545
+ return true;
7546
+ }
7547
+ },
7485
7548
  title() {
7486
7549
  return this.item.title || this.item.name || this.item.label || (this.item.firstName ? `${this.item.firstName} ${this.item.lastName}` : "(Title unknown)");
7487
7550
  }
@@ -7492,21 +7555,42 @@ const _sfc_main$E = {
7492
7555
  }
7493
7556
  }
7494
7557
  };
7558
+ const _hoisted_1$y = { class: "image-wrapper" };
7495
7559
  function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
7560
+ const _component_ux_image = resolveComponent("ux-image");
7496
7561
  const _component_flex_cell = resolveComponent("flex-cell");
7497
7562
  const _component_flex_row = resolveComponent("flex-row");
7498
7563
  return openBlock(), createElementBlock("div", {
7499
7564
  class: "content-item",
7500
7565
  onClick: _cache[0] || (_cache[0] = (...args) => $options.clicked && $options.clicked(...args))
7501
7566
  }, [
7502
- createVNode(_component_flex_row, null, {
7567
+ createVNode(_component_flex_row, {
7568
+ gap: "",
7569
+ vcenter: ""
7570
+ }, {
7503
7571
  default: withCtx(() => [
7504
- createVNode(_component_flex_cell, { shrink: "" }),
7572
+ $options.hasImage ? (openBlock(), createBlock(_component_flex_cell, {
7573
+ key: 0,
7574
+ shrink: ""
7575
+ }, {
7576
+ default: withCtx(() => [
7577
+ createElementVNode("div", _hoisted_1$y, [
7578
+ createVNode(_component_ux_image, {
7579
+ item: $props.item,
7580
+ width: 100,
7581
+ height: 100
7582
+ }, null, 8, ["item"])
7583
+ ])
7584
+ ]),
7585
+ _: 1
7586
+ })) : createCommentVNode("", true),
7505
7587
  createVNode(_component_flex_cell, { vcenter: "" }, {
7506
7588
  default: withCtx(() => [
7507
- renderSlot(_ctx.$slots, "default", {}, () => [
7508
- createTextVNode(toDisplayString($options.title), 1)
7509
- ], true)
7589
+ createElementVNode("div", null, [
7590
+ renderSlot(_ctx.$slots, "default", {}, () => [
7591
+ createTextVNode(toDisplayString($options.title), 1)
7592
+ ], true)
7593
+ ])
7510
7594
  ]),
7511
7595
  _: 3
7512
7596
  }),
@@ -7521,7 +7605,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
7521
7605
  })
7522
7606
  ]);
7523
7607
  }
7524
- var Item = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-1eeabf50"]]);
7608
+ var Item = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-bae08240"]]);
7525
7609
  /**!
7526
7610
  * Sortable 1.14.0
7527
7611
  * @author RubaXa <trash@rubaxa.org>
@@ -10287,8 +10371,18 @@ const _sfc_main$D = {
10287
10371
  }
10288
10372
  },
10289
10373
  computed: {
10374
+ showList() {
10375
+ const self2 = this;
10376
+ if (self2.field.list === false) {
10377
+ return false;
10378
+ }
10379
+ return true;
10380
+ },
10290
10381
  canAdd() {
10291
10382
  const self2 = this;
10383
+ if (!self2.showList) {
10384
+ return true;
10385
+ }
10292
10386
  if (!self2.maximum) {
10293
10387
  return true;
10294
10388
  }
@@ -10296,6 +10390,9 @@ const _sfc_main$D = {
10296
10390
  },
10297
10391
  canCreate() {
10298
10392
  var _a;
10393
+ if (this.field.create === false) {
10394
+ return;
10395
+ }
10299
10396
  if (!((_a = this.$sdk.global) == null ? void 0 : _a.create)) {
10300
10397
  return;
10301
10398
  }
@@ -10312,6 +10409,13 @@ const _sfc_main$D = {
10312
10409
  if (this.multiValue) {
10313
10410
  if (this.model && this.model.length) {
10314
10411
  var length = this.model.length;
10412
+ if (!this.showList) {
10413
+ if (length === 1) {
10414
+ return this.model[0].title || this.model[0].name || this.model[0].firstName;
10415
+ } else {
10416
+ return `${length} selected`;
10417
+ }
10418
+ }
10315
10419
  var difference = Math.max(length - 3, 0);
10316
10420
  var summary;
10317
10421
  var cropped = this.model.slice(0, 3);
@@ -10330,7 +10434,11 @@ const _sfc_main$D = {
10330
10434
  }
10331
10435
  } else {
10332
10436
  if (this.model) {
10333
- return "Click to select";
10437
+ if (this.showList) {
10438
+ return "Click to select";
10439
+ } else {
10440
+ return this.model.title || this.model.name || this.model.firstName;
10441
+ }
10334
10442
  } else {
10335
10443
  return `Click to select`;
10336
10444
  }
@@ -10351,7 +10459,7 @@ const _hoisted_3$q = {
10351
10459
  class: "ux-field-description"
10352
10460
  };
10353
10461
  const _hoisted_4$n = {
10354
- key: 3,
10462
+ key: 1,
10355
10463
  class: "items"
10356
10464
  };
10357
10465
  const _hoisted_5$i = /* @__PURE__ */ createTextVNode(" Create ");
@@ -10369,72 +10477,74 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
10369
10477
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
10370
10478
  ])) : createCommentVNode("", true),
10371
10479
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
10372
- _ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
10373
- _ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
10374
- key: 0,
10375
- class: "items",
10376
- modelValue: _ctx.model,
10377
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
10378
- }, {
10379
- item: withCtx(({ element, index: index2 }) => [
10380
- (openBlock(), createBlock(_component_item, {
10381
- key: element._id,
10382
- item: element
10383
- }, {
10384
- actions: withCtx(() => [
10385
- $options.canEdit(element) ? (openBlock(), createBlock(_component_ux_button, {
10386
- key: 0,
10387
- icon: "",
10388
- onClick: withModifiers(($event) => $options.edit(element), ["stop", "prevent"])
10389
- }, {
10390
- default: withCtx(() => [
10391
- createVNode(_component_ux_icon, { icon: "fa-pencil" })
10392
- ]),
10393
- _: 2
10394
- }, 1032, ["onClick"])) : createCommentVNode("", true),
10395
- createVNode(_component_ux_button, {
10396
- icon: "",
10397
- onClick: withModifiers(($event) => _ctx.remove(element), ["stop", "prevent"])
10398
- }, {
10399
- default: withCtx(() => [
10400
- createVNode(_component_ux_icon, { icon: "fa-times" })
10401
- ]),
10402
- _: 2
10403
- }, 1032, ["onClick"])
10404
- ]),
10405
- _: 2
10406
- }, 1032, ["item"]))
10407
- ]),
10408
- _: 1
10409
- }, 8, ["modelValue"])) : createCommentVNode("", true)
10410
- ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
10411
- createVNode(_component_item, { item: _ctx.model }, {
10412
- actions: withCtx(() => [
10413
- $options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
10414
- key: 0,
10415
- icon: "",
10416
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.edit(_ctx.model), ["stop", "prevent"]))
10417
- }, {
10418
- default: withCtx(() => [
10419
- createVNode(_component_ux_icon, { icon: "fa-pencil" })
10420
- ]),
10421
- _: 1
10422
- })) : createCommentVNode("", true),
10423
- createVNode(_component_ux_button, {
10424
- icon: "",
10425
- onClick: withModifiers($options.clear, ["stop", "prevent"])
10426
- }, {
10427
- default: withCtx(() => [
10428
- createVNode(_component_ux_icon, { icon: "fa-times" })
10429
- ]),
10430
- _: 1
10431
- }, 8, ["onClick"])
10432
- ]),
10433
- _: 1
10434
- }, 8, ["item"])
10435
- ])) : createCommentVNode("", true),
10480
+ $options.showList ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
10481
+ _ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
10482
+ _ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
10483
+ key: 0,
10484
+ class: "items",
10485
+ modelValue: _ctx.model,
10486
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
10487
+ }, {
10488
+ item: withCtx(({ element, index: index2 }) => [
10489
+ (openBlock(), createBlock(_component_item, {
10490
+ key: element._id,
10491
+ item: element
10492
+ }, {
10493
+ actions: withCtx(() => [
10494
+ $options.canEdit(element) ? (openBlock(), createBlock(_component_ux_button, {
10495
+ key: 0,
10496
+ icon: "",
10497
+ onClick: withModifiers(($event) => $options.edit(element), ["stop", "prevent"])
10498
+ }, {
10499
+ default: withCtx(() => [
10500
+ createVNode(_component_ux_icon, { icon: "fa-pencil" })
10501
+ ]),
10502
+ _: 2
10503
+ }, 1032, ["onClick"])) : createCommentVNode("", true),
10504
+ createVNode(_component_ux_button, {
10505
+ icon: "",
10506
+ onClick: withModifiers(($event) => _ctx.remove(element), ["stop", "prevent"])
10507
+ }, {
10508
+ default: withCtx(() => [
10509
+ createVNode(_component_ux_icon, { icon: "fa-times" })
10510
+ ]),
10511
+ _: 2
10512
+ }, 1032, ["onClick"])
10513
+ ]),
10514
+ _: 2
10515
+ }, 1032, ["item"]))
10516
+ ]),
10517
+ _: 1
10518
+ }, 8, ["modelValue"])) : createCommentVNode("", true)
10519
+ ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
10520
+ createVNode(_component_item, { item: _ctx.model }, {
10521
+ actions: withCtx(() => [
10522
+ $options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
10523
+ key: 0,
10524
+ icon: "",
10525
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.edit(_ctx.model), ["stop", "prevent"]))
10526
+ }, {
10527
+ default: withCtx(() => [
10528
+ createVNode(_component_ux_icon, { icon: "fa-pencil" })
10529
+ ]),
10530
+ _: 1
10531
+ })) : createCommentVNode("", true),
10532
+ createVNode(_component_ux_button, {
10533
+ icon: "",
10534
+ onClick: withModifiers($options.clear, ["stop", "prevent"])
10535
+ }, {
10536
+ default: withCtx(() => [
10537
+ createVNode(_component_ux_icon, { icon: "fa-times" })
10538
+ ]),
10539
+ _: 1
10540
+ }, 8, ["onClick"])
10541
+ ]),
10542
+ _: 1
10543
+ }, 8, ["item"])
10544
+ ])) : createCommentVNode("", true)
10545
+ ], 64)) : createCommentVNode("", true),
10436
10546
  $options.canAdd ? (openBlock(), createBlock(_component_flex_row, {
10437
- key: 4,
10547
+ key: 3,
10438
10548
  gap: ""
10439
10549
  }, {
10440
10550
  default: withCtx(() => [
@@ -10476,7 +10586,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
10476
10586
  })) : createCommentVNode("", true)
10477
10587
  ], 64);
10478
10588
  }
10479
- var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-60b312d0"]]);
10589
+ var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-236b5d48"]]);
10480
10590
  var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
10481
10591
  function isUndefined$3(entry) {
10482
10592
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
@@ -11574,7 +11684,7 @@ const _sfc_main$v = {
11574
11684
  break;
11575
11685
  default:
11576
11686
  set.push({
11577
- title: entry.titles.join(" > "),
11687
+ title: entry.titles.join(" \u2192 "),
11578
11688
  value: entry.path || entry.key
11579
11689
  });
11580
11690
  break;
@@ -11757,17 +11867,21 @@ const _sfc_main$v = {
11757
11867
  singleReferenceField() {
11758
11868
  return {
11759
11869
  type: "reference",
11760
- referenceType,
11870
+ referenceType: this.referenceType,
11761
11871
  maximum: 1,
11762
- minimum: 1
11872
+ minimum: 1,
11873
+ create: false,
11874
+ list: false
11763
11875
  };
11764
11876
  },
11765
11877
  multiReferenceField() {
11766
11878
  return {
11767
11879
  type: "reference",
11768
- referenceType,
11880
+ referenceType: this.referenceType,
11769
11881
  maximum: 0,
11770
- minimum: 1
11882
+ minimum: 1,
11883
+ create: false,
11884
+ list: false
11771
11885
  };
11772
11886
  }
11773
11887
  },
@@ -11775,7 +11889,8 @@ const _sfc_main$v = {
11775
11889
  components: {
11776
11890
  TextField,
11777
11891
  DateField,
11778
- NativeSelect
11892
+ NativeSelect,
11893
+ ContentSelect
11779
11894
  }
11780
11895
  };
11781
11896
  const _hoisted_1$p = {
@@ -11805,7 +11920,10 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
11805
11920
  const _component_ux_icon = resolveComponent("ux-icon");
11806
11921
  const _component_ux_button = resolveComponent("ux-button");
11807
11922
  return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
11808
- createVNode(_component_flex_row, null, {
11923
+ createVNode(_component_flex_row, {
11924
+ gap: "",
11925
+ vcenter: ""
11926
+ }, {
11809
11927
  default: withCtx(() => [
11810
11928
  createVNode(_component_flex_cell, null, {
11811
11929
  default: withCtx(() => [
@@ -12531,12 +12649,12 @@ const _sfc_main$s = {
12531
12649
  },
12532
12650
  watch: {
12533
12651
  "field.referenceType": {
12534
- handler: async function(referenceType2) {
12535
- if (!referenceType2) {
12652
+ handler: async function(referenceType) {
12653
+ if (!referenceType) {
12536
12654
  return this.definition = null;
12537
12655
  }
12538
12656
  var glossary = await this.$sdk.content.glossary({ hash: true });
12539
- this.definition = glossary[referenceType2];
12657
+ this.definition = glossary[referenceType];
12540
12658
  },
12541
12659
  immediate: true
12542
12660
  }
@@ -17871,6 +17989,12 @@ function defaultColumns(self2, type) {
17871
17989
  case "audio":
17872
17990
  case "image":
17873
17991
  case "video":
17992
+ columns.push({
17993
+ title: "",
17994
+ key: "meta.security",
17995
+ renderer: "security",
17996
+ shrink: true
17997
+ });
17874
17998
  columns.push({
17875
17999
  title: "",
17876
18000
  key: "_id",
@@ -18352,7 +18476,7 @@ const _sfc_main$5 = {
18352
18476
  };
18353
18477
  }
18354
18478
  };
18355
- const _withScopeId = (n2) => (pushScopeId("data-v-00a8af80"), n2 = n2(), popScopeId(), n2);
18479
+ const _withScopeId = (n2) => (pushScopeId("data-v-2e0c57ea"), n2 = n2(), popScopeId(), n2);
18356
18480
  const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
18357
18481
  const _hoisted_2$4 = { class: "footer" };
18358
18482
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
@@ -18526,7 +18650,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
18526
18650
  _: 3
18527
18651
  })) : createCommentVNode("", true);
18528
18652
  }
18529
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-00a8af80"]]);
18653
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-2e0c57ea"]]);
18530
18654
  var ModalMixin = {
18531
18655
  props: {
18532
18656
  options: {