@qikdev/vue-ui 0.2.55 → 0.2.57

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, normalizeClass, Fragment, createBlock, withCtx, createVNode, renderList, toDisplayString, createCommentVNode, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, 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.55";
35
+ const version$1 = "0.2.57";
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;
@@ -109,7 +109,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
109
109
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
110
  ]);
111
111
  }
112
- var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-50ae77fc"]]);
112
+ var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-31dd6811"]]);
113
113
  var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
114
114
  const _sfc_main$1k = {};
115
115
  const _hoisted_1$_ = { class: "panel-body" };
@@ -863,7 +863,6 @@ const _sfc_main$1d = {
863
863
  if (typeof button.text === "function") {
864
864
  return button.text(this);
865
865
  }
866
- console.log("BUTTON", button.text, typeof button.text);
867
866
  return button.text;
868
867
  }
869
868
  },
@@ -900,7 +899,7 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
900
899
  }, 8, ["color", "size", "loading", "onClick"])
901
900
  ]);
902
901
  }
903
- var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-ac248c56"]]);
902
+ var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-24957486"]]);
904
903
  class LuxonError extends Error {
905
904
  }
906
905
  class InvalidDateTimeError extends LuxonError {
@@ -4769,7 +4768,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
4769
4768
  ])) : createCommentVNode("", true)
4770
4769
  ]);
4771
4770
  }
4772
- var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-3687693f"]]);
4771
+ var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-18716d82"]]);
4773
4772
  var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4774
4773
  const _sfc_main$1b = {
4775
4774
  mixins: [TableCellMixin],
@@ -6285,7 +6284,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
6285
6284
  ])
6286
6285
  ], 2);
6287
6286
  }
6288
- var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-a06c20f2"]]);
6287
+ var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-13291034"]]);
6289
6288
  var Pager_vue_vue_type_style_index_0_scoped_true_lang = "";
6290
6289
  const _sfc_main$12 = {
6291
6290
  props: {
@@ -6658,7 +6657,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
6658
6657
  _: 3
6659
6658
  }, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
6660
6659
  }
6661
- var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-56c95efc"]]);
6660
+ var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-75edf72d"]]);
6662
6661
  var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
6663
6662
  const _sfc_main$_ = {
6664
6663
  props: {
@@ -12935,7 +12934,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
12935
12934
  ]))
12936
12935
  ], 64);
12937
12936
  }
12938
- var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-d9e8503e"]]);
12937
+ var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-33318d34"]]);
12939
12938
  var textarea_vue_vue_type_style_index_0_scoped_true_lang = "";
12940
12939
  const _sfc_main$C = {
12941
12940
  props: {
@@ -13189,7 +13188,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
13189
13188
  ])
13190
13189
  ], 64);
13191
13190
  }
13192
- var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-1c86b484"]]);
13191
+ var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-2e4bcb71"]]);
13193
13192
  var daterange_vue_vue_type_style_index_0_scoped_true_lang = "";
13194
13193
  const _sfc_main$A = {
13195
13194
  components: {
@@ -21146,6 +21145,7 @@ const _sfc_main$6 = {
21146
21145
  case "audio":
21147
21146
  case "file":
21148
21147
  case "submission":
21148
+ case "export":
21149
21149
  case "log":
21150
21150
  defaultSort = {
21151
21151
  key: "meta.created",
@@ -21454,6 +21454,10 @@ const _sfc_main$6 = {
21454
21454
  }
21455
21455
  });
21456
21456
  const { data } = await promise;
21457
+ if (!data) {
21458
+ console.log("No data returned");
21459
+ return;
21460
+ }
21457
21461
  data.items.forEach(self2.ensureMeta);
21458
21462
  return data;
21459
21463
  }
@@ -21489,7 +21493,7 @@ const _sfc_main$6 = {
21489
21493
  };
21490
21494
  }
21491
21495
  };
21492
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-ebe5f108"), n2 = n2(), popScopeId(), n2);
21496
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-6a5fdde1"), n2 = n2(), popScopeId(), n2);
21493
21497
  const _hoisted_1$6 = { class: "footer" };
21494
21498
  const _hoisted_2$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
21495
21499
  const _hoisted_3$5 = { key: 0 };
@@ -21718,7 +21722,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
21718
21722
  _: 3
21719
21723
  })) : createCommentVNode("", true);
21720
21724
  }
21721
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-ebe5f108"]]);
21725
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-6a5fdde1"]]);
21722
21726
  var ModalMixin = {
21723
21727
  props: {
21724
21728
  options: {
@@ -22616,6 +22620,15 @@ const QikUI = {
22616
22620
  sdk.modals.splice(modal.id, 0, modal);
22617
22621
  });
22618
22622
  };
22623
+ sdk.prompt = function(fields, options) {
22624
+ options = options || {};
22625
+ options.model = options.model || {};
22626
+ options.fields = fields;
22627
+ return sdk.modal({
22628
+ component: UxPromptModal,
22629
+ options
22630
+ });
22631
+ };
22619
22632
  sdk.browse = function(type, options) {
22620
22633
  options = options || {};
22621
22634
  options.type = type;
@@ -22633,6 +22646,14 @@ const QikUI = {
22633
22646
  options
22634
22647
  });
22635
22648
  };
22649
+ sdk.confirm = function(title, options) {
22650
+ options = options || {};
22651
+ options.title = title;
22652
+ return sdk.modal({
22653
+ component: UxConfirmModal,
22654
+ options
22655
+ });
22656
+ };
22636
22657
  sdk.options = function(choices, title, description) {
22637
22658
  return sdk.modal({
22638
22659
  component: UxOptionsModal,
@@ -22643,23 +22664,6 @@ const QikUI = {
22643
22664
  }
22644
22665
  });
22645
22666
  };
22646
- sdk.prompt = function(fields, options) {
22647
- options = options || {};
22648
- options.model = options.model || {};
22649
- options.fields = fields;
22650
- return sdk.modal({
22651
- component: UxPromptModal,
22652
- options
22653
- });
22654
- };
22655
- sdk.confirm = function(title, options) {
22656
- options = options || {};
22657
- options.title = title;
22658
- return sdk.modal({
22659
- component: UxConfirmModal,
22660
- options
22661
- });
22662
- };
22663
22667
  sdk.closeModal = function(id) {
22664
22668
  var modal = sdk.modals.find(function(modal2) {
22665
22669
  return modal2.id == id;