@castlabs/ui 4.24.1 → 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.
@@ -2622,7 +2622,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2622
2622
  name: 'ClUI',
2623
2623
  computed: {
2624
2624
  version: function () {
2625
- return "4.24.1" ?? 0;
2625
+ return "4.24.2" ?? 0;
2626
2626
  }
2627
2627
  }
2628
2628
  }));
@@ -4353,11 +4353,11 @@ ClField_template.install = Vue => {
4353
4353
  Vue.component(ClField_template.name ?? 'ClNoName', ClField_template);
4354
4354
  };
4355
4355
  /* harmony default export */ var ClField = (ClField_template);
4356
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.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
4356
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.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
4357
4357
 
4358
- const templatevue_type_template_id_6709a8ab_ts_true_hoisted_1 = ["id", "disabled", "indeterminate", "autofocus"];
4359
- const templatevue_type_template_id_6709a8ab_ts_true_hoisted_2 = ["for"];
4360
- function templatevue_type_template_id_6709a8ab_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
4358
+ const templatevue_type_template_id_7caa1aab_ts_true_hoisted_1 = ["id", "disabled", "indeterminate", "autofocus"];
4359
+ const templatevue_type_template_id_7caa1aab_ts_true_hoisted_2 = ["for"];
4360
+ function templatevue_type_template_id_7caa1aab_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
4361
4361
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
4362
4362
  class: (0,external_vue_.normalizeClass)(_ctx.clazz)
4363
4363
  }, [(0,external_vue_.withDirectives)((0,external_vue_.createElementVNode)("input", (0,external_vue_.mergeProps)({
@@ -4370,12 +4370,12 @@ function templatevue_type_template_id_6709a8ab_ts_true_render(_ctx, _cache, $pro
4370
4370
  autofocus: _ctx.autofocus
4371
4371
  }, _ctx.$attrs, {
4372
4372
  onChange: _cache[1] || (_cache[1] = $event => _ctx.$emit('update:modelValue', _ctx.modelValue))
4373
- }), null, 16, templatevue_type_template_id_6709a8ab_ts_true_hoisted_1), [[external_vue_.vModelCheckbox, _ctx.modelValue]]), (0,external_vue_.createElementVNode)("label", {
4373
+ }), null, 16, templatevue_type_template_id_7caa1aab_ts_true_hoisted_1), [[external_vue_.vModelCheckbox, _ctx.modelValue]]), (0,external_vue_.createElementVNode)("label", {
4374
4374
  class: "form-check-label",
4375
4375
  for: _ctx.id ?? _ctx.$uid
4376
- }, [(0,external_vue_.renderSlot)(_ctx.$slots, "default")], 8, templatevue_type_template_id_6709a8ab_ts_true_hoisted_2)], 2);
4376
+ }, [(0,external_vue_.renderSlot)(_ctx.$slots, "default")], 8, templatevue_type_template_id_7caa1aab_ts_true_hoisted_2)], 2);
4377
4377
  }
4378
- ;// ./src/components/form/ClFieldCheck/template.vue?vue&type=template&id=6709a8ab&ts=true
4378
+ ;// ./src/components/form/ClFieldCheck/template.vue?vue&type=template&id=7caa1aab&ts=true
4379
4379
 
4380
4380
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/form/ClFieldCheck/template.vue?vue&type=script&lang=ts
4381
4381
 
@@ -4427,6 +4427,13 @@ function templatevue_type_template_id_6709a8ab_ts_true_render(_ctx, _cache, $pro
4427
4427
  return `form-check${this.inline ? ' form-check-inline' : ''} ${this.class}`;
4428
4428
  }
4429
4429
  },
4430
+ watch: {
4431
+ value(to) {
4432
+ if (this.modelValue !== to) {
4433
+ this.modelValue = to;
4434
+ }
4435
+ }
4436
+ },
4430
4437
  methods: {
4431
4438
  check: function (value = false) {
4432
4439
  this.modelValue = value;
@@ -4448,7 +4455,7 @@ function templatevue_type_template_id_6709a8ab_ts_true_render(_ctx, _cache, $pro
4448
4455
 
4449
4456
 
4450
4457
  ;
4451
- const ClFieldCheck_template_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ClFieldCheck_templatevue_type_script_lang_ts, [['render',templatevue_type_template_id_6709a8ab_ts_true_render]])
4458
+ const ClFieldCheck_template_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ClFieldCheck_templatevue_type_script_lang_ts, [['render',templatevue_type_template_id_7caa1aab_ts_true_render]])
4452
4459
 
4453
4460
  /* harmony default export */ var ClFieldCheck_template = (ClFieldCheck_template_exports_);
4454
4461
  ;// ./src/components/form/ClFieldCheck/index.ts