@qikdev/vue-ui 0.1.48 → 0.1.49

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.48";
35
+ const version$1 = "0.1.49";
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;
@@ -4718,7 +4718,7 @@ const _sfc_main$U = {
4718
4718
  },
4719
4719
  methods: {
4720
4720
  clicked(item) {
4721
- this.$qik.dispatch("item:view", item);
4721
+ this.$sdk.dispatch("item:view", item);
4722
4722
  }
4723
4723
  }
4724
4724
  };
@@ -4736,7 +4736,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
4736
4736
  ], 64)) : createCommentVNode("", true)
4737
4737
  ], 64));
4738
4738
  }
4739
- var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-ff63e962"]]);
4739
+ var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-255b9ec8"]]);
4740
4740
  var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4741
4741
  function extract(row, path) {
4742
4742
  if (!row) {
@@ -5499,7 +5499,7 @@ const _sfc_main$M = {
5499
5499
  if (self2.buildMode || self2.nuxtMode) {
5500
5500
  event.preventDefault();
5501
5501
  event.stopImmediatePropagation();
5502
- return self2.$qik.app.to(self2.to);
5502
+ return self2.$sdk.app.to(self2.to);
5503
5503
  }
5504
5504
  }
5505
5505
  },
@@ -5509,14 +5509,14 @@ const _sfc_main$M = {
5509
5509
  return this.href;
5510
5510
  }
5511
5511
  if (this.nuxtMode) {
5512
- return this.$qik.app.createHref(this.to);
5512
+ return this.$sdk.app.createHref(this.to);
5513
5513
  }
5514
5514
  },
5515
5515
  nuxtMode() {
5516
- return this.to && this.$qik.nuxt && this.$qik.app && this.$qik.app.createHref;
5516
+ return this.to && this.$sdk.nuxt && this.$sdk.app && this.$sdk.app.createHref;
5517
5517
  },
5518
5518
  buildMode() {
5519
- return !!this.$qik && this.$qik.app && this.$qik.app.builder;
5519
+ return !!this.$sdk && this.$sdk.app && this.$sdk.app.builder;
5520
5520
  },
5521
5521
  class() {
5522
5522
  var array = [];
@@ -5557,7 +5557,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
5557
5557
  _: 3
5558
5558
  }, 8, ["onClick", "to", "href", "target", "class"]);
5559
5559
  }
5560
- var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-4ed46cbc"]]);
5560
+ var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-39903da2"]]);
5561
5561
  var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
5562
5562
  const _sfc_main$L = {
5563
5563
  props: {
@@ -5830,11 +5830,11 @@ const _sfc_main$J = {
5830
5830
  return parseInt(this.height);
5831
5831
  },
5832
5832
  id() {
5833
- return this.$qik.utils.id(this.model);
5833
+ return this.$sdk.utils.id(this.model);
5834
5834
  },
5835
5835
  params() {
5836
5836
  var params = {};
5837
- params.access_token = this.$qik.auth.getCurrentToken();
5837
+ params.access_token = this.$sdk.auth.getCurrentToken();
5838
5838
  if (this.imageWidth) {
5839
5839
  params.w = this.imageWidth ? this.imageWidth : this.defaultWidth;
5840
5840
  }
@@ -5858,13 +5858,13 @@ const _sfc_main$J = {
5858
5858
  return params;
5859
5859
  },
5860
5860
  src() {
5861
- return this.$qik.api.generateEndpointURL(`/${this.type}/${this.id}`, this.params);
5861
+ return this.$sdk.api.generateEndpointURL(`/${this.type}/${this.id}`, this.params);
5862
5862
  },
5863
5863
  previewSrc() {
5864
5864
  var params = Object.assign({}, this.params);
5865
5865
  params.w = 50;
5866
5866
  delete params.h;
5867
- return this.$qik.api.generateEndpointURL(`/${this.type}/${this.id}`, params);
5867
+ return this.$sdk.api.generateEndpointURL(`/${this.type}/${this.id}`, params);
5868
5868
  },
5869
5869
  style() {
5870
5870
  var _a, _b, _c;
@@ -5897,7 +5897,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
5897
5897
  createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$D)
5898
5898
  ], 4);
5899
5899
  }
