@yoooloo42/joker 1.0.204 → 1.0.206

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/index.esm.js CHANGED
@@ -24345,6 +24345,7 @@ script$i.__file = "src/form/Form.vue";
24345
24345
  var ly0default$3 = {
24346
24346
  myProps: {
24347
24347
  popup: {
24348
+ switch: false,
24348
24349
  visible: false,
24349
24350
  title: '',
24350
24351
  width: '800px',
@@ -24410,7 +24411,7 @@ const scopeThis_box = reactive(props.scopeThis);
24410
24411
  return (_ctx, _cache) => {
24411
24412
  const _component_el_dialog = resolveComponent("el-dialog");
24412
24413
 
24413
- return (formProps_box.popup)
24414
+ return (formProps_box.popup.switch)
24414
24415
  ? (openBlock(), createBlock(_component_el_dialog, {
24415
24416
  key: 0,
24416
24417
  modelValue: formProps_box.popup.visible,
@@ -24467,10 +24468,7 @@ var script$g = {
24467
24468
  setup(__props) {
24468
24469
 
24469
24470
  const props = __props;
24470
- const myProps_box = reactive(unclassified.deepClone.deepMerge(
24471
- unclassified.deepClone.deepClone(ly0default$2.myProps),
24472
- props.myProps
24473
- ));
24471
+ const myProps_box = reactive(unclassified.deepClone.deepDefaults(props.myProps, ly0default$2.myProps));
24474
24472
  const scopeThis_box = reactive(props.scopeThis);
24475
24473
 
24476
24474
  const handleRun = (
@@ -42410,6 +42408,7 @@ script$d.__file = "src/table/Table.vue";
42410
42408
  var ly0default$1 = {
42411
42409
  myProps: {
42412
42410
  popup: {
42411
+ switch: false,
42413
42412
  visible: false,
42414
42413
  title: '',
42415
42414
  width: "1024px",
@@ -42519,12 +42518,12 @@ const scopeThis_box = reactive(props.scopeThis);
42519
42518
  return (_ctx, _cache) => {
42520
42519
  const _component_el_dialog = resolveComponent("el-dialog");
42521
42520
 
42522
- return (tableProps_box.popup)
42521
+ return (tableProps_box.popup.switch)
42523
42522
  ? (openBlock(), createBlock(_component_el_dialog, {
42524
42523
  key: 0,
42525
42524
  modelValue: tableProps_box.popup.visible,
42526
42525
  "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((tableProps_box.popup.visible) = $event)),
42527
- "custom-class": 'code-template-dialog',
42526
+ "custom-class": "code-template-dialog",
42528
42527
  "close-on-press-escape": true,
42529
42528
  "append-to-body": "",
42530
42529
  title: tableProps_box.popup.title,