@qikdev/vue-ui 0.1.81 → 0.1.82

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, vModelText, vModelSelect, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
34
34
  import { EventDispatcher } from "@qikdev/sdk";
35
- const version$1 = "0.1.81";
35
+ const version$1 = "0.1.82";
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;
@@ -18463,6 +18463,9 @@ const _sfc_main$5 = {
18463
18463
  }
18464
18464
  },
18465
18465
  computed: {
18466
+ viewModeCacheKey() {
18467
+ return `${this.cacheKey}-${this.loadKey}`;
18468
+ },
18466
18469
  dateRangeField() {
18467
18470
  return {
18468
18471
  type: "object",
@@ -18811,6 +18814,7 @@ const _sfc_main$5 = {
18811
18814
  promise.then(function(res) {
18812
18815
  cancelInflight = null;
18813
18816
  self2.loading = false;
18817
+ self2.loadKey++;
18814
18818
  });
18815
18819
  promise.catch(function(err) {
18816
18820
  cancelInflight = null;
@@ -18833,6 +18837,7 @@ const _sfc_main$5 = {
18833
18837
  manager,
18834
18838
  loading: true,
18835
18839
  additionalFields: [],
18840
+ loadKey: 1,
18836
18841
  page: {
18837
18842
  size: 50,
18838
18843
  index: 1
@@ -18849,7 +18854,7 @@ const _sfc_main$5 = {
18849
18854
  };
18850
18855
  }
18851
18856
  };
18852
- const _withScopeId = (n2) => (pushScopeId("data-v-2132dfaf"), n2 = n2(), popScopeId(), n2);
18857
+ const _withScopeId = (n2) => (pushScopeId("data-v-90e9b06e"), n2 = n2(), popScopeId(), n2);
18853
18858
  const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
18854
18859
  const _hoisted_2$4 = { key: 0 };
18855
18860
  const _hoisted_3$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
@@ -18888,12 +18893,13 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
18888
18893
  default: withCtx(() => [
18889
18894
  $options.viewMode && $options.viewMode.component ? (openBlock(), createBlock(resolveDynamicComponent($options.viewMode.component), {
18890
18895
  key: 0,
18896
+ cacheKey: $options.viewModeCacheKey,
18891
18897
  selection: $data.manager.items,
18892
18898
  items: $options.items,
18893
18899
  "onClick:actions": $options.actionsClicked,
18894
18900
  "onSelect:item:toggle": $options.rowToggled,
18895
18901
  "onClick:item": $options.rowClicked
18896
- }, null, 8, ["selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (openBlock(), createBlock(_component_native_table, {
18902
+ }, null, 8, ["cacheKey", "selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (openBlock(), createBlock(_component_native_table, {
18897
18903
  key: 1,
18898
18904
  enableActions: $props.enableActions,
18899
18905
  total: $options.totalItems,
@@ -19034,7 +19040,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
19034
19040
  _: 3
19035
19041
  })) : createCommentVNode("", true);
19036
19042
  }
19037
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-2132dfaf"]]);
19043
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-90e9b06e"]]);
19038
19044
  var ModalMixin = {
19039
19045
  props: {
19040
19046
  options: {