@qikdev/vue-ui 0.1.74 → 0.1.79

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.74";
35
+ const version$1 = "0.1.79";
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
  ]),
@@ -5895,14 +5927,25 @@ const _sfc_main$L = {
5895
5927
  type: Object
5896
5928
  },
5897
5929
  width: {
5898
- type: [Number, String]
5930
+ type: Number
5899
5931
  },
5900
5932
  height: {
5901
- type: [Number, String]
5933
+ type: Number
5934
+ },
5935
+ inline: {
5936
+ type: Boolean
5902
5937
  },
5903
5938
  quality: {
5904
5939
  type: Number
5905
5940
  },
5941
+ contain: {
5942
+ type: Boolean,
5943
+ default: true
5944
+ },
5945
+ preview: {
5946
+ type: Boolean,
5947
+ default: false
5948
+ },
5906
5949
  crop: {
5907
5950
  type: Boolean
5908
5951
  },
@@ -5927,6 +5970,13 @@ const _sfc_main$L = {
5927
5970
  };
5928
5971
  },
5929
5972
  computed: {
5973
+ className() {
5974
+ var classes = [];
5975
+ if (this.portrait) {
5976
+ classes.push("img-portrait");
5977
+ }
5978
+ return classes.join(" ");
5979
+ },
5930
5980
  isSvg() {
5931
5981
  var _a;
5932
5982
  if (this.svg) {
@@ -5938,11 +5988,8 @@ const _sfc_main$L = {
5938
5988
  return true;
5939
5989
  }
5940
5990
  },
5941
- defaultWidth() {
5942
- return;
5943
- },
5944
- defaultHeight() {
5945
- return;
5991
+ portrait() {
5992
+ return this.crop ? this.dimensionHeight > this.dimensionWidth : this.modelHeight > this.modelWidth;
5946
5993
  },
5947
5994
  imageWidth() {
5948
5995
  return parseInt(this.width);
@@ -5950,6 +5997,14 @@ const _sfc_main$L = {
5950
5997
  imageHeight() {
5951
5998
  return parseInt(this.height);
5952
5999
  },
6000
+ modelWidth() {
6001
+ var _a;
6002
+ return parseInt((_a = this.model) == null ? void 0 : _a.width);
6003
+ },
6004
+ modelHeight() {
6005
+ var _a;
6006
+ return parseInt((_a = this.model) == null ? void 0 : _a.height);
6007
+ },
5953
6008
  id() {
5954
6009
  return this.$sdk.utils.id(this.model);
5955
6010
  },
@@ -5957,15 +6012,17 @@ const _sfc_main$L = {
5957
6012
  var params = {};
5958
6013
  params.access_token = this.$sdk.auth.getCurrentToken();
5959
6014
  if (this.imageWidth) {
5960
- params.w = this.imageWidth ? this.imageWidth : this.defaultWidth;
6015
+ params.w = this.imageWidth ? this.imageWidth : null;
5961
6016
  }
5962
6017
  if (this.imageHeight) {
5963
- params.h = this.imageHeight ? this.imageHeight : this.defaultHeight;
6018
+ params.h = this.imageHeight ? this.imageHeight : null;
5964
6019
  }
5965
6020
  if (this.crop) {
5966
6021
  params.c = true;
5967
6022
  } else {
5968
- params.c = this.imageWidth && this.imageHeight;
6023
+ if (!this.contain) {
6024
+ params.c = this.imageWidth && this.imageHeight;
6025
+ }
5969
6026
  }
5970
6027
  if (this.quality) {
5971
6028
  params.q = parseInt(this.quality);
@@ -5987,50 +6044,75 @@ const _sfc_main$L = {
5987
6044
  delete params.h;
5988
6045
  return this.$sdk.api.generateEndpointURL(`/${this.type}/${this.id}`, params);
5989
6046
  },
6047
+ imageStyle() {
6048
+ var style = {};
6049
+ if (!this.crop) {
6050
+ style["object-fit"] = "contain";
6051
+ }
6052
+ if (this.inline) {
6053
+ style.maxWidth = "100%";
6054
+ } else {
6055
+ style.width = "100%";
6056
+ style.height = "100%";
6057
+ style.top = `0`;
6058
+ style.left = `0`;
6059
+ style.position = "absolute";
6060
+ }
6061
+ return style;
6062
+ },
6063
+ dimensionWidth() {
6064
+ return this.imageWidth && this.imageHeight ? this.imageWidth : this.modelWidth;
6065
+ },
6066
+ dimensionHeight() {
6067
+ return this.imageWidth && this.imageHeight ? this.imageHeight : this.modelHeight;
6068
+ },
5990
6069
  style() {
5991
6070
  var _a, _b, _c;
5992
6071
  var style = {};
6072
+ if (this.inline) {
6073
+ style.display = "inline-block";
6074
+ } else {
6075
+ if (this.dimensionHeight && this.dimensionWidth) {
6076
+ style.height = 0;
6077
+ style.overflow = "hidden";
6078
+ style.paddingBottom = `${this.dimensionHeight / this.dimensionWidth * 100}%`;
6079
+ style.position = "relative";
6080
+ }
6081
+ }
5993
6082
  var colors = (_c = (_b = (_a = this.model) == null ? void 0 : _a.fileMeta) == null ? void 0 : _b.colors) == null ? void 0 : _c.colors;
5994
6083
  if (colors && colors.length) {
5995
6084
  style.backgroundColor = colors[0];
5996
6085
  }
5997
- var dimensionWidth = this.model.width;
5998
- var dimensionHeight = this.model.height;
5999
- if (this.width && this.height) {
6000
- dimensionWidth = this.width;
6001
- dimensionHeight = this.height;
6002
- }
6003
- if (dimensionHeight && dimensionWidth) {
6004
- style.height = 0;
6005
- style.paddingBottom = `${dimensionHeight / dimensionWidth * 100}%`;
6006
- }
6007
6086
  if (this.isSvg)
6008
6087
  ;
6009
6088
  else {
6010
- style.backgroundImage = `url(${this.previewSrc})`;
6089
+ if (this.preview) {
6090
+ style.backgroundImage = `url(${this.previewSrc})`;
6091
+ }
6011
6092
  }
6012
6093
  return style;
6013
6094
  }
6014
6095
  }
6015
6096
  };
6016
- const _hoisted_1$E = ["data"];
6097
+ const _hoisted_1$F = ["data"];
6017
6098
  const _hoisted_2$y = ["src"];
6018
6099
  function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
6019
6100
  return openBlock(), createElementBlock("div", {
6020
- class: "ux-image",
6101
+ class: normalizeClass(["ux-image", $options.className]),
6021
6102
  style: normalizeStyle($options.style)
6022
6103
  }, [
6023
6104
  $props.svg ? (openBlock(), createElementBlock("object", {
6024
6105
  key: 0,
6025
6106
  type: "image/svg+xml",
6026
6107
  data: $options.src
6027
- }, null, 8, _hoisted_1$E)) : (openBlock(), createElementBlock("img", {
6108
+ }, null, 8, _hoisted_1$F)) : (openBlock(), createElementBlock("img", {
6028
6109
  key: 1,
6110
+ style: normalizeStyle($options.imageStyle),
6029
6111
  src: $options.src
6030
- }, null, 8, _hoisted_2$y))
6031
- ], 4);
6112
+ }, null, 12, _hoisted_2$y))
6113
+ ], 6);
6032
6114
  }
