@castlabs/ui 4.24.0 → 4.24.2

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.
@@ -2604,7 +2604,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2604
2604
  name: 'ClUI',
2605
2605
  computed: {
2606
2606
  version: function () {
2607
- return "4.24.0" ?? 0;
2607
+ return "4.24.2" ?? 0;
2608
2608
  }
2609
2609
  }
2610
2610
  }));
@@ -4335,11 +4335,11 @@ ClField_template.install = Vue => {
4335
4335
  Vue.component(ClField_template.name ?? 'ClNoName', ClField_template);
4336
4336
  };
4337
4337
  /* harmony default export */ var ClField = (ClField_template);
4338
- ;// ./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/form/ClFieldCheck/template.vue?vue&type=template&id=6709a8ab&ts=true
4338
+ ;// ./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/form/ClFieldCheck/template.vue?vue&type=template&id=7caa1aab&ts=true
4339
4339
 
4340
- const templatevue_type_template_id_6709a8ab_ts_true_hoisted_1 = ["id", "disabled", "indeterminate", "autofocus"];
4341
- const templatevue_type_template_id_6709a8ab_ts_true_hoisted_2 = ["for"];
4342
- function templatevue_type_template_id_6709a8ab_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
4340
+ const templatevue_type_template_id_7caa1aab_ts_true_hoisted_1 = ["id", "disabled", "indeterminate", "autofocus"];
4341
+ const templatevue_type_template_id_7caa1aab_ts_true_hoisted_2 = ["for"];
4342
+ function templatevue_type_template_id_7caa1aab_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
4343
4343
  return (0,external_vue_namespaceObject.openBlock)(), (0,external_vue_namespaceObject.createElementBlock)("div", {
4344
4344
  class: (0,external_vue_namespaceObject.normalizeClass)(_ctx.clazz)
4345
4345
  }, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createElementVNode)("input", (0,external_vue_namespaceObject.mergeProps)({
@@ -4352,12 +4352,12 @@ function templatevue_type_template_id_6709a8ab_ts_true_render(_ctx, _cache, $pro
4352
4352
  autofocus: _ctx.autofocus
4353
4353
  }, _ctx.$attrs, {
4354
4354
  onChange: _cache[1] || (_cache[1] = $event => _ctx.$emit('update:modelValue', _ctx.modelValue))
4355
- }), null, 16, templatevue_type_template_id_6709a8ab_ts_true_hoisted_1), [[external_vue_namespaceObject.vModelCheckbox, _ctx.modelValue]]), (0,external_vue_namespaceObject.createElementVNode)("label", {
4355
+ }), null, 16, templatevue_type_template_id_7caa1aab_ts_true_hoisted_1), [[external_vue_namespaceObject.vModelCheckbox, _ctx.modelValue]]), (0,external_vue_namespaceObject.createElementVNode)("label", {
4356
4356
  class: "form-check-label",
4357
4357
  for: _ctx.id ?? _ctx.$uid
4358
- }, [(0,external_vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 8, templatevue_type_template_id_6709a8ab_ts_true_hoisted_2)], 2);
4358
+ }, [(0,external_vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 8, templatevue_type_template_id_7caa1aab_ts_true_hoisted_2)], 2);
4359
4359
  }
4360
- ;// ./src/components/form/ClFieldCheck/template.vue?vue&type=template&id=6709a8ab&ts=true
4360
+ ;// ./src/components/form/ClFieldCheck/template.vue?vue&type=template&id=7caa1aab&ts=true
4361
4361
 
4362
4362
  ;// ./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/form/ClFieldCheck/template.vue?vue&type=script&lang=ts
4363
4363
 
@@ -4409,6 +4409,13 @@ function templatevue_type_template_id_6709a8ab_ts_true_render(_ctx, _cache, $pro
4409
4409
  return `form-check${this.inline ? ' form-check-inline' : ''} ${this.class}`;
4410
4410
  }
4411
4411
  },
4412
+ watch: {
4413
+ value(to) {
4414
+ if (this.modelValue !== to) {
4415
+ this.modelValue = to;
4416
+ }
4417
+ }
4418
+ },
4412
4419
  methods: {
4413
4420
  check: function (value = false) {
4414
4421
  this.modelValue = value;
@@ -4430,7 +4437,7 @@ function templatevue_type_template_id_6709a8ab_ts_true_render(_ctx, _cache, $pro
4430
4437
 
4431
4438
 
4432
4439
  ;
4433
- const ClFieldCheck_template_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ClFieldCheck_templatevue_type_script_lang_ts, [['render',templatevue_type_template_id_6709a8ab_ts_true_render]])
4440
+ const ClFieldCheck_template_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ClFieldCheck_templatevue_type_script_lang_ts, [['render',templatevue_type_template_id_7caa1aab_ts_true_render]])
4434
4441
 
4435
4442
  /* harmony default export */ var ClFieldCheck_template = (ClFieldCheck_template_exports_);
4436
4443
  ;// ./src/components/form/ClFieldCheck/index.ts