@plasmicpkgs/antd5 0.0.145 → 0.0.147

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.js CHANGED
@@ -182,33 +182,33 @@ function pick(obj, ...paths) {
182
182
  return res;
183
183
  }
184
184
 
185
- var __defProp$r = Object.defineProperty;
186
- var __defProps$j = Object.defineProperties;
187
- var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
188
- var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
189
- var __hasOwnProp$r = Object.prototype.hasOwnProperty;
190
- var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
191
- var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
192
- var __spreadValues$r = (a, b) => {
185
+ var __defProp$t = Object.defineProperty;
186
+ var __defProps$k = Object.defineProperties;
187
+ var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
188
+ var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
189
+ var __hasOwnProp$t = Object.prototype.hasOwnProperty;
190
+ var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
191
+ var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
192
+ var __spreadValues$t = (a, b) => {
193
193
  for (var prop in b || (b = {}))
194
- if (__hasOwnProp$r.call(b, prop))
195
- __defNormalProp$r(a, prop, b[prop]);
196
- if (__getOwnPropSymbols$r)
197
- for (var prop of __getOwnPropSymbols$r(b)) {
198
- if (__propIsEnum$r.call(b, prop))
199
- __defNormalProp$r(a, prop, b[prop]);
194
+ if (__hasOwnProp$t.call(b, prop))
195
+ __defNormalProp$t(a, prop, b[prop]);
196
+ if (__getOwnPropSymbols$t)
197
+ for (var prop of __getOwnPropSymbols$t(b)) {
198
+ if (__propIsEnum$t.call(b, prop))
199
+ __defNormalProp$t(a, prop, b[prop]);
200
200
  }
201
201
  return a;
202
202
  };
203
- var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
204
- var __objRest$k = (source, exclude) => {
203
+ var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
204
+ var __objRest$m = (source, exclude) => {
205
205
  var target = {};
206
206
  for (var prop in source)
207
- if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
207
+ if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
208
208
  target[prop] = source[prop];
209
- if (source != null && __getOwnPropSymbols$r)
210
- for (var prop of __getOwnPropSymbols$r(source)) {
211
- if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
209
+ if (source != null && __getOwnPropSymbols$t)
210
+ for (var prop of __getOwnPropSymbols$t(source)) {
211
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
212
212
  target[prop] = source[prop];
213
213
  }
214
214
  return target;
@@ -218,17 +218,17 @@ function AntdAvatar(_a) {
218
218
  letters,
219
219
  href,
220
220
  target
221
- } = _b, props = __objRest$k(_b, [
221
+ } = _b, props = __objRest$m(_b, [
222
222
  "letters",
223
223
  "href",
224
224
  "target"
225
225
  ]);
226
- const avatar = /* @__PURE__ */ React__default.default.createElement(antd.Avatar, __spreadProps$j(__spreadValues$r({}, props), { children: props.children || letters }));
226
+ const avatar = /* @__PURE__ */ React__default.default.createElement(antd.Avatar, __spreadProps$k(__spreadValues$t({}, props), { children: props.children || letters }));
227
227
  const PlasmicLink = host.usePlasmicLink();
228
228
  return href ? /* @__PURE__ */ React__default.default.createElement(PlasmicLink, { href, target: target ? "_blank" : void 0 }, avatar) : avatar;
229
229
  }
230
230
  function AntdAvatarGroup(props) {
231
- return /* @__PURE__ */ React__default.default.createElement(antd.Avatar.Group, __spreadValues$r({}, props));
231
+ return /* @__PURE__ */ React__default.default.createElement(antd.Avatar.Group, __spreadValues$t({}, props));
232
232
  }
233
233
  function registerAvatar(loader) {
234
234
  registerComponentHelper(loader, AntdAvatar, {
@@ -316,43 +316,43 @@ function registerAvatarGroup(loader) {
316
316
  });
317
317
  }
318
318
 
319
- var __defProp$q = Object.defineProperty;
320
- var __defProps$i = Object.defineProperties;
321
- var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
322
- var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
323
- var __hasOwnProp$q = Object.prototype.hasOwnProperty;
324
- var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
325
- var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
326
- var __spreadValues$q = (a, b) => {
319
+ var __defProp$s = Object.defineProperty;
320
+ var __defProps$j = Object.defineProperties;
321
+ var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
322
+ var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
323
+ var __hasOwnProp$s = Object.prototype.hasOwnProperty;
324
+ var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
325
+ var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
326
+ var __spreadValues$s = (a, b) => {
327
327
  for (var prop in b || (b = {}))
328
- if (__hasOwnProp$q.call(b, prop))
329
- __defNormalProp$q(a, prop, b[prop]);
330
- if (__getOwnPropSymbols$q)
331
- for (var prop of __getOwnPropSymbols$q(b)) {
332
- if (__propIsEnum$q.call(b, prop))
333
- __defNormalProp$q(a, prop, b[prop]);
328
+ if (__hasOwnProp$s.call(b, prop))
329
+ __defNormalProp$s(a, prop, b[prop]);
330
+ if (__getOwnPropSymbols$s)
331
+ for (var prop of __getOwnPropSymbols$s(b)) {
332
+ if (__propIsEnum$s.call(b, prop))
333
+ __defNormalProp$s(a, prop, b[prop]);
334
334
  }
335
335
  return a;
336
336
  };
337
- var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
338
- var __objRest$j = (source, exclude) => {
337
+ var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
338
+ var __objRest$l = (source, exclude) => {
339
339
  var target = {};
340
340
  for (var prop in source)
341
- if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
341
+ if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
342
342
  target[prop] = source[prop];
343
- if (source != null && __getOwnPropSymbols$q)
344
- for (var prop of __getOwnPropSymbols$q(source)) {
345
- if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
343
+ if (source != null && __getOwnPropSymbols$s)
344
+ for (var prop of __getOwnPropSymbols$s(source)) {
345
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
346
346
  target[prop] = source[prop];
347
347
  }
348
348
  return target;
349
349
  };
350
350
  function AntdButton(props) {
351
- const _a = props, { submitsForm = false, children } = _a, rest = __objRest$j(_a, ["submitsForm", "children"]);
351
+ const _a = props, { submitsForm = false, children } = _a, rest = __objRest$l(_a, ["submitsForm", "children"]);
352
352
  const target = props.target === true ? "_blank" : props.target === false ? void 0 : props.target;
353
353
  return /* @__PURE__ */ React__default.default.createElement(
354
354
  antd.Button,
355
- __spreadProps$i(__spreadValues$q({}, rest), {
355
+ __spreadProps$j(__spreadValues$s({}, rest), {
356
356
  children: /* @__PURE__ */ React__default.default.createElement(
357
357
  "div",
358
358
  {
@@ -433,7 +433,7 @@ function registerButton(loader) {
433
433
  hidden: (props) => !props.href,
434
434
  defaultValueHint: false
435
435
  },
436
- children: __spreadValues$q({
436
+ children: __spreadValues$s({
437
437
  type: "slot",
438
438
  defaultValue: [
439
439
  {
@@ -457,39 +457,39 @@ function registerButton(loader) {
457
457
  });
458
458
  }
459
459
 
460
- var __defProp$p = Object.defineProperty;
461
- var __defProps$h = Object.defineProperties;
462
- var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
463
- var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
464
- var __hasOwnProp$p = Object.prototype.hasOwnProperty;
465
- var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
466
- var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
467
- var __spreadValues$p = (a, b) => {
460
+ var __defProp$r = Object.defineProperty;
461
+ var __defProps$i = Object.defineProperties;
462
+ var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
463
+ var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
464
+ var __hasOwnProp$r = Object.prototype.hasOwnProperty;
465
+ var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
466
+ var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
467
+ var __spreadValues$r = (a, b) => {
468
468
  for (var prop in b || (b = {}))
469
- if (__hasOwnProp$p.call(b, prop))
470
- __defNormalProp$p(a, prop, b[prop]);
471
- if (__getOwnPropSymbols$p)
472
- for (var prop of __getOwnPropSymbols$p(b)) {
473
- if (__propIsEnum$p.call(b, prop))
474
- __defNormalProp$p(a, prop, b[prop]);
469
+ if (__hasOwnProp$r.call(b, prop))
470
+ __defNormalProp$r(a, prop, b[prop]);
471
+ if (__getOwnPropSymbols$r)
472
+ for (var prop of __getOwnPropSymbols$r(b)) {
473
+ if (__propIsEnum$r.call(b, prop))
474
+ __defNormalProp$r(a, prop, b[prop]);
475
475
  }
476
476
  return a;
477
477
  };
478
- var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
479
- var __objRest$i = (source, exclude) => {
478
+ var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
479
+ var __objRest$k = (source, exclude) => {
480
480
  var target = {};
481
481
  for (var prop in source)
482
- if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0)
482
+ if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
483
483
  target[prop] = source[prop];
484
- if (source != null && __getOwnPropSymbols$p)
485
- for (var prop of __getOwnPropSymbols$p(source)) {
486
- if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop))
484
+ if (source != null && __getOwnPropSymbols$r)
485
+ for (var prop of __getOwnPropSymbols$r(source)) {
486
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
487
487
  target[prop] = source[prop];
488
488
  }
489
489
  return target;
490
490
  };
491
491
  function AntdCheckbox(props) {
492
- const _a = props, { onChange } = _a, rest = __objRest$i(_a, ["onChange"]);
492
+ const _a = props, { onChange } = _a, rest = __objRest$k(_a, ["onChange"]);
493
493
  const wrappedOnChange = React__default.default.useMemo(() => {
494
494
  if (onChange) {
495
495
  return (event) => onChange(event.target.checked);
@@ -497,7 +497,7 @@ function AntdCheckbox(props) {
497
497
  return void 0;
498
498
  }
499
499
  }, [onChange]);
500
- return /* @__PURE__ */ React__default.default.createElement(antd.Checkbox, __spreadProps$h(__spreadValues$p({}, rest), { onChange: wrappedOnChange }));
500
+ return /* @__PURE__ */ React__default.default.createElement(antd.Checkbox, __spreadProps$i(__spreadValues$r({}, rest), { onChange: wrappedOnChange }));
501
501
  }
502
502
  AntdCheckbox.__plasmicFormFieldMeta = { valueProp: "checked" };
503
503
  const AntdCheckboxGroup = antd.Checkbox.Group;
@@ -532,7 +532,7 @@ function registerCheckbox(loader) {
532
532
  defaultValueHint: false,
533
533
  advanced: true
534
534
  },
535
- children: __spreadValues$p({
535
+ children: __spreadValues$r({
536
536
  type: "slot",
537
537
  defaultValue: [
538
538
  {
@@ -613,33 +613,33 @@ function registerCheckbox(loader) {
613
613
  });
614
614
  }
615
615
 
616
- var __defProp$o = Object.defineProperty;
617
- var __defProps$g = Object.defineProperties;
618
- var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
619
- var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
620
- var __hasOwnProp$o = Object.prototype.hasOwnProperty;
621
- var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
622
- var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
623
- var __spreadValues$o = (a, b) => {
616
+ var __defProp$q = Object.defineProperty;
617
+ var __defProps$h = Object.defineProperties;
618
+ var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
619
+ var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
620
+ var __hasOwnProp$q = Object.prototype.hasOwnProperty;
621
+ var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
622
+ var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
623
+ var __spreadValues$q = (a, b) => {
624
624
  for (var prop in b || (b = {}))
625
- if (__hasOwnProp$o.call(b, prop))
626
- __defNormalProp$o(a, prop, b[prop]);
627
- if (__getOwnPropSymbols$o)
628
- for (var prop of __getOwnPropSymbols$o(b)) {
629
- if (__propIsEnum$o.call(b, prop))
630
- __defNormalProp$o(a, prop, b[prop]);
625
+ if (__hasOwnProp$q.call(b, prop))
626
+ __defNormalProp$q(a, prop, b[prop]);
627
+ if (__getOwnPropSymbols$q)
628
+ for (var prop of __getOwnPropSymbols$q(b)) {
629
+ if (__propIsEnum$q.call(b, prop))
630
+ __defNormalProp$q(a, prop, b[prop]);
631
631
  }
632
632
  return a;
633
633
  };
634
- var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
635
- var __objRest$h = (source, exclude) => {
634
+ var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
635
+ var __objRest$j = (source, exclude) => {
636
636
  var target = {};
637
637
  for (var prop in source)
638
- if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
638
+ if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
639
639
  target[prop] = source[prop];
640
- if (source != null && __getOwnPropSymbols$o)
641
- for (var prop of __getOwnPropSymbols$o(source)) {
642
- if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
640
+ if (source != null && __getOwnPropSymbols$q)
641
+ for (var prop of __getOwnPropSymbols$q(source)) {
642
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
643
643
  target[prop] = source[prop];
644
644
  }
645
645
  return target;
@@ -659,7 +659,7 @@ function AntdAccordion(props) {
659
659
  collapsible,
660
660
  disabled,
661
661
  rotateCustomExpandIcon
662
- } = _a, rest = __objRest$h(_a, [
662
+ } = _a, rest = __objRest$j(_a, [
663
663
  "items",
664
664
  "activeKey",
665
665
  "defaultActiveKey",
@@ -672,7 +672,7 @@ function AntdAccordion(props) {
672
672
  if (!React__default.default.isValidElement(itemsRaw) && !Array.isArray(itemsRaw))
673
673
  return [];
674
674
  return (Array.isArray(itemsRaw) ? itemsRaw : Array.isArray(itemsRaw.props.children) ? itemsRaw.props.children : [itemsRaw.props.children]).map((currentItem) => {
675
- const props2 = __spreadProps$g(__spreadValues$o({}, currentItem.props), {
675
+ const props2 = __spreadProps$h(__spreadValues$q({}, currentItem.props), {
676
676
  id: currentItem.props.id,
677
677
  key: currentItem.props.id,
678
678
  children: React__default.default.cloneElement(/* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, currentItem.props.children))
@@ -687,7 +687,7 @@ function AntdAccordion(props) {
687
687
  }, [itemsRaw]);
688
688
  return /* @__PURE__ */ React__default.default.createElement(
689
689
  antd.Collapse,
690
- __spreadValues$o({
690
+ __spreadValues$q({
691
691
  accordion: true,
692
692
  items,
693
693
  defaultActiveKey,
@@ -718,7 +718,7 @@ function AntdSingleCollapse(props) {
718
718
  forceRender,
719
719
  children,
720
720
  headerClass
721
- } = _a, rest = __objRest$h(_a, [
721
+ } = _a, rest = __objRest$j(_a, [
722
722
  "open",
723
723
  "defaultOpen",
724
724
  "expandIcon",
@@ -748,7 +748,7 @@ function AntdSingleCollapse(props) {
748
748
  );
749
749
  return /* @__PURE__ */ React__default.default.createElement(
750
750
  antd.Collapse,
751
- __spreadValues$o({
751
+ __spreadValues$q({
752
752
  accordion: false,
753
753
  items: [item],
754
754
  defaultActiveKey: defaultOpen ? item.key : void 0,
@@ -850,7 +850,7 @@ const commonAccordionItemProps = {
850
850
  type: "class",
851
851
  displayName: "Header"
852
852
  },
853
- children: __spreadProps$g(__spreadValues$o({
853
+ children: __spreadProps$h(__spreadValues$q({
854
854
  type: "slot",
855
855
  hidePlaceholder: true
856
856
  }, { mergeWithParent: true }), {
@@ -886,7 +886,7 @@ function registerCollapse(loader) {
886
886
  defaultStyles: {
887
887
  width: "stretch"
888
888
  },
889
- props: __spreadValues$o(__spreadValues$o(__spreadValues$o({
889
+ props: __spreadValues$q(__spreadValues$q(__spreadValues$q({
890
890
  open: {
891
891
  editOnly: true,
892
892
  displayName: "Open",
@@ -896,7 +896,7 @@ function registerCollapse(loader) {
896
896
  }
897
897
  }, commonProps$1), commonAccordionItemProps), commonAccordionProps),
898
898
  states: {
899
- open: __spreadValues$o({
899
+ open: __spreadValues$q({
900
900
  type: "writable",
901
901
  valueProp: "open",
902
902
  onChangeProp: "onChange",
@@ -917,7 +917,7 @@ function registerCollapse(loader) {
917
917
  defaultStyles: {
918
918
  width: "stretch"
919
919
  },
920
- props: __spreadValues$o(__spreadValues$o({
920
+ props: __spreadValues$q(__spreadValues$q({
921
921
  activeKey: {
922
922
  editOnly: true,
923
923
  displayName: "Active panel ID",
@@ -926,7 +926,7 @@ function registerCollapse(loader) {
926
926
  description: `ID of Accordion item that is expanded by default.`,
927
927
  advanced: true
928
928
  },
929
- items: __spreadProps$g(__spreadValues$o({
929
+ items: __spreadProps$h(__spreadValues$q({
930
930
  type: "slot",
931
931
  hidePlaceholder: true,
932
932
  allowedComponents: [accordionItemComponentName]
@@ -966,7 +966,7 @@ function registerCollapse(loader) {
966
966
  })
967
967
  }, commonProps$1), commonAccordionProps),
968
968
  states: {
969
- activePanelId: __spreadValues$o({
969
+ activePanelId: __spreadValues$q({
970
970
  type: "writable",
971
971
  valueProp: "activeKey",
972
972
  onChangeProp: "onChange",
@@ -984,7 +984,7 @@ function registerCollapse(loader) {
984
984
  registerComponentHelper(loader, AntdAccordionItem, {
985
985
  name: accordionItemComponentName,
986
986
  displayName: "Accordion Item",
987
- props: __spreadValues$o(__spreadValues$o({
987
+ props: __spreadValues$q(__spreadValues$q({
988
988
  id: {
989
989
  type: "string",
990
990
  description: `Unique identifier for this item`,
@@ -997,33 +997,33 @@ function registerCollapse(loader) {
997
997
  });
998
998
  }
999
999
 
1000
- var __defProp$n = Object.defineProperty;
1001
- var __defProps$f = Object.defineProperties;
1002
- var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
1003
- var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
1004
- var __hasOwnProp$n = Object.prototype.hasOwnProperty;
1005
- var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
1006
- var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1007
- var __spreadValues$n = (a, b) => {
1000
+ var __defProp$p = Object.defineProperty;
1001
+ var __defProps$g = Object.defineProperties;
1002
+ var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
1003
+ var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
1004
+ var __hasOwnProp$p = Object.prototype.hasOwnProperty;
1005
+ var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
1006
+ var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1007
+ var __spreadValues$p = (a, b) => {
1008
1008
  for (var prop in b || (b = {}))
1009
- if (__hasOwnProp$n.call(b, prop))
1010
- __defNormalProp$n(a, prop, b[prop]);
1011
- if (__getOwnPropSymbols$n)
1012
- for (var prop of __getOwnPropSymbols$n(b)) {
1013
- if (__propIsEnum$n.call(b, prop))
1014
- __defNormalProp$n(a, prop, b[prop]);
1009
+ if (__hasOwnProp$p.call(b, prop))
1010
+ __defNormalProp$p(a, prop, b[prop]);
1011
+ if (__getOwnPropSymbols$p)
1012
+ for (var prop of __getOwnPropSymbols$p(b)) {
1013
+ if (__propIsEnum$p.call(b, prop))
1014
+ __defNormalProp$p(a, prop, b[prop]);
1015
1015
  }
1016
1016
  return a;
1017
1017
  };
1018
- var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
1019
- var __objRest$g = (source, exclude) => {
1018
+ var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
1019
+ var __objRest$i = (source, exclude) => {
1020
1020
  var target = {};
1021
1021
  for (var prop in source)
1022
- if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
1022
+ if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0)
1023
1023
  target[prop] = source[prop];
1024
- if (source != null && __getOwnPropSymbols$n)
1025
- for (var prop of __getOwnPropSymbols$n(source)) {
1026
- if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
1024
+ if (source != null && __getOwnPropSymbols$p)
1025
+ for (var prop of __getOwnPropSymbols$p(source)) {
1026
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop))
1027
1027
  target[prop] = source[prop];
1028
1028
  }
1029
1029
  return target;
@@ -1032,13 +1032,13 @@ function AntdColorPicker(_a) {
1032
1032
  var _b = _a, {
1033
1033
  showTextSwitch,
1034
1034
  onChange
1035
- } = _b, props = __objRest$g(_b, [
1035
+ } = _b, props = __objRest$i(_b, [
1036
1036
  "showTextSwitch",
1037
1037
  "onChange"
1038
1038
  ]);
1039
1039
  return /* @__PURE__ */ React__default.default.createElement(
1040
1040
  antd.ColorPicker,
1041
- __spreadProps$f(__spreadValues$n({}, props), {
1041
+ __spreadProps$g(__spreadValues$p({}, props), {
1042
1042
  showText: props.showText || showTextSwitch,
1043
1043
  onChangeComplete: (value) => {
1044
1044
  onChange == null ? void 0 : onChange(typeof value === "string" ? value : value.toHexString());
@@ -1111,19 +1111,19 @@ function registerColorPicker(loader) {
1111
1111
  });
1112
1112
  }
1113
1113
 
1114
- var __defProp$m = Object.defineProperty;
1115
- var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
1116
- var __hasOwnProp$m = Object.prototype.hasOwnProperty;
1117
- var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
1118
- var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1119
- var __spreadValues$m = (a, b) => {
1114
+ var __defProp$o = Object.defineProperty;
1115
+ var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
1116
+ var __hasOwnProp$o = Object.prototype.hasOwnProperty;
1117
+ var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
1118
+ var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1119
+ var __spreadValues$o = (a, b) => {
1120
1120
  for (var prop in b || (b = {}))
1121
- if (__hasOwnProp$m.call(b, prop))
1122
- __defNormalProp$m(a, prop, b[prop]);
1123
- if (__getOwnPropSymbols$m)
1124
- for (var prop of __getOwnPropSymbols$m(b)) {
1125
- if (__propIsEnum$m.call(b, prop))
1126
- __defNormalProp$m(a, prop, b[prop]);
1121
+ if (__hasOwnProp$o.call(b, prop))
1122
+ __defNormalProp$o(a, prop, b[prop]);
1123
+ if (__getOwnPropSymbols$o)
1124
+ for (var prop of __getOwnPropSymbols$o(b)) {
1125
+ if (__propIsEnum$o.call(b, prop))
1126
+ __defNormalProp$o(a, prop, b[prop]);
1127
1127
  }
1128
1128
  return a;
1129
1129
  };
@@ -1134,7 +1134,7 @@ function mergeProps(props, ...restProps) {
1134
1134
  if (restProps.every((rest) => Object.keys(rest).length === 0)) {
1135
1135
  return props;
1136
1136
  }
1137
- const result = __spreadValues$m({}, props);
1137
+ const result = __spreadValues$o({}, props);
1138
1138
  for (const rest of restProps) {
1139
1139
  for (const key of Object.keys(rest)) {
1140
1140
  result[key] = mergePropVals(key, result[key], rest[key]);
@@ -1171,7 +1171,7 @@ function mergePropVals(name, val1, val2) {
1171
1171
  } else if (name === "className") {
1172
1172
  return classNames__default.default(val1, val2);
1173
1173
  } else if (name === "style") {
1174
- return __spreadValues$m(__spreadValues$m({}, val1), val2);
1174
+ return __spreadValues$o(__spreadValues$o({}, val1), val2);
1175
1175
  } else if (name === "ref") {
1176
1176
  return mergeRefs(val1, val2);
1177
1177
  } else if (typeof val1 !== typeof val2) {
@@ -1218,33 +1218,33 @@ function useIsMounted() {
1218
1218
  return isMounted;
1219
1219
  }
1220
1220
 
1221
- var __defProp$l = Object.defineProperty;
1222
- var __defProps$e = Object.defineProperties;
1223
- var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
1224
- var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
1225
- var __hasOwnProp$l = Object.prototype.hasOwnProperty;
1226
- var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
1227
- var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1228
- var __spreadValues$l = (a, b) => {
1221
+ var __defProp$n = Object.defineProperty;
1222
+ var __defProps$f = Object.defineProperties;
1223
+ var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
1224
+ var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
1225
+ var __hasOwnProp$n = Object.prototype.hasOwnProperty;
1226
+ var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
1227
+ var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1228
+ var __spreadValues$n = (a, b) => {
1229
1229
  for (var prop in b || (b = {}))
1230
- if (__hasOwnProp$l.call(b, prop))
1231
- __defNormalProp$l(a, prop, b[prop]);
1232
- if (__getOwnPropSymbols$l)
1233
- for (var prop of __getOwnPropSymbols$l(b)) {
1234
- if (__propIsEnum$l.call(b, prop))
1235
- __defNormalProp$l(a, prop, b[prop]);
1230
+ if (__hasOwnProp$n.call(b, prop))
1231
+ __defNormalProp$n(a, prop, b[prop]);
1232
+ if (__getOwnPropSymbols$n)
1233
+ for (var prop of __getOwnPropSymbols$n(b)) {
1234
+ if (__propIsEnum$n.call(b, prop))
1235
+ __defNormalProp$n(a, prop, b[prop]);
1236
1236
  }
1237
1237
  return a;
1238
1238
  };
1239
- var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
1240
- var __objRest$f = (source, exclude) => {
1239
+ var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
1240
+ var __objRest$h = (source, exclude) => {
1241
1241
  var target = {};
1242
1242
  for (var prop in source)
1243
- if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
1243
+ if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
1244
1244
  target[prop] = source[prop];
1245
- if (source != null && __getOwnPropSymbols$l)
1246
- for (var prop of __getOwnPropSymbols$l(source)) {
1247
- if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
1245
+ if (source != null && __getOwnPropSymbols$n)
1246
+ for (var prop of __getOwnPropSymbols$n(source)) {
1247
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
1248
1248
  target[prop] = source[prop];
1249
1249
  }
1250
1250
  return target;
@@ -1294,12 +1294,12 @@ function themeToAntdConfig(opts) {
1294
1294
  };
1295
1295
  }
1296
1296
  function AntdConfigProvider(props) {
1297
- const _a = props, { children, locale, themeStyles, loadingText, removeLoading } = _a, rest = __objRest$f(_a, ["children", "locale", "themeStyles", "loadingText", "removeLoading"]);
1297
+ const _a = props, { children, locale, themeStyles, loadingText, removeLoading } = _a, rest = __objRest$h(_a, ["children", "locale", "themeStyles", "loadingText", "removeLoading"]);
1298
1298
  return /* @__PURE__ */ React__default.default.createElement(
1299
1299
  antd.ConfigProvider,
1300
- __spreadValues$l({
1300
+ __spreadValues$n({
1301
1301
  locale: locale != null ? locale : defaultLocale
1302
- }, themeToAntdConfig(__spreadProps$e(__spreadValues$l({}, rest), {
1302
+ }, themeToAntdConfig(__spreadProps$f(__spreadValues$n({}, rest), {
1303
1303
  fontFamily: themeStyles.fontFamily,
1304
1304
  fontSize: themeStyles.fontSize ? parseInt(themeStyles.fontSize) : void 0,
1305
1305
  lineHeight: themeStyles.lineHeight ? parseInt(themeStyles.lineHeight) : void 0,
@@ -1341,8 +1341,8 @@ function InnerConfigProvider(props) {
1341
1341
  () => ({
1342
1342
  showNotification: (opts) => {
1343
1343
  var _b, _c, _d;
1344
- const _a = opts, rest = __objRest$f(_a, ["type"]);
1345
- app.notification[(_b = opts.type) != null ? _b : "info"](__spreadProps$e(__spreadValues$l({}, rest), {
1344
+ const _a = opts, rest = __objRest$h(_a, ["type"]);
1345
+ app.notification[(_b = opts.type) != null ? _b : "info"](__spreadProps$f(__spreadValues$n({}, rest), {
1346
1346
  message: (_c = rest.message) == null ? void 0 : _c.toString(),
1347
1347
  description: (_d = rest.description) == null ? void 0 : _d.toString()
1348
1348
  }));
@@ -1674,7 +1674,7 @@ function registerTokens(loader) {
1674
1674
  }
1675
1675
  const registerConfigProvider = makeRegisterGlobalContext(
1676
1676
  AntdConfigProvider,
1677
- __spreadProps$e(__spreadValues$l({
1677
+ __spreadProps$f(__spreadValues$n({
1678
1678
  name: "plasmic-antd5-config-provider",
1679
1679
  displayName: "Ant Design System Settings",
1680
1680
  props: {
@@ -1794,33 +1794,33 @@ const registerConfigProvider = makeRegisterGlobalContext(
1794
1794
  })
1795
1795
  );
1796
1796
 
1797
- var __defProp$k = Object.defineProperty;
1798
- var __defProps$d = Object.defineProperties;
1799
- var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
1800
- var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
1801
- var __hasOwnProp$k = Object.prototype.hasOwnProperty;
1802
- var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
1803
- var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1804
- var __spreadValues$k = (a, b) => {
1797
+ var __defProp$m = Object.defineProperty;
1798
+ var __defProps$e = Object.defineProperties;
1799
+ var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
1800
+ var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
1801
+ var __hasOwnProp$m = Object.prototype.hasOwnProperty;
1802
+ var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
1803
+ var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1804
+ var __spreadValues$m = (a, b) => {
1805
1805
  for (var prop in b || (b = {}))
1806
- if (__hasOwnProp$k.call(b, prop))
1807
- __defNormalProp$k(a, prop, b[prop]);
1808
- if (__getOwnPropSymbols$k)
1809
- for (var prop of __getOwnPropSymbols$k(b)) {
1810
- if (__propIsEnum$k.call(b, prop))
1811
- __defNormalProp$k(a, prop, b[prop]);
1806
+ if (__hasOwnProp$m.call(b, prop))
1807
+ __defNormalProp$m(a, prop, b[prop]);
1808
+ if (__getOwnPropSymbols$m)
1809
+ for (var prop of __getOwnPropSymbols$m(b)) {
1810
+ if (__propIsEnum$m.call(b, prop))
1811
+ __defNormalProp$m(a, prop, b[prop]);
1812
1812
  }
1813
1813
  return a;
1814
1814
  };
1815
- var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
1816
- var __objRest$e = (source, exclude) => {
1815
+ var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
1816
+ var __objRest$g = (source, exclude) => {
1817
1817
  var target = {};
1818
1818
  for (var prop in source)
1819
- if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
1819
+ if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0)
1820
1820
  target[prop] = source[prop];
1821
- if (source != null && __getOwnPropSymbols$k)
1822
- for (var prop of __getOwnPropSymbols$k(source)) {
1823
- if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
1821
+ if (source != null && __getOwnPropSymbols$m)
1822
+ for (var prop of __getOwnPropSymbols$m(source)) {
1823
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
1824
1824
  target[prop] = source[prop];
1825
1825
  }
1826
1826
  return target;
@@ -1829,10 +1829,10 @@ function AntdDatePicker(props) {
1829
1829
  const nativeInput = React__default.default.useRef(null);
1830
1830
  const [open, setOpen] = React.useState(false);
1831
1831
  const strValue = props.value && typeof props.value === "object" && "toISOString" in props.value ? props.value.toISOString() : props.value === null ? void 0 : props.value;
1832
- const _a = props, { picker, popupScopeClassName } = _a, rest = __objRest$e(_a, ["picker", "popupScopeClassName"]);
1832
+ const _a = props, { picker, popupScopeClassName } = _a, rest = __objRest$g(_a, ["picker", "popupScopeClassName"]);
1833
1833
  return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(
1834
1834
  antd.DatePicker,
1835
- __spreadProps$d(__spreadValues$k({}, rest), {
1835
+ __spreadProps$e(__spreadValues$m({}, rest), {
1836
1836
  picker,
1837
1837
  value: props.value === void 0 ? void 0 : !props.value ? null : dayjs__default.default(props.value),
1838
1838
  defaultValue: props.defaultValue === void 0 ? void 0 : dayjs__default.default(props.defaultValue),
@@ -1993,7 +1993,7 @@ function registerDatePicker(loader) {
1993
1993
  }
1994
1994
  },
1995
1995
  states: {
1996
- value: __spreadValues$k({
1996
+ value: __spreadValues$m({
1997
1997
  type: "writable",
1998
1998
  valueProp: "value",
1999
1999
  onChangeProp: "onChange",
@@ -2010,33 +2010,33 @@ function registerDatePicker(loader) {
2010
2010
  });
2011
2011
  }
2012
2012
 
2013
- var __defProp$j = Object.defineProperty;
2014
- var __defProps$c = Object.defineProperties;
2015
- var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
2016
- var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
2017
- var __hasOwnProp$j = Object.prototype.hasOwnProperty;
2018
- var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
2019
- var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2020
- var __spreadValues$j = (a, b) => {
2013
+ var __defProp$l = Object.defineProperty;
2014
+ var __defProps$d = Object.defineProperties;
2015
+ var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
2016
+ var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
2017
+ var __hasOwnProp$l = Object.prototype.hasOwnProperty;
2018
+ var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
2019
+ var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2020
+ var __spreadValues$l = (a, b) => {
2021
2021
  for (var prop in b || (b = {}))
2022
- if (__hasOwnProp$j.call(b, prop))
2023
- __defNormalProp$j(a, prop, b[prop]);
2024
- if (__getOwnPropSymbols$j)
2025
- for (var prop of __getOwnPropSymbols$j(b)) {
2026
- if (__propIsEnum$j.call(b, prop))
2027
- __defNormalProp$j(a, prop, b[prop]);
2022
+ if (__hasOwnProp$l.call(b, prop))
2023
+ __defNormalProp$l(a, prop, b[prop]);
2024
+ if (__getOwnPropSymbols$l)
2025
+ for (var prop of __getOwnPropSymbols$l(b)) {
2026
+ if (__propIsEnum$l.call(b, prop))
2027
+ __defNormalProp$l(a, prop, b[prop]);
2028
2028
  }
2029
2029
  return a;
2030
2030
  };
2031
- var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
2032
- var __objRest$d = (source, exclude) => {
2031
+ var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
2032
+ var __objRest$f = (source, exclude) => {
2033
2033
  var target = {};
2034
2034
  for (var prop in source)
2035
- if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
2035
+ if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
2036
2036
  target[prop] = source[prop];
2037
- if (source != null && __getOwnPropSymbols$j)
2038
- for (var prop of __getOwnPropSymbols$j(source)) {
2039
- if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
2037
+ if (source != null && __getOwnPropSymbols$l)
2038
+ for (var prop of __getOwnPropSymbols$l(source)) {
2039
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
2040
2040
  target[prop] = source[prop];
2041
2041
  }
2042
2042
  return target;
@@ -2072,7 +2072,7 @@ function AntdDateRangePicker(props) {
2072
2072
  onChange,
2073
2073
  popupScopeClassName,
2074
2074
  className
2075
- } = _a, rest = __objRest$d(_a, [
2075
+ } = _a, rest = __objRest$f(_a, [
2076
2076
  "defaultStartDate",
2077
2077
  "defaultEndDate",
2078
2078
  "startDate",
@@ -2140,7 +2140,7 @@ function AntdDateRangePicker(props) {
2140
2140
  }
2141
2141
  `;
2142
2142
  const presetsDayjs = React.useMemo(
2143
- () => presets == null ? void 0 : presets.map((p) => __spreadProps$c(__spreadValues$j({}, p), { value: getDayjsRange([p.startDate, p.endDate]) })).filter((p) => {
2143
+ () => presets == null ? void 0 : presets.map((p) => __spreadProps$d(__spreadValues$l({}, p), { value: getDayjsRange([p.startDate, p.endDate]) })).filter((p) => {
2144
2144
  var _a2, _b;
2145
2145
  return ((_a2 = p.value[0]) == null ? void 0 : _a2.isValid()) && ((_b = p.value[1]) == null ? void 0 : _b.isValid());
2146
2146
  }),
@@ -2148,7 +2148,7 @@ function AntdDateRangePicker(props) {
2148
2148
  );
2149
2149
  return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(
2150
2150
  RangePicker,
2151
- __spreadProps$c(__spreadValues$j({}, rest), {
2151
+ __spreadProps$d(__spreadValues$l({}, rest), {
2152
2152
  picker,
2153
2153
  presets: presetsDayjs,
2154
2154
  allowEmpty: allowEmpty ? [allowEmpty, allowEmpty] : [allowEmptyStartDate, allowEmptyEndDate],
@@ -2385,13 +2385,13 @@ function registerDateRangePicker(loader) {
2385
2385
  }
2386
2386
  },
2387
2387
  states: {
2388
- startDate: __spreadValues$j({
2388
+ startDate: __spreadValues$l({
2389
2389
  type: "writable",
2390
2390
  valueProp: "startDate",
2391
2391
  onChangeProp: "onChange",
2392
2392
  variableType: "text"
2393
2393
  }, dateRangePickerHelpers.states.startDate),
2394
- endDate: __spreadValues$j({
2394
+ endDate: __spreadValues$l({
2395
2395
  type: "writable",
2396
2396
  valueProp: "endDate",
2397
2397
  onChangeProp: "onChange",
@@ -2408,39 +2408,39 @@ function registerDateRangePicker(loader) {
2408
2408
  });
2409
2409
  }
2410
2410
 
2411
- var __defProp$i = Object.defineProperty;
2412
- var __defProps$b = Object.defineProperties;
2413
- var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
2414
- var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
2415
- var __hasOwnProp$i = Object.prototype.hasOwnProperty;
2416
- var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
2417
- var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2418
- var __spreadValues$i = (a, b) => {
2411
+ var __defProp$k = Object.defineProperty;
2412
+ var __defProps$c = Object.defineProperties;
2413
+ var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
2414
+ var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
2415
+ var __hasOwnProp$k = Object.prototype.hasOwnProperty;
2416
+ var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
2417
+ var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2418
+ var __spreadValues$k = (a, b) => {
2419
2419
  for (var prop in b || (b = {}))
2420
- if (__hasOwnProp$i.call(b, prop))
2421
- __defNormalProp$i(a, prop, b[prop]);
2422
- if (__getOwnPropSymbols$i)
2423
- for (var prop of __getOwnPropSymbols$i(b)) {
2424
- if (__propIsEnum$i.call(b, prop))
2425
- __defNormalProp$i(a, prop, b[prop]);
2420
+ if (__hasOwnProp$k.call(b, prop))
2421
+ __defNormalProp$k(a, prop, b[prop]);
2422
+ if (__getOwnPropSymbols$k)
2423
+ for (var prop of __getOwnPropSymbols$k(b)) {
2424
+ if (__propIsEnum$k.call(b, prop))
2425
+ __defNormalProp$k(a, prop, b[prop]);
2426
2426
  }
2427
2427
  return a;
2428
2428
  };
2429
- var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
2430
- var __objRest$c = (source, exclude) => {
2429
+ var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
2430
+ var __objRest$e = (source, exclude) => {
2431
2431
  var target = {};
2432
2432
  for (var prop in source)
2433
- if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
2433
+ if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
2434
2434
  target[prop] = source[prop];
2435
- if (source != null && __getOwnPropSymbols$i)
2436
- for (var prop of __getOwnPropSymbols$i(source)) {
2437
- if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
2435
+ if (source != null && __getOwnPropSymbols$k)
2436
+ for (var prop of __getOwnPropSymbols$k(source)) {
2437
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
2438
2438
  target[prop] = source[prop];
2439
2439
  }
2440
2440
  return target;
2441
2441
  };
2442
2442
  function AntdDrawer(props) {
2443
- const _a = props, { onOpenChange, onClose, open, footer, drawerScopeClassName } = _a, rest = __objRest$c(_a, ["onOpenChange", "onClose", "open", "footer", "drawerScopeClassName"]);
2443
+ const _a = props, { onOpenChange, onClose, open, footer, drawerScopeClassName } = _a, rest = __objRest$e(_a, ["onOpenChange", "onClose", "open", "footer", "drawerScopeClassName"]);
2444
2444
  const memoOnClose = React__default.default.useMemo(() => {
2445
2445
  if (onOpenChange || onClose) {
2446
2446
  return (e) => {
@@ -2453,7 +2453,7 @@ function AntdDrawer(props) {
2453
2453
  }, [onOpenChange, onClose]);
2454
2454
  return /* @__PURE__ */ React__default.default.createElement(
2455
2455
  antd.Drawer,
2456
- __spreadProps$b(__spreadValues$i({}, rest), {
2456
+ __spreadProps$c(__spreadValues$k({}, rest), {
2457
2457
  onClose: memoOnClose,
2458
2458
  rootClassName: drawerScopeClassName,
2459
2459
  open,
@@ -2603,25 +2603,25 @@ function registerDrawer(loader) {
2603
2603
  });
2604
2604
  }
2605
2605
 
2606
- var __defProp$h = Object.defineProperty;
2607
- var __defProps$a = Object.defineProperties;
2608
- var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
2609
- var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
2610
- var __hasOwnProp$h = Object.prototype.hasOwnProperty;
2611
- var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
2612
- var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2613
- var __spreadValues$h = (a, b) => {
2606
+ var __defProp$j = Object.defineProperty;
2607
+ var __defProps$b = Object.defineProperties;
2608
+ var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
2609
+ var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
2610
+ var __hasOwnProp$j = Object.prototype.hasOwnProperty;
2611
+ var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
2612
+ var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2613
+ var __spreadValues$j = (a, b) => {
2614
2614
  for (var prop in b || (b = {}))
2615
- if (__hasOwnProp$h.call(b, prop))
2616
- __defNormalProp$h(a, prop, b[prop]);
2617
- if (__getOwnPropSymbols$h)
2618
- for (var prop of __getOwnPropSymbols$h(b)) {
2619
- if (__propIsEnum$h.call(b, prop))
2620
- __defNormalProp$h(a, prop, b[prop]);
2615
+ if (__hasOwnProp$j.call(b, prop))
2616
+ __defNormalProp$j(a, prop, b[prop]);
2617
+ if (__getOwnPropSymbols$j)
2618
+ for (var prop of __getOwnPropSymbols$j(b)) {
2619
+ if (__propIsEnum$j.call(b, prop))
2620
+ __defNormalProp$j(a, prop, b[prop]);
2621
2621
  }
2622
2622
  return a;
2623
2623
  };
2624
- var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
2624
+ var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
2625
2625
  const AntdMenuDivider = antd.Menu.Divider;
2626
2626
  const AntdMenuItem = antd.Menu.Item;
2627
2627
  const AntdMenuItemGroup = antd.Menu.ItemGroup;
@@ -2676,7 +2676,7 @@ const MENU_ITEM_TYPE = {
2676
2676
  }
2677
2677
  }
2678
2678
  };
2679
- const UNKEYED_MENU_ITEM_TYPE = __spreadProps$a(__spreadValues$h({}, MENU_ITEM_TYPE), {
2679
+ const UNKEYED_MENU_ITEM_TYPE = __spreadProps$b(__spreadValues$j({}, MENU_ITEM_TYPE), {
2680
2680
  fields: Object.fromEntries(
2681
2681
  Object.entries(MENU_ITEM_TYPE.fields).filter(([k]) => k !== "key")
2682
2682
  )
@@ -2781,7 +2781,7 @@ function registerMenu(loader) {
2781
2781
  type: "string",
2782
2782
  description: "Set display title for collapsed item"
2783
2783
  },
2784
- children: __spreadValues$h({
2784
+ children: __spreadValues$j({
2785
2785
  type: "slot",
2786
2786
  defaultValue: [
2787
2787
  {
@@ -2893,33 +2893,33 @@ function registerMenu(loader) {
2893
2893
  });
2894
2894
  }
2895
2895
 
2896
- var __defProp$g = Object.defineProperty;
2897
- var __defProps$9 = Object.defineProperties;
2898
- var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
2899
- var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
2900
- var __hasOwnProp$g = Object.prototype.hasOwnProperty;
2901
- var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
2902
- var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2903
- var __spreadValues$g = (a, b) => {
2896
+ var __defProp$i = Object.defineProperty;
2897
+ var __defProps$a = Object.defineProperties;
2898
+ var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
2899
+ var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
2900
+ var __hasOwnProp$i = Object.prototype.hasOwnProperty;
2901
+ var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
2902
+ var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2903
+ var __spreadValues$i = (a, b) => {
2904
2904
  for (var prop in b || (b = {}))
2905
- if (__hasOwnProp$g.call(b, prop))
2906
- __defNormalProp$g(a, prop, b[prop]);
2907
- if (__getOwnPropSymbols$g)
2908
- for (var prop of __getOwnPropSymbols$g(b)) {
2909
- if (__propIsEnum$g.call(b, prop))
2910
- __defNormalProp$g(a, prop, b[prop]);
2905
+ if (__hasOwnProp$i.call(b, prop))
2906
+ __defNormalProp$i(a, prop, b[prop]);
2907
+ if (__getOwnPropSymbols$i)
2908
+ for (var prop of __getOwnPropSymbols$i(b)) {
2909
+ if (__propIsEnum$i.call(b, prop))
2910
+ __defNormalProp$i(a, prop, b[prop]);
2911
2911
  }
2912
2912
  return a;
2913
2913
  };
2914
- var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
2915
- var __objRest$b = (source, exclude) => {
2914
+ var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
2915
+ var __objRest$d = (source, exclude) => {
2916
2916
  var target = {};
2917
2917
  for (var prop in source)
2918
- if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
2918
+ if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
2919
2919
  target[prop] = source[prop];
2920
- if (source != null && __getOwnPropSymbols$g)
2921
- for (var prop of __getOwnPropSymbols$g(source)) {
2922
- if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
2920
+ if (source != null && __getOwnPropSymbols$i)
2921
+ for (var prop of __getOwnPropSymbols$i(source)) {
2922
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
2923
2923
  target[prop] = source[prop];
2924
2924
  }
2925
2925
  return target;
@@ -2933,7 +2933,7 @@ function AntdDropdown(props) {
2933
2933
  menuItemsJson,
2934
2934
  trigger = "click",
2935
2935
  dropdownMenuScopeClassName
2936
- } = _a, rest = __objRest$b(_a, [
2936
+ } = _a, rest = __objRest$d(_a, [
2937
2937
  "children",
2938
2938
  "onAction",
2939
2939
  "menuItems",
@@ -2944,7 +2944,7 @@ function AntdDropdown(props) {
2944
2944
  ]);
2945
2945
  return /* @__PURE__ */ React__default.default.createElement(
2946
2946
  antd.Dropdown,
2947
- __spreadProps$9(__spreadValues$g({}, rest), {
2947
+ __spreadProps$a(__spreadValues$i({}, rest), {
2948
2948
  trigger: [trigger],
2949
2949
  overlay: () => {
2950
2950
  var _a2;
@@ -3085,7 +3085,7 @@ function registerDropdown(loader) {
3085
3085
  advanced: true,
3086
3086
  description: "Instead of configuring a list of menu items, build the menu items using MenuItem elements. This gives you greater control over item styling."
3087
3087
  },
3088
- children: __spreadValues$g({
3088
+ children: __spreadValues$i({
3089
3089
  type: "slot",
3090
3090
  defaultValue: [
3091
3091
  {
@@ -3110,25 +3110,25 @@ function registerDropdown(loader) {
3110
3110
  });
3111
3111
  }
3112
3112
 
3113
- var __defProp$f = Object.defineProperty;
3114
- var __defProps$8 = Object.defineProperties;
3115
- var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
3116
- var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
3117
- var __hasOwnProp$f = Object.prototype.hasOwnProperty;
3118
- var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
3119
- var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3120
- var __spreadValues$f = (a, b) => {
3113
+ var __defProp$h = Object.defineProperty;
3114
+ var __defProps$9 = Object.defineProperties;
3115
+ var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
3116
+ var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
3117
+ var __hasOwnProp$h = Object.prototype.hasOwnProperty;
3118
+ var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
3119
+ var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3120
+ var __spreadValues$h = (a, b) => {
3121
3121
  for (var prop in b || (b = {}))
3122
- if (__hasOwnProp$f.call(b, prop))
3123
- __defNormalProp$f(a, prop, b[prop]);
3124
- if (__getOwnPropSymbols$f)
3125
- for (var prop of __getOwnPropSymbols$f(b)) {
3126
- if (__propIsEnum$f.call(b, prop))
3127
- __defNormalProp$f(a, prop, b[prop]);
3122
+ if (__hasOwnProp$h.call(b, prop))
3123
+ __defNormalProp$h(a, prop, b[prop]);
3124
+ if (__getOwnPropSymbols$h)
3125
+ for (var prop of __getOwnPropSymbols$h(b)) {
3126
+ if (__propIsEnum$h.call(b, prop))
3127
+ __defNormalProp$h(a, prop, b[prop]);
3128
3128
  }
3129
3129
  return a;
3130
3130
  };
3131
- var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
3131
+ var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
3132
3132
  const AntdInput = antd.Input;
3133
3133
  const AntdTextArea = antd.Input.TextArea;
3134
3134
  const AntdPassword = antd.Input.Password;
@@ -3218,10 +3218,10 @@ const COMMON_EVENT_HANDLERS = {
3218
3218
  };
3219
3219
  const inputComponentName = "plasmic-antd5-input";
3220
3220
  function registerInput(loader) {
3221
- registerComponentHelper(loader, AntdInput, __spreadProps$8(__spreadValues$f({
3221
+ registerComponentHelper(loader, AntdInput, __spreadProps$9(__spreadValues$h({
3222
3222
  name: inputComponentName,
3223
3223
  displayName: "Input",
3224
- props: __spreadValues$f(__spreadValues$f(__spreadValues$f({
3224
+ props: __spreadValues$h(__spreadValues$h(__spreadValues$h({
3225
3225
  value: {
3226
3226
  type: "string",
3227
3227
  hidden: (ps) => !!ps.__plasmicFormField
@@ -3252,7 +3252,7 @@ function registerInput(loader) {
3252
3252
  defaultValueHint: "text"
3253
3253
  }
3254
3254
  }, COMMON_ADVANCED_PROPS), COMMON_DECORATOR_PROPS), COMMON_EVENT_HANDLERS),
3255
- states: __spreadValues$f({}, COMMON_STATES)
3255
+ states: __spreadValues$h({}, COMMON_STATES)
3256
3256
  }, { trapsSelection: true }), {
3257
3257
  componentHelpers: COMMON_HELPERS_CONFIG,
3258
3258
  importPath: "@plasmicpkgs/antd5/skinny/registerInput",
@@ -3265,7 +3265,7 @@ function registerTextArea(loader) {
3265
3265
  name: textAreaComponentName,
3266
3266
  parentComponentName: inputComponentName,
3267
3267
  displayName: "Text Area",
3268
- props: __spreadValues$f({
3268
+ props: __spreadValues$h({
3269
3269
  value: {
3270
3270
  type: "string",
3271
3271
  hidden: (ps) => !!ps.__plasmicFormField
@@ -3286,7 +3286,7 @@ function registerTextArea(loader) {
3286
3286
  defaultValueHint: true
3287
3287
  }
3288
3288
  }, COMMON_EVENT_HANDLERS),
3289
- states: __spreadValues$f({}, COMMON_STATES),
3289
+ states: __spreadValues$h({}, COMMON_STATES),
3290
3290
  componentHelpers: COMMON_HELPERS_CONFIG,
3291
3291
  importPath: "@plasmicpkgs/antd5/skinny/registerInput",
3292
3292
  importName: "AntdTextArea"
@@ -3298,7 +3298,7 @@ function registerPasswordInput(loader) {
3298
3298
  name: passwordComponentName,
3299
3299
  parentComponentName: inputComponentName,
3300
3300
  displayName: "Password Input",
3301
- props: __spreadValues$f({
3301
+ props: __spreadValues$h({
3302
3302
  value: {
3303
3303
  type: "string",
3304
3304
  hidden: (ps) => !!ps.__plasmicFormField
@@ -3319,7 +3319,7 @@ function registerPasswordInput(loader) {
3319
3319
  defaultValueHint: true
3320
3320
  }
3321
3321
  }, COMMON_EVENT_HANDLERS),
3322
- states: __spreadValues$f({}, COMMON_STATES),
3322
+ states: __spreadValues$h({}, COMMON_STATES),
3323
3323
  componentHelpers: COMMON_HELPERS_CONFIG,
3324
3324
  importPath: "@plasmicpkgs/antd5/skinny/registerInput",
3325
3325
  importName: "AntdPassword"
@@ -3327,11 +3327,11 @@ function registerPasswordInput(loader) {
3327
3327
  }
3328
3328
  const inputNumberComponentName = "plasmic-antd5-input-number";
3329
3329
  function registerNumberInput(loader) {
3330
- registerComponentHelper(loader, AntdInputNumber, __spreadProps$8(__spreadValues$f({
3330
+ registerComponentHelper(loader, AntdInputNumber, __spreadProps$9(__spreadValues$h({
3331
3331
  name: inputNumberComponentName,
3332
3332
  parentComponentName: inputComponentName,
3333
3333
  displayName: "Number Input",
3334
- props: __spreadProps$8(__spreadValues$f(__spreadValues$f(__spreadValues$f({
3334
+ props: __spreadProps$9(__spreadValues$h(__spreadValues$h(__spreadValues$h({
3335
3335
  value: {
3336
3336
  type: "number",
3337
3337
  hidden: (ps) => !!ps.__plasmicFormField
@@ -3369,7 +3369,7 @@ function registerNumberInput(loader) {
3369
3369
  ]
3370
3370
  }
3371
3371
  }),
3372
- states: __spreadValues$f({}, COMMON_STATES)
3372
+ states: __spreadValues$h({}, COMMON_STATES)
3373
3373
  }, { trapsSelection: true }), {
3374
3374
  // don't need component helpers
3375
3375
  importPath: "@plasmicpkgs/antd5/skinny/registerInput",
@@ -3377,33 +3377,33 @@ function registerNumberInput(loader) {
3377
3377
  }));
3378
3378
  }
3379
3379
 
3380
- var __defProp$e = Object.defineProperty;
3381
- var __defProps$7 = Object.defineProperties;
3382
- var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
3383
- var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
3384
- var __hasOwnProp$e = Object.prototype.hasOwnProperty;
3385
- var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
3386
- var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3387
- var __spreadValues$e = (a, b) => {
3380
+ var __defProp$g = Object.defineProperty;
3381
+ var __defProps$8 = Object.defineProperties;
3382
+ var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
3383
+ var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
3384
+ var __hasOwnProp$g = Object.prototype.hasOwnProperty;
3385
+ var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
3386
+ var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3387
+ var __spreadValues$g = (a, b) => {
3388
3388
  for (var prop in b || (b = {}))
3389
- if (__hasOwnProp$e.call(b, prop))
3390
- __defNormalProp$e(a, prop, b[prop]);
3391
- if (__getOwnPropSymbols$e)
3392
- for (var prop of __getOwnPropSymbols$e(b)) {
3393
- if (__propIsEnum$e.call(b, prop))
3394
- __defNormalProp$e(a, prop, b[prop]);
3389
+ if (__hasOwnProp$g.call(b, prop))
3390
+ __defNormalProp$g(a, prop, b[prop]);
3391
+ if (__getOwnPropSymbols$g)
3392
+ for (var prop of __getOwnPropSymbols$g(b)) {
3393
+ if (__propIsEnum$g.call(b, prop))
3394
+ __defNormalProp$g(a, prop, b[prop]);
3395
3395
  }
3396
3396
  return a;
3397
3397
  };
3398
- var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
3399
- var __objRest$a = (source, exclude) => {
3398
+ var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
3399
+ var __objRest$c = (source, exclude) => {
3400
3400
  var target = {};
3401
3401
  for (var prop in source)
3402
- if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
3402
+ if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
3403
3403
  target[prop] = source[prop];
3404
- if (source != null && __getOwnPropSymbols$e)
3405
- for (var prop of __getOwnPropSymbols$e(source)) {
3406
- if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
3404
+ if (source != null && __getOwnPropSymbols$g)
3405
+ for (var prop of __getOwnPropSymbols$g(source)) {
3406
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
3407
3407
  target[prop] = source[prop];
3408
3408
  }
3409
3409
  return target;
@@ -3412,7 +3412,7 @@ const RadioGroup = antd.Radio.Group;
3412
3412
  const AntdRadio = antd.Radio;
3413
3413
  const AntdRadioButton = antd.Radio.Button;
3414
3414
  function AntdRadioGroup(props) {
3415
- const _a = props, { onChange, useChildren } = _a, rest = __objRest$a(_a, ["onChange", "useChildren"]);
3415
+ const _a = props, { onChange, useChildren } = _a, rest = __objRest$c(_a, ["onChange", "useChildren"]);
3416
3416
  const wrappedOnChange = React__default.default.useMemo(() => {
3417
3417
  if (onChange) {
3418
3418
  return (event) => onChange(event.target.value);
@@ -3422,7 +3422,7 @@ function AntdRadioGroup(props) {
3422
3422
  }, [onChange]);
3423
3423
  return /* @__PURE__ */ React__default.default.createElement(
3424
3424
  RadioGroup,
3425
- __spreadProps$7(__spreadValues$e({}, rest), {
3425
+ __spreadProps$8(__spreadValues$g({}, rest), {
3426
3426
  onChange: wrappedOnChange,
3427
3427
  options: useChildren ? void 0 : rest.options
3428
3428
  })
@@ -3450,7 +3450,7 @@ function registerRadio(loader) {
3450
3450
  defaultValueHint: false,
3451
3451
  advanced: true
3452
3452
  },
3453
- children: __spreadValues$e({
3453
+ children: __spreadValues$g({
3454
3454
  type: "slot",
3455
3455
  defaultValue: [
3456
3456
  {
@@ -3482,7 +3482,7 @@ function registerRadio(loader) {
3482
3482
  defaultValueHint: false,
3483
3483
  advanced: true
3484
3484
  },
3485
- children: __spreadValues$e({
3485
+ children: __spreadValues$g({
3486
3486
  type: "slot",
3487
3487
  defaultValue: [
3488
3488
  {
@@ -3496,7 +3496,7 @@ function registerRadio(loader) {
3496
3496
  importName: "AntdRadioButton",
3497
3497
  parentComponentName: radioGroupComponentName
3498
3498
  });
3499
- registerComponentHelper(loader, AntdRadioGroup, __spreadValues$e({
3499
+ registerComponentHelper(loader, AntdRadioGroup, __spreadValues$g({
3500
3500
  name: radioGroupComponentName,
3501
3501
  displayName: "Radio Group",
3502
3502
  props: {
@@ -3619,33 +3619,33 @@ function registerRadio(loader) {
3619
3619
  }));
3620
3620
  }
3621
3621
 
3622
- var __defProp$d = Object.defineProperty;
3623
- var __defProps$6 = Object.defineProperties;
3624
- var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
3625
- var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
3626
- var __hasOwnProp$d = Object.prototype.hasOwnProperty;
3627
- var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
3628
- var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3629
- var __spreadValues$d = (a, b) => {
3622
+ var __defProp$f = Object.defineProperty;
3623
+ var __defProps$7 = Object.defineProperties;
3624
+ var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
3625
+ var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
3626
+ var __hasOwnProp$f = Object.prototype.hasOwnProperty;
3627
+ var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
3628
+ var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3629
+ var __spreadValues$f = (a, b) => {
3630
3630
  for (var prop in b || (b = {}))
3631
- if (__hasOwnProp$d.call(b, prop))
3632
- __defNormalProp$d(a, prop, b[prop]);
3633
- if (__getOwnPropSymbols$d)
3634
- for (var prop of __getOwnPropSymbols$d(b)) {
3635
- if (__propIsEnum$d.call(b, prop))
3636
- __defNormalProp$d(a, prop, b[prop]);
3631
+ if (__hasOwnProp$f.call(b, prop))
3632
+ __defNormalProp$f(a, prop, b[prop]);
3633
+ if (__getOwnPropSymbols$f)
3634
+ for (var prop of __getOwnPropSymbols$f(b)) {
3635
+ if (__propIsEnum$f.call(b, prop))
3636
+ __defNormalProp$f(a, prop, b[prop]);
3637
3637
  }
3638
3638
  return a;
3639
3639
  };
3640
- var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
3641
- var __objRest$9 = (source, exclude) => {
3640
+ var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
3641
+ var __objRest$b = (source, exclude) => {
3642
3642
  var target = {};
3643
3643
  for (var prop in source)
3644
- if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
3644
+ if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
3645
3645
  target[prop] = source[prop];
3646
- if (source != null && __getOwnPropSymbols$d)
3647
- for (var prop of __getOwnPropSymbols$d(source)) {
3648
- if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
3646
+ if (source != null && __getOwnPropSymbols$f)
3647
+ for (var prop of __getOwnPropSymbols$f(source)) {
3648
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
3649
3649
  target[prop] = source[prop];
3650
3650
  }
3651
3651
  return target;
@@ -3660,7 +3660,7 @@ function AntdSelect(props) {
3660
3660
  suffixIcon,
3661
3661
  mode,
3662
3662
  useChildren
3663
- } = _a, rest = __objRest$9(_a, [
3663
+ } = _a, rest = __objRest$b(_a, [
3664
3664
  "popupClassName",
3665
3665
  "popupScopeClassName",
3666
3666
  "defaultStylesClassName",
@@ -3668,13 +3668,13 @@ function AntdSelect(props) {
3668
3668
  "mode",
3669
3669
  "useChildren"
3670
3670
  ]);
3671
- const curated = __spreadValues$d({}, rest);
3671
+ const curated = __spreadValues$f({}, rest);
3672
3672
  if (useChildren) {
3673
3673
  curated.options = void 0;
3674
3674
  }
3675
3675
  return /* @__PURE__ */ React__default.default.createElement(
3676
3676
  antd.Select,
3677
- __spreadValues$d(__spreadProps$6(__spreadValues$d({}, curated), {
3677
+ __spreadValues$f(__spreadProps$7(__spreadValues$f({}, curated), {
3678
3678
  mode: !mode || mode === "single" ? void 0 : mode,
3679
3679
  popupClassName: `${defaultStylesClassName} ${popupScopeClassName} ${popupClassName}`,
3680
3680
  optionFilterProp: curated.options ? "label" : void 0,
@@ -3689,7 +3689,7 @@ const selectComponentName = "plasmic-antd5-select";
3689
3689
  const optionComponentName = "plasmic-antd5-option";
3690
3690
  const optionGroupComponentName = "plasmic-antd5-option-group";
3691
3691
  function registerSelect(loader) {
3692
- registerComponentHelper(loader, AntdSelect, __spreadProps$6(__spreadValues$d({
3692
+ registerComponentHelper(loader, AntdSelect, __spreadProps$7(__spreadValues$f({
3693
3693
  name: selectComponentName,
3694
3694
  displayName: "Select",
3695
3695
  props: {
@@ -3925,7 +3925,7 @@ function registerSelect(loader) {
3925
3925
  displayName: "Option",
3926
3926
  parentComponentName: selectComponentName,
3927
3927
  props: {
3928
- children: __spreadValues$d({
3928
+ children: __spreadValues$f({
3929
3929
  type: "slot",
3930
3930
  defaultValue: "Option"
3931
3931
  }, { mergeWithParent: true }),
@@ -3978,24 +3978,24 @@ function registerSelect(loader) {
3978
3978
  });
3979
3979
  }
3980
3980
 
3981
- var __defProp$c = Object.defineProperty;
3982
- var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
3983
- var __hasOwnProp$c = Object.prototype.hasOwnProperty;
3984
- var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
3985
- var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3986
- var __spreadValues$c = (a, b) => {
3981
+ var __defProp$e = Object.defineProperty;
3982
+ var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
3983
+ var __hasOwnProp$e = Object.prototype.hasOwnProperty;
3984
+ var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
3985
+ var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3986
+ var __spreadValues$e = (a, b) => {
3987
3987
  for (var prop in b || (b = {}))
3988
- if (__hasOwnProp$c.call(b, prop))
3989
- __defNormalProp$c(a, prop, b[prop]);
3990
- if (__getOwnPropSymbols$c)
3991
- for (var prop of __getOwnPropSymbols$c(b)) {
3992
- if (__propIsEnum$c.call(b, prop))
3993
- __defNormalProp$c(a, prop, b[prop]);
3988
+ if (__hasOwnProp$e.call(b, prop))
3989
+ __defNormalProp$e(a, prop, b[prop]);
3990
+ if (__getOwnPropSymbols$e)
3991
+ for (var prop of __getOwnPropSymbols$e(b)) {
3992
+ if (__propIsEnum$e.call(b, prop))
3993
+ __defNormalProp$e(a, prop, b[prop]);
3994
3994
  }
3995
3995
  return a;
3996
3996
  };
3997
3997
  function AntdSwitch(props) {
3998
- return /* @__PURE__ */ React__default.default.createElement(antd.Switch, __spreadValues$c({}, props));
3998
+ return /* @__PURE__ */ React__default.default.createElement(antd.Switch, __spreadValues$e({}, props));
3999
3999
  }
4000
4000
  AntdSwitch.__plasmicFormFieldMeta = { valueProp: "checked" };
4001
4001
  const switchComponentName = "plasmic-antd5-switch";
@@ -4041,33 +4041,33 @@ function registerSwitch(loader) {
4041
4041
  });
4042
4042
  }
4043
4043
 
4044
- var __defProp$b = Object.defineProperty;
4045
- var __defProps$5 = Object.defineProperties;
4046
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
4047
- var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
4048
- var __hasOwnProp$b = Object.prototype.hasOwnProperty;
4049
- var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
4050
- var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4051
- var __spreadValues$b = (a, b) => {
4044
+ var __defProp$d = Object.defineProperty;
4045
+ var __defProps$6 = Object.defineProperties;
4046
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
4047
+ var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
4048
+ var __hasOwnProp$d = Object.prototype.hasOwnProperty;
4049
+ var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
4050
+ var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4051
+ var __spreadValues$d = (a, b) => {
4052
4052
  for (var prop in b || (b = {}))
4053
- if (__hasOwnProp$b.call(b, prop))
4054
- __defNormalProp$b(a, prop, b[prop]);
4055
- if (__getOwnPropSymbols$b)
4056
- for (var prop of __getOwnPropSymbols$b(b)) {
4057
- if (__propIsEnum$b.call(b, prop))
4058
- __defNormalProp$b(a, prop, b[prop]);
4053
+ if (__hasOwnProp$d.call(b, prop))
4054
+ __defNormalProp$d(a, prop, b[prop]);
4055
+ if (__getOwnPropSymbols$d)
4056
+ for (var prop of __getOwnPropSymbols$d(b)) {
4057
+ if (__propIsEnum$d.call(b, prop))
4058
+ __defNormalProp$d(a, prop, b[prop]);
4059
4059
  }
4060
4060
  return a;
4061
4061
  };
4062
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
4063
- var __objRest$8 = (source, exclude) => {
4062
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
4063
+ var __objRest$a = (source, exclude) => {
4064
4064
  var target = {};
4065
4065
  for (var prop in source)
4066
- if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0)
4066
+ if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
4067
4067
  target[prop] = source[prop];
4068
- if (source != null && __getOwnPropSymbols$b)
4069
- for (var prop of __getOwnPropSymbols$b(source)) {
4070
- if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop))
4068
+ if (source != null && __getOwnPropSymbols$d)
4069
+ for (var prop of __getOwnPropSymbols$d(source)) {
4070
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
4071
4071
  target[prop] = source[prop];
4072
4072
  }
4073
4073
  return target;
@@ -4109,7 +4109,7 @@ const Internal = React__default.default.forwardRef(
4109
4109
  formLayout,
4110
4110
  internalFieldCtx,
4111
4111
  setInternalFieldCtx
4112
- } = _a, rest = __objRest$8(_a, [
4112
+ } = _a, rest = __objRest$a(_a, [
4113
4113
  "extendedOnValuesChange",
4114
4114
  "forceRemount",
4115
4115
  "formLayout",
@@ -4130,7 +4130,7 @@ const Internal = React__default.default.forwardRef(
4130
4130
  },
4131
4131
  /* @__PURE__ */ React__default.default.createElement(
4132
4132
  FormItemWrapper,
4133
- __spreadProps$5(__spreadValues$b({}, omit(formItem, "key")), {
4133
+ __spreadProps$6(__spreadValues$d({}, omit(formItem, "key")), {
4134
4134
  noLabel: formItem.inputType === "Checkbox" /* Checkbox */ || formItem.noLabel,
4135
4135
  valuePropName: (_c2 = formItem.valuePropName) != null ? _c2 : formItem.inputType === "Checkbox" /* Checkbox */ ? "checked" : void 0,
4136
4136
  style: { width: "100%" }
@@ -4221,7 +4221,7 @@ const Internal = React__default.default.forwardRef(
4221
4221
  },
4222
4222
  /* @__PURE__ */ React__default.default.createElement(FormLayoutContext.Provider, { value: formLayout }, /* @__PURE__ */ React__default.default.createElement(
4223
4223
  antd.Form,
4224
- __spreadProps$5(__spreadValues$b({}, rest), {
4224
+ __spreadProps$6(__spreadValues$d({}, rest), {
4225
4225
  key: props.initialValues ? JSON.stringify(props.initialValues) : void 0,
4226
4226
  onValuesChange: (...args) => {
4227
4227
  var _a2;
@@ -4260,7 +4260,7 @@ function deriveFormFieldConfigs(dataFormItems, schema, data) {
4260
4260
  schema,
4261
4261
  (field) => {
4262
4262
  var _a;
4263
- return __spreadValues$b({
4263
+ return __spreadValues$d({
4264
4264
  inputType: "Text" /* Text */
4265
4265
  }, field && {
4266
4266
  key: field.id,
@@ -4281,7 +4281,7 @@ function useFormItemDefinitions(rawData, props, formRef, commonFormCtxData) {
4281
4281
  const data = rawData && dataSources.normalizeData(rawData);
4282
4282
  const schema = data && (data == null ? void 0 : data.schema);
4283
4283
  if (mode !== "simplified" || !rawData || rawData.isLoading || rawData.error || !data || !schema || !data.data) {
4284
- setControlContextData == null ? void 0 : setControlContextData(__spreadValues$b({
4284
+ setControlContextData == null ? void 0 : setControlContextData(__spreadValues$d({
4285
4285
  formInstance
4286
4286
  }, commonFormCtxData));
4287
4287
  return void 0;
@@ -4292,7 +4292,7 @@ function useFormItemDefinitions(rawData, props, formRef, commonFormCtxData) {
4292
4292
  schema,
4293
4293
  row
4294
4294
  );
4295
- setControlContextData == null ? void 0 : setControlContextData(__spreadValues$b({
4295
+ setControlContextData == null ? void 0 : setControlContextData(__spreadValues$d({
4296
4296
  schema: data.schema,
4297
4297
  minimalFullLengthFields,
4298
4298
  mergedFields,
@@ -4333,7 +4333,7 @@ const FormWrapper = React__default.default.forwardRef(
4333
4333
  });
4334
4334
  React__default.default.useImperativeHandle(
4335
4335
  ref,
4336
- () => wrapperRef.current ? __spreadValues$b({}, wrapperRef.current) : {}
4336
+ () => wrapperRef.current ? __spreadValues$d({}, wrapperRef.current) : {}
4337
4337
  );
4338
4338
  const formLayout = React__default.default.useMemo(
4339
4339
  () => {
@@ -4370,7 +4370,7 @@ const FormWrapper = React__default.default.forwardRef(
4370
4370
  forceRemount();
4371
4371
  }
4372
4372
  }, [props.data]);
4373
- const _b = props, { dataFormItems, formItems, data } = _b, rest = __objRest$8(_b, ["dataFormItems", "formItems", "data"]);
4373
+ const _b = props, { dataFormItems, formItems, data } = _b, rest = __objRest$a(_b, ["dataFormItems", "formItems", "data"]);
4374
4374
  const actualFormItems = props.mode === "simplified" && formItemDefinitions ? formItemDefinitions : data ? dataFormItems : formItems;
4375
4375
  const previousFormItems = React__default.default.useRef([]);
4376
4376
  React__default.default.useEffect(() => {
@@ -4385,7 +4385,7 @@ const FormWrapper = React__default.default.forwardRef(
4385
4385
  const isLoadingData = rawData == null ? void 0 : rawData.isLoading;
4386
4386
  return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(
4387
4387
  Internal,
4388
- __spreadProps$5(__spreadValues$b({
4388
+ __spreadProps$6(__spreadValues$d({
4389
4389
  key: remountKey
4390
4390
  }, rest), {
4391
4391
  forceRemount,
@@ -4582,7 +4582,7 @@ function registerForm(loader) {
4582
4582
  return true;
4583
4583
  }
4584
4584
  },
4585
- submitSlot: __spreadValues$b({
4585
+ submitSlot: __spreadValues$d({
4586
4586
  type: "slot",
4587
4587
  hidden: () => true,
4588
4588
  defaultValue: {
@@ -4874,7 +4874,7 @@ function FormItemWrapper(props) {
4874
4874
  customizeProps,
4875
4875
  setControlContextData,
4876
4876
  alignLabellessWithControls = true
4877
- } = _a, rest = __objRest$8(_a, [
4877
+ } = _a, rest = __objRest$a(_a, [
4878
4878
  "rules",
4879
4879
  "description",
4880
4880
  "noLabel",
@@ -4951,7 +4951,7 @@ function FormItemWrapper(props) {
4951
4951
  }, []);
4952
4952
  return /* @__PURE__ */ React__default.default.createElement(
4953
4953
  FormItem,
4954
- __spreadProps$5(__spreadValues$b({}, rest), {
4954
+ __spreadProps$6(__spreadValues$d({}, rest), {
4955
4955
  label: noLabel ? void 0 : props.label,
4956
4956
  name: relativeFormItemName,
4957
4957
  rules,
@@ -5016,7 +5016,7 @@ function deriveOnChangePropName(props) {
5016
5016
  return void 0;
5017
5017
  }
5018
5018
  function FormItemForwarder(_a) {
5019
- var _b = _a, { formItemProps } = _b, props = __objRest$8(_b, ["formItemProps"]);
5019
+ var _b = _a, { formItemProps } = _b, props = __objRest$a(_b, ["formItemProps"]);
5020
5020
  var _a2;
5021
5021
  const status = antd.Form.Item.useStatus();
5022
5022
  const internalFormCtx = React__default.default.useContext(InternalFormInstanceContext);
@@ -5029,7 +5029,7 @@ function FormItemForwarder(_a) {
5029
5029
  });
5030
5030
  return React__default.default.Children.map(formItemProps.children, (child, i) => {
5031
5031
  var _a3;
5032
- let newProps = __spreadProps$5(__spreadValues$b(__spreadValues$b({
5032
+ let newProps = __spreadProps$6(__spreadValues$d(__spreadValues$d({
5033
5033
  name: formItemProps.name
5034
5034
  }, (_a3 = child.props) != null ? _a3 : {}), props), {
5035
5035
  __plasmicFormField: true
@@ -5278,7 +5278,7 @@ function commonFormItemProps(usage) {
5278
5278
  }
5279
5279
  const commonSimplifiedFormArrayItemType = (propName) => ({
5280
5280
  type: "object",
5281
- fields: __spreadValues$b({
5281
+ fields: __spreadValues$d({
5282
5282
  label: {
5283
5283
  type: "string",
5284
5284
  defaultValueHint: getDefaultValueHint("label")
@@ -5374,7 +5374,7 @@ const commonSimplifiedFormArrayItemType = (propName) => ({
5374
5374
  });
5375
5375
  const formItemComponentName = "plasmic-antd5-form-item";
5376
5376
  function registerFormItem(loader) {
5377
- registerComponentHelper(loader, FormItemWrapper, __spreadValues$b({
5377
+ registerComponentHelper(loader, FormItemWrapper, __spreadValues$d({
5378
5378
  name: formItemComponentName,
5379
5379
  displayName: "Form Field",
5380
5380
  parentComponentName: formComponentName,
@@ -5382,8 +5382,8 @@ function registerFormItem(loader) {
5382
5382
  marginBottom: "24px",
5383
5383
  width: "stretch"
5384
5384
  },
5385
- props: __spreadValues$b({
5386
- label: __spreadValues$b({
5385
+ props: __spreadValues$d({
5386
+ label: __spreadValues$d({
5387
5387
  type: "slot",
5388
5388
  defaultValue: {
5389
5389
  type: "text",
@@ -5391,7 +5391,7 @@ function registerFormItem(loader) {
5391
5391
  },
5392
5392
  hidden: (ps) => !!ps.noLabel
5393
5393
  }, { mergeWithParent: true }),
5394
- children: __spreadValues$b({
5394
+ children: __spreadValues$d({
5395
5395
  type: "slot",
5396
5396
  defaultValue: {
5397
5397
  type: "component",
@@ -5568,7 +5568,7 @@ const FormListWrapper = React__default.default.forwardRef(function FormListWrapp
5568
5568
  }
5569
5569
  }, [JSON.stringify(props.initialValue), JSON.stringify(fullFormItemName)]);
5570
5570
  }
5571
- return /* @__PURE__ */ React__default.default.createElement(FormList, __spreadProps$5(__spreadValues$b({}, props), { name: relativeFormItemName != null ? relativeFormItemName : [] }), (...args) => {
5571
+ return /* @__PURE__ */ React__default.default.createElement(FormList, __spreadProps$6(__spreadValues$d({}, props), { name: relativeFormItemName != null ? relativeFormItemName : [] }), (...args) => {
5572
5572
  operationsRef.current = args;
5573
5573
  return args[0].map((field, index) => /* @__PURE__ */ React__default.default.createElement(
5574
5574
  PathContext.Provider,
@@ -5696,33 +5696,33 @@ function registerFormList(loader) {
5696
5696
  });
5697
5697
  }
5698
5698
 
5699
- var __defProp$a = Object.defineProperty;
5700
- var __defProps$4 = Object.defineProperties;
5701
- var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
5702
- var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
5703
- var __hasOwnProp$a = Object.prototype.hasOwnProperty;
5704
- var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
5705
- var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5706
- var __spreadValues$a = (a, b) => {
5699
+ var __defProp$c = Object.defineProperty;
5700
+ var __defProps$5 = Object.defineProperties;
5701
+ var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
5702
+ var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
5703
+ var __hasOwnProp$c = Object.prototype.hasOwnProperty;
5704
+ var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
5705
+ var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5706
+ var __spreadValues$c = (a, b) => {
5707
5707
  for (var prop in b || (b = {}))
5708
- if (__hasOwnProp$a.call(b, prop))
5709
- __defNormalProp$a(a, prop, b[prop]);
5710
- if (__getOwnPropSymbols$a)
5711
- for (var prop of __getOwnPropSymbols$a(b)) {
5712
- if (__propIsEnum$a.call(b, prop))
5713
- __defNormalProp$a(a, prop, b[prop]);
5708
+ if (__hasOwnProp$c.call(b, prop))
5709
+ __defNormalProp$c(a, prop, b[prop]);
5710
+ if (__getOwnPropSymbols$c)
5711
+ for (var prop of __getOwnPropSymbols$c(b)) {
5712
+ if (__propIsEnum$c.call(b, prop))
5713
+ __defNormalProp$c(a, prop, b[prop]);
5714
5714
  }
5715
5715
  return a;
5716
5716
  };
5717
- var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
5718
- var __objRest$7 = (source, exclude) => {
5717
+ var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
5718
+ var __objRest$9 = (source, exclude) => {
5719
5719
  var target = {};
5720
5720
  for (var prop in source)
5721
- if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0)
5721
+ if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0)
5722
5722
  target[prop] = source[prop];
5723
- if (source != null && __getOwnPropSymbols$a)
5724
- for (var prop of __getOwnPropSymbols$a(source)) {
5725
- if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop))
5723
+ if (source != null && __getOwnPropSymbols$c)
5724
+ for (var prop of __getOwnPropSymbols$c(source)) {
5725
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop))
5726
5726
  target[prop] = source[prop];
5727
5727
  }
5728
5728
  return target;
@@ -5737,7 +5737,7 @@ function AntdModal(props) {
5737
5737
  hideFooter,
5738
5738
  modalScopeClassName,
5739
5739
  wrapClassName
5740
- } = _a, rest = __objRest$7(_a, [
5740
+ } = _a, rest = __objRest$9(_a, [
5741
5741
  "onOpenChange",
5742
5742
  "onOk",
5743
5743
  "onCancel",
@@ -5769,7 +5769,7 @@ function AntdModal(props) {
5769
5769
  }, [onOpenChange, onCancel]);
5770
5770
  return /* @__PURE__ */ React__default.default.createElement(
5771
5771
  antd.Modal,
5772
- __spreadProps$4(__spreadValues$a({}, rest), {
5772
+ __spreadProps$5(__spreadValues$c({}, rest), {
5773
5773
  onOk: memoOnOk,
5774
5774
  onCancel: memoOnCancel,
5775
5775
  open,
@@ -5899,30 +5899,298 @@ function registerModal(loader) {
5899
5899
  });
5900
5900
  }
5901
5901
 
5902
- var __defProp$9 = Object.defineProperty;
5903
- var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
5904
- var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
5905
- var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
5906
- var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5907
- var __spreadValues$9 = (a, b) => {
5902
+ var __defProp$b = Object.defineProperty;
5903
+ var __defProps$4 = Object.defineProperties;
5904
+ var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
5905
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
5906
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
5907
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
5908
+ var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5909
+ var __spreadValues$b = (a, b) => {
5908
5910
  for (var prop in b || (b = {}))
5909
- if (__hasOwnProp$9.call(b, prop))
5910
- __defNormalProp$9(a, prop, b[prop]);
5911
- if (__getOwnPropSymbols$9)
5912
- for (var prop of __getOwnPropSymbols$9(b)) {
5913
- if (__propIsEnum$9.call(b, prop))
5914
- __defNormalProp$9(a, prop, b[prop]);
5911
+ if (__hasOwnProp$b.call(b, prop))
5912
+ __defNormalProp$b(a, prop, b[prop]);
5913
+ if (__getOwnPropSymbols$b)
5914
+ for (var prop of __getOwnPropSymbols$b(b)) {
5915
+ if (__propIsEnum$b.call(b, prop))
5916
+ __defNormalProp$b(a, prop, b[prop]);
5915
5917
  }
5916
5918
  return a;
5917
5919
  };
5918
- var __objRest$6 = (source, exclude) => {
5920
+ var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
5921
+ var __objRest$8 = (source, exclude) => {
5919
5922
  var target = {};
5920
5923
  for (var prop in source)
5921
- if (__hasOwnProp$9.call(source, prop) && exclude.indexOf(prop) < 0)
5924
+ if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0)
5922
5925
  target[prop] = source[prop];
5923
- if (source != null && __getOwnPropSymbols$9)
5924
- for (var prop of __getOwnPropSymbols$9(source)) {
5925
- if (exclude.indexOf(prop) < 0 && __propIsEnum$9.call(source, prop))
5926
+ if (source != null && __getOwnPropSymbols$b)
5927
+ for (var prop of __getOwnPropSymbols$b(source)) {
5928
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop))
5929
+ target[prop] = source[prop];
5930
+ }
5931
+ return target;
5932
+ };
5933
+ function AntdPagination(props) {
5934
+ const _a = props, { paginatedUrl, pageSizeOptions } = _a, rest = __objRest$8(_a, ["paginatedUrl", "pageSizeOptions"]);
5935
+ React.useEffect(() => {
5936
+ if (props.current && props.pageSize && props.onChange) {
5937
+ props.onChange(props.current, props.pageSize);
5938
+ }
5939
+ }, []);
5940
+ return /* @__PURE__ */ React__default.default.createElement(
5941
+ antd.Pagination,
5942
+ __spreadValues$b({
5943
+ pageSizeOptions: pageSizeOptions == null ? void 0 : pageSizeOptions.filter((i) => i == null ? void 0 : i.pageSize).map((i) => i.pageSize),
5944
+ itemRender: paginatedUrl ? (pageNo, _, originalElement) => {
5945
+ var _a2, _b;
5946
+ if (!React__default.default.isValidElement(originalElement) || !props.pageSize) {
5947
+ return originalElement;
5948
+ }
5949
+ let rel = void 0;
5950
+ if (props.current) {
5951
+ rel = pageNo === props.current ? "self" : pageNo === props.current - 1 ? "prev" : pageNo === props.current + 1 ? "next" : void 0;
5952
+ }
5953
+ const href = paginatedUrl(pageNo, props.pageSize);
5954
+ return React__default.default.cloneElement(originalElement, __spreadProps$4(__spreadValues$b({}, originalElement.props), {
5955
+ rel,
5956
+ href,
5957
+ style: __spreadProps$4(__spreadValues$b({}, (_b = (_a2 = originalElement.props) == null ? void 0 : _a2.style) != null ? _b : {}), {
5958
+ pointerEvents: "none"
5959
+ })
5960
+ }));
5961
+ } : void 0
5962
+ }, rest)
5963
+ );
5964
+ }
5965
+ const paginationComponentName = "plasmic-antd5-pagination";
5966
+ const paginationHelpers = {
5967
+ states: {
5968
+ pageSize: {
5969
+ onChangeArgsToValue: (_, pageSize) => pageSize
5970
+ },
5971
+ startIndex: {
5972
+ onChangeArgsToValue: (currentPage, pageSize) => (currentPage - 1) * pageSize
5973
+ },
5974
+ endIndex: {
5975
+ onChangeArgsToValue: (currentPage, pageSize) => pageSize * currentPage - 1
5976
+ }
5977
+ }
5978
+ };
5979
+ function registerPagination(loader) {
5980
+ registerComponentHelper(loader, AntdPagination, {
5981
+ name: paginationComponentName,
5982
+ displayName: "Pagination",
5983
+ props: {
5984
+ current: {
5985
+ editOnly: true,
5986
+ uncontrolledProp: "defaultCurrent",
5987
+ type: "number",
5988
+ displayName: "Current Page",
5989
+ description: `Default current page`,
5990
+ defaultValue: 1
5991
+ },
5992
+ total: {
5993
+ type: "number",
5994
+ defaultValueHint: 0,
5995
+ description: `Total number of data items`
5996
+ },
5997
+ pageSize: {
5998
+ editOnly: true,
5999
+ uncontrolledProp: "defaultPageSize",
6000
+ type: "number",
6001
+ displayName: "Page size",
6002
+ description: `Default number of items per page`,
6003
+ defaultValue: 10
6004
+ },
6005
+ disabled: {
6006
+ type: "boolean",
6007
+ defaultValueHint: false,
6008
+ description: `Disable pagination controls`
6009
+ },
6010
+ hideOnSinglePage: {
6011
+ type: "boolean",
6012
+ defaultValueHint: false,
6013
+ advanced: true,
6014
+ description: `Hide pager on single page`
6015
+ },
6016
+ showLessItems: {
6017
+ type: "boolean",
6018
+ defaultValueHint: false,
6019
+ advanced: true,
6020
+ description: `Show less page items`,
6021
+ hidden: (ps) => !!ps.simple
6022
+ },
6023
+ showQuickJumper: {
6024
+ type: "boolean",
6025
+ defaultValueHint: false,
6026
+ advanced: true,
6027
+ description: `Show "Go to page" control to enable jumping to pages directly`,
6028
+ hidden: (ps) => !!ps.simple
6029
+ },
6030
+ showSizeChanger: {
6031
+ type: "boolean",
6032
+ defaultValueHint: (ps) => ps.total ? ps.total > 50 : false,
6033
+ advanced: true,
6034
+ description: `Show page size selector`,
6035
+ hidden: (ps) => !!ps.simple
6036
+ },
6037
+ // showTitle prop seems to be doing nothing, so this is skipped
6038
+ // showTitle: {
6039
+ // type: "boolean",
6040
+ // defaultValueHint: true,
6041
+ // description: `Show page item's title`,
6042
+ // },
6043
+ showTotal: {
6044
+ type: "function",
6045
+ displayName: "Show total",
6046
+ description: "Display the total number and range",
6047
+ advanced: true,
6048
+ argNames: ["total", "range"],
6049
+ argValues: (_ps, ctx) => [ctx.data[0], ctx.data[1]]
6050
+ },
6051
+ simple: {
6052
+ type: "boolean",
6053
+ defaultValueHint: false,
6054
+ description: `Uuse simple mode (i.e. minimal controls)`
6055
+ },
6056
+ size: {
6057
+ type: "choice",
6058
+ defaultValueHint: "default",
6059
+ description: `Size of the pager`,
6060
+ options: ["default", "small"]
6061
+ },
6062
+ pageSizeOptions: {
6063
+ type: "array",
6064
+ defaultValue: [
6065
+ {
6066
+ pageSize: 10
6067
+ },
6068
+ {
6069
+ pageSize: 20
6070
+ },
6071
+ {
6072
+ pageSize: 50
6073
+ },
6074
+ {
6075
+ pageSize: 100
6076
+ }
6077
+ ],
6078
+ description: "The list of available page sizes",
6079
+ advanced: true,
6080
+ itemType: {
6081
+ type: "object",
6082
+ nameFunc: (item) => item.pageSize,
6083
+ fields: {
6084
+ pageSize: {
6085
+ type: "number",
6086
+ min: 1
6087
+ }
6088
+ }
6089
+ }
6090
+ },
6091
+ paginatedUrl: {
6092
+ type: "function",
6093
+ advanced: true,
6094
+ description: "Helps generate SEO-friendly pagination links. These links will include appropriate href attributes, ensuring that search engines can effectively crawl and index your paginated content",
6095
+ control: {
6096
+ type: "href"
6097
+ },
6098
+ argNames: ["pageNo", "pageSize"],
6099
+ argValues: (_props, ctx) => {
6100
+ var _a;
6101
+ return [
6102
+ (_a = ctx == null ? void 0 : ctx.data) == null ? void 0 : _a[0],
6103
+ _props.pageSize
6104
+ ];
6105
+ }
6106
+ },
6107
+ onChange: {
6108
+ type: "eventHandler",
6109
+ advanced: true,
6110
+ argTypes: [
6111
+ {
6112
+ name: "page",
6113
+ type: "number"
6114
+ },
6115
+ {
6116
+ name: "pageSize",
6117
+ type: "number"
6118
+ }
6119
+ ]
6120
+ },
6121
+ onShowSizeChange: {
6122
+ type: "eventHandler",
6123
+ advanced: true,
6124
+ argTypes: [
6125
+ {
6126
+ name: "current",
6127
+ type: "number"
6128
+ },
6129
+ {
6130
+ name: "size",
6131
+ type: "number"
6132
+ }
6133
+ ]
6134
+ }
6135
+ },
6136
+ states: {
6137
+ currentPage: {
6138
+ type: "writable",
6139
+ valueProp: "current",
6140
+ onChangeProp: "onChange",
6141
+ variableType: "number"
6142
+ },
6143
+ pageSize: __spreadValues$b({
6144
+ type: "writable",
6145
+ valueProp: "pageSize",
6146
+ onChangeProp: "onShowSizeChange",
6147
+ variableType: "number"
6148
+ }, paginationHelpers.states.pageSize),
6149
+ startIndex: __spreadValues$b({
6150
+ type: "readonly",
6151
+ variableType: "number",
6152
+ onChangeProp: "onChange"
6153
+ }, paginationHelpers.states.startIndex),
6154
+ endIndex: __spreadValues$b({
6155
+ type: "readonly",
6156
+ variableType: "number",
6157
+ onChangeProp: "onChange"
6158
+ }, paginationHelpers.states.endIndex)
6159
+ },
6160
+ componentHelpers: {
6161
+ helpers: paginationHelpers,
6162
+ importName: "paginationHelpers",
6163
+ importPath: "@plasmicpkgs/antd5/skinny/registerPagination"
6164
+ },
6165
+ importPath: "@plasmicpkgs/antd5/skinny/registerPagination",
6166
+ importName: "AntdPagination"
6167
+ });
6168
+ }
6169
+
6170
+ var __defProp$a = Object.defineProperty;
6171
+ var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
6172
+ var __hasOwnProp$a = Object.prototype.hasOwnProperty;
6173
+ var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
6174
+ var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6175
+ var __spreadValues$a = (a, b) => {
6176
+ for (var prop in b || (b = {}))
6177
+ if (__hasOwnProp$a.call(b, prop))
6178
+ __defNormalProp$a(a, prop, b[prop]);
6179
+ if (__getOwnPropSymbols$a)
6180
+ for (var prop of __getOwnPropSymbols$a(b)) {
6181
+ if (__propIsEnum$a.call(b, prop))
6182
+ __defNormalProp$a(a, prop, b[prop]);
6183
+ }
6184
+ return a;
6185
+ };
6186
+ var __objRest$7 = (source, exclude) => {
6187
+ var target = {};
6188
+ for (var prop in source)
6189
+ if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0)
6190
+ target[prop] = source[prop];
6191
+ if (source != null && __getOwnPropSymbols$a)
6192
+ for (var prop of __getOwnPropSymbols$a(source)) {
6193
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop))
5926
6194
  target[prop] = source[prop];
5927
6195
  }
5928
6196
  return target;
@@ -5933,7 +6201,7 @@ function AntdPopover(props) {
5933
6201
  popoverScopeClassName,
5934
6202
  contentText,
5935
6203
  content
5936
- } = _a, rest = __objRest$6(_a, [
6204
+ } = _a, rest = __objRest$7(_a, [
5937
6205
  "overlayClassName",
5938
6206
  "popoverScopeClassName",
5939
6207
  "contentText",
@@ -5941,7 +6209,7 @@ function AntdPopover(props) {
5941
6209
  ]);
5942
6210
  return /* @__PURE__ */ React__default.default.createElement(
5943
6211
  antd.Popover,
5944
- __spreadValues$9({
6212
+ __spreadValues$a({
5945
6213
  content: content || contentText,
5946
6214
  overlayClassName: `${overlayClassName} ${popoverScopeClassName}`
5947
6215
  }, rest)
@@ -6073,6 +6341,224 @@ function registerPopover(loader) {
6073
6341
  });
6074
6342
  }
6075
6343
 
6344
+ var __defProp$9 = Object.defineProperty;
6345
+ var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
6346
+ var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
6347
+ var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
6348
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6349
+ var __spreadValues$9 = (a, b) => {
6350
+ for (var prop in b || (b = {}))
6351
+ if (__hasOwnProp$9.call(b, prop))
6352
+ __defNormalProp$9(a, prop, b[prop]);
6353
+ if (__getOwnPropSymbols$9)
6354
+ for (var prop of __getOwnPropSymbols$9(b)) {
6355
+ if (__propIsEnum$9.call(b, prop))
6356
+ __defNormalProp$9(a, prop, b[prop]);
6357
+ }
6358
+ return a;
6359
+ };
6360
+ var __objRest$6 = (source, exclude) => {
6361
+ var target = {};
6362
+ for (var prop in source)
6363
+ if (__hasOwnProp$9.call(source, prop) && exclude.indexOf(prop) < 0)
6364
+ target[prop] = source[prop];
6365
+ if (source != null && __getOwnPropSymbols$9)
6366
+ for (var prop of __getOwnPropSymbols$9(source)) {
6367
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$9.call(source, prop))
6368
+ target[prop] = source[prop];
6369
+ }
6370
+ return target;
6371
+ };
6372
+ function AntdProgress(props) {
6373
+ const _a = props, {
6374
+ successPercent,
6375
+ successStrokeColor,
6376
+ stepColors,
6377
+ infoFormat,
6378
+ gradient,
6379
+ strokeColor
6380
+ } = _a, rest = __objRest$6(_a, [
6381
+ "successPercent",
6382
+ "successStrokeColor",
6383
+ "stepColors",
6384
+ "infoFormat",
6385
+ "gradient",
6386
+ "strokeColor"
6387
+ ]);
6388
+ const success = React.useMemo(() => {
6389
+ if (!successPercent && !successStrokeColor)
6390
+ return void 0;
6391
+ const res = {
6392
+ percent: successPercent,
6393
+ strokeColor: successStrokeColor
6394
+ };
6395
+ return res;
6396
+ }, [successPercent, successStrokeColor]);
6397
+ const strokeColorProp = React.useMemo(() => {
6398
+ if (props.type === "line" && !!props.steps) {
6399
+ const colors = stepColors == null ? void 0 : stepColors.map((c) => c.color).filter((c) => c);
6400
+ if (colors == null ? void 0 : colors.length) {
6401
+ return colors;
6402
+ }
6403
+ }
6404
+ const res = {};
6405
+ gradient == null ? void 0 : gradient.filter((g) => g.color && g.percent !== void 0).map((g) => {
6406
+ res[g.percent] = g.color;
6407
+ });
6408
+ if (Object.keys(res).length)
6409
+ return res;
6410
+ return strokeColor;
6411
+ }, [gradient, props.steps, props.type, stepColors, strokeColor]);
6412
+ return /* @__PURE__ */ React__default.default.createElement(
6413
+ antd.Progress,
6414
+ __spreadValues$9({
6415
+ strokeColor: strokeColorProp,
6416
+ success,
6417
+ format: infoFormat
6418
+ }, rest)
6419
+ );
6420
+ }
6421
+ const progressComponentName = "plasmic-antd5-progress";
6422
+ function registerProgress(loader) {
6423
+ registerComponentHelper(loader, AntdProgress, {
6424
+ name: progressComponentName,
6425
+ displayName: "Progress",
6426
+ props: {
6427
+ type: {
6428
+ type: "choice",
6429
+ defaultValueHint: "line",
6430
+ options: ["line", "circle", "dashboard"]
6431
+ },
6432
+ percent: {
6433
+ type: "number",
6434
+ description: "The completion percentage",
6435
+ defaultValueHint: 0
6436
+ },
6437
+ size: {
6438
+ type: "choice",
6439
+ defaultValueHint: "default",
6440
+ description: `Size of progress`,
6441
+ advanced: true,
6442
+ options: ["default", "small"]
6443
+ },
6444
+ showInfo: {
6445
+ type: "boolean",
6446
+ displayName: "Show text",
6447
+ defaultValueHint: true,
6448
+ advanced: true,
6449
+ description: "Display the progress value and the status icon"
6450
+ },
6451
+ status: {
6452
+ type: "choice",
6453
+ defaultValueHint: "normal",
6454
+ advanced: true,
6455
+ options: ["success", "exception", "normal", "active"]
6456
+ },
6457
+ strokeColor: {
6458
+ type: "color",
6459
+ description: "The color of progress bar"
6460
+ },
6461
+ strokeLinecap: {
6462
+ type: "choice",
6463
+ description: "Style of endpoints of the progress path",
6464
+ defaultValueHint: "round",
6465
+ advanced: true,
6466
+ options: ["round", "butt", "square"]
6467
+ },
6468
+ successPercent: {
6469
+ type: "number",
6470
+ advanced: true
6471
+ },
6472
+ successStrokeColor: {
6473
+ type: "color",
6474
+ description: "Color of the progress path marked success",
6475
+ advanced: true,
6476
+ hidden: (ps) => !ps.successPercent
6477
+ },
6478
+ trailColor: {
6479
+ type: "color",
6480
+ advanced: true,
6481
+ description: "The color of unfilled part"
6482
+ },
6483
+ infoFormat: {
6484
+ type: "function",
6485
+ displayName: "Format",
6486
+ defaultValueHint: ({ percent }) => `${percent || 0}%`,
6487
+ description: "Customize the progress text",
6488
+ advanced: true,
6489
+ hidden: (ps) => ps.showInfo === void 0 ? false : !ps.showInfo,
6490
+ argNames: ["percent", "successPercent"],
6491
+ argValues: (_ps) => [
6492
+ _ps.percent,
6493
+ _ps.successPercent
6494
+ ]
6495
+ },
6496
+ steps: {
6497
+ type: "number",
6498
+ hidden: (ps) => ps.type !== "line",
6499
+ advanced: true,
6500
+ description: "The total step count"
6501
+ },
6502
+ stepColors: {
6503
+ type: "array",
6504
+ hidden: (ps) => ps.type !== "line" ? true : ps.steps == null,
6505
+ advanced: true,
6506
+ itemType: {
6507
+ type: "object",
6508
+ nameFunc: (item) => item.color,
6509
+ fields: {
6510
+ color: {
6511
+ type: "color"
6512
+ }
6513
+ }
6514
+ }
6515
+ },
6516
+ gradient: {
6517
+ type: "array",
6518
+ hidden: (ps) => ps.type === "line" && !!ps.steps,
6519
+ advanced: true,
6520
+ itemType: {
6521
+ type: "object",
6522
+ nameFunc: (item) => `${item.percent}%: ${item.color}`,
6523
+ fields: {
6524
+ color: {
6525
+ type: "color"
6526
+ },
6527
+ percent: {
6528
+ type: "number"
6529
+ }
6530
+ }
6531
+ }
6532
+ },
6533
+ strokeWidth: {
6534
+ type: "number",
6535
+ hidden: (ps) => ps.type === "line",
6536
+ description: "To set the width of the circular progress, unit: percentage of the canvas width",
6537
+ advanced: true,
6538
+ defaultValueHint: 6
6539
+ },
6540
+ gapDegree: {
6541
+ type: "number",
6542
+ hidden: (ps) => ps.type !== "dashboard",
6543
+ defaultValueHint: 75,
6544
+ advanced: true,
6545
+ description: "The gap degree of half circle",
6546
+ min: 0,
6547
+ max: 295
6548
+ },
6549
+ gapPosition: {
6550
+ type: "choice",
6551
+ hidden: (ps) => ps.type !== "dashboard",
6552
+ options: ["top", "bottom", "left", "right"],
6553
+ advanced: true,
6554
+ defaultValueHint: "bottom"
6555
+ }
6556
+ },
6557
+ importPath: "@plasmicpkgs/antd5/skinny/registerProgress",
6558
+ importName: "AntdProgress"
6559
+ });
6560
+ }
6561
+
6076
6562
  var __defProp$8 = Object.defineProperty;
6077
6563
  var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
6078
6564
  var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
@@ -8514,6 +9000,8 @@ function registerAll(loader) {
8514
9000
  registerRate(loader);
8515
9001
  registerSlider(loader);
8516
9002
  registerSegmented(loader);
9003
+ registerProgress(loader);
9004
+ registerPagination(loader);
8517
9005
  }
8518
9006
  const componentNameToInputType = {
8519
9007
  [inputComponentName]: InputType.Text,