6033
- var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-4c8cc011"]]);
6115
+ var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-1f7127ce"]]);
6034
6116
  var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
6035
6117
  const _sfc_main$K = {
6036
6118
  props: {
@@ -6067,10 +6149,10 @@ const _sfc_main$K = {
6067
6149
  }
6068
6150
  };
6069
6151
  const _withScopeId$4 = (n2) => (pushScopeId("data-v-317a7690"), n2 = n2(), popScopeId(), n2);
6070
- const _hoisted_1$D = { class: "ux-progress" };
6152
+ const _hoisted_1$E = { class: "ux-progress" };
6071
6153
  const _hoisted_2$x = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
6072
6154
  function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
6073
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
6155
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
6074
6156
  _hoisted_2$x,
6075
6157
  createElementVNode("div", {
6076
6158
  class: "ux-progress-fg",
@@ -6081,18 +6163,18 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
6081
6163
  var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-317a7690"]]);
6082
6164
  var list_vue_vue_type_style_index_0_scoped_true_lang = "";
6083
6165
  const _sfc_main$J = {};
6084
- const _hoisted_1$C = { class: "ux-list" };
6166
+ const _hoisted_1$D = { class: "ux-list" };
6085
6167
  function _sfc_render$J(_ctx, _cache) {
6086
- return openBlock(), createElementBlock("ul", _hoisted_1$C, [
6168
+ return openBlock(), createElementBlock("ul", _hoisted_1$D, [
6087
6169
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6088
6170
  ]);
6089
6171
  }
6090
6172
  var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-98e1e4e2"]]);
6091
6173
  var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
6092
6174
  const _sfc_main$I = {};
6093
- const _hoisted_1$B = { class: "ux-list-item" };
6175
+ const _hoisted_1$C = { class: "ux-list-item" };
6094
6176
  function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
6095
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
6177
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
6096
6178
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6097
6179
  ]);
6098
6180
  }
@@ -6591,7 +6673,7 @@ const _sfc_main$H = {
6591
6673
  }
6592
6674
  }
6593
6675
  };
