@qikdev/vue-ui 0.2.39 → 0.2.41

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, createVNode, withCtx, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, vModelSelect, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, reactive, watch } from "vue";
34
34
  import { EventDispatcher } from "@qikdev/sdk";
35
- const version$1 = "0.2.39";
35
+ const version$1 = "0.2.41";
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;
@@ -158,7 +158,11 @@ const _sfc_main$1f = {
158
158
  tabs() {
159
159
  const self2 = this;
160
160
  const slotChildren = self2.$slots.default().map(function(child) {
161
- if (child.props.enabled === false) {
161
+ var _a;
162
+ if (!child.props) {
163
+ return;
164
+ }
165
+ if (((_a = child.props) == null ? void 0 : _a.enabled) === false) {
162
166
  return;
163
167
  }
164
168
  return child;
@@ -250,7 +254,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
250
254
  ], 64))
251
255
  ], 2);
252
256
  }
253
- var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-2a0551fe"]]);
257
+ var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-621f2a2f"]]);
254
258
  const _sfc_main$1e = {
255
259
  props: {
256
260
  heading: {
@@ -18619,7 +18623,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
18619
18623
  $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$b, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
18620
18624
  ], 34)) : createCommentVNode("", true);
18621
18625
  }
18622
- var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-eabe4bcc"]]);
18626
+ var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-791755b4"]]);
18623
18627
  function arrayReduce$1(array, iteratee, accumulator, initAccum) {
18624
18628
  var index2 = -1, length = array == null ? 0 : array.length;
18625
18629
  if (initAccum && length) {
@@ -19246,6 +19250,12 @@ const _sfc_main$c = {
19246
19250
  };
19247
19251
  },
19248
19252
  props: {
19253
+ submitText: {
19254
+ type: String,
19255
+ default() {
19256
+ return "Submit";
19257
+ }
19258
+ },
19249
19259
  modelValue: {
19250
19260
  type: Object,
19251
19261
  default() {
@@ -19300,7 +19310,7 @@ const _sfc_main$c = {
19300
19310
  }
19301
19311
  }
19302
19312
  };
19303
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-670d0b78"), n2 = n2(), popScopeId(), n2);
19313
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-e1425590"), n2 = n2(), popScopeId(), n2);
19304
19314
  const _hoisted_1$a = { class: "ux-submission-form" };
19305
19315
  const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("h3", null, "An error occurred", -1));
19306
19316
  const _hoisted_3$5 = { key: 0 };
@@ -19364,7 +19374,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
19364
19374
  loading: $data.state === "form.processing"
19365
19375
  }, {
19366
19376
  default: withCtx(() => [
19367
- createTextVNode(" Submit ")
19377
+ createTextVNode(toDisplayString($props.submitText), 1)
19368
19378
  ]),
19369
19379
  _: 1
19370
19380
  }, 8, ["disabled", "onClick", "loading"])
@@ -19372,7 +19382,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
19372
19382
  ], 64))
19373
19383
  ]);
19374
19384
  }
19375
- var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-670d0b78"]]);
19385
+ var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-e1425590"]]);
19376
19386
  var search_vue_vue_type_style_index_0_scoped_true_lang = "";
19377
19387
  const _sfc_main$b = {
19378
19388
  props: {