5900
- var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-7b68ec1a"]]);
5900
+ var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-3d48a5ec"]]);
5901
5901
  var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
5902
5902
  const _sfc_main$I = {
5903
5903
  props: {
@@ -6212,10 +6212,10 @@ var InputMixin = {
6212
6212
  cleanTextInput(val, type, instance) {
6213
6213
  switch (type) {
6214
6214
  case "url":
6215
- val = instance.$qik.utils.parseURL(val);
6215
+ val = instance.$sdk.utils.parseURL(val);
6216
6216
  break;
6217
6217
  case "key":
6218
- val = instance.$qik.utils.machineName(val);
6218
+ val = instance.$sdk.utils.machineName(val);
6219
6219
  break;
6220
6220
  case "integer":
6221
6221
  val = parseInt(String(val).replace(/[^0-9-]/g, ""));
@@ -6528,7 +6528,7 @@ const _sfc_main$E = {
6528
6528
  },
6529
6529
  mixins: [InputMixin],
6530
6530
  async created() {
6531
- var countries = await this.$qik.system.countries();
6531
+ var countries = await this.$sdk.system.countries();
6532
6532
  var mapped = countries.reduce(function(set, country) {
6533
6533
  if (!country.countryCallingCodes || !country.countryCallingCodes.length) {
6534
6534
  return set;
@@ -6588,7 +6588,7 @@ const _sfc_main$E = {
6588
6588
  }
6589
6589
  }
6590
6590
  };
6591
- const _withScopeId$3 = (n2) => (pushScopeId("data-v-6e2a7569"), n2 = n2(), popScopeId(), n2);
6591
+ const _withScopeId$3 = (n2) => (pushScopeId("data-v-79694d60"), n2 = n2(), popScopeId(), n2);
6592
6592
  const _hoisted_1$y = {
6593
6593
  key: 0,
6594
6594
  class: "ux-field-title"
@@ -6750,7 +6750,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
6750
6750
  }))
6751
6751
  ], 64);
6752
6752
  }
6753
- var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-6e2a7569"]]);
6753
+ var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-79694d60"]]);
6754
6754
  var timezone_vue_vue_type_style_index_0_scoped_true_lang = "";
6755
6755
  function isUndefined$4(entry) {
6756
6756
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
@@ -7354,7 +7354,7 @@ const _sfc_main$C = {
7354
7354
  },
7355
7355
  methods: {
7356
7356
  clicked() {
7357
- this.$qik.dispatch("item:view", this.item);
7357
+ this.$sdk.dispatch("item:view", this.item);
7358
7358
  }
7359
7359
  }
7360
7360
  };
@@ -7387,7 +7387,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
7387
7387
  })
7388
7388
  ]);
7389
7389
  }