6594
- const _hoisted_1$A = {
6676
+ const _hoisted_1$B = {
6595
6677
  key: 0,
6596
6678
  class: "ux-field-title"
6597
6679
  };
@@ -6618,7 +6700,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
6618
6700
  return openBlock(), createElementBlock("div", {
6619
6701
  class: normalizeClass(["native-select", $options.classes])
6620
6702
  }, [
6621
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
6703
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
6622
6704
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6623
6705
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
6624
6706
  ])) : createCommentVNode("", true),
@@ -6723,7 +6805,7 @@ const _sfc_main$G = {
6723
6805
  }
6724
6806
  };
6725
6807
  const _withScopeId$3 = (n2) => (pushScopeId("data-v-79694d60"), n2 = n2(), popScopeId(), n2);
6726
- const _hoisted_1$z = {
6808
+ const _hoisted_1$A = {
6727
6809
  key: 0,
6728
6810
  class: "ux-field-title"
6729
6811
  };
@@ -6752,7 +6834,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
6752
6834
  const _component_ux_button = resolveComponent("ux-button");
6753
6835
  const _component_flex_row = resolveComponent("flex-row");
6754
6836
  return openBlock(), createElementBlock(Fragment, null, [
6755
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
6837
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
6756
6838
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6757
6839
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
6758
6840
  ])) : createCommentVNode("", true),
@@ -7414,7 +7496,7 @@ const _sfc_main$F = {
7414
7496
  }
7415
7497
  }
7416
7498
  };
7417
- const _hoisted_1$y = {
7499
+ const _hoisted_1$z = {
7418
7500
  key: 0,
7419
7501
  class: "ux-field-title"
7420
7502
  };
@@ -7441,7 +7523,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
7441
7523
  return openBlock(), createElementBlock("div", {
7442
7524
  class: normalizeClass(["native-select", $options.classes])
7443
7525
  }, [
7444
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
7526
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
7445
7527
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7446
7528
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
7447
7529
  ])) : createCommentVNode("", true),
@@ -7482,6 +7564,18 @@ const _sfc_main$E = {
7482
7564
  }
7483
7565
  },
7484
7566
  computed: {
7567
+ basicType() {
7568
+ var _a, _b;
7569
+ return (_b = (_a = this.item) == null ? void 0 : _a.meta) == null ? void 0 : _b.type;
7570
+ },
7571
+ hasImage() {
7572
+ switch (this.basicType) {
7573
+ case "image":
7574
+ case "video":
7575
+ case "profile":
7576
+ return true;
7577
+ }
7578
+ },
7485
7579
  title() {
7486
7580
  return this.item.title || this.item.name || this.item.label || (this.item.firstName ? `${this.item.firstName} ${this.item.lastName}` : "(Title unknown)");
7487
7581
  }
@@ -7492,21 +7586,42 @@ const _sfc_main$E = {
7492
7586
  }
7493
7587
  }
7494
7588
  };
7589
+ const _hoisted_1$y = { class: "image-wrapper" };
7495
7590
  function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
