@qikdev/vue-ui 0.1.88 → 0.1.92

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.88";
35
+ const version$1 = "0.1.92";
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;
@@ -5672,9 +5672,8 @@ const _sfc_main$V = {
5672
5672
  }
5673
5673
  if (this.to) {
5674
5674
  return `router-link`;
5675
- } else {
5676
- return "a";
5677
5675
  }
5676
+ return "a";
5678
5677
  }
5679
5678
  }
5680
5679
  };
@@ -5692,7 +5691,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
5692
5691
  _: 3
5693
5692
  }, 8, ["onClick", "to", "href", "target", "class"]);
5694
5693
  }
5695
- var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-efa81728"]]);
5694
+ var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-8b82829a"]]);
5696
5695
  var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
5697
5696
  const _sfc_main$U = {
5698
5697
  props: {
@@ -14644,6 +14643,9 @@ const _sfc_main$n = {
14644
14643
  },
14645
14644
  lang: {
14646
14645
  type: String
14646
+ },
14647
+ readonly: {
14648
+ type: Boolean
14647
14649
  }
14648
14650
  },
14649
14651
  watch: {
@@ -14676,6 +14678,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
14676
14678
  default: withCtx(() => [
14677
14679
  createVNode(_component_v_ace_editor, {
14678
14680
  onBlur: $options.format,
14681
+ readonly: $props.readonly,
14679
14682
  class: "editor-wrap",
14680
14683
  value: $data.model,
14681
14684
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
@@ -14684,12 +14687,12 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
14684
14687
  lang: $props.lang,
14685
14688
  theme: "tomorrow_night_eighties",
14686
14689
  style: { "height": "300px" }
14687
- }, null, 8, ["onBlur", "value", "onInit", "lang"])
14690
+ }, null, 8, ["onBlur", "readonly", "value", "onInit", "lang"])
14688
14691
  ]),
14689
14692
  _: 1
14690
14693
  })) : createCommentVNode("", true);
14691
14694
  }
14692
- var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-ff0cfcf4"]]);
14695
+ var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-edf89936"]]);
14693
14696
  var codeEditorField_vue_vue_type_style_index_0_scoped_true_lang = "";
14694
14697
  const _sfc_main$m = {
14695
14698
  components: {
@@ -14906,9 +14909,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
14906
14909
  const _component_ux_icon = resolveComponent("ux-icon");
14907
14910
  const _component_ux_button = resolveComponent("ux-button");
14908
14911
  const _component_flex_row = resolveComponent("flex-row");
14909
- return openBlock(), createElementBlock("div", {
14910
- onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => _ctx.enterPress($event), ["stop"]), ["enter"]))
14911
- }, [
14912
+ return openBlock(), createElementBlock("div", null, [
14912
14913
  _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$f, [
14913
14914
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
14914
14915
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
@@ -14976,9 +14977,9 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
14976
14977
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
14977
14978
  }, null, 8, ["onFocus", "modelValue"])
14978
14979
  ]))
14979
- ], 32);
14980
+ ]);
14980
14981
  }
14981
- var RichTextField = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-ba71f3d6"]]);
14982
+ var RichTextField = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-46ce3b2b"]]);
14982
14983
  var InternalRouteSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
14983
14984
  function isUndefined$1(entry) {
14984
14985
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
@@ -18550,6 +18551,9 @@ const _sfc_main$9 = {
18550
18551
  },
18551
18552
  selectedItems(items) {
18552
18553
  this.$emit("update:modelValue", items);
18554
+ },
18555
+ loadKey() {
18556
+ this.$emit("loaded");
18553
18557
  }
18554
18558
  },
18555
18559
  computed: {
@@ -18905,7 +18909,6 @@ const _sfc_main$9 = {
18905
18909
  cancelInflight = null;
18906
18910
  self2.loading = false;
18907
18911
  self2.loadKey++;
18908
- self2.$emit("loaded");
18909
18912
  });
18910
18913
  promise.catch(function(err) {
18911
18914
  cancelInflight = null;
@@ -18946,7 +18949,7 @@ const _sfc_main$9 = {
18946
18949
  };
18947
18950
  }
18948
18951
  };
18949
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-7783955b"), n2 = n2(), popScopeId(), n2);
18952
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-1a77f116"), n2 = n2(), popScopeId(), n2);
18950
18953
  const _hoisted_1$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
18951
18954
  const _hoisted_2$6 = { key: 0 };
18952
18955
  const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
@@ -19134,7 +19137,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
19134
19137
  _: 3
19135
19138
  })) : createCommentVNode("", true);
19136
19139
  }
19137
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-7783955b"]]);
19140
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-1a77f116"]]);
19138
19141
  var ScopeItem_vue_vue_type_style_index_0_scoped_true_lang = "";
19139
19142
  const _sfc_main$8 = {
19140
19143
  props: {