7390
- var Item = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-4f7e8052"]]);
7390
+ var Item = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-1eeabf50"]]);
7391
7391
  /**!
7392
7392
  * Sortable 1.14.0
7393
7393
  * @author RubaXa <trash@rubaxa.org>
@@ -10080,10 +10080,10 @@ const _sfc_main$B = {
10080
10080
  if (!user) {
10081
10081
  return false;
10082
10082
  }
10083
- return this.$qik.access.canEditItem(user, item);
10083
+ return this.$sdk.access.canEditItem(user, item);
10084
10084
  },
10085
10085
  async edit(item) {
10086
- var result = await this.$qik.global.edit(item, true).catch(function(err) {
10086
+ var result = await this.$sdk.global.edit(item, true).catch(function(err) {
10087
10087
  });
10088
10088
  for (var prop in result) {
10089
10089
  item[prop] = result[prop];
@@ -10102,7 +10102,7 @@ const _sfc_main$B = {
10102
10102
  lockFilter: self2.field.lockFilter
10103
10103
  }
10104
10104
  };
10105
- self2.$qik.browse(this.field.referenceType, modalOptions).then(function(newSelection) {
10105
+ self2.$sdk.browse(this.field.referenceType, modalOptions).then(function(newSelection) {
10106
10106
  self2.model = self2.multiValue ? newSelection : newSelection[0];
10107
10107
  }).catch(function(err) {
10108
10108
  console.log("Error", err);
@@ -10257,7 +10257,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
10257
10257
  }, 8, ["onClick"])
10258
10258
  ], 64);
10259
10259
  }
10260
- var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-62ba944e"]]);
10260
+ var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-49f2d443"]]);
10261
10261
  var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
10262
10262
  function isUndefined$3(entry) {
10263
10263
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
@@ -10272,7 +10272,7 @@ const _sfc_main$A = {
10272
10272
  mixins: [InputMixin],
10273
10273
  async created() {
10274
10274
  this.model = this.model;
10275
- var glossary = await this.$qik.content.glossary();
10275
+ var glossary = await this.$sdk.content.glossary();
10276
10276
  var typeList = glossary;
10277
10277
  if (this.field.basicTypes === false) {
10278
10278
  typeList = typeList.filter(function(definition) {
@@ -10429,7 +10429,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
10429
10429
  ])
10430
10430
  ], 2);
10431
10431
  }
10432
- var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A], ["__scopeId", "data-v-bd09dc46"]]);
10432
+ var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A], ["__scopeId", "data-v-49a55ef8"]]);
10433
10433
  var currency_vue_vue_type_style_index_0_scoped_true_lang = "";
10434
10434
  const _sfc_main$z = {
10435
10435
  props: {
@@ -10501,7 +10501,7 @@ const _sfc_main$z = {
10501
10501
  return String(this.field.currency || "usd").toLowerCase();
10502
10502
  },
10503
10503
  prefix() {
10504
- return this.$qik.utils.currencySymbol(this.currency);
10504
+ return this.$sdk.utils.currencySymbol(this.currency);
10505
10505
  },
10506
10506
  suffix() {
10507
10507
  return String(this.currency).toUpperCase();
@@ -10646,7 +10646,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
10646
10646
  ], 2))
10647
10647
  ], 64);
10648
10648
  }
10649
- var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-0f0203d4"]]);
10649
+ var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-5dd6344d"]]);
10650
10650
  var textfield_vue_vue_type_style_index_0_scoped_true_lang = "";
10651
10651
  const _sfc_main$y = {
10652
10652
  props: {
@@ -11329,7 +11329,7 @@ const _sfc_main$t = {
11329
11329
  }
11330
11330
  },
11331
11331
  async created() {
11332
- this.comparators = await this.$qik.content.comparators();
11332
+ this.comparators = await this.$sdk.content.comparators();
11333
11333
  },
11334
11334
  data() {
11335
11335
  return {
@@ -11997,7 +11997,7 @@ const _sfc_main$s = {
11997
11997
  allFields.push(dataFields);
11998
11998
  }
11999
11999
  }
12000
- var mapped = self2.$qik.utils.mapFields(allFields, { includeArrayDelimeter: true });
12000
+ var mapped = self2.$sdk.utils.mapFields(allFields, { includeArrayDelimeter: true });
12001
12001
  return mapped;
12002
12002
  },
12003
12003
  operatorField() {
@@ -12316,7 +12316,7 @@ const _sfc_main$q = {
12316
12316
  if (!referenceType2) {
12317
12317
  return this.definition = null;
12318
12318
  }
12319
- var glossary = await this.$qik.content.glossary({ hash: true });
12319
+ var glossary = await this.$sdk.content.glossary({ hash: true });
12320
12320
  this.definition = glossary[referenceType2];
12321
12321
  },
12322
12322
  immediate: true
@@ -12418,7 +12418,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
12418
12418
  }, null, 8, ["definition", "modelValue"]))
12419
12419
  ], 64);
12420
12420
  }
12421
- var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-514ca0dc"]]);
12421
+ var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-1721388e"]]);
12422
12422
  var switch_vue_vue_type_style_index_0_scoped_true_lang = "";
12423
12423
  const _sfc_main$p = {
12424
12424
  mixins: [InputMixin],
@@ -12591,7 +12591,7 @@ const _sfc_main$n = {
12591
12591
  },
12592
12592
  methods: {
12593
12593
  filesize(size) {
12594
- return this.$qik.files.filesize(size);
12594
+ return this.$sdk.files.filesize(size);
12595
12595
  },
12596
12596
  remove(index2) {
12597
12597
  var self2 = this;
@@ -12638,14 +12638,14 @@ const _sfc_main$n = {
12638
12638
  }, 0);
12639
12639
  }
12640
12640
  };
12641
- const CancelToken = self2.$qik.api.CancelToken;
12641
+ const CancelToken = self2.$sdk.api.CancelToken;
12642
12642
  const source = CancelToken.source();
12643
12643
  config.cancelToken = source.token;
12644
12644
  fileItem.cancelToken = source;
12645
12645
  config.headers = {
12646
12646
  "Content-Type": void 0
12647
12647
  };
12648
- return self2.$qik.api.post(`/file/upload`, body, config).then(function(res) {
12648
+ return self2.$sdk.api.post(`/file/upload`, body, config).then(function(res) {
12649
12649
  fileItem.state = "complete";
12650
12650
  fileItem.result = res.data;
12651
12651
  fileItem.cancelToken = null;
@@ -12809,7 +12809,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
12809
12809
  }, 8, ["onFiles"]))
12810
12810
  ], 64);
12811
12811
  }
12812
- var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-124f63e6"]]);
12812
+ var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-1c070f26"]]);
12813
12813
  var group_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
12814
12814
  const _sfc_main$m = {
12815
12815
  mixins: [InputMixin],
@@ -14084,7 +14084,7 @@ const _sfc_main$f = {
14084
14084
  },
14085
14085
  computed: {
14086
14086
  interface() {
14087
- var editor = this.$qik.global.editor;
14087
+ var editor = this.$sdk.global.editor;
14088
14088
  if (!editor) {
14089
14089
  return;
14090
14090
  }
@@ -14203,7 +14203,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
14203
14203
  ])
14204
14204
  ], 2);
14205
14205
  }
14206
- var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-bfeface6"]]);
14206
+ var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-7b06d646"]]);
14207
14207
  var InternalMenuSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
14208
14208
  function isUndefined(entry) {
14209
14209
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
@@ -14266,7 +14266,7 @@ const _sfc_main$e = {
14266
14266
  },
14267
14267
  computed: {
14268
14268
  interface() {
14269
- var editor = this.$qik.global.editor;
14269
+ var editor = this.$sdk.global.editor;
14270
14270
  if (!editor) {
14271
14271
  return;
14272
14272
  }
@@ -14369,7 +14369,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
14369
14369
  ])
14370
14370
  ], 2);
14371
14371
  }
14372
- var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-2002cd50"]]);
14372
+ var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-a04e9882"]]);
14373
14373
  var jsep = { exports: {} };
14374
14374
  (function(module, exports) {
14375
14375
  (function(root2) {
@@ -15394,7 +15394,7 @@ const _sfc_main$d = {
15394
15394
  this.$emit("field:dirty", this);
15395
15395
  },
15396
15396
  changeString(v) {
15397
- this.validateResults = this.$qik.content.validateField(this.fieldModel, this.actualField);
15397
+ this.validateResults = this.$sdk.content.validateField(this.fieldModel, this.actualField);
15398
15398
  },
15399
15399
  modelValue(val, old) {
15400
15400
  if (this.watching) {
@@ -15853,7 +15853,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
15853
15853
  $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
15854
15854
  ], 34)) : createCommentVNode("", true);
15855
15855
  }
15856
- var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-84a6cd12"]]);
15856
+ var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-44748cb0"]]);
15857
15857
  var form_vue_vue_type_style_index_0_scoped_true_lang = "";
15858
15858
  const _sfc_main$c = {
15859
15859
  props: {
@@ -16142,7 +16142,7 @@ const _sfc_main$b = {
16142
16142
  self2.state = STATE_PROCESSING;
16143
16143
  await self2.preSubmit();
16144
16144
  const submission = JSON.parse(JSON.stringify(self2.model));
16145
- self2.$qik.api.post(`/form/${self2.formID}`, submission).then(submissionComplete, submissionFailed);
16145
+ self2.$sdk.api.post(`/form/${self2.formID}`, submission).then(submissionComplete, submissionFailed);
16146
16146
  async function submissionComplete(res) {
16147
16147
  await self2.postSubmit();
16148
16148
  self2.state = STATE_COMPLETE;
@@ -16207,14 +16207,14 @@ const _sfc_main$b = {
16207
16207
  return (_a = this.formState) == null ? void 0 : _a.invalid;
16208
16208
  },
16209
16209
  formID() {
16210
- return this.$qik.utils.id(this.form);
16210
+ return this.$sdk.utils.id(this.form);
16211
16211
  },
16212
16212
  fields() {
16213
16213
  return this.form.fields || [];
16214
16214
  }
16215
16215
  }
16216
16216
  };
16217
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-165f973d"), n2 = n2(), popScopeId(), n2);
16217
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-7ac54a6a"), n2 = n2(), popScopeId(), n2);
16218
16218
  const _hoisted_1$9 = { class: "ux-submission-form" };
16219
16219
  const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("h3", null, "An error occurred", -1));
16220
16220
  const _hoisted_3$5 = { key: 0 };
@@ -16287,7 +16287,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
16287
16287
  ], 64))
16288
16288
  ]);
16289
16289
  }
16290
- var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-165f973d"]]);
16290
+ var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-7ac54a6a"]]);
16291
16291
  var search_vue_vue_type_style_index_0_scoped_true_lang = "";
16292
16292
  const _sfc_main$a = {
16293
16293
  props: {
@@ -17385,8 +17385,8 @@ function defaultColumns(self2, type) {
17385
17385
  icon: "fa-download",
17386
17386
  action(row) {
17387
17387
  return new Promise(async function(resolve, reject) {
17388
- await self2.$qik.auth.ensureValidToken();
17389
- var url = self2.$qik.files.downloadUrl(self2.basicType, row);
17388
+ await self2.$sdk.auth.ensureValidToken();
17389
+ var url = self2.$sdk.files.downloadUrl(self2.basicType, row);
17390
17390
  window.open(url);
17391
17391
  resolve();
17392
17392
  });
@@ -17461,11 +17461,11 @@ const _sfc_main$5 = {
17461
17461
  Search
17462
17462
  },
17463
17463
  deactivated() {
17464
- typeCacheKey = this.$qik.global.cacheKeys[this.type];
17464
+ typeCacheKey = this.$sdk.global.cacheKeys[this.type];
17465
17465
  },
17466
17466
  async activated() {
17467
17467
  var self2 = this;
17468
- var nowCacheKey = self2.$qik.global.cacheKeys[self2.type];
17468
+ var nowCacheKey = self2.$sdk.global.cacheKeys[self2.type];
17469
17469
  if (typeCacheKey != nowCacheKey) {
17470
17470
  typeCacheKey = nowCacheKey;
17471
17471
  self2.dataSource = await self2.load();
@@ -17475,7 +17475,7 @@ const _sfc_main$5 = {
17475
17475
  var self2 = this;
17476
17476
  await Promise.all([
17477
17477
  new Promise(async function(resolve, reject) {
17478
- var glossary = await self2.$qik.content.glossary({ hash: true });
17478
+ var glossary = await self2.$sdk.content.glossary({ hash: true });
17479
17479
  var definition = glossary[self2.type];
17480
17480
  self2.definition = definition;
17481
17481
  if (!definition) {
@@ -17600,7 +17600,7 @@ const _sfc_main$5 = {
17600
17600
  allFields.push(dataFields);
17601
17601
  }
17602
17602
  }
17603
- var mapped = self2.$qik.utils.mapFields(allFields).filter(function(field) {
17603
+ var mapped = self2.$sdk.utils.mapFields(allFields).filter(function(field) {
17604
17604
  var isObject2 = field.type == "group" && field.asObject && (field.minimum == 1 && field.maximum == 1);
17605
17605
  return !isObject2;
17606
17606
  }).map(function(field) {
@@ -17618,7 +17618,7 @@ const _sfc_main$5 = {
17618
17618
  return this.manager.items.slice();
17619
17619
  },
17620
17620
  activeFilters() {
17621
- var activeFilters = this.$qik.filter.activeFilters(this.filter).reduce(function(set, filter) {
17621
+ var activeFilters = this.$sdk.filter.activeFilters(this.filter).reduce(function(set, filter) {
17622
17622
  if (!filter.key) {
17623
17623
  return set;
17624
17624
  }
@@ -17687,11 +17687,11 @@ const _sfc_main$5 = {
17687
17687
  return columns;
17688
17688
  },
17689
17689
  filterChangeString() {
17690
- var string = this.$qik.filter.filterChangeString(this.filter);
17690
+ var string = this.$sdk.filter.filterChangeString(this.filter);
17691
17691
  return string;
17692
17692
  },
17693
17693
  change() {
17694
- return `${JSON.stringify([this.page, this.sort, this.keywords, this.selectFields, this.type, this.filterChangeString])}-${this.cacheKey}-${this.$qik.global.cacheKeys[this.type]}`;
17694
+ return `${JSON.stringify([this.page, this.sort, this.keywords, this.selectFields, this.type, this.filterChangeString])}-${this.cacheKey}-${this.$sdk.global.cacheKeys[this.type]}`;
17695
17695
  },
17696
17696
  items() {
17697
17697
  return this.dataSource.items;
@@ -17807,7 +17807,7 @@ const _sfc_main$5 = {
17807
17807
  if (self2.trash) {
17808
17808
  loadCriteria.trash = true;
17809
17809
  }
17810
- const { promise, cancel } = await self2.$qik.content.list(self2.type, loadCriteria, { cancellable: true });
17810
+ const { promise, cancel } = await self2.$sdk.content.list(self2.type, loadCriteria, { cancellable: true });
17811
17811
  cancelInflight = cancel;
17812
17812
  promise.then(function(res) {
17813
17813
  self2.loading = false;
@@ -17845,7 +17845,7 @@ const _sfc_main$5 = {
17845
17845
  };
17846
17846
  }
17847
17847
  };
17848
- const _withScopeId = (n2) => (pushScopeId("data-v-3e12c643"), n2 = n2(), popScopeId(), n2);
17848
+ const _withScopeId = (n2) => (pushScopeId("data-v-444f4547"), n2 = n2(), popScopeId(), n2);
17849
17849
  const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
17850
17850
  const _hoisted_2$4 = { class: "footer" };
17851
17851
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
@@ -18019,7 +18019,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
18019
18019
  _: 3
18020
18020
  })) : createCommentVNode("", true);
18021
18021
  }
18022
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-3e12c643"]]);
18022
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-444f4547"]]);
18023
18023
  var ModalMixin = {
18024
18024
  props: {
18025
18025
  options: {
@@ -18057,11 +18057,11 @@ const _sfc_main$4 = {
18057
18057
  this.dismiss();
18058
18058
  },
18059
18059
  dismiss(err) {
18060
- this.$qik.closeModal(this.modal.id);
18060
+ this.$sdk.closeModal(this.modal.id);
18061
18061
  this.modal.reject(err);
18062
18062
  },
18063
18063
  close(value) {
18064
- this.$qik.closeModal(this.modal.id);
18064
+ this.$sdk.closeModal(this.modal.id);
18065
18065
  this.modal.resolve(value);
18066
18066
  }
18067
18067
  },
@@ -18098,7 +18098,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
18098
18098
  ], 4)
18099
18099
  ]);
18100
18100
  }
18101
- var QikModal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-a5940076"]]);
18101
+ var QikModal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-53027fe5"]]);
18102
18102
  var ConfirmModal_vue_vue_type_style_index_0_scoped_true_lang = "";
18103
18103
  const _sfc_main$3 = {
18104
18104
  mixins: [ModalMixin]
@@ -18372,11 +18372,11 @@ const _sfc_main = {
18372
18372
  mixins: [ModalMixin],
18373
18373
  async created() {
18374
18374
  var self2 = this;
18375
- var glossary = await self2.$qik.content.glossary({ hash: true });
18375
+ var glossary = await self2.$sdk.content.glossary({ hash: true });
18376
18376
  self2.loading = false;
18377
18377
  var definition = glossary[self2.type];
18378
18378
  if (!definition) {
18379
- self2.$qik.notify("You do not have the required permissions to list content of this type");
18379
+ self2.$sdk.notify("You do not have the required permissions to list content of this type");
18380
18380
  self2.dismiss();
18381
18381
  return;
18382
18382
  }
@@ -18507,7 +18507,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18507
18507
  _: 1
18508
18508
  });
18509
18509
  }
18510
- var QikContentModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2efc11d9"]]);
18510
+ var QikContentModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-57c31aea"]]);
18511
18511
  function device() {
18512
18512
  var service2 = reactive({
18513
18513
  mounted: false,