7591
+ const _component_ux_image = resolveComponent("ux-image");
7496
7592
  const _component_flex_cell = resolveComponent("flex-cell");
7497
7593
  const _component_flex_row = resolveComponent("flex-row");
7498
7594
  return openBlock(), createElementBlock("div", {
7499
7595
  class: "content-item",
7500
7596
  onClick: _cache[0] || (_cache[0] = (...args) => $options.clicked && $options.clicked(...args))
7501
7597
  }, [
7502
- createVNode(_component_flex_row, null, {
7598
+ createVNode(_component_flex_row, {
7599
+ gap: "",
7600
+ vcenter: ""
7601
+ }, {
7503
7602
  default: withCtx(() => [
7504
- createVNode(_component_flex_cell, { shrink: "" }),
7603
+ $options.hasImage ? (openBlock(), createBlock(_component_flex_cell, {
7604
+ key: 0,
7605
+ shrink: ""
7606
+ }, {
7607
+ default: withCtx(() => [
7608
+ createElementVNode("div", _hoisted_1$y, [
7609
+ createVNode(_component_ux_image, {
7610
+ item: $props.item,
7611
+ width: 100,
7612
+ height: 100
7613
+ }, null, 8, ["item"])
7614
+ ])
7615
+ ]),
7616
+ _: 1
7617
+ })) : createCommentVNode("", true),
7505
7618
  createVNode(_component_flex_cell, { vcenter: "" }, {
7506
7619
  default: withCtx(() => [
7507
- renderSlot(_ctx.$slots, "default", {}, () => [
7508
- createTextVNode(toDisplayString($options.title), 1)
7509
- ], true)
7620
+ createElementVNode("div", null, [
7621
+ renderSlot(_ctx.$slots, "default", {}, () => [
7622
+ createTextVNode(toDisplayString($options.title), 1)
7623
+ ], true)
7624
+ ])
7510
7625
  ]),
7511
7626
  _: 3
7512
7627
  }),
@@ -7521,7 +7636,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
7521
7636
  })
7522
7637
  ]);
7523
7638
  }
7524
- var Item = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-1eeabf50"]]);
7639
+ var Item = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-bae08240"]]);
7525
7640
  /**!
7526
7641
  * Sortable 1.14.0
7527
7642
  * @author RubaXa <trash@rubaxa.org>
@@ -17905,6 +18020,12 @@ function defaultColumns(self2, type) {
17905
18020
  case "audio":
17906
18021
  case "image":
17907
18022
  case "video":
18023
+ columns.push({
18024
+ title: "",
18025
+ key: "meta.security",
18026
+ renderer: "security",
18027
+ shrink: true
18028
+ });
17908
18029
  columns.push({
17909
18030
  title: "",
17910
18031
  key: "_id",
@@ -18351,9 +18472,11 @@ const _sfc_main$5 = {
18351
18472
  const { promise, cancel } = await self2.$sdk.content.list(self2.type, loadCriteria, { cancellable: true });
18352
18473
  cancelInflight = cancel;
18353
18474
  promise.then(function(res) {
18475
+ cancelInflight = null;
18354
18476
  self2.loading = false;
18355
18477
  });
18356
18478
  promise.catch(function(err) {
18479
+ cancelInflight = null;
18357
18480
  });
18358
18481
  const { data } = await promise;
18359
18482
  data.items.forEach(self2.ensureMeta);
@@ -18386,7 +18509,7 @@ const _sfc_main$5 = {
18386
18509
  };
18387
18510
  }
18388
18511
  };
18389
- const _withScopeId = (n2) => (pushScopeId("data-v-00a8af80"), n2 = n2(), popScopeId(), n2);
18512
+ const _withScopeId = (n2) => (pushScopeId("data-v-4d612010"), n2 = n2(), popScopeId(), n2);
18390
18513
  const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
18391
18514
  const _hoisted_2$4 = { class: "footer" };
18392
18515
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
@@ -18560,7 +18683,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
18560
18683
  _: 3
18561
18684
  })) : createCommentVNode("", true);
18562
18685
  }
18563
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-00a8af80"]]);
18686
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-4d612010"]]);
18564
18687
  var ModalMixin = {
18565
18688
  props: {
18566
18689
  options: {