@castlabs/ui 4.21.0 → 4.21.1

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.
@@ -2626,7 +2626,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2626
2626
  name: 'ClUI',
2627
2627
  computed: {
2628
2628
  version: function () {
2629
- return "4.21.0" ?? 0;
2629
+ return "4.21.1" ?? 0;
2630
2630
  }
2631
2631
  }
2632
2632
  }));
@@ -5160,20 +5160,21 @@ ClModalConfirm_template.install = Vue => {
5160
5160
  Vue.component(ClModalConfirm_template.name ?? 'ClNoName', ClModalConfirm_template);
5161
5161
  };
5162
5162
  /* harmony default export */ var ClModalConfirm = (ClModalConfirm_template);
5163
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/modal/ClModalOk/template.vue?vue&type=template&id=0cffa84a&ts=true
5163
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/modal/ClModalOk/template.vue?vue&type=template&id=59bd2f86&ts=true
5164
5164
 
5165
- const templatevue_type_template_id_0cffa84a_ts_true_hoisted_1 = {
5165
+ const templatevue_type_template_id_59bd2f86_ts_true_hoisted_1 = {
5166
5166
  key: 0,
5167
5167
  class: "fas fa-angle-left"
5168
5168
  };
5169
- const templatevue_type_template_id_0cffa84a_ts_true_hoisted_2 = {
5169
+ const templatevue_type_template_id_59bd2f86_ts_true_hoisted_2 = {
5170
5170
  key: 0,
5171
5171
  class: "fas fa-angle-right"
5172
5172
  };
5173
- function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
5173
+ function templatevue_type_template_id_59bd2f86_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
5174
5174
  const _component_cl_modal = (0,external_vue_namespaceObject.resolveComponent)("cl-modal");
5175
5175
  return (0,external_vue_namespaceObject.openBlock)(), (0,external_vue_namespaceObject.createBlock)(_component_cl_modal, {
5176
5176
  id: _ctx.id,
5177
+ form: _ctx.form,
5177
5178
  "on-open": _ctx.opened,
5178
5179
  "on-close": _ctx.closed
5179
5180
  }, {
@@ -5186,7 +5187,7 @@ function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $pro
5186
5187
  onClick: _cache[0] || (_cache[0] =
5187
5188
  //@ts-ignore
5188
5189
  (...args) => _ctx.buttonCancel && _ctx.buttonCancel(...args))
5189
- }, [_ctx.angles ? ((0,external_vue_namespaceObject.openBlock)(), (0,external_vue_namespaceObject.createElementBlock)("i", templatevue_type_template_id_0cffa84a_ts_true_hoisted_1)) : (0,external_vue_namespaceObject.createCommentVNode)("", true), (0,external_vue_namespaceObject.createElementVNode)("span", null, (0,external_vue_namespaceObject.toDisplayString)(_ctx.cancel), 1)])) : (0,external_vue_namespaceObject.createCommentVNode)("", true)]),
5190
+ }, [_ctx.angles ? ((0,external_vue_namespaceObject.openBlock)(), (0,external_vue_namespaceObject.createElementBlock)("i", templatevue_type_template_id_59bd2f86_ts_true_hoisted_1)) : (0,external_vue_namespaceObject.createCommentVNode)("", true), (0,external_vue_namespaceObject.createElementVNode)("span", null, (0,external_vue_namespaceObject.toDisplayString)(_ctx.cancel), 1)])) : (0,external_vue_namespaceObject.createCommentVNode)("", true)]),
5190
5191
  "footer-right": (0,external_vue_namespaceObject.withCtx)(() => [(0,external_vue_namespaceObject.createElementVNode)("button", {
5191
5192
  type: "button",
5192
5193
  class: (0,external_vue_namespaceObject.normalizeClass)(["btn it-ok", {
@@ -5197,11 +5198,11 @@ function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $pro
5197
5198
  onClick: _cache[1] || (_cache[1] =
5198
5199
  //@ts-ignore
5199
5200
  (...args) => _ctx.buttonOk && _ctx.buttonOk(...args))
5200
- }, [(0,external_vue_namespaceObject.createElementVNode)("span", null, (0,external_vue_namespaceObject.toDisplayString)(_ctx.ok ?? _ctx.button), 1), _ctx.angles ? ((0,external_vue_namespaceObject.openBlock)(), (0,external_vue_namespaceObject.createElementBlock)("i", templatevue_type_template_id_0cffa84a_ts_true_hoisted_2)) : (0,external_vue_namespaceObject.createCommentVNode)("", true)], 2)]),
5201
+ }, [(0,external_vue_namespaceObject.createElementVNode)("span", null, (0,external_vue_namespaceObject.toDisplayString)(_ctx.ok ?? _ctx.button), 1), _ctx.angles ? ((0,external_vue_namespaceObject.openBlock)(), (0,external_vue_namespaceObject.createElementBlock)("i", templatevue_type_template_id_59bd2f86_ts_true_hoisted_2)) : (0,external_vue_namespaceObject.createCommentVNode)("", true)], 2)]),
5201
5202
  _: 3
5202
- }, 8, ["id", "on-open", "on-close"]);
5203
+ }, 8, ["id", "form", "on-open", "on-close"]);
5203
5204
  }
5204
- ;// ./src/components/modal/ClModalOk/template.vue?vue&type=template&id=0cffa84a&ts=true
5205
+ ;// ./src/components/modal/ClModalOk/template.vue?vue&type=template&id=59bd2f86&ts=true
5205
5206
 
5206
5207
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/modal/ClModalOk/template.vue?vue&type=script&lang=ts
5207
5208
 
@@ -5218,6 +5219,11 @@ function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $pro
5218
5219
  type: String,
5219
5220
  default: 'Information'
5220
5221
  },
5222
+ form: {
5223
+ // if true, the modal will render a <form> as body
5224
+ type: Boolean,
5225
+ default: false
5226
+ },
5221
5227
  body: {
5222
5228
  type: String,
5223
5229
  default: undefined
@@ -5291,7 +5297,7 @@ function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $pro
5291
5297
 
5292
5298
 
5293
5299
  ;
5294
- const ClModalOk_template_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ClModalOk_templatevue_type_script_lang_ts, [['render',templatevue_type_template_id_0cffa84a_ts_true_render]])
5300
+ const ClModalOk_template_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ClModalOk_templatevue_type_script_lang_ts, [['render',templatevue_type_template_id_59bd2f86_ts_true_render]])
5295
5301
 
5296
5302
  /* harmony default export */ var ClModalOk_template = (ClModalOk_template_exports_);
5297
5303
  ;// ./src/components/modal/ClModalOk/index.ts