@qikdev/vue-ui 0.1.49 → 0.1.50

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.49";
35
+ const version$1 = "0.1.50";
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;
@@ -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-53027fe5"]]);
18101
+ var UxModal = /* @__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]
@@ -18163,7 +18163,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
18163
18163
  _: 1
18164
18164
  });
18165
18165
  }
18166
- var QikConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-20b62981"]]);
18166
+ var UxConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-20b62981"]]);
18167
18167
  var OptionsModal_vue_vue_type_style_index_0_scoped_true_lang = "";
18168
18168
  const _sfc_main$2 = {
18169
18169
  data() {
@@ -18261,7 +18261,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
18261
18261
  _: 1
18262
18262
  });
18263
18263
  }
18264
- var QikOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-09008c8a"]]);
18264
+ var UxOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-09008c8a"]]);
18265
18265
  var PromptModal_vue_vue_type_style_index_0_scoped_true_lang = "";
18266
18266
  const _sfc_main$1 = {
18267
18267
  mixins: [ModalMixin],
@@ -18362,7 +18362,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
18362
18362
  })
18363
18363
  ], 32);
18364
18364
  }
18365
- var QikPromptModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-4af3c888"]]);
18365
+ var UxPromptModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-4af3c888"]]);
18366
18366
  var ContentModal_vue_vue_type_style_index_0_scoped_true_lang = "";
18367
18367
  const _sfc_main = {
18368
18368
  components: {
@@ -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-57c31aea"]]);
18510
+ var UxContentModal = /* @__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,
@@ -18684,32 +18684,32 @@ const defaultComponents = {
18684
18684
  UxTab: UXTab,
18685
18685
  Spinner,
18686
18686
  ProgressBar,
18687
- QikModal
18687
+ UxModal
18688
18688
  };
18689
18689
  const QikUI = {
18690
- install(Vue, qik) {
18690
+ install(Vue, sdk) {
18691
18691
  console.log(versionName);
18692
- qik.modals = reactive([]);
18693
- qik.modal = function(modal) {
18692
+ sdk.modals = reactive([]);
18693
+ sdk.modal = function(modal) {
18694
18694
  return new Promise(function(resolve, reject) {
18695
- modal.id = qik.modals.length;
18695
+ modal.id = sdk.modals.length;
18696
18696
  modal.resolve = resolve;
18697
18697
  modal.reject = reject;
18698
- qik.modals.splice(modal.id, 0, modal);
18698
+ sdk.modals.splice(modal.id, 0, modal);
18699
18699
  });
18700
18700
  };
18701
- qik.browse = function(type, options) {
18701
+ sdk.browse = function(type, options) {
18702
18702
  options = options || {};
18703
18703
  options.type = type;
18704
18704
  options.model = options.model || [];
18705
- return qik.modal({
18706
- component: QikContentModal,
18705
+ return sdk.modal({
18706
+ component: UxContentModal,
18707
18707
  options
18708
18708
  });
18709
18709
  };
18710
- qik.options = function(choices, title, description) {
18711
- return qik.modal({
18712
- component: QikOptionsModal,
18710
+ sdk.options = function(choices, title, description) {
18711
+ return sdk.modal({
18712
+ component: UxOptionsModal,
18713
18713
  options: {
18714
18714
  title,
18715
18715
  description,
@@ -18717,29 +18717,29 @@ const QikUI = {
18717
18717
  }
18718
18718
  });
18719
18719
  };
18720
- qik.prompt = function(fields, options) {
18720
+ sdk.prompt = function(fields, options) {
18721
18721
  options = options || {};
18722
18722
  options.model = options.model || {};
18723
18723
  options.fields = fields;
18724
- return qik.modal({
18725
- component: QikPromptModal,
18724
+ return sdk.modal({
18725
+ component: UxPromptModal,
18726
18726
  options
18727
18727
  });
18728
18728
  };
18729
- qik.confirm = function(title, options) {
18729
+ sdk.confirm = function(title, options) {
18730
18730
  options = options || {};
18731
18731
  options.title = title;
18732
- return qik.modal({
18733
- component: QikConfirmModal,
18732
+ return sdk.modal({
18733
+ component: UxConfirmModal,
18734
18734
  options
18735
18735
  });
18736
18736
  };
18737
- qik.closeModal = function(id) {
18738
- var modal = qik.modals.find(function(modal2) {
18737
+ sdk.closeModal = function(id) {
18738
+ var modal = sdk.modals.find(function(modal2) {
18739
18739
  return modal2.id == id;
18740
18740
  });
18741
- var index2 = qik.modals.indexOf(modal);
18742
- qik.modals.splice(index2, 1);
18741
+ var index2 = sdk.modals.indexOf(modal);
18742
+ sdk.modals.splice(index2, 1);
18743
18743
  };
18744
18744
  for (const prop in defaultComponents) {
18745
18745
  const component = defaultComponents[prop];
@@ -18747,5 +18747,5 @@ const QikUI = {
18747
18747
  }
18748
18748
  }
18749
18749
  };
18750
- export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikConfirmModal, QikContentModal, QikModal, QikOptionsModal, QikPromptModal, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset };
18750
+ export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset, UxConfirmModal, UxContentModal, UxModal, UxOptionsModal, UxPromptModal };
18751
18751
  //# sourceMappingURL=lib.es.js.map