pixel-react 1.10.10-3 → 1.10.10-4

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.
Files changed (180) hide show
  1. package/lib/ComponentProps/TreeNodeProps.d.ts +3 -0
  2. package/lib/components/TableTree/Components/AddModule/AddModule.d.ts +2 -1
  3. package/lib/components/TableTree/Components/TableBody.d.ts +1 -1
  4. package/lib/components/TableTree/Components/TableCell.d.ts +2 -2
  5. package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
  6. package/lib/components/TableTree/TableTree.d.ts +2 -2
  7. package/lib/components/TableTree/Utils/addNewRow.d.ts +1 -0
  8. package/lib/components/TableTree/data.d.ts +34 -0
  9. package/lib/components/TableTree/types.d.ts +12 -12
  10. package/lib/index.d.ts +13 -8
  11. package/lib/index.esm.js +519 -640
  12. package/lib/index.esm.js.map +1 -1
  13. package/lib/index.js +519 -640
  14. package/lib/index.js.map +1 -1
  15. package/lib/tsconfig.tsbuildinfo +1 -1
  16. package/package.json +1 -1
  17. package/src/ComponentProps/TreeNodeProps.ts +3 -0
  18. package/src/assets/icons/approval_pending.svg +8 -8
  19. package/src/assets/icons/configuration.svg +3 -3
  20. package/src/assets/icons/defects.svg +8 -8
  21. package/src/assets/icons/element.svg +4 -4
  22. package/src/assets/icons/project_element.svg +4 -4
  23. package/src/assets/icons/spinner.svg +42 -0
  24. package/src/assets/icons/step_group.svg +10 -10
  25. package/src/assets/icons/variable.svg +3 -3
  26. package/src/assets/icons/web_service_icon.svg +3 -3
  27. package/src/components/Comment/Comments.stories.tsx +3 -77
  28. package/src/components/TableTree/Components/AddModule/AddModule.scss +1 -1
  29. package/src/components/TableTree/Components/AddModule/AddModule.tsx +43 -31
  30. package/src/components/TableTree/Components/TableBody.tsx +2 -0
  31. package/src/components/TableTree/Components/TableCell.tsx +8 -6
  32. package/src/components/TableTree/Components/TableRow.tsx +2 -0
  33. package/src/components/TableTree/TableTree.scss +1 -0
  34. package/src/components/TableTree/TableTree.stories.tsx +21 -2
  35. package/src/components/TableTree/TableTree.tsx +31 -5
  36. package/src/components/TableTree/Utils/addNewRow.ts +3 -1
  37. package/src/components/TableTree/data.ts +5 -1
  38. package/src/components/TableTree/types.ts +13 -12
  39. package/lib/1fb4472b34e4fe07.css +0 -1
  40. package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +0 -6
  41. package/lib/StyleGuide/Typography/Typography.stories.d.ts +0 -6
  42. package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
  43. package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
  44. package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
  45. package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
  46. package/lib/components/Accordion/Accordion.stories.d.ts +0 -6
  47. package/lib/components/AddButton/AddButton.d.ts +0 -5
  48. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  49. package/lib/components/AddButton/index.d.ts +0 -1
  50. package/lib/components/AddButton/types.d.ts +0 -4
  51. package/lib/components/AddResourceButton/AddButton.stories.d.ts +0 -8
  52. package/lib/components/AddVariables/AddVariables.d.ts +0 -5
  53. package/lib/components/AddVariables/index.d.ts +0 -1
  54. package/lib/components/AddVariables/types.d.ts +0 -35
  55. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +0 -7
  56. package/lib/components/AppHeader/AppHeader.stories.d.ts +0 -7
  57. package/lib/components/AttachImage/AttachImage.stories.d.ts +0 -7
  58. package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +0 -9
  59. package/lib/components/Avatar/Avatar.stories.d.ts +0 -10
  60. package/lib/components/Button/Button.stories.d.ts +0 -13
  61. package/lib/components/Charts/BarChart/BarChart.stories.d.ts +0 -6
  62. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +0 -7
  63. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -6
  64. package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +0 -8
  65. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -7
  66. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +0 -8
  67. package/lib/components/Charts/PieChart/PieChart.stories.d.ts +0 -7
  68. package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +0 -6
  69. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -8
  70. package/lib/components/Chip/Chip.stories.d.ts +0 -14
  71. package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +0 -6
  72. package/lib/components/DatePicker/DatePicker.stories.d.ts +0 -9
  73. package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +0 -6
  74. package/lib/components/Drawer/Drawer.stories.d.ts +0 -12
  75. package/lib/components/EditTextField/EditTextField.stories.d.ts +0 -10
  76. package/lib/components/Editor/Editor.stories.d.ts +0 -6
  77. package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +0 -4
  78. package/lib/components/Excel/ExcelFile.stories.d.ts +0 -6
  79. package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
  80. package/lib/components/ExcelFile/ColorBarSelector/ColorBarSelector.d.ts +0 -8
  81. package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +0 -4
  82. package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +0 -7
  83. package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +0 -4
  84. package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +0 -5
  85. package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +0 -3
  86. package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +0 -5
  87. package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +0 -5
  88. package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +0 -8
  89. package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +0 -10
  90. package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +0 -3
  91. package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +0 -3
  92. package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +0 -5
  93. package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +0 -3
  94. package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +0 -80
  95. package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +0 -3
  96. package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +0 -174
  97. package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +0 -1
  98. package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +0 -8
  99. package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +0 -22
  100. package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +0 -17
  101. package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +0 -2
  102. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +0 -21
  103. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +0 -3
  104. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +0 -24
  105. package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +0 -13
  106. package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +0 -67
  107. package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +0 -22
  108. package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +0 -11
  109. package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +0 -27
  110. package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +0 -95
  111. package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +0 -178
  112. package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +0 -3
  113. package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +0 -3
  114. package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +0 -44
  115. package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +0 -19
  116. package/lib/components/ExcelFile/ExcelFile.stories.d.ts +0 -6
  117. package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +0 -12
  118. package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +0 -15
  119. package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
  120. package/lib/components/ExcelFile/Types.d.ts +0 -129
  121. package/lib/components/ExcelFile/index.d.ts +0 -1
  122. package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +0 -7
  123. package/lib/components/FF_Captcha/captcha.stories.d.ts +0 -8
  124. package/lib/components/FileDropzone/FileDropzone.stories.d.ts +0 -8
  125. package/lib/components/Form/Form.stories.d.ts +0 -7
  126. package/lib/components/GridLayout/GridLayout.stories.d.ts +0 -8
  127. package/lib/components/HighlightText/HighlightText.stories.d.ts +0 -6
  128. package/lib/components/Icon/Icon.stories.d.ts +0 -8
  129. package/lib/components/IconButton/IconButton.stories.d.ts +0 -7
  130. package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +0 -7
  131. package/lib/components/Input/Input.stories.d.ts +0 -9
  132. package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +0 -9
  133. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +0 -13
  134. package/lib/components/LazyLoad/LazyLoad.stories.d.ts +0 -6
  135. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +0 -6
  136. package/lib/components/MenuOption/MenuOption.stories.d.ts +0 -16
  137. package/lib/components/MiniModal/MiniModal.stories.d.ts +0 -10
  138. package/lib/components/Modal/Modal.stories.d.ts +0 -7
  139. package/lib/components/ModulesChip/ModuleChip.stories.d.ts +0 -6
  140. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -11
  141. package/lib/components/NLPInput/NlpInput.stories.d.ts +0 -7
  142. package/lib/components/NLPInput/type.d.ts +0 -70
  143. package/lib/components/Paper/Paper.stories.d.ts +0 -11
  144. package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -10
  145. package/lib/components/RadioGroup/RadioGroup.stories.d.ts +0 -9
  146. package/lib/components/Search/Search.stories.d.ts +0 -6
  147. package/lib/components/Select/Select.stories.d.ts +0 -14
  148. package/lib/components/Select/components/Dropdown/Dropdown.d.ts +0 -4
  149. package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +0 -17
  150. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +0 -6
  151. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +0 -4
  152. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +0 -3
  153. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +0 -4
  154. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +0 -3
  155. package/lib/components/StateDropdown/StateDropdown.stories.d.ts +0 -10
  156. package/lib/components/StatusButton/StatusButton.stories.d.ts +0 -14
  157. package/lib/components/StatusCard/StatusCard.stories.d.ts +0 -11
  158. package/lib/components/Table/Table.stories.d.ts +0 -13
  159. package/lib/components/TableTree/TableTree.stories.d.ts +0 -7
  160. package/lib/components/Tabs/Tabs.stories.d.ts +0 -9
  161. package/lib/components/TextArea/Textarea.stories.d.ts +0 -9
  162. package/lib/components/Toast/Toast.stories.d.ts +0 -6
  163. package/lib/components/Toastify/Toastify.stories.d.ts +0 -6
  164. package/lib/components/Toggle/Toggle.stories.d.ts +0 -12
  165. package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -15
  166. package/lib/components/Typography/Typography.stories.d.ts +0 -10
  167. package/lib/components/VariableInput/VariableInput.stories.d.ts +0 -6
  168. package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +0 -6
  169. package/lib/utils/compareArrays/compareArrays.stories.d.ts +0 -6
  170. package/lib/utils/compareObjects/compareObjects.stories.d.ts +0 -6
  171. package/lib/utils/debounce/debounce.stories.d.ts +0 -6
  172. package/lib/utils/ffID/ffID.stories.d.ts +0 -6
  173. package/lib/utils/find/findAndInsert.d.ts +0 -7
  174. package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
  175. package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +0 -7
  176. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +0 -6
  177. package/lib/utils/getExtension/getExtension.stories.d.ts +0 -6
  178. package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +0 -10
  179. package/lib/utils/throttle/throttle.stories.d.ts +0 -6
  180. package/lib/utils/truncateText/truncateText.stories.d.ts +0 -6
package/lib/index.esm.js CHANGED
@@ -4029,6 +4029,8 @@ function LiveRegion(_ref) {
4029
4029
  // Hide element visually but keep it readable by screen readers
4030
4030
  const visuallyHidden = {
4031
4031
  position: 'fixed',
4032
+ top: 0,
4033
+ left: 0,
4032
4034
  width: 1,
4033
4035
  height: 1,
4034
4036
  margin: -1,
@@ -5018,11 +5020,12 @@ var KeyboardCode;
5018
5020
  KeyboardCode["Up"] = "ArrowUp";
5019
5021
  KeyboardCode["Esc"] = "Escape";
5020
5022
  KeyboardCode["Enter"] = "Enter";
5023
+ KeyboardCode["Tab"] = "Tab";
5021
5024
  })(KeyboardCode || (KeyboardCode = {}));
5022
5025
  const defaultKeyboardCodes = {
5023
5026
  start: [KeyboardCode.Space, KeyboardCode.Enter],
5024
5027
  cancel: [KeyboardCode.Esc],
5025
- end: [KeyboardCode.Space, KeyboardCode.Enter]
5028
+ end: [KeyboardCode.Space, KeyboardCode.Enter, KeyboardCode.Tab]
5026
5029
  };
5027
5030
  const defaultKeyboardCoordinateGetter = (event, _ref) => {
5028
5031
  let {
@@ -5321,6 +5324,9 @@ class AbstractPointerSensor {
5321
5324
  passive: false
5322
5325
  });
5323
5326
  this.listeners.add(events.end.name, this.handleEnd);
5327
+ if (events.cancel) {
5328
+ this.listeners.add(events.cancel.name, this.handleCancel);
5329
+ }
5324
5330
  this.windowListeners.add(EventName.Resize, this.handleCancel);
5325
5331
  this.windowListeners.add(EventName.DragStart, preventDefault);
5326
5332
  this.windowListeners.add(EventName.VisibilityChange, this.handleCancel);
@@ -5336,9 +5342,11 @@ class AbstractPointerSensor {
5336
5342
  }
5337
5343
  if (isDelayConstraint(activationConstraint)) {
5338
5344
  this.timeoutId = setTimeout(this.handleStart, activationConstraint.delay);
5345
+ this.handlePending(activationConstraint);
5339
5346
  return;
5340
5347
  }
5341
5348
  if (isDistanceConstraint(activationConstraint)) {
5349
+ this.handlePending(activationConstraint);
5342
5350
  return;
5343
5351
  }
5344
5352
  }
@@ -5355,6 +5363,13 @@ class AbstractPointerSensor {
5355
5363
  this.timeoutId = null;
5356
5364
  }
5357
5365
  }
5366
+ handlePending(constraint, offset) {
5367
+ const {
5368
+ active,
5369
+ onPending
5370
+ } = this.props;
5371
+ onPending(active, constraint, this.initialCoordinates, offset);
5372
+ }
5358
5373
  handleStart() {
5359
5374
  const {
5360
5375
  initialCoordinates
@@ -5408,6 +5423,7 @@ class AbstractPointerSensor {
5408
5423
  return this.handleCancel();
5409
5424
  }
5410
5425
  }
5426
+ this.handlePending(activationConstraint, delta);
5411
5427
  return;
5412
5428
  }
5413
5429
  if (event.cancelable) {
@@ -5417,16 +5433,24 @@ class AbstractPointerSensor {
5417
5433
  }
5418
5434
  handleEnd() {
5419
5435
  const {
5436
+ onAbort,
5420
5437
  onEnd
5421
5438
  } = this.props;
5422
5439
  this.detach();
5440
+ if (!this.activated) {
5441
+ onAbort(this.props.active);
5442
+ }
5423
5443
  onEnd();
5424
5444
  }
5425
5445
  handleCancel() {
5426
5446
  const {
5447
+ onAbort,
5427
5448
  onCancel
5428
5449
  } = this.props;
5429
5450
  this.detach();
5451
+ if (!this.activated) {
5452
+ onAbort(this.props.active);
5453
+ }
5430
5454
  onCancel();
5431
5455
  }
5432
5456
  handleKeydown(event) {
@@ -5440,6 +5464,9 @@ class AbstractPointerSensor {
5440
5464
  }
5441
5465
  }
5442
5466
  const events = {
5467
+ cancel: {
5468
+ name: 'pointercancel'
5469
+ },
5443
5470
  move: {
5444
5471
  name: 'pointermove'
5445
5472
  },
@@ -5512,6 +5539,9 @@ MouseSensor.activators = [{
5512
5539
  }
5513
5540
  }];
5514
5541
  const events$2 = {
5542
+ cancel: {
5543
+ name: 'touchcancel'
5544
+ },
5515
5545
  move: {
5516
5546
  name: 'touchmove'
5517
5547
  },
@@ -5713,11 +5743,11 @@ function useScrollIntent(_ref2) {
5713
5743
  }, [disabled, delta, previousDelta]);
5714
5744
  }
5715
5745
  function useCachedNode(draggableNodes, id) {
5716
- const draggableNode = id !== null ? draggableNodes.get(id) : undefined;
5746
+ const draggableNode = id != null ? draggableNodes.get(id) : undefined;
5717
5747
  const node = draggableNode ? draggableNode.node.current : null;
5718
5748
  return useLazyMemo(cachedNode => {
5719
5749
  var _ref;
5720
- if (id === null) {
5750
+ if (id == null) {
5721
5751
  return null;
5722
5752
  } // In some cases, the draggable node can unmount while dragging
5723
5753
  // This is the case for virtualized lists. In those situations,
@@ -5925,7 +5955,26 @@ function useRect(element, measure, fallbackRect) {
5925
5955
  if (measure === void 0) {
5926
5956
  measure = defaultMeasure;
5927
5957
  }
5928
- const [rect, measureRect] = useReducer(reducer, null);
5958
+ const [rect, setRect] = useState(null);
5959
+ function measureRect() {
5960
+ setRect(currentRect => {
5961
+ if (!element) {
5962
+ return null;
5963
+ }
5964
+ if (element.isConnected === false) {
5965
+ var _ref;
5966
+
5967
+ // Fall back to last rect we measured if the element is
5968
+ // no longer connected to the DOM.
5969
+ return (_ref = currentRect != null ? currentRect : fallbackRect) != null ? _ref : null;
5970
+ }
5971
+ const newRect = measure(element);
5972
+ if (JSON.stringify(currentRect) === JSON.stringify(newRect)) {
5973
+ return currentRect;
5974
+ }
5975
+ return newRect;
5976
+ });
5977
+ }
5929
5978
  const mutationObserver = useMutationObserver({
5930
5979
  callback(records) {
5931
5980
  if (!element) {
@@ -5960,23 +6009,6 @@ function useRect(element, measure, fallbackRect) {
5960
6009
  }
5961
6010
  }, [element]);
5962
6011
  return rect;
5963
- function reducer(currentRect) {
5964
- if (!element) {
5965
- return null;
5966
- }
5967
- if (element.isConnected === false) {
5968
- var _ref;
5969
-
5970
- // Fall back to last rect we measured if the element is
5971
- // no longer connected to the DOM.
5972
- return (_ref = currentRect != null ? currentRect : fallbackRect) != null ? _ref : null;
5973
- }
5974
- const newRect = measure(element);
5975
- if (JSON.stringify(currentRect) === JSON.stringify(newRect)) {
5976
- return currentRect;
5977
- }
5978
- return newRect;
5979
- }
5980
6012
  }
5981
6013
  function useRectDelta(rect) {
5982
6014
  const initialRect = useInitialValue(rect);
@@ -6122,28 +6154,24 @@ function useRects(elements, measure) {
6122
6154
  }
6123
6155
  const [firstElement] = elements;
6124
6156
  const windowRect = useWindowRect(firstElement ? getWindow(firstElement) : null);
6125
- const [rects, measureRects] = useReducer(reducer, defaultValue$2);
6157
+ const [rects, setRects] = useState(defaultValue$2);
6158
+ function measureRects() {
6159
+ setRects(() => {
6160
+ if (!elements.length) {
6161
+ return defaultValue$2;
6162
+ }
6163
+ return elements.map(element => isDocumentScrollingElement(element) ? windowRect : new Rect(measure(element), element));
6164
+ });
6165
+ }
6126
6166
  const resizeObserver = useResizeObserver({
6127
6167
  callback: measureRects
6128
6168
  });
6129
- if (elements.length > 0 && rects === defaultValue$2) {
6130
- measureRects();
6131
- }
6132
6169
  useIsomorphicLayoutEffect$1(() => {
6133
- if (elements.length) {
6134
- elements.forEach(element => resizeObserver == null ? void 0 : resizeObserver.observe(element));
6135
- } else {
6136
- resizeObserver == null ? void 0 : resizeObserver.disconnect();
6137
- measureRects();
6138
- }
6170
+ resizeObserver == null ? void 0 : resizeObserver.disconnect();
6171
+ measureRects();
6172
+ elements.forEach(element => resizeObserver == null ? void 0 : resizeObserver.observe(element));
6139
6173
  }, [elements]);
6140
6174
  return rects;
6141
- function reducer() {
6142
- if (!elements.length) {
6143
- return defaultValue$2;
6144
- }
6145
- return elements.map(element => isDocumentScrollingElement(element) ? windowRect : new Rect(measure(element), element));
6146
- }
6147
6175
  }
6148
6176
  function getMeasurableNode(node) {
6149
6177
  if (!node) {
@@ -6310,7 +6338,7 @@ function reducer$1(state, action) {
6310
6338
  }
6311
6339
  };
6312
6340
  case Action.DragMove:
6313
- if (!state.draggable.active) {
6341
+ if (state.draggable.active == null) {
6314
6342
  return state;
6315
6343
  }
6316
6344
  return {
@@ -6582,7 +6610,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
6582
6610
  containers: droppableContainers
6583
6611
  }
6584
6612
  } = state;
6585
- const node = activeId ? draggableNodes.get(activeId) : null;
6613
+ const node = activeId != null ? draggableNodes.get(activeId) : null;
6586
6614
  const activeRects = useRef({
6587
6615
  initial: null,
6588
6616
  translated: null
@@ -6617,7 +6645,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
6617
6645
  const autoScrollOptions = getAutoScrollerOptions();
6618
6646
  const initialActiveNodeRect = useInitialRect(activeNode, measuringConfiguration.draggable.measure);
6619
6647
  useLayoutShiftScrollCompensation({
6620
- activeNode: activeId ? draggableNodes.get(activeId) : null,
6648
+ activeNode: activeId != null ? draggableNodes.get(activeId) : null,
6621
6649
  config: autoScrollOptions.layoutShiftCompensation,
6622
6650
  initialRect: initialActiveNodeRect,
6623
6651
  measure: measuringConfiguration.draggable.measure
@@ -6695,6 +6723,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
6695
6723
 
6696
6724
  const appliedTranslate = usesDragOverlay ? modifiedTranslate : add(modifiedTranslate, activeNodeScrollDelta);
6697
6725
  const transform = adjustScale(appliedTranslate, (_over$rect = over == null ? void 0 : over.rect) != null ? _over$rect : null, activeNodeRect);
6726
+ const activeSensorRef = useRef(null);
6698
6727
  const instantiateSensor = useCallback((event, _ref2) => {
6699
6728
  let {
6700
6729
  sensor: Sensor,
@@ -6716,6 +6745,43 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
6716
6745
  // Sensors need to be instantiated with refs for arguments that change over time
6717
6746
  // otherwise they are frozen in time with the stale arguments
6718
6747
  context: sensorContext,
6748
+ onAbort(id) {
6749
+ const draggableNode = draggableNodes.get(id);
6750
+ if (!draggableNode) {
6751
+ return;
6752
+ }
6753
+ const {
6754
+ onDragAbort
6755
+ } = latestProps.current;
6756
+ const event = {
6757
+ id
6758
+ };
6759
+ onDragAbort == null ? void 0 : onDragAbort(event);
6760
+ dispatchMonitorEvent({
6761
+ type: 'onDragAbort',
6762
+ event
6763
+ });
6764
+ },
6765
+ onPending(id, constraint, initialCoordinates, offset) {
6766
+ const draggableNode = draggableNodes.get(id);
6767
+ if (!draggableNode) {
6768
+ return;
6769
+ }
6770
+ const {
6771
+ onDragPending
6772
+ } = latestProps.current;
6773
+ const event = {
6774
+ id,
6775
+ constraint,
6776
+ initialCoordinates,
6777
+ offset
6778
+ };
6779
+ onDragPending == null ? void 0 : onDragPending(event);
6780
+ dispatchMonitorEvent({
6781
+ type: 'onDragPending',
6782
+ event
6783
+ });
6784
+ },
6719
6785
  onStart(initialCoordinates) {
6720
6786
  const id = activeRef.current;
6721
6787
  if (id == null) {
@@ -6729,6 +6795,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
6729
6795
  onDragStart
6730
6796
  } = latestProps.current;
6731
6797
  const event = {
6798
+ activatorEvent,
6732
6799
  active: {
6733
6800
  id,
6734
6801
  data: draggableNode.data,
@@ -6747,6 +6814,8 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
6747
6814
  type: 'onDragStart',
6748
6815
  event
6749
6816
  });
6817
+ setActiveSensor(activeSensorRef.current);
6818
+ setActivatorEvent(activatorEvent);
6750
6819
  });
6751
6820
  },
6752
6821
  onMove(coordinates) {
@@ -6758,10 +6827,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
6758
6827
  onEnd: createHandler(Action.DragEnd),
6759
6828
  onCancel: createHandler(Action.DragCancel)
6760
6829
  });
6761
- unstable_batchedUpdates(() => {
6762
- setActiveSensor(sensorInstance);
6763
- setActivatorEvent(event.nativeEvent);
6764
- });
6830
+ activeSensorRef.current = sensorInstance;
6765
6831
  function createHandler(type) {
6766
6832
  return async function handler() {
6767
6833
  const {
@@ -6798,6 +6864,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
6798
6864
  setOver(null);
6799
6865
  setActiveSensor(null);
6800
6866
  setActivatorEvent(null);
6867
+ activeSensorRef.current = null;
6801
6868
  const eventName = type === Action.DragEnd ? 'onDragEnd' : 'onDragCancel';
6802
6869
  if (event) {
6803
6870
  const handler = latestProps.current[eventName];
@@ -7019,7 +7086,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
7019
7086
  });
7020
7087
  const NullContext = /*#__PURE__*/createContext$1(null);
7021
7088
  const defaultRole = 'button';
7022
- const ID_PREFIX$1 = 'Droppable';
7089
+ const ID_PREFIX$1 = 'Draggable';
7023
7090
  function useDraggable(_ref) {
7024
7091
  let {
7025
7092
  id,
@@ -7166,7 +7233,7 @@ function useDroppable(_ref) {
7166
7233
  resizeObserverConnected.current = false;
7167
7234
  resizeObserver.observe(nodeRef.current);
7168
7235
  }, [nodeRef, resizeObserver]);
7169
- useIsomorphicLayoutEffect$1(() => {
7236
+ useEffect(() => {
7170
7237
  dispatch({
7171
7238
  type: Action.RegisterDroppable,
7172
7239
  element: {
@@ -7581,6 +7648,7 @@ var DNDCore = /*#__PURE__*/Object.freeze({
7581
7648
  defaultCoordinates: defaultCoordinates,
7582
7649
  defaultDropAnimation: defaultDropAnimationConfiguration,
7583
7650
  defaultDropAnimationSideEffects: defaultDropAnimationSideEffects,
7651
+ defaultKeyboardCoordinateGetter: defaultKeyboardCoordinateGetter,
7584
7652
  defaultScreenReaderInstructions: defaultScreenReaderInstructions,
7585
7653
  getClientRect: getClientRect,
7586
7654
  getFirstCollision: getFirstCollision,
@@ -11418,13 +11486,14 @@ var isWeb = typeof window !== 'undefined' &&
11418
11486
  function cloneObject(data) {
11419
11487
  let copy;
11420
11488
  const isArray = Array.isArray(data);
11489
+ const isFileListInstance = typeof FileList !== 'undefined' ? data instanceof FileList : false;
11421
11490
  if (data instanceof Date) {
11422
11491
  copy = new Date(data);
11423
11492
  }
11424
11493
  else if (data instanceof Set) {
11425
11494
  copy = new Set(data);
11426
11495
  }
11427
- else if (!(isWeb && (data instanceof Blob || data instanceof FileList)) &&
11496
+ else if (!(isWeb && (data instanceof Blob || isFileListInstance)) &&
11428
11497
  (isArray || isObject$2(data))) {
11429
11498
  copy = isArray ? [] : {};
11430
11499
  if (!isArray && !isPlainObject(data)) {
@@ -11483,7 +11552,7 @@ var set$1 = (object, path, value) => {
11483
11552
  ? []
11484
11553
  : {};
11485
11554
  }
11486
- if (key === '__proto__') {
11555
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
11487
11556
  return;
11488
11557
  }
11489
11558
  object[key] = newValue;
@@ -11702,7 +11771,7 @@ function useFormState(props) {
11702
11771
  _mounted.current = false;
11703
11772
  };
11704
11773
  }, [control]);
11705
- return getProxyFormState(formState, control, _localProxyFormState.current, false);
11774
+ return React__default.useMemo(() => getProxyFormState(formState, control, _localProxyFormState.current, false), [formState, control]);
11706
11775
  }
11707
11776
 
11708
11777
  var isString = (value) => typeof value === 'string';
@@ -11798,6 +11867,67 @@ function useController(props) {
11798
11867
  value,
11799
11868
  ...(isBoolean(props.disabled) ? { disabled: props.disabled } : {}),
11800
11869
  }));
11870
+ const fieldState = React__default.useMemo(() => Object.defineProperties({}, {
11871
+ invalid: {
11872
+ enumerable: true,
11873
+ get: () => !!get$1(formState.errors, name),
11874
+ },
11875
+ isDirty: {
11876
+ enumerable: true,
11877
+ get: () => !!get$1(formState.dirtyFields, name),
11878
+ },
11879
+ isTouched: {
11880
+ enumerable: true,
11881
+ get: () => !!get$1(formState.touchedFields, name),
11882
+ },
11883
+ isValidating: {
11884
+ enumerable: true,
11885
+ get: () => !!get$1(formState.validatingFields, name),
11886
+ },
11887
+ error: {
11888
+ enumerable: true,
11889
+ get: () => get$1(formState.errors, name),
11890
+ },
11891
+ }), [formState, name]);
11892
+ const field = React__default.useMemo(() => ({
11893
+ name,
11894
+ value,
11895
+ ...(isBoolean(disabled) || formState.disabled
11896
+ ? { disabled: formState.disabled || disabled }
11897
+ : {}),
11898
+ onChange: (event) => _registerProps.current.onChange({
11899
+ target: {
11900
+ value: getEventValue(event),
11901
+ name: name,
11902
+ },
11903
+ type: EVENTS.CHANGE,
11904
+ }),
11905
+ onBlur: () => _registerProps.current.onBlur({
11906
+ target: {
11907
+ value: get$1(control._formValues, name),
11908
+ name: name,
11909
+ },
11910
+ type: EVENTS.BLUR,
11911
+ }),
11912
+ ref: (elm) => {
11913
+ const field = get$1(control._fields, name);
11914
+ if (field && elm) {
11915
+ field._f.ref = {
11916
+ focus: () => elm.focus(),
11917
+ select: () => elm.select(),
11918
+ setCustomValidity: (message) => elm.setCustomValidity(message),
11919
+ reportValidity: () => elm.reportValidity(),
11920
+ };
11921
+ }
11922
+ },
11923
+ }), [
11924
+ name,
11925
+ control._formValues,
11926
+ disabled,
11927
+ formState.disabled,
11928
+ value,
11929
+ control._fields,
11930
+ ]);
11801
11931
  React__default.useEffect(() => {
11802
11932
  const _shouldUnregisterField = control._options.shouldUnregister || shouldUnregister;
11803
11933
  const updateMounted = (name, value) => {
@@ -11823,7 +11953,7 @@ function useController(props) {
11823
11953
  };
11824
11954
  }, [name, control, isArrayField, shouldUnregister]);
11825
11955
  React__default.useEffect(() => {
11826
- if (get$1(control._fields, name)) {
11956
+ if (isBoolean(disabled) && get$1(control._fields, name)) {
11827
11957
  control._updateDisabledField({
11828
11958
  disabled,
11829
11959
  fields: control._fields,
@@ -11832,63 +11962,11 @@ function useController(props) {
11832
11962
  });
11833
11963
  }
11834
11964
  }, [disabled, name, control]);
11835
- return {
11836
- field: {
11837
- name,
11838
- value,
11839
- ...(isBoolean(disabled) || formState.disabled
11840
- ? { disabled: formState.disabled || disabled }
11841
- : {}),
11842
- onChange: React__default.useCallback((event) => _registerProps.current.onChange({
11843
- target: {
11844
- value: getEventValue(event),
11845
- name: name,
11846
- },
11847
- type: EVENTS.CHANGE,
11848
- }), [name]),
11849
- onBlur: React__default.useCallback(() => _registerProps.current.onBlur({
11850
- target: {
11851
- value: get$1(control._formValues, name),
11852
- name: name,
11853
- },
11854
- type: EVENTS.BLUR,
11855
- }), [name, control]),
11856
- ref: React__default.useCallback((elm) => {
11857
- const field = get$1(control._fields, name);
11858
- if (field && elm) {
11859
- field._f.ref = {
11860
- focus: () => elm.focus(),
11861
- select: () => elm.select(),
11862
- setCustomValidity: (message) => elm.setCustomValidity(message),
11863
- reportValidity: () => elm.reportValidity(),
11864
- };
11865
- }
11866
- }, [control._fields, name]),
11867
- },
11965
+ return React__default.useMemo(() => ({
11966
+ field,
11868
11967
  formState,
11869
- fieldState: Object.defineProperties({}, {
11870
- invalid: {
11871
- enumerable: true,
11872
- get: () => !!get$1(formState.errors, name),
11873
- },
11874
- isDirty: {
11875
- enumerable: true,
11876
- get: () => !!get$1(formState.dirtyFields, name),
11877
- },
11878
- isTouched: {
11879
- enumerable: true,
11880
- get: () => !!get$1(formState.touchedFields, name),
11881
- },
11882
- isValidating: {
11883
- enumerable: true,
11884
- get: () => !!get$1(formState.validatingFields, name),
11885
- },
11886
- error: {
11887
- enumerable: true,
11888
- get: () => get$1(formState.errors, name),
11889
- },
11890
- }),
11891
- };
11968
+ fieldState,
11969
+ }), [field, formState, fieldState]);
11892
11970
  }
11893
11971
 
11894
11972
  /**
@@ -11938,7 +12016,7 @@ const Controller = (props) => props.render(useController(props));
11938
12016
  const flatten = (obj) => {
11939
12017
  const output = {};
11940
12018
  for (const key of Object.keys(obj)) {
11941
- if (isObjectType(obj[key])) {
12019
+ if (isObjectType(obj[key]) && obj[key] !== null) {
11942
12020
  const nested = flatten(obj[key]);
11943
12021
  for (const nestedKey of Object.keys(nested)) {
11944
12022
  output[`${key}.${nestedKey}`] = nested[nestedKey];
@@ -12007,7 +12085,7 @@ function Form(props) {
12007
12085
  headers && headers['Content-Type'],
12008
12086
  encType,
12009
12087
  ].some((value) => value && value.includes('json'));
12010
- const response = await fetch(action, {
12088
+ const response = await fetch(String(action), {
12011
12089
  method,
12012
12090
  headers: {
12013
12091
  ...headers,
@@ -12505,7 +12583,7 @@ var updateAt = (fieldValues, index, value) => {
12505
12583
  */
12506
12584
  function useFieldArray(props) {
12507
12585
  const methods = useFormContext();
12508
- const { control = methods.control, name, keyName = 'id', shouldUnregister, } = props;
12586
+ const { control = methods.control, name, keyName = 'id', shouldUnregister, rules, } = props;
12509
12587
  const [fields, setFields] = React__default.useState(control._getFieldArray(name));
12510
12588
  const ids = React__default.useRef(control._getFieldArray(name).map(generateId));
12511
12589
  const _fieldIds = React__default.useRef(fields);
@@ -12514,8 +12592,8 @@ function useFieldArray(props) {
12514
12592
  _name.current = name;
12515
12593
  _fieldIds.current = fields;
12516
12594
  control._names.array.add(name);
12517
- props.rules &&
12518
- control.register(name, props.rules);
12595
+ rules &&
12596
+ control.register(name, rules);
12519
12597
  useSubscribe({
12520
12598
  next: ({ values, name: fieldArrayName, }) => {
12521
12599
  if (fieldArrayName === _name.current || !fieldArrayName) {
@@ -12559,6 +12637,8 @@ function useFieldArray(props) {
12559
12637
  ids.current = removeArrayAt(ids.current, index);
12560
12638
  updateValues(updatedFieldArrayValues);
12561
12639
  setFields(updatedFieldArrayValues);
12640
+ !Array.isArray(get$1(control._fields, name)) &&
12641
+ set$1(control._fields, name, undefined);
12562
12642
  control._updateFieldArray(name, updatedFieldArrayValues, removeArrayAt, {
12563
12643
  argA: index,
12564
12644
  });
@@ -12873,7 +12953,8 @@ var getRuleValue = (rule) => isUndefined(rule)
12873
12953
  : rule;
12874
12954
 
12875
12955
  const ASYNC_FUNCTION = 'AsyncFunction';
12876
- var hasPromiseValidation = (fieldReference) => (!fieldReference || !fieldReference.validate) &&
12956
+ var hasPromiseValidation = (fieldReference) => !!fieldReference &&
12957
+ !!fieldReference.validate &&
12877
12958
  !!((isFunction$1(fieldReference.validate) &&
12878
12959
  fieldReference.validate.constructor.name === ASYNC_FUNCTION) ||
12879
12960
  (isObject$2(fieldReference.validate) &&
@@ -13002,7 +13083,7 @@ function createFormControl(props = {}) {
13002
13083
  timer = setTimeout(callback, wait);
13003
13084
  };
13004
13085
  const _updateValid = async (shouldUpdateValid) => {
13005
- if (!props.disabled && (_proxyFormState.isValid || shouldUpdateValid)) {
13086
+ if (!_options.disabled && (_proxyFormState.isValid || shouldUpdateValid)) {
13006
13087
  const isValid = _options.resolver
13007
13088
  ? isEmptyObject((await _executeSchema()).errors)
13008
13089
  : await executeBuiltInValidation(_fields, true);
@@ -13014,7 +13095,7 @@ function createFormControl(props = {}) {
13014
13095
  }
13015
13096
  };
13016
13097
  const _updateIsValidating = (names, isValidating) => {
13017
- if (!props.disabled &&
13098
+ if (!_options.disabled &&
13018
13099
  (_proxyFormState.isValidating || _proxyFormState.validatingFields)) {
13019
13100
  (names || Array.from(_names.mount)).forEach((name) => {
13020
13101
  if (name) {
@@ -13030,7 +13111,7 @@ function createFormControl(props = {}) {
13030
13111
  }
13031
13112
  };
13032
13113
  const _updateFieldArray = (name, values = [], method, args, shouldSetValues = true, shouldUpdateFieldsAndState = true) => {
13033
- if (args && method && !props.disabled) {
13114
+ if (args && method && !_options.disabled) {
13034
13115
  _state.action = true;
13035
13116
  if (shouldUpdateFieldsAndState && Array.isArray(get$1(_fields, name))) {
13036
13117
  const fieldValues = method(get$1(_fields, name), args.argA, args.argB);
@@ -13094,7 +13175,7 @@ function createFormControl(props = {}) {
13094
13175
  const output = {
13095
13176
  name,
13096
13177
  };
13097
- if (!props.disabled) {
13178
+ if (!_options.disabled) {
13098
13179
  const disabledField = !!(get$1(_fields, name) &&
13099
13180
  get$1(_fields, name)._f &&
13100
13181
  get$1(_fields, name)._f.disabled);
@@ -13135,9 +13216,9 @@ function createFormControl(props = {}) {
13135
13216
  const shouldUpdateValid = _proxyFormState.isValid &&
13136
13217
  isBoolean(isValid) &&
13137
13218
  _formState.isValid !== isValid;
13138
- if (props.delayError && error) {
13219
+ if (_options.delayError && error) {
13139
13220
  delayErrorCallback = debounce(() => updateErrors(name, error));
13140
- delayErrorCallback(props.delayError);
13221
+ delayErrorCallback(_options.delayError);
13141
13222
  }
13142
13223
  else {
13143
13224
  clearTimeout(timer);
@@ -13230,7 +13311,7 @@ function createFormControl(props = {}) {
13230
13311
  }
13231
13312
  _names.unMount = new Set();
13232
13313
  };
13233
- const _getDirty = (name, data) => !props.disabled &&
13314
+ const _getDirty = (name, data) => !_options.disabled &&
13234
13315
  (name && data && set$1(_formValues, name, data),
13235
13316
  !deepEqual(getValues(), _defaultValues));
13236
13317
  const _getWatch = (names, defaultValue, isGlobal) => generateWatchOutput(names, _names, {
@@ -13242,7 +13323,7 @@ function createFormControl(props = {}) {
13242
13323
  ? { [names]: defaultValue }
13243
13324
  : defaultValue),
13244
13325
  }, isGlobal, defaultValue);
13245
- const _getFieldArray = (name) => compact(get$1(_state.mount ? _formValues : _defaultValues, name, props.shouldUnregister ? get$1(_defaultValues, name, []) : []));
13326
+ const _getFieldArray = (name) => compact(get$1(_state.mount ? _formValues : _defaultValues, name, _options.shouldUnregister ? get$1(_defaultValues, name, []) : []));
13246
13327
  const setFieldValue = (name, value, options = {}) => {
13247
13328
  const field = get$1(_fields, name);
13248
13329
  let fieldValue = value;
@@ -13375,7 +13456,7 @@ function createFormControl(props = {}) {
13375
13456
  });
13376
13457
  if (shouldSkipValidation) {
13377
13458
  if (_proxyFormState.isValid) {
13378
- if (props.mode === 'onBlur') {
13459
+ if (_options.mode === 'onBlur') {
13379
13460
  if (isBlurEvent) {
13380
13461
  _updateValid();
13381
13462
  }
@@ -13540,13 +13621,15 @@ function createFormControl(props = {}) {
13540
13621
  : isUndefined(value)
13541
13622
  ? getFieldValue(field ? field._f : get$1(fields, name)._f)
13542
13623
  : value;
13543
- set$1(_formValues, name, inputValue);
13624
+ if (disabled || (!disabled && !isUndefined(inputValue))) {
13625
+ set$1(_formValues, name, inputValue);
13626
+ }
13544
13627
  updateTouchAndDirty(name, inputValue, false, false, true);
13545
13628
  }
13546
13629
  };
13547
13630
  const register = (name, options = {}) => {
13548
13631
  let field = get$1(_fields, name);
13549
- const disabledIsDefined = isBoolean(options.disabled) || isBoolean(props.disabled);
13632
+ const disabledIsDefined = isBoolean(options.disabled) || isBoolean(_options.disabled);
13550
13633
  set$1(_fields, name, {
13551
13634
  ...(field || {}),
13552
13635
  _f: {
@@ -13562,7 +13645,7 @@ function createFormControl(props = {}) {
13562
13645
  field,
13563
13646
  disabled: isBoolean(options.disabled)
13564
13647
  ? options.disabled
13565
- : props.disabled,
13648
+ : _options.disabled,
13566
13649
  name,
13567
13650
  value: options.value,
13568
13651
  });
@@ -13572,7 +13655,7 @@ function createFormControl(props = {}) {
13572
13655
  }
13573
13656
  return {
13574
13657
  ...(disabledIsDefined
13575
- ? { disabled: options.disabled || props.disabled }
13658
+ ? { disabled: options.disabled || _options.disabled }
13576
13659
  : {}),
13577
13660
  ...(_options.progressive
13578
13661
  ? {
@@ -13656,6 +13739,12 @@ function createFormControl(props = {}) {
13656
13739
  e.preventDefault && e.preventDefault();
13657
13740
  e.persist && e.persist();
13658
13741
  }
13742
+ if (_options.disabled) {
13743
+ if (onInvalid) {
13744
+ await onInvalid({ ..._formState.errors }, e);
13745
+ }
13746
+ return;
13747
+ }
13659
13748
  let fieldValues = cloneObject(_formValues);
13660
13749
  _subjects.state.next({
13661
13750
  isSubmitting: true,
@@ -13763,7 +13852,7 @@ function createFormControl(props = {}) {
13763
13852
  }
13764
13853
  _fields = {};
13765
13854
  }
13766
- _formValues = props.shouldUnregister
13855
+ _formValues = _options.shouldUnregister
13767
13856
  ? keepStateOptions.keepDefaultValues
13768
13857
  ? cloneObject(_defaultValues)
13769
13858
  : {}
@@ -13787,7 +13876,7 @@ function createFormControl(props = {}) {
13787
13876
  !_proxyFormState.isValid ||
13788
13877
  !!keepStateOptions.keepIsValid ||
13789
13878
  !!keepStateOptions.keepDirtyValues;
13790
- _state.watch = !!props.shouldUnregister;
13879
+ _state.watch = !!_options.shouldUnregister;
13791
13880
  _subjects.state.next({
13792
13881
  submitCount: keepStateOptions.keepSubmitCount
13793
13882
  ? _formState.submitCount
@@ -13834,7 +13923,9 @@ function createFormControl(props = {}) {
13834
13923
  : fieldReference.ref;
13835
13924
  if (fieldRef.focus) {
13836
13925
  fieldRef.focus();
13837
- options.shouldSelect && fieldRef.select();
13926
+ options.shouldSelect &&
13927
+ isFunction$1(fieldRef.select) &&
13928
+ fieldRef.select();
13838
13929
  }
13839
13930
  }
13840
13931
  };
@@ -13956,8 +14047,8 @@ function createFormControl(props = {}) {
13956
14047
  * ```
13957
14048
  */
13958
14049
  function useForm(props = {}) {
13959
- const _formControl = React__default.useRef();
13960
- const _values = React__default.useRef();
14050
+ const _formControl = React__default.useRef(undefined);
14051
+ const _values = React__default.useRef(undefined);
13961
14052
  const [formState, updateFormState] = React__default.useState({
13962
14053
  isDirty: false,
13963
14054
  isValidating: false,
@@ -14035,11 +14126,6 @@ function useForm(props = {}) {
14035
14126
  values: control._getWatch(),
14036
14127
  });
14037
14128
  }, [props.shouldUnregister, control]);
14038
- React__default.useEffect(() => {
14039
- if (_formControl.current) {
14040
- _formControl.current.watch = _formControl.current.watch.bind({});
14041
- }
14042
- }, [formState]);
14043
14129
  _formControl.current.formState = getProxyFormState(formState, control);
14044
14130
  return _formControl.current;
14045
14131
  }
@@ -14481,7 +14567,7 @@ const MiniModal = /*#__PURE__*/forwardRef(({
14481
14567
  }), document.body);
14482
14568
  });
14483
14569
 
14484
- var css_248z$R = ":root {\n --table-height: auto;\n}\n\n.tree-table-space-block {\n display: inline-block;\n width: 20px;\n height: 16px;\n text-align: center;\n line-height: 16px;\n vertical-align: top;\n font-size: 19px;\n position: relative;\n box-sizing: border-box;\n border-radius: 50%;\n /* Hover background for all elements of the same level */\n}\n.tree-table-space-block.btn-toggle {\n position: relative;\n cursor: pointer;\n width: 22px;\n height: 18px;\n z-index: 12;\n}\n.tree-table-space-block.btn-toggle::before {\n display: none;\n}\n.tree-table-space-block.last-block::after, .tree-table-space-block.no-folder::after {\n position: absolute;\n content: \"\";\n height: 1px;\n background: var(--tree-connecting-lines-color);\n top: 50%;\n margin-top: -1px;\n}\n.tree-table-space-block.last-block::after {\n width: 12px;\n left: -10px;\n}\n.tree-table-space-block.no-folder {\n width: 8px;\n}\n.tree-table-space-block.no-folder::after {\n width: 22px;\n left: -10px;\n}\n.tree-table-space-block:not(.last-block, .no-lines, .last-node)::before {\n position: absolute;\n content: \"\";\n width: 1px;\n height: 40px;\n background: var(--tree-connecting-lines-color);\n left: 50%;\n top: -4px;\n z-index: 99;\n}\n.tree-table-space-block.last-node::before {\n position: absolute;\n content: \"\";\n width: 1px;\n height: 12px;\n background: var(--tree-connecting-lines-color);\n left: 50%;\n top: -4px;\n z-index: -1;\n}\n.tree-table-space-block.folder.last-node::before {\n height: 13px;\n}\n.tree-table-space-block.tree-table-hovered::before, .tree-table-space-block.tree-table-hovered::after {\n background-color: var(--brand-color);\n}\n\n.tree-title-container .tree-table-space-block {\n width: 16px;\n}\n\n.hidden {\n display: none;\n}\n\n.show {\n display: table-row;\n visibility: visible;\n}\n\n.btn-toggle {\n cursor: pointer;\n}\n.btn-toggle.is-close {\n background: #f1f1f1;\n border: 1px solid transparent;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n}\n.btn-toggle::before, .btn-toggle::after {\n display: none;\n}\n\n.tree-table-wrap {\n width: 100%;\n padding-left: 4px;\n overflow: hidden;\n overflow-x: auto;\n}\n\n.table-scrollable {\n height: var(--table-height);\n /* Adjust height as needed */\n overflow-y: auto;\n position: relative;\n}\n\n.ff-table-tree-body {\n overflow: scroll;\n}\n\n.tree-table {\n table-layout: fixed;\n width: 100%;\n border-collapse: collapse;\n overflow: scroll;\n}\n.tree-table .ff-table-tree-head {\n position: sticky;\n top: 0;\n z-index: 2;\n}\n.tree-table .ff-table-tree-row:hover,\n.tree-table .ff-table-tree-row.hover {\n background-color: var(--hover-color);\n}\n.tree-table .ff-table-tree-row:hover .ff-table-tree-td:first-child,\n.tree-table .ff-table-tree-row.hover .ff-table-tree-td:first-child {\n background-color: var(--hover-color);\n}\n.tree-table .ff-table-tree-row:hover .table-tree-row-action,\n.tree-table .ff-table-tree-row.hover .table-tree-row-action {\n display: inline-flex;\n align-items: center;\n}\n.tree-table .ff-table-tree-row:hover .table-tree-row-action svg,\n.tree-table .ff-table-tree-row.hover .table-tree-row-action svg {\n height: 14px;\n width: 14px;\n}\n.tree-table .ff-table-tree-row {\n background-color: var(--base-bg-color);\n}\n.tree-table .ff-table-tree-row .table-tree-row-action {\n display: none;\n}\n.tree-table .ff-table-tree-row .table-row-add-button {\n display: inline-flex;\n z-index: 9999;\n align-items: center;\n}\n.tree-table .ff-table-tree-row::after {\n content: \"\";\n display: block;\n visibility: hidden;\n clear: both;\n}\n.tree-table .ff-table-tree-th,\n.tree-table .ff-table-tree-td {\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.tree-table .ff-table-tree-th {\n color: var(--table-header-text-color);\n background: var(--border-color);\n font-size: 12px;\n font-weight: 600;\n width: 400px;\n height: 32px;\n box-sizing: border-box;\n}\n.tree-table .ff-table-tree-th:first-child {\n width: 600px !important;\n position: sticky;\n left: 0;\n padding-left: 8px;\n}\n.tree-table .ff-table-tree-td {\n font-size: 12px;\n color: var(--nlp-color);\n height: 18px;\n}\n.tree-table .ff-table-tree-td:first-child {\n overflow: initial;\n position: sticky;\n left: 0;\n background-color: white;\n}\n.tree-table .ff-table-tree-td:first-child .tree-table-default-content {\n margin-left: 8px;\n}\n.tree-table .ff-table-tree-td:first-child .tree-table-td-content {\n padding-left: 4px;\n}\n.tree-table .ff-table-tree-td:first-child .tree-table-td-content .tree-table-td-content-text {\n margin-left: 4px;\n}\n.tree-table .ff-table-tree-td:first-child .tree-table-default-content {\n font-weight: 700;\n}\n.tree-table .ff-table-tree-td.folder {\n height: 28px;\n}\n\n.tree-table-td-content {\n display: inline-flex;\n align-items: center;\n font-size: 12px;\n font-family: \"Poppins\", sans-serif;\n}\n.tree-table-td-content.folder {\n font-weight: 600;\n}\n\n.tree-row-expanded span svg,\n.tree-row-collapsed span svg {\n height: 12px;\n width: 12px;\n}\n.tree-row-expanded span svg path,\n.tree-row-collapsed span svg path {\n fill: var(--brand-color);\n}\n\n.tree-row-collapsed svg {\n transform: rotate(-90deg);\n transition: transform 0.3s ease;\n}\n\n.tree-table-space-container {\n display: inline-flex;\n}\n\n.tree-title-container {\n display: inline-flex;\n align-items: center;\n}";
14570
+ var css_248z$R = ":root {\n --table-height: auto;\n}\n\n.tree-table-space-block {\n display: inline-block;\n width: 20px;\n height: 16px;\n text-align: center;\n line-height: 16px;\n vertical-align: top;\n font-size: 19px;\n position: relative;\n box-sizing: border-box;\n border-radius: 50%;\n /* Hover background for all elements of the same level */\n}\n.tree-table-space-block.btn-toggle {\n position: relative;\n cursor: pointer;\n width: 22px;\n height: 18px;\n z-index: 12;\n}\n.tree-table-space-block.btn-toggle::before {\n display: none;\n}\n.tree-table-space-block.last-block::after, .tree-table-space-block.no-folder::after {\n position: absolute;\n content: \"\";\n height: 1px;\n background: var(--tree-connecting-lines-color);\n top: 50%;\n margin-top: -1px;\n}\n.tree-table-space-block.last-block::after {\n width: 12px;\n left: -10px;\n}\n.tree-table-space-block.no-folder {\n width: 8px;\n}\n.tree-table-space-block.no-folder::after {\n width: 22px;\n left: -10px;\n}\n.tree-table-space-block:not(.last-block, .no-lines, .last-node)::before {\n position: absolute;\n content: \"\";\n width: 1px;\n height: 40px;\n background: var(--tree-connecting-lines-color);\n left: 50%;\n top: -4px;\n z-index: 99;\n}\n.tree-table-space-block.last-node::before {\n position: absolute;\n content: \"\";\n width: 1px;\n height: 12px;\n background: var(--tree-connecting-lines-color);\n left: 50%;\n top: -4px;\n z-index: -1;\n}\n.tree-table-space-block.folder.last-node::before {\n height: 13px;\n}\n.tree-table-space-block.tree-table-hovered::before, .tree-table-space-block.tree-table-hovered::after {\n background-color: var(--brand-color);\n}\n\n.tree-title-container .tree-table-space-block {\n width: 16px;\n}\n\n.hidden {\n display: none;\n}\n\n.show {\n display: table-row;\n visibility: visible;\n}\n\n.btn-toggle {\n cursor: pointer;\n}\n.btn-toggle.is-close {\n background: #f1f1f1;\n border: 1px solid transparent;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n}\n.btn-toggle::before, .btn-toggle::after {\n display: none;\n}\n\n.tree-table-wrap {\n width: 100%;\n padding-left: 4px;\n overflow: hidden;\n overflow-x: auto;\n}\n\n.table-scrollable {\n height: var(--table-height);\n /* Adjust height as needed */\n overflow-y: auto;\n position: relative;\n}\n\n.ff-table-tree-body {\n overflow: scroll;\n}\n\n.tree-table {\n table-layout: fixed;\n width: 100%;\n border-collapse: collapse;\n overflow: scroll;\n}\n.tree-table .ff-table-tree-head {\n position: sticky;\n top: 0;\n z-index: 2;\n}\n.tree-table .ff-table-tree-row:hover,\n.tree-table .ff-table-tree-row.hover {\n background-color: var(--hover-color);\n}\n.tree-table .ff-table-tree-row:hover .ff-table-tree-td:first-child,\n.tree-table .ff-table-tree-row.hover .ff-table-tree-td:first-child {\n background-color: var(--hover-color);\n}\n.tree-table .ff-table-tree-row:hover .table-tree-row-action,\n.tree-table .ff-table-tree-row.hover .table-tree-row-action {\n display: inline-flex;\n align-items: center;\n}\n.tree-table .ff-table-tree-row:hover .table-tree-row-action svg,\n.tree-table .ff-table-tree-row.hover .table-tree-row-action svg {\n height: 14px;\n width: 14px;\n}\n.tree-table .ff-table-tree-row {\n background-color: var(--base-bg-color);\n}\n.tree-table .ff-table-tree-row .table-tree-row-action {\n display: none;\n}\n.tree-table .ff-table-tree-row .table-row-add-button {\n display: inline-flex;\n z-index: 9999;\n align-items: center;\n}\n.tree-table .ff-table-tree-row::after {\n content: \"\";\n display: block;\n visibility: hidden;\n clear: both;\n}\n.tree-table .ff-table-tree-th,\n.tree-table .ff-table-tree-td {\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.tree-table .ff-table-tree-th {\n color: var(--table-header-text-color);\n background: var(--border-color);\n font-size: 12px;\n font-weight: 600;\n width: 400px;\n height: 32px;\n box-sizing: border-box;\n}\n.tree-table .ff-table-tree-th:first-child {\n width: 600px !important;\n position: sticky;\n left: 0;\n padding-left: 8px;\n}\n.tree-table .ff-table-tree-td {\n font-size: 12px;\n color: var(--nlp-color);\n height: 18px;\n}\n.tree-table .ff-table-tree-td:first-child {\n overflow: initial;\n position: sticky;\n left: 0;\n background-color: white;\n}\n.tree-table .ff-table-tree-td:first-child .tree-table-default-content {\n margin-left: 8px;\n}\n.tree-table .ff-table-tree-td:first-child .tree-table-td-content {\n padding-left: 4px;\n}\n.tree-table .ff-table-tree-td:first-child .tree-table-td-content .tree-table-td-content-text {\n margin-left: 4px;\n}\n.tree-table .ff-table-tree-td:first-child .tree-table-default-content {\n font-weight: 700;\n}\n.tree-table .ff-table-tree-td.folder {\n height: 28px;\n}\n\n.tree-table-td-content {\n display: inline-flex;\n align-items: center;\n font-size: 12px;\n font-family: \"Poppins\", sans-serif;\n}\n.tree-table-td-content.folder {\n font-weight: 600;\n}\n\n.tree-row-expanded span svg,\n.tree-row-collapsed span svg {\n height: 12px;\n width: 12px;\n transition: transform 0.3s ease;\n}\n.tree-row-expanded span svg path,\n.tree-row-collapsed span svg path {\n fill: var(--brand-color);\n}\n\n.tree-row-collapsed svg {\n transform: rotate(-90deg);\n transition: transform 0.3s ease;\n}\n\n.tree-table-space-container {\n display: inline-flex;\n}\n\n.tree-title-container {\n display: inline-flex;\n align-items: center;\n}";
14485
14571
  styleInject(css_248z$R);
14486
14572
 
14487
14573
  const TableHead = /*#__PURE__*/React__default.memo(({
@@ -14523,36 +14609,36 @@ const TableHead = /*#__PURE__*/React__default.memo(({
14523
14609
  });
14524
14610
  });
14525
14611
 
14526
- var css_248z$Q = ".fontXs, .add-module-container .ff-add-module-input-container:focus-within .ff-add-module-label-container, .add-module-container .ff-add-module-input-container--float .ff-add-module-label-container {\n font-family: \"Poppins\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-20 {\n font-family: \"Poppins\";\n font-size: 20px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.add-module-container {\n display: flex;\n}\n.add-module-container .icons {\n cursor: pointer;\n}\n.add-module-container .ff-add-module-input-container {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n.add-module-container .ff-add-module-input-container .ff-add-module-label-container {\n display: flex;\n gap: 2px;\n position: absolute;\n border: none;\n outline: none;\n line-height: 18px;\n margin-top: 1px;\n padding: 4px 6px;\n transition: all 0.3s ease-in-out;\n}\n.add-module-container .ff-add-module-input-container .ff-add-module-label-container .ff-add-module-label {\n color: var(--input-default-label-color);\n}\n.add-module-container .ff-add-module-input-container .add-module-input {\n height: 24px;\n padding: 0px 6px;\n width: 330px;\n border: 0.5px solid var(--nlp-color);\n border-radius: 4px;\n outline: none;\n line-height: 18px;\n color: var(--nlp-color);\n}\n.add-module-container .ff-add-module-input-container:focus-within .ff-add-module-label-container {\n top: -9px;\n background-color: var(--input-label-bg-color);\n line-height: 15px;\n padding: 0px 2px;\n margin-left: 10px;\n}\n.add-module-container .ff-add-module-input-container:focus-within .ff-add-module-label-container .ff-add-module-label {\n color: var(--nlp-color);\n}\n.add-module-container .ff-add-module-input-container--float .ff-add-module-label-container {\n top: -9px;\n background-color: var(--input-label-bg-color);\n line-height: 15px;\n padding: 0px 2px;\n margin-left: 10px;\n}\n.add-module-container .ff-add-module-input-container--float .ff-add-module-label-container .ff-add-module-label {\n color: var(--nlp-color);\n}\n.add-module-container .ff-module-icon-container {\n display: flex;\n gap: 8px;\n align-items: center;\n}";
14612
+ var css_248z$Q = ".fontXs, .add-module-container .ff-add-module-input-container:focus-within .ff-add-module-label-container, .add-module-container .ff-add-module-input-container--float .ff-add-module-label-container {\n font-family: \"Poppins\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-20 {\n font-family: \"Poppins\";\n font-size: 20px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.add-module-container {\n display: flex;\n}\n.add-module-container .icons {\n cursor: pointer;\n}\n.add-module-container .ff-add-module-input-container {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n.add-module-container .ff-add-module-input-container .ff-add-module-label-container {\n display: flex;\n gap: 2px;\n position: absolute;\n border: none;\n outline: none;\n line-height: 18px;\n margin-top: 1px;\n padding: 4px 6px;\n transition: all 0.3s ease-in-out;\n}\n.add-module-container .ff-add-module-input-container .ff-add-module-label-container .ff-add-module-label {\n color: var(--input-default-label-color);\n}\n.add-module-container .ff-add-module-input-container .add-module-input {\n height: 24px;\n padding: 0px 6px;\n width: 430px;\n border: 0.5px solid var(--nlp-color);\n border-radius: 4px;\n outline: none;\n line-height: 18px;\n color: var(--nlp-color);\n}\n.add-module-container .ff-add-module-input-container:focus-within .ff-add-module-label-container {\n top: -9px;\n background-color: var(--input-label-bg-color);\n line-height: 15px;\n padding: 0px 2px;\n margin-left: 10px;\n}\n.add-module-container .ff-add-module-input-container:focus-within .ff-add-module-label-container .ff-add-module-label {\n color: var(--nlp-color);\n}\n.add-module-container .ff-add-module-input-container--float .ff-add-module-label-container {\n top: -9px;\n background-color: var(--input-label-bg-color);\n line-height: 15px;\n padding: 0px 2px;\n margin-left: 10px;\n}\n.add-module-container .ff-add-module-input-container--float .ff-add-module-label-container .ff-add-module-label {\n color: var(--nlp-color);\n}\n.add-module-container .ff-module-icon-container {\n display: flex;\n gap: 8px;\n align-items: center;\n}";
14527
14613
  styleInject(css_248z$Q);
14528
14614
 
14529
14615
  const AddModule = ({
14530
14616
  onConfirm,
14531
14617
  onCancel,
14532
14618
  error,
14533
- value = ''
14619
+ value = '',
14620
+ label = 'Add Script'
14534
14621
  }) => {
14535
- console.log('🚀 ~ value:', value);
14536
14622
  const [text, setText] = useState(value);
14537
14623
  const isValueFilled = !checkEmpty(text);
14538
14624
  return jsxs(Fragment, {
14539
14625
  children: [jsxs("div", {
14540
- className: classNames("add-module-container"),
14626
+ className: classNames('add-module-container'),
14541
14627
  children: [jsxs("div", {
14542
- className: classNames("ff-add-module-input-container", {
14628
+ className: classNames('ff-add-module-input-container', {
14543
14629
  'ff-add-module-input-container--float': isValueFilled
14544
14630
  }),
14545
14631
  children: [jsx("label", {
14546
- className: 'ff-add-module-label-container',
14547
- htmlFor: 'add-module-input',
14632
+ className: "ff-add-module-label-container",
14633
+ htmlFor: "add-module-input",
14548
14634
  children: jsx("span", {
14549
14635
  className: classNames('ff-add-module-label', {
14550
14636
  'ff-input-label--no-hover': !!text
14551
14637
  }),
14552
- children: "Edit Script"
14638
+ children: label
14553
14639
  })
14554
14640
  }), jsx("input", {
14555
- name: 'add-module-input',
14641
+ name: "add-module-input",
14556
14642
  type: "text",
14557
14643
  className: "add-module-input",
14558
14644
  onChange: e => setText(e.target.value),
@@ -14564,14 +14650,14 @@ const AddModule = ({
14564
14650
  className: "icons",
14565
14651
  name: "update_icon",
14566
14652
  onClick: () => onConfirm && onConfirm(text),
14567
- color: 'var(--label-edit-confirm-icon)',
14653
+ color: "var(--label-edit-confirm-icon)",
14568
14654
  height: 18,
14569
14655
  width: 18
14570
14656
  }), jsx(Icon, {
14571
14657
  className: "icons",
14572
14658
  name: "close",
14573
14659
  onClick: onCancel,
14574
- color: 'var(--label-edit-cancel-icon)',
14660
+ color: "var(--label-edit-cancel-icon)",
14575
14661
  height: 14,
14576
14662
  width: 14
14577
14663
  })]
@@ -14582,6 +14668,8 @@ const AddModule = ({
14582
14668
  });
14583
14669
  };
14584
14670
 
14671
+ const SvgSpinner = (props) => /* @__PURE__ */ React.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("style", null, "\r\n .spinner_DupU {\r\n animation: spinner_sM3D 1.2s infinite;\r\n fill: #71347b;\r\n }\r\n .spinner_GWtZ { animation-delay: .1s; }\r\n .spinner_dwN6 { animation-delay: .2s; }\r\n .spinner_46QP { animation-delay: .3s; }\r\n .spinner_PD82 { animation-delay: .4s; }\r\n .spinner_eUgh { animation-delay: .5s; }\r\n .spinner_eUaP { animation-delay: .6s; }\r\n .spinner_j38H { animation-delay: .7s; }\r\n .spinner_tVmX { animation-delay: .8s; }\r\n .spinner_DQhX { animation-delay: .9s; }\r\n .spinner_GIL4 { animation-delay: 1s; }\r\n .spinner_n0Yb { animation-delay: 1.1s; }\r\n\r\n @keyframes spinner_sM3D {\r\n 0%, 50% {\r\n animation-timing-function: cubic-bezier(0, 1, 0, 1);\r\n r: 0;\r\n }\r\n 10% {\r\n animation-timing-function: cubic-bezier(.53, 0, .61, .73);\r\n r: 2px;\r\n }\r\n }\r\n "), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU", cx: 12, cy: 3, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_GWtZ", cx: 16.5, cy: 4.21, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_n0Yb", cx: 7.5, cy: 4.21, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_dwN6", cx: 19.79, cy: 7.5, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_GIL4", cx: 4.21, cy: 7.5, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_46QP", cx: 21, cy: 12, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_DQhX", cx: 3, cy: 12, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_PD82", cx: 19.79, cy: 16.5, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_tVmX", cx: 4.21, cy: 16.5, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_eUgh", cx: 16.5, cy: 19.79, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_j38H", cx: 7.5, cy: 19.79, r: 0 }), /* @__PURE__ */ React.createElement("circle", { className: "spinner_DupU spinner_eUaP", cx: 12, cy: 21, r: 0 }));
14672
+
14585
14673
  const renderSpaces = (level, parentSiblings = [], isLast, isContainer) => {
14586
14674
  let siblingsArray = parentSiblings;
14587
14675
  let isLastNode = isLast;
@@ -14607,7 +14695,8 @@ const TableCell = /*#__PURE__*/React__default.memo(({
14607
14695
  onCheckBoxChange,
14608
14696
  onToggleExpand,
14609
14697
  onAddConfirm,
14610
- onAddCancel
14698
+ onAddCancel,
14699
+ isExpanding
14611
14700
  }) => {
14612
14701
  useEffect(() => {
14613
14702
  const handleHover = (event, isHovering) => {
@@ -14645,10 +14734,10 @@ const TableCell = /*#__PURE__*/React__default.memo(({
14645
14734
  children: [col.isTree && renderSpaces(node.hierarchy + 1, node.parentSiblings, node.lastResource, node.container), jsxs("div", {
14646
14735
  className: "tree-title-container",
14647
14736
  children: [col.isTree && jsx("span", {
14648
- className: `tree-table-space-block tree-table-space-block-${node.hierarchy} last-block ${node.expand ? 'tree-row-expanded' : 'tree-row-collapsed'} ${node.container ? '' : 'no-folder'}`,
14737
+ className: `tree-table-space-block tree-table-space-block-${node.hierarchy} last-block ${node?.expanded ? 'tree-row-expanded' : 'tree-row-collapsed'} ${node.container ? '' : 'no-folder'}`,
14649
14738
  children: node.container && (node?.resourceCount + node?.subContainerCount > 0 || node.expandable) && jsxs("span", {
14650
14739
  onClick: () => onToggleExpand(node),
14651
- children: [' ', jsx(SvgArrowsDownIcon, {})]
14740
+ children: [' ', isExpanding ? jsx(SvgSpinner, {}) : jsx(SvgArrowsDownIcon, {})]
14652
14741
  })
14653
14742
  }), jsxs("span", {
14654
14743
  className: `tree-table-td-content ${col.isTree && node.container ? 'folder' : ''}`,
@@ -14667,13 +14756,14 @@ const TableCell = /*#__PURE__*/React__default.memo(({
14667
14756
  onCancel: onAddCancel,
14668
14757
  onConfirm: onAddConfirm,
14669
14758
  error: node?.error || '',
14670
- value: node.value
14759
+ value: node.value,
14760
+ label: node?.label || ''
14671
14761
  }) : jsx("span", {
14672
14762
  className: "tree-table-td-content-text",
14673
14763
  children: prepareData(node, col)
14674
14764
  })]
14675
14765
  })]
14676
- }), col.actions && jsx("div", {
14766
+ }), col.actions && !node?.isNewNode && jsx("div", {
14677
14767
  className: `table-tree-row-action`,
14678
14768
  children: (() => {
14679
14769
  return col.actions(node, treeRowRef);
@@ -14691,7 +14781,8 @@ const TableRow = /*#__PURE__*/React__default.memo(({
14691
14781
  onToggleExpand,
14692
14782
  onCheckBoxChange,
14693
14783
  onAddConfirm,
14694
- onAddCancel
14784
+ onAddCancel,
14785
+ isExpanding
14695
14786
  }) => {
14696
14787
  const treeRowRef = useRef(null);
14697
14788
  return jsx("tr", {
@@ -14708,7 +14799,8 @@ const TableRow = /*#__PURE__*/React__default.memo(({
14708
14799
  onCheckBoxChange: onCheckBoxChange,
14709
14800
  onToggleExpand: onToggleExpand,
14710
14801
  onAddConfirm: onAddConfirm,
14711
- onAddCancel: onAddCancel
14802
+ onAddCancel: onAddCancel,
14803
+ isExpanding: isExpanding
14712
14804
  }, col.name))
14713
14805
  });
14714
14806
  });
@@ -14718,7 +14810,8 @@ const addNewRow = (treeData, newNode) => {
14718
14810
  sourceId,
14719
14811
  action,
14720
14812
  value = '',
14721
- error = ''
14813
+ error = '',
14814
+ label
14722
14815
  } = newNode;
14723
14816
  if (!sourceId || !action) return treeData;
14724
14817
  const nodeMap = new Map(treeData.map(node => [node.key, node]));
@@ -14732,7 +14825,8 @@ const addNewRow = (treeData, newNode) => {
14732
14825
  isNewNode: true,
14733
14826
  key: 'new-node',
14734
14827
  value,
14735
- error
14828
+ error,
14829
+ label
14736
14830
  };
14737
14831
  switch (action) {
14738
14832
  case 'addAbove':
@@ -14761,7 +14855,8 @@ const TableBody = ({
14761
14855
  onCheckBoxChange,
14762
14856
  newNode = {},
14763
14857
  onAddConfirm,
14764
- onAddCancel
14858
+ onAddCancel,
14859
+ expanding
14765
14860
  }) => {
14766
14861
  if (checkEmpty(flattenedTreeData)) {
14767
14862
  return null;
@@ -14779,7 +14874,8 @@ const TableBody = ({
14779
14874
  onToggleExpand: node => onToggleExpand(node, index),
14780
14875
  onCheckBoxChange: onCheckBoxChange,
14781
14876
  onAddConfirm: onAddConfirm,
14782
- onAddCancel: onAddCancel
14877
+ onAddCancel: onAddCancel,
14878
+ isExpanding: node.key === expanding
14783
14879
  }, node.key)), jsx("tr", {
14784
14880
  id: "ff-table-tree-last-node"
14785
14881
  })]
@@ -14822,14 +14918,11 @@ const TreeTable = ({
14822
14918
  loadMore = () => {},
14823
14919
  tableBorder,
14824
14920
  height = 'auto',
14825
- newNode = {
14826
- action: 'addInside',
14827
- sourceId: 'PAG1013',
14828
- value: 'newNode'
14829
- },
14921
+ newNode = {},
14830
14922
  onAddConfirm = _name => {},
14831
14923
  onAddCancel = () => {}
14832
14924
  }) => {
14925
+ const [expanding, setExpanding] = useState(null);
14833
14926
  const observerRef = useRef(null);
14834
14927
  const isTriggeredAbove = useRef(false); // Track if pagination for "above" direction has been triggered
14835
14928
  const isTriggeredBelow = useRef(false); // Track if pagination for "below" direction has been triggered
@@ -14901,11 +14994,33 @@ const TreeTable = ({
14901
14994
  throttledLoadMore.cancel();
14902
14995
  };
14903
14996
  }, [treeData, throttledLoadMore]);
14904
- const handleToggleExpand = useCallback((node, index) => onExpand?.(node, index), [onExpand]);
14997
+ useEffect(() => {
14998
+ if (expanding) {
14999
+ setExpanding(null);
15000
+ }
15001
+ }, [treeData]);
15002
+ useEffect(() => {
15003
+ if (expanding) {
15004
+ setTimeout(() => {
15005
+ if (expanding) {
15006
+ setExpanding(null);
15007
+ }
15008
+ }, 3000);
15009
+ }
15010
+ }, [expanding]);
15011
+ const handleToggleExpand = useCallback((node, index) => {
15012
+ if (expanding) return;
15013
+ setExpanding(node.key);
15014
+ onExpand?.(node, index);
15015
+ }, [onExpand]);
14905
15016
  const handleCheckBoxChange = useCallback((e, node) => {
15017
+ if (expanding) return;
14906
15018
  onChange?.(e, node);
14907
15019
  }, [onChange]);
14908
- const handleRowClick = useCallback((e, node) => onClick?.(e, node), [onClick]);
15020
+ const handleRowClick = useCallback((e, node) => {
15021
+ if (expanding) return;
15022
+ onClick?.(e, node);
15023
+ }, [onClick]);
14909
15024
  return jsx("div", {
14910
15025
  className: "tree-table-wrap",
14911
15026
  children: jsx("div", {
@@ -14929,13 +15044,13 @@ const TreeTable = ({
14929
15044
  onCheckBoxChange: handleCheckBoxChange,
14930
15045
  newNode: newNode,
14931
15046
  onAddConfirm: onAddConfirm,
14932
- onAddCancel: onAddCancel
15047
+ onAddCancel: onAddCancel,
15048
+ expanding: expanding
14933
15049
  })]
14934
15050
  })
14935
15051
  })
14936
15052
  });
14937
15053
  };
14938
- var TableTree = /*#__PURE__*/memo(TreeTable);
14939
15054
 
14940
15055
  var css_248z$P = ":root {\n --tooltip-bg-color: #1e161f;\n --status-approved-text-color: #016102;\n --status-warning-text-color: #ff8b00;\n --status-rejected-text-color: #c60202;\n --status-skipped-text-color: #3c3838;\n --status-approved-bg-color: #c6efcd;\n --status-rejected-bg-color: #f7d9d9;\n --status-warning-bg-color: #fae2c6;\n --status-skipped-bg-color: #c4c3c3;\n --brand-color: #71347b;\n --icons-default-color: #71347b;\n --default-icon-color: #a3a3a3;\n --default-color: #747474;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --system-color--error: #c50303;\n --hover-color: #f7ebff;\n --brand2-color: #610b86;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --description-text-color: #d9d9d9;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --text-color: #1e161f;\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --error-light: #e42525;\n --tabs-label-default-color: tabs-label-default-color;\n --tabs-label-active-color: tabs-label-active-color;\n --tabs-border-color: tabs-border-color;\n --tabs-bg-color: tabs-bg-color;\n --tab-bg-color: tab-bg-color;\n --toggle-button-bg-color: #ffffff;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-strip-color: #cfd1e2;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --toggle-strip-color: #cfd1e2;\n --add-icon-hover-color: #431b4a;\n --arrows-button-border-color: #ded1e5;\n --arrow-button-bg-color: #ffffff;\n --text-bg-highlight: #f5fb00;\n --slider-table-color: #efe1f9;\n --variable-dropdown-bg: #($variable-dropdown-bg);\n --dataset-tooltip-title: #($dataset-tooltip-title),\n --dataset-tooltip-value: #($dataset-tooltip-value), ;\n}\n\n.fontXs {\n font-family: \"Poppins\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-20 {\n font-family: \"Poppins\";\n font-size: 20px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-tabs-container {\n box-sizing: border-box;\n}\n.ff-tabs-container .ff-tab-row {\n flex: 0 1 auto;\n}\n.ff-tabs-container .ff-tab-row--default {\n display: flex;\n gap: 8px;\n border-radius: 8px 8px 0 0;\n padding: 6px 8px 0;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default {\n position: relative;\n border: none;\n background: none;\n padding: 0 8px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n cursor: pointer;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default .label-count-section {\n display: flex;\n align-items: center;\n gap: 5px;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default .label-count-section .tab-count {\n background-color: var(--input-default-label-color);\n color: var(--tab-bg-color);\n height: 12px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 8px;\n font-weight: 600;\n padding: 0 2px;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default .label-count-section .tab-count--active {\n background-color: var(--tabs-label-active-color);\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default .ff-tab-bar {\n width: 100%;\n border-radius: 2px 2px 0 0;\n border-color: var(--input-default-label-color);\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default .ff-tab-bar--active {\n border-top: 2px solid var(--tabs-label-active-color);\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default:hover .ff-tab-bar {\n border-top: 2px solid var(--input-hover-border-color);\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default:hover .ff-tab-bar--active {\n border-top: 2px solid var(--tabs-label-active-color);\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default:hover .ff-tab-label {\n color: var(--input-hover-border-color) !important;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default:hover .ff-tab-label--active {\n color: var(--tabs-label-active-color) !important;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default:hover .tab-count {\n background-color: var(--input-hover-border-color);\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default:hover .tab-count--active {\n background-color: var(--tabs-label-active-color);\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default.disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.ff-tabs-container .ff-tab-row--capsule {\n display: flex;\n gap: 8px;\n border: 1px solid var(--tabs-border-color);\n border-radius: 8px;\n padding: 3px 4px;\n background-color: var(--tabs-bg-color);\n}\n.ff-tabs-container .ff-tab-row--capsule .ff-tab-button--capsule {\n background: transparent;\n border: none;\n padding: 3px 4px;\n border-radius: 4px;\n cursor: pointer;\n}\n.ff-tabs-container .ff-tab-row--capsule .ff-tab-button--capsule:hover .ff-tab-label {\n color: var(--input-hover-border-color) !important;\n}\n.ff-tabs-container .ff-tab-row--capsule .ff-tab-button--capsule:hover .ff-tab-label--active {\n color: var(--tabs-label-active-color) !important;\n}\n.ff-tabs-container .ff-tab-row--capsule .ff-tab-button--capsule.active {\n background-color: var(--tab-bg-color);\n}\n.ff-tabs-container .ff-tab-row--capsule .ff-tab-button--capsule .ff-tab-bar {\n display: none;\n}\n.ff-tabs-container .ff-tab-row--no-border {\n border: none;\n}\n.ff-tabs-container .ff-tab-row--no-padding {\n border-radius: 8px;\n background: white;\n padding: 0px;\n justify-content: flex-start;\n margin-right: 8px;\n}\n.ff-tabs-container .ff-tab-row--no-padding .ff-tab-button--capsule {\n background: transparent;\n border: none;\n padding: 3px 4px;\n border-radius: 7px;\n cursor: pointer;\n}\n.ff-tabs-container .ff-tab-row--no-padding .ff-tab-button--capsule:hover .ff-tab-label {\n color: var(--input-hover-border-color) !important;\n}\n.ff-tabs-container .ff-tab-row--no-padding .ff-tab-button--capsule:hover .ff-tab-label--active {\n color: var(--tabs-label-active-color) !important;\n}\n.ff-tabs-container .ff-tab-row--no-padding .ff-tab-button--capsule.active {\n background-color: var(--slider-table-color);\n}\n.ff-tabs-container .ff-tab-row--no-padding .ff-tab-button--capsule .ff-tab-bar {\n display: none;\n}\n.ff-tabs-container .ff-tab-content {\n width: inherit;\n}\n.ff-tabs-container .ff-defaultStatus {\n position: absolute;\n top: 2px;\n right: 0px;\n width: 6px;\n height: 6px;\n background-color: transparent;\n border-radius: 50%;\n}\n.ff-tabs-container .ff-defaultStatus.ff-successStatus {\n background-color: var(--confirm-tick-icon-color);\n box-shadow: 0px 1px 1px 0px var(--toggle-strip-shadow);\n}\n.ff-tabs-container .ff-defaultStatus.ff-dangerStatus {\n background-color: var(--delete-text-color);\n box-shadow: 0px 1px 1px 0px var(--toggle-strip-shadow);\n}";
14941
15056
  styleInject(css_248z$P);
@@ -18605,6 +18720,53 @@ function setYear(date, year, options) {
18605
18720
  return date_;
18606
18721
  }
18607
18722
 
18723
+ const FIVE_WEEKS = 5;
18724
+ const FOUR_WEEKS = 4;
18725
+ /**
18726
+ * Return the number of weeks to display in the broadcast calendar.
18727
+ *
18728
+ * @since 9.4.0
18729
+ */
18730
+ function getBroadcastWeeksInMonth(month, dateLib) {
18731
+ // Get the first day of the month
18732
+ const firstDayOfMonth = dateLib.startOfMonth(month);
18733
+ // Get the day of the week for the first day of the month (1-7, where 1 is Monday)
18734
+ const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;
18735
+ const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);
18736
+ const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);
18737
+ const numberOfWeeks = month.getMonth() === lastDateOfLastWeek.getMonth() ? FIVE_WEEKS : FOUR_WEEKS;
18738
+ return numberOfWeeks;
18739
+ }
18740
+
18741
+ /**
18742
+ * Return the start date of the week in the broadcast calendar.
18743
+ *
18744
+ * @since 9.4.0
18745
+ */
18746
+ function startOfBroadcastWeek(date, dateLib) {
18747
+ const firstOfMonth = dateLib.startOfMonth(date);
18748
+ const dayOfWeek = firstOfMonth.getDay();
18749
+ if (dayOfWeek === 1) {
18750
+ return firstOfMonth;
18751
+ } else if (dayOfWeek === 0) {
18752
+ return dateLib.addDays(firstOfMonth, -1 * 6);
18753
+ } else {
18754
+ return dateLib.addDays(firstOfMonth, -1 * (dayOfWeek - 1));
18755
+ }
18756
+ }
18757
+
18758
+ /**
18759
+ * Return the end date of the week in the broadcast calendar.
18760
+ *
18761
+ * @since 9.4.0
18762
+ */
18763
+ function endOfBroadcastWeek(date, dateLib) {
18764
+ const startDate = startOfBroadcastWeek(date, dateLib);
18765
+ const numberOfWeeks = getBroadcastWeeksInMonth(date, dateLib);
18766
+ const endDate = dateLib.addDays(startDate, numberOfWeeks * 7 - 1);
18767
+ return endDate;
18768
+ }
18769
+
18608
18770
  /**
18609
18771
  * A wrapper class around [date-fns](http://date-fns.org) sharing the same
18610
18772
  * options. Methods of this class can be overridden using the
@@ -18685,6 +18847,15 @@ class DateLib {
18685
18847
  this.differenceInCalendarMonths = (dateLeft, dateRight) => {
18686
18848
  return this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight) : differenceInCalendarMonths(dateLeft, dateRight);
18687
18849
  };
18850
+ /**
18851
+ * Returns the end of the broadcast week for the given date.
18852
+ *
18853
+ * @param date The original date.
18854
+ * @returns The end of the broadcast week.
18855
+ */
18856
+ this.endOfBroadcastWeek = date => {
18857
+ return this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(date, this) : endOfBroadcastWeek(date, this);
18858
+ };
18688
18859
  /**
18689
18860
  * Returns the end of the ISO week for the given date.
18690
18861
  *
@@ -18846,6 +19017,15 @@ class DateLib {
18846
19017
  this.setYear = (date, year) => {
18847
19018
  return this.overrides?.setYear ? this.overrides.setYear(date, year) : setYear(date, year);
18848
19019
  };
19020
+ /**
19021
+ * Returns the start of the broadcast week for the given date.
19022
+ *
19023
+ * @param date The original date.
19024
+ * @returns The start of the broadcast week.
19025
+ */
19026
+ this.startOfBroadcastWeek = date => {
19027
+ return this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(date, this) : startOfBroadcastWeek(date, this);
19028
+ };
18849
19029
  /**
18850
19030
  * Returns the start of the day for the given date.
18851
19031
  *
@@ -19328,7 +19508,9 @@ function Weekday(props) {
19328
19508
  * @see https://daypicker.dev/guides/custom-components
19329
19509
  */
19330
19510
  function Weekdays(props) {
19331
- return /*#__PURE__*/React__default.createElement("thead", null, /*#__PURE__*/React__default.createElement("tr", {
19511
+ return /*#__PURE__*/React__default.createElement("thead", {
19512
+ "aria-hidden": true
19513
+ }, /*#__PURE__*/React__default.createElement("tr", {
19332
19514
  ...props
19333
19515
  }));
19334
19516
  }
@@ -19431,7 +19613,8 @@ function getDataAttributes(props) {
19431
19613
  "data-mode": props.mode ?? undefined,
19432
19614
  "data-required": "required" in props ? props.required : undefined,
19433
19615
  "data-multiple-months": props.numberOfMonths && props.numberOfMonths > 1 || undefined,
19434
- "data-week-numbers": props.showWeekNumber || undefined
19616
+ "data-week-numbers": props.showWeekNumber || undefined,
19617
+ "data-broadcast-calendar": props.broadcastCalendar || undefined
19435
19618
  };
19436
19619
  Object.entries(props).forEach(([key, val]) => {
19437
19620
  if (key.startsWith("data-")) {
@@ -19497,7 +19680,7 @@ function formatDay(date, options, dateLib) {
19497
19680
  */
19498
19681
  function formatMonthDropdown(/** The month number to format. */
19499
19682
  monthNumber, /** The locale to use for formatting. */
19500
- locale = enUS$1) {
19683
+ locale) {
19501
19684
  return locale.localize?.month(monthNumber);
19502
19685
  }
19503
19686
 
@@ -19587,13 +19770,12 @@ function getMonthOptions(displayMonth, navStart, navEnd, formatters, dateLib) {
19587
19770
  if (!navEnd) return undefined;
19588
19771
  const {
19589
19772
  addMonths,
19590
- startOfMonth,
19591
- isBefore
19773
+ startOfMonth
19592
19774
  } = dateLib;
19593
19775
  const year = displayMonth.getFullYear();
19594
19776
  const months = [];
19595
19777
  let month = navStart;
19596
- while (months.length < 12 && isBefore(month, addMonths(navEnd, 1))) {
19778
+ while (months.length < 12) {
19597
19779
  months.push(month.getMonth());
19598
19780
  month = addMonths(month, 1);
19599
19781
  }
@@ -19601,7 +19783,7 @@ function getMonthOptions(displayMonth, navStart, navEnd, formatters, dateLib) {
19601
19783
  return a - b;
19602
19784
  });
19603
19785
  const options = sortedMonths.map(value => {
19604
- const label = formatters.formatMonthDropdown(value, dateLib.options.locale);
19786
+ const label = formatters.formatMonthDropdown(value, dateLib.options.locale ?? enUS$1);
19605
19787
  const month = dateLib.Date ? new dateLib.Date(year, value) : new Date(year, value);
19606
19788
  const disabled = navStart && month < startOfMonth(navStart) || navEnd && month > startOfMonth(navEnd) || false;
19607
19789
  return {
@@ -19976,7 +20158,8 @@ function tzName(tz, date) {
19976
20158
  */
19977
20159
  function getWeekdays(/** The date library. */
19978
20160
  dateLib, /** Use ISOWeek instead of locale/ */
19979
- ISOWeek, timeZone) {
20161
+ ISOWeek, timeZone, /** @since 9.4.0 */
20162
+ broadcastCalendar) {
19980
20163
  const date = timeZone ? TZDate.tz(timeZone) : dateLib.Date ? new dateLib.Date() : new Date();
19981
20164
  const start = ISOWeek ? dateLib.startOfISOWeek(date) : dateLib.startOfWeek(date);
19982
20165
  const days = [];
@@ -19988,20 +20171,18 @@ ISOWeek, timeZone) {
19988
20171
  }
19989
20172
 
19990
20173
  /** Return the years to show in the dropdown. */
19991
- function getYearOptions(displayMonth, calendarStart, calendarEnd, formatters, dateLib) {
19992
- if (!calendarStart) return undefined;
19993
- if (!calendarEnd) return undefined;
20174
+ function getYearOptions(navStart, navEnd, formatters, dateLib) {
20175
+ if (!navStart) return undefined;
20176
+ if (!navEnd) return undefined;
19994
20177
  const {
19995
- startOfMonth,
19996
20178
  startOfYear,
19997
20179
  endOfYear,
19998
20180
  addYears,
19999
20181
  isBefore,
20000
20182
  isSameYear
20001
20183
  } = dateLib;
20002
- const month = displayMonth.getMonth();
20003
- const firstNavYear = startOfYear(calendarStart);
20004
- const lastNavYear = endOfYear(calendarEnd);
20184
+ const firstNavYear = startOfYear(navStart);
20185
+ const lastNavYear = endOfYear(navEnd);
20005
20186
  const years = [];
20006
20187
  let year = firstNavYear;
20007
20188
  while (isBefore(year, lastNavYear) || isSameYear(year, lastNavYear)) {
@@ -20009,13 +20190,11 @@ function getYearOptions(displayMonth, calendarStart, calendarEnd, formatters, da
20009
20190
  year = addYears(year, 1);
20010
20191
  }
20011
20192
  return years.map(value => {
20012
- const year = dateLib.Date ? new dateLib.Date(value, month) : new Date(value, month);
20013
- const disabled = calendarStart && year < startOfMonth(calendarStart) || month && calendarEnd && year > startOfMonth(calendarEnd) || false;
20014
20193
  const label = formatters.formatYearDropdown(value);
20015
20194
  return {
20016
20195
  value,
20017
20196
  label,
20018
- disabled
20197
+ disabled: false
20019
20198
  };
20020
20199
  });
20021
20200
  }
@@ -20179,29 +20358,30 @@ var defaultLabels = /*#__PURE__*/Object.freeze({
20179
20358
  labelYearDropdown: labelYearDropdown
20180
20359
  });
20181
20360
 
20182
- /** The number of days in a month when having 6 weeks. */
20183
- const NrOfDaysWithFixedWeeks = 42;
20184
20361
  /** Return all the dates to display in the calendar. */
20185
20362
  function getDates(displayMonths, maxDate, props, dateLib) {
20186
20363
  const firstMonth = displayMonths[0];
20187
20364
  const lastMonth = displayMonths[displayMonths.length - 1];
20188
20365
  const {
20189
20366
  ISOWeek,
20190
- fixedWeeks
20367
+ fixedWeeks,
20368
+ broadcastCalendar
20191
20369
  } = props ?? {};
20192
20370
  const {
20193
- startOfWeek,
20194
- endOfWeek,
20195
- startOfISOWeek,
20196
- endOfISOWeek,
20197
20371
  addDays,
20198
20372
  differenceInCalendarDays,
20199
20373
  differenceInCalendarMonths,
20374
+ endOfBroadcastWeek,
20375
+ endOfISOWeek,
20376
+ endOfMonth,
20377
+ endOfWeek,
20200
20378
  isAfter,
20201
- endOfMonth
20379
+ startOfBroadcastWeek,
20380
+ startOfISOWeek,
20381
+ startOfWeek
20202
20382
  } = dateLib;
20203
- const startWeekFirstDate = ISOWeek ? startOfISOWeek(firstMonth) : startOfWeek(firstMonth);
20204
- const endWeekLastDate = ISOWeek ? endOfISOWeek(endOfMonth(lastMonth)) : endOfWeek(endOfMonth(lastMonth));
20383
+ const startWeekFirstDate = broadcastCalendar ? startOfBroadcastWeek(firstMonth, dateLib) : ISOWeek ? startOfISOWeek(firstMonth) : startOfWeek(firstMonth);
20384
+ const endWeekLastDate = broadcastCalendar ? endOfBroadcastWeek(lastMonth, dateLib) : ISOWeek ? endOfISOWeek(endOfMonth(lastMonth)) : endOfWeek(endOfMonth(lastMonth));
20205
20385
  const nOfDays = differenceInCalendarDays(endWeekLastDate, startWeekFirstDate);
20206
20386
  const nOfMonths = differenceInCalendarMonths(lastMonth, firstMonth) + 1;
20207
20387
  const dates = [];
@@ -20213,9 +20393,11 @@ function getDates(displayMonths, maxDate, props, dateLib) {
20213
20393
  dates.push(date);
20214
20394
  }
20215
20395
  // If fixed weeks is enabled, add the extra dates to the array
20216
- const extraDates = NrOfDaysWithFixedWeeks * nOfMonths;
20396
+ const nrOfDaysWithFixedWeeks = broadcastCalendar ? 35 : 42;
20397
+ const extraDates = nrOfDaysWithFixedWeeks * nOfMonths;
20217
20398
  if (fixedWeeks && dates.length < extraDates) {
20218
- for (let i = 0; i < 7; i++) {
20399
+ const daysToAdd = extraDates - dates.length;
20400
+ for (let i = 0; i < daysToAdd; i++) {
20219
20401
  const date = addDays(dates[dates.length - 1], 1);
20220
20402
  dates.push(date);
20221
20403
  }
@@ -20326,25 +20508,29 @@ displayMonths, /** The dates to display in the calendar. */
20326
20508
  dates, /** Options from the props context. */
20327
20509
  props, dateLib) {
20328
20510
  const {
20329
- startOfWeek,
20330
- endOfWeek,
20331
- startOfISOWeek,
20511
+ addDays,
20512
+ endOfBroadcastWeek,
20332
20513
  endOfISOWeek,
20333
20514
  endOfMonth,
20334
- addDays,
20515
+ endOfWeek,
20516
+ getISOWeek,
20335
20517
  getWeek,
20336
- getISOWeek
20518
+ startOfBroadcastWeek,
20519
+ startOfISOWeek,
20520
+ startOfWeek
20337
20521
  } = dateLib;
20338
20522
  const dayPickerMonths = displayMonths.reduce((months, month) => {
20339
- const firstDateOfFirstWeek = props.ISOWeek ? startOfISOWeek(month) : startOfWeek(month);
20340
- const lastDateOfLastWeek = props.ISOWeek ? endOfISOWeek(endOfMonth(month)) : endOfWeek(endOfMonth(month));
20523
+ const firstDateOfFirstWeek = props.broadcastCalendar ? startOfBroadcastWeek(month, dateLib) : props.ISOWeek ? startOfISOWeek(month) : startOfWeek(month);
20524
+ const lastDateOfLastWeek = props.broadcastCalendar ? endOfBroadcastWeek(month, dateLib) : props.ISOWeek ? endOfISOWeek(endOfMonth(month)) : endOfWeek(endOfMonth(month));
20341
20525
  /** The dates to display in the month. */
20342
20526
  const monthDates = dates.filter(date => {
20343
20527
  return date >= firstDateOfFirstWeek && date <= lastDateOfLastWeek;
20344
20528
  });
20345
- if (props.fixedWeeks && monthDates.length < 42) {
20529
+ const nrOfDaysWithFixedWeeks = props.broadcastCalendar ? 35 : 42;
20530
+ if (props.fixedWeeks && monthDates.length < nrOfDaysWithFixedWeeks) {
20346
20531
  const extraDates = dates.filter(date => {
20347
- return date > lastDateOfLastWeek && date <= addDays(lastDateOfLastWeek, 7);
20532
+ const daysToAdd = nrOfDaysWithFixedWeeks - monthDates.length;
20533
+ return date > lastDateOfLastWeek && date <= addDays(lastDateOfLastWeek, daysToAdd);
20348
20534
  });
20349
20535
  monthDates.push(...extraDates);
20350
20536
  }
@@ -20782,27 +20968,30 @@ function dateMatchModifiers(date, matchers, dateLib = defaultDateLib) {
20782
20968
  /** Return the next date that should be focused. */
20783
20969
  function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {
20784
20970
  const {
20785
- ISOWeek
20971
+ ISOWeek,
20972
+ broadcastCalendar
20786
20973
  } = props;
20787
20974
  const {
20788
20975
  addDays,
20789
20976
  addMonths,
20790
- addYears,
20791
20977
  addWeeks,
20792
- startOfISOWeek,
20978
+ addYears,
20979
+ endOfBroadcastWeek,
20793
20980
  endOfISOWeek,
20794
- startOfWeek,
20795
20981
  endOfWeek,
20796
20982
  max,
20797
- min
20983
+ min,
20984
+ startOfBroadcastWeek,
20985
+ startOfISOWeek,
20986
+ startOfWeek
20798
20987
  } = dateLib;
20799
20988
  const moveFns = {
20800
20989
  day: addDays,
20801
20990
  week: addWeeks,
20802
20991
  month: addMonths,
20803
20992
  year: addYears,
20804
- startOfWeek: date => ISOWeek ? startOfISOWeek(date) : startOfWeek(date),
20805
- endOfWeek: date => ISOWeek ? endOfISOWeek(date) : endOfWeek(date)
20993
+ startOfWeek: date => broadcastCalendar ? startOfBroadcastWeek(date, dateLib) : ISOWeek ? startOfISOWeek(date) : startOfWeek(date),
20994
+ endOfWeek: date => broadcastCalendar ? endOfBroadcastWeek(date, dateLib) : ISOWeek ? endOfISOWeek(date) : endOfWeek(date)
20806
20995
  };
20807
20996
  let focusableDate = moveFns[moveBy](refDate, moveDir === "after" ? 1 : -1);
20808
20997
  if (moveDir === "before" && navStart) {
@@ -20868,6 +21057,8 @@ function useFocus(props, calendar, getModifiers, isSelected, dateLib) {
20868
21057
  /**
20869
21058
  * Return a function to get the modifiers for a given day.
20870
21059
  *
21060
+ * NOTE: this is not an hook, but a factory for `getModifiers`.
21061
+ *
20871
21062
  * @private
20872
21063
  */
20873
21064
  function useGetModifiers(days, props, dateLib) {
@@ -20876,12 +21067,19 @@ function useGetModifiers(days, props, dateLib) {
20876
21067
  hidden,
20877
21068
  modifiers,
20878
21069
  showOutsideDays,
21070
+ broadcastCalendar,
20879
21071
  today
20880
21072
  } = props;
20881
21073
  const {
20882
21074
  isSameDay,
20883
- isSameMonth
21075
+ isSameMonth,
21076
+ startOfMonth,
21077
+ isBefore,
21078
+ endOfMonth,
21079
+ isAfter
20884
21080
  } = dateLib;
21081
+ const startMonth = props.startMonth && startOfMonth(props.startMonth);
21082
+ const endMonth = props.endMonth && endOfMonth(props.endMonth);
20885
21083
  const internalModifiersMap = {
20886
21084
  [DayFlag.focused]: [],
20887
21085
  [DayFlag.outside]: [],
@@ -20890,20 +21088,18 @@ function useGetModifiers(days, props, dateLib) {
20890
21088
  [DayFlag.today]: []
20891
21089
  };
20892
21090
  const customModifiersMap = {};
20893
- const selectionModifiersMap = {
20894
- [SelectionState.range_end]: [],
20895
- [SelectionState.range_middle]: [],
20896
- [SelectionState.range_start]: [],
20897
- [SelectionState.selected]: []
20898
- };
20899
21091
  for (const day of days) {
20900
21092
  const {
20901
21093
  date,
20902
21094
  displayMonth
20903
21095
  } = day;
20904
21096
  const isOutside = Boolean(displayMonth && !isSameMonth(date, displayMonth));
21097
+ const isBeforeStartMonth = Boolean(startMonth && isBefore(date, startMonth));
21098
+ const isAfterEndMonth = Boolean(endMonth && isAfter(date, endMonth));
20905
21099
  const isDisabled = Boolean(disabled && dateMatchModifiers(date, disabled, dateLib));
20906
- const isHidden = Boolean(hidden && dateMatchModifiers(date, hidden, dateLib)) || !showOutsideDays && isOutside;
21100
+ const isHidden = Boolean(hidden && dateMatchModifiers(date, hidden, dateLib)) || isBeforeStartMonth || isAfterEndMonth ||
21101
+ // Broadcast calendar will show outside days as default
21102
+ !broadcastCalendar && !showOutsideDays && isOutside || broadcastCalendar && showOutsideDays === false && isOutside;
20907
21103
  const isToday = isSameDay(date, today ?? (props.timeZone ? TZDate.tz(props.timeZone) : dateLib.Date ? new dateLib.Date() : new Date()));
20908
21104
  if (isOutside) internalModifiersMap.outside.push(day);
20909
21105
  if (isDisabled) internalModifiersMap.disabled.push(day);
@@ -20932,27 +21128,16 @@ function useGetModifiers(days, props, dateLib) {
20932
21128
  [DayFlag.outside]: false,
20933
21129
  [DayFlag.today]: false
20934
21130
  };
20935
- const selectionStates = {
20936
- [SelectionState.range_end]: false,
20937
- [SelectionState.range_middle]: false,
20938
- [SelectionState.range_start]: false,
20939
- [SelectionState.selected]: false
20940
- };
20941
21131
  const customModifiers = {};
20942
21132
  // Find the modifiers for the given day
20943
21133
  for (const name in internalModifiersMap) {
20944
21134
  const days = internalModifiersMap[name];
20945
21135
  dayFlags[name] = days.some(d => d === day);
20946
21136
  }
20947
- for (const name in selectionModifiersMap) {
20948
- const days = selectionModifiersMap[name];
20949
- selectionStates[name] = days.some(d => d === day);
20950
- }
20951
21137
  for (const name in customModifiersMap) {
20952
21138
  customModifiers[name] = customModifiersMap[name].some(d => d === day);
20953
21139
  }
20954
21140
  return {
20955
- ...selectionStates,
20956
21141
  ...dayFlags,
20957
21142
  // custom modifiers should override all the previous ones
20958
21143
  ...customModifiers
@@ -21357,7 +21542,7 @@ function DayPicker(props) {
21357
21542
  };
21358
21543
  const dateLib = new DateLib({
21359
21544
  locale,
21360
- weekStartsOn: props.weekStartsOn,
21545
+ weekStartsOn: props.broadcastCalendar ? 1 : props.weekStartsOn,
21361
21546
  firstWeekContainsDate: props.firstWeekContainsDate,
21362
21547
  useAdditionalWeekYearTokens: props.useAdditionalWeekYearTokens,
21363
21548
  useAdditionalDayOfYearTokens: props.useAdditionalDayOfYearTokens
@@ -21376,7 +21561,7 @@ function DayPicker(props) {
21376
21561
  ...props.classNames
21377
21562
  }
21378
21563
  };
21379
- }, [props.classNames, props.components, props.dateLib, props.firstWeekContainsDate, props.formatters, props.labels, props.locale, props.useAdditionalDayOfYearTokens, props.useAdditionalWeekYearTokens, props.weekStartsOn]);
21564
+ }, [props.classNames, props.components, props.dateLib, props.firstWeekContainsDate, props.formatters, props.labels, props.locale, props.useAdditionalDayOfYearTokens, props.useAdditionalWeekYearTokens, props.weekStartsOn, props.broadcastCalendar]);
21380
21565
  const {
21381
21566
  captionLayout,
21382
21567
  mode,
@@ -21486,6 +21671,16 @@ function DayPicker(props) {
21486
21671
  const handleDayMouseLeave = useCallback((day, modifiers) => e => {
21487
21672
  onDayMouseLeave?.(day.date, modifiers, e);
21488
21673
  }, [onDayMouseLeave]);
21674
+ const handleMonthChange = useCallback(date => e => {
21675
+ const selectedMonth = Number(e.target.value);
21676
+ const month = dateLib.setMonth(dateLib.startOfMonth(date), selectedMonth);
21677
+ goToMonth(month);
21678
+ }, [dateLib, goToMonth]);
21679
+ const handleYearChange = useCallback(date => e => {
21680
+ const selectedYear = Number(e.target.value);
21681
+ const month = dateLib.setYear(dateLib.startOfMonth(date), selectedYear);
21682
+ goToMonth(month);
21683
+ }, [dateLib, goToMonth]);
21489
21684
  const {
21490
21685
  className,
21491
21686
  style
@@ -21523,6 +21718,8 @@ function DayPicker(props) {
21523
21718
  lang: props.lang,
21524
21719
  nonce: props.nonce,
21525
21720
  title: props.title,
21721
+ role: props.role,
21722
+ "aria-label": props["aria-label"],
21526
21723
  ...dataAttributes
21527
21724
  }, /*#__PURE__*/React__default.createElement(components.Months, {
21528
21725
  className: classNames[UI.Months],
@@ -21536,17 +21733,8 @@ function DayPicker(props) {
21536
21733
  previousMonth: previousMonth,
21537
21734
  nextMonth: nextMonth
21538
21735
  })), months.map((calendarMonth, displayIndex) => {
21539
- const handleMonthChange = e => {
21540
- const selectedMonth = Number(e.target.value);
21541
- const month = dateLib.setMonth(dateLib.startOfMonth(calendarMonth.date), selectedMonth);
21542
- goToMonth(month);
21543
- };
21544
- const handleYearChange = e => {
21545
- const month = dateLib.setYear(dateLib.startOfMonth(calendarMonth.date), Number(e.target.value));
21546
- goToMonth(month);
21547
- };
21548
21736
  const dropdownMonths = getMonthOptions(calendarMonth.date, navStart, navEnd, formatters, dateLib);
21549
- const dropdownYears = getYearOptions(months[0].date, navStart, navEnd, formatters, dateLib);
21737
+ const dropdownYears = getYearOptions(navStart, navEnd, formatters, dateLib);
21550
21738
  return /*#__PURE__*/React__default.createElement(components.Month, {
21551
21739
  className: classNames[UI.Month],
21552
21740
  style: styles?.[UI.Month],
@@ -21567,7 +21755,7 @@ function DayPicker(props) {
21567
21755
  classNames: classNames,
21568
21756
  components: components,
21569
21757
  disabled: Boolean(props.disableNavigation),
21570
- onChange: handleMonthChange,
21758
+ onChange: handleMonthChange(calendarMonth.date),
21571
21759
  options: dropdownMonths,
21572
21760
  style: styles?.[UI.Dropdown],
21573
21761
  value: calendarMonth.date.getMonth()
@@ -21580,7 +21768,7 @@ function DayPicker(props) {
21580
21768
  classNames: classNames,
21581
21769
  components: components,
21582
21770
  disabled: Boolean(props.disableNavigation),
21583
- onChange: handleYearChange,
21771
+ onChange: handleYearChange(calendarMonth.date),
21584
21772
  options: dropdownYears,
21585
21773
  style: styles?.[UI.Dropdown],
21586
21774
  value: calendarMonth.date.getFullYear()
@@ -21627,7 +21815,8 @@ function DayPicker(props) {
21627
21815
  locale
21628
21816
  }),
21629
21817
  className: classNames[UI.WeekNumber],
21630
- scope: "row"
21818
+ scope: "row",
21819
+ role: "rowheader"
21631
21820
  }, formatWeekNumber(week.weekNumber))), week.days.map(day => {
21632
21821
  const {
21633
21822
  date
@@ -21647,14 +21836,14 @@ function DayPicker(props) {
21647
21836
  }
21648
21837
  const style = getStyleForModifiers(modifiers, styles, props.modifiersStyles);
21649
21838
  const className = getClassNamesForModifiers(modifiers, classNames, props.modifiersClassNames);
21650
- const ariaLabel = !isInteractive ? labelGridcell(date, modifiers, dateLib.options, dateLib) : undefined;
21839
+ const ariaLabel = !isInteractive && !modifiers.hidden ? labelGridcell(date, modifiers, dateLib.options, dateLib) : undefined;
21651
21840
  return /*#__PURE__*/React__default.createElement(components.Day, {
21652
21841
  key: `${dateLib.format(date, "yyyy-MM-dd")}_${dateLib.format(day.displayMonth, "yyyy-MM")}`,
21653
21842
  day: day,
21654
21843
  modifiers: modifiers,
21655
21844
  className: className.join(" "),
21656
21845
  style: style,
21657
- "aria-hidden": modifiers.hidden || undefined,
21846
+ role: "gridcell",
21658
21847
  "aria-selected": modifiers.selected || undefined,
21659
21848
  "aria-label": ariaLabel,
21660
21849
  "data-day": dateLib.format(date, "yyyy-MM-dd"),
@@ -21665,7 +21854,7 @@ function DayPicker(props) {
21665
21854
  "data-outside": day.outside || undefined,
21666
21855
  "data-focused": modifiers.focused || undefined,
21667
21856
  "data-today": modifiers.today || undefined
21668
- }, isInteractive ? (/*#__PURE__*/React__default.createElement(components.DayButton, {
21857
+ }, !modifiers.hidden && isInteractive ? (/*#__PURE__*/React__default.createElement(components.DayButton, {
21669
21858
  className: classNames[UI.DayButton],
21670
21859
  style: styles?.[UI.DayButton],
21671
21860
  type: "button",
@@ -21680,7 +21869,7 @@ function DayPicker(props) {
21680
21869
  onKeyDown: handleDayKeyDown(day, modifiers),
21681
21870
  onMouseEnter: handleDayMouseEnter(day, modifiers),
21682
21871
  onMouseLeave: handleDayMouseLeave(day, modifiers)
21683
- }, formatDay(date, dateLib.options, dateLib))) : formatDay(day.date, dateLib.options, dateLib));
21872
+ }, formatDay(date, dateLib.options, dateLib))) : !modifiers.hidden && formatDay(day.date, dateLib.options, dateLib));
21684
21873
  }));
21685
21874
  }))));
21686
21875
  })), props.footer && (/*#__PURE__*/React__default.createElement(components.Footer, {
@@ -27761,9 +27950,9 @@ const DashboardDonutChart = ({
27761
27950
 
27762
27951
  var propTypes = {exports: {}};
27763
27952
 
27764
- var reactIs$1 = {exports: {}};
27953
+ var reactIs = {exports: {}};
27765
27954
 
27766
- var reactIs_production_min$1 = {};
27955
+ var reactIs_production_min = {};
27767
27956
 
27768
27957
  /** @license React v16.13.1
27769
27958
  * react-is.production.min.js
@@ -27773,10 +27962,10 @@ var reactIs_production_min$1 = {};
27773
27962
  * This source code is licensed under the MIT license found in the
27774
27963
  * LICENSE file in the root directory of this source tree.
27775
27964
  */
27776
- var hasRequiredReactIs_production_min$1;
27777
- function requireReactIs_production_min$1() {
27778
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
27779
- hasRequiredReactIs_production_min$1 = 1;
27965
+ var hasRequiredReactIs_production_min;
27966
+ function requireReactIs_production_min() {
27967
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
27968
+ hasRequiredReactIs_production_min = 1;
27780
27969
  var b = "function" === typeof Symbol && Symbol.for,
27781
27970
  c = b ? Symbol.for("react.element") : 60103,
27782
27971
  d = b ? Symbol.for("react.portal") : 60106,
@@ -27829,64 +28018,64 @@ function requireReactIs_production_min$1() {
27829
28018
  function A(a) {
27830
28019
  return z(a) === m;
27831
28020
  }
27832
- reactIs_production_min$1.AsyncMode = l;
27833
- reactIs_production_min$1.ConcurrentMode = m;
27834
- reactIs_production_min$1.ContextConsumer = k;
27835
- reactIs_production_min$1.ContextProvider = h;
27836
- reactIs_production_min$1.Element = c;
27837
- reactIs_production_min$1.ForwardRef = n;
27838
- reactIs_production_min$1.Fragment = e;
27839
- reactIs_production_min$1.Lazy = t;
27840
- reactIs_production_min$1.Memo = r;
27841
- reactIs_production_min$1.Portal = d;
27842
- reactIs_production_min$1.Profiler = g;
27843
- reactIs_production_min$1.StrictMode = f;
27844
- reactIs_production_min$1.Suspense = p;
27845
- reactIs_production_min$1.isAsyncMode = function (a) {
28021
+ reactIs_production_min.AsyncMode = l;
28022
+ reactIs_production_min.ConcurrentMode = m;
28023
+ reactIs_production_min.ContextConsumer = k;
28024
+ reactIs_production_min.ContextProvider = h;
28025
+ reactIs_production_min.Element = c;
28026
+ reactIs_production_min.ForwardRef = n;
28027
+ reactIs_production_min.Fragment = e;
28028
+ reactIs_production_min.Lazy = t;
28029
+ reactIs_production_min.Memo = r;
28030
+ reactIs_production_min.Portal = d;
28031
+ reactIs_production_min.Profiler = g;
28032
+ reactIs_production_min.StrictMode = f;
28033
+ reactIs_production_min.Suspense = p;
28034
+ reactIs_production_min.isAsyncMode = function (a) {
27846
28035
  return A(a) || z(a) === l;
27847
28036
  };
27848
- reactIs_production_min$1.isConcurrentMode = A;
27849
- reactIs_production_min$1.isContextConsumer = function (a) {
28037
+ reactIs_production_min.isConcurrentMode = A;
28038
+ reactIs_production_min.isContextConsumer = function (a) {
27850
28039
  return z(a) === k;
27851
28040
  };
27852
- reactIs_production_min$1.isContextProvider = function (a) {
28041
+ reactIs_production_min.isContextProvider = function (a) {
27853
28042
  return z(a) === h;
27854
28043
  };
27855
- reactIs_production_min$1.isElement = function (a) {
28044
+ reactIs_production_min.isElement = function (a) {
27856
28045
  return "object" === typeof a && null !== a && a.$$typeof === c;
27857
28046
  };
27858
- reactIs_production_min$1.isForwardRef = function (a) {
28047
+ reactIs_production_min.isForwardRef = function (a) {
27859
28048
  return z(a) === n;
27860
28049
  };
27861
- reactIs_production_min$1.isFragment = function (a) {
28050
+ reactIs_production_min.isFragment = function (a) {
27862
28051
  return z(a) === e;
27863
28052
  };
27864
- reactIs_production_min$1.isLazy = function (a) {
28053
+ reactIs_production_min.isLazy = function (a) {
27865
28054
  return z(a) === t;
27866
28055
  };
27867
- reactIs_production_min$1.isMemo = function (a) {
28056
+ reactIs_production_min.isMemo = function (a) {
27868
28057
  return z(a) === r;
27869
28058
  };
27870
- reactIs_production_min$1.isPortal = function (a) {
28059
+ reactIs_production_min.isPortal = function (a) {
27871
28060
  return z(a) === d;
27872
28061
  };
27873
- reactIs_production_min$1.isProfiler = function (a) {
28062
+ reactIs_production_min.isProfiler = function (a) {
27874
28063
  return z(a) === g;
27875
28064
  };
27876
- reactIs_production_min$1.isStrictMode = function (a) {
28065
+ reactIs_production_min.isStrictMode = function (a) {
27877
28066
  return z(a) === f;
27878
28067
  };
27879
- reactIs_production_min$1.isSuspense = function (a) {
28068
+ reactIs_production_min.isSuspense = function (a) {
27880
28069
  return z(a) === p;
27881
28070
  };
27882
- reactIs_production_min$1.isValidElementType = function (a) {
28071
+ reactIs_production_min.isValidElementType = function (a) {
27883
28072
  return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
27884
28073
  };
27885
- reactIs_production_min$1.typeOf = z;
27886
- return reactIs_production_min$1;
28074
+ reactIs_production_min.typeOf = z;
28075
+ return reactIs_production_min;
27887
28076
  }
27888
28077
 
27889
- var reactIs_development$1 = {};
28078
+ var reactIs_development = {};
27890
28079
 
27891
28080
  /** @license React v16.13.1
27892
28081
  * react-is.development.js
@@ -27896,10 +28085,10 @@ var reactIs_development$1 = {};
27896
28085
  * This source code is licensed under the MIT license found in the
27897
28086
  * LICENSE file in the root directory of this source tree.
27898
28087
  */
27899
- var hasRequiredReactIs_development$1;
27900
- function requireReactIs_development$1() {
27901
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
27902
- hasRequiredReactIs_development$1 = 1;
28088
+ var hasRequiredReactIs_development;
28089
+ function requireReactIs_development() {
28090
+ if (hasRequiredReactIs_development) return reactIs_development;
28091
+ hasRequiredReactIs_development = 1;
27903
28092
  if (process.env.NODE_ENV !== "production") {
27904
28093
  (function () {
27905
28094
 
@@ -28026,49 +28215,49 @@ function requireReactIs_development$1() {
28026
28215
  function isSuspense(object) {
28027
28216
  return typeOf(object) === REACT_SUSPENSE_TYPE;
28028
28217
  }
28029
- reactIs_development$1.AsyncMode = AsyncMode;
28030
- reactIs_development$1.ConcurrentMode = ConcurrentMode;
28031
- reactIs_development$1.ContextConsumer = ContextConsumer;
28032
- reactIs_development$1.ContextProvider = ContextProvider;
28033
- reactIs_development$1.Element = Element;
28034
- reactIs_development$1.ForwardRef = ForwardRef;
28035
- reactIs_development$1.Fragment = Fragment;
28036
- reactIs_development$1.Lazy = Lazy;
28037
- reactIs_development$1.Memo = Memo;
28038
- reactIs_development$1.Portal = Portal;
28039
- reactIs_development$1.Profiler = Profiler;
28040
- reactIs_development$1.StrictMode = StrictMode;
28041
- reactIs_development$1.Suspense = Suspense;
28042
- reactIs_development$1.isAsyncMode = isAsyncMode;
28043
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
28044
- reactIs_development$1.isContextConsumer = isContextConsumer;
28045
- reactIs_development$1.isContextProvider = isContextProvider;
28046
- reactIs_development$1.isElement = isElement;
28047
- reactIs_development$1.isForwardRef = isForwardRef;
28048
- reactIs_development$1.isFragment = isFragment;
28049
- reactIs_development$1.isLazy = isLazy;
28050
- reactIs_development$1.isMemo = isMemo;
28051
- reactIs_development$1.isPortal = isPortal;
28052
- reactIs_development$1.isProfiler = isProfiler;
28053
- reactIs_development$1.isStrictMode = isStrictMode;
28054
- reactIs_development$1.isSuspense = isSuspense;
28055
- reactIs_development$1.isValidElementType = isValidElementType;
28056
- reactIs_development$1.typeOf = typeOf;
28218
+ reactIs_development.AsyncMode = AsyncMode;
28219
+ reactIs_development.ConcurrentMode = ConcurrentMode;
28220
+ reactIs_development.ContextConsumer = ContextConsumer;
28221
+ reactIs_development.ContextProvider = ContextProvider;
28222
+ reactIs_development.Element = Element;
28223
+ reactIs_development.ForwardRef = ForwardRef;
28224
+ reactIs_development.Fragment = Fragment;
28225
+ reactIs_development.Lazy = Lazy;
28226
+ reactIs_development.Memo = Memo;
28227
+ reactIs_development.Portal = Portal;
28228
+ reactIs_development.Profiler = Profiler;
28229
+ reactIs_development.StrictMode = StrictMode;
28230
+ reactIs_development.Suspense = Suspense;
28231
+ reactIs_development.isAsyncMode = isAsyncMode;
28232
+ reactIs_development.isConcurrentMode = isConcurrentMode;
28233
+ reactIs_development.isContextConsumer = isContextConsumer;
28234
+ reactIs_development.isContextProvider = isContextProvider;
28235
+ reactIs_development.isElement = isElement;
28236
+ reactIs_development.isForwardRef = isForwardRef;
28237
+ reactIs_development.isFragment = isFragment;
28238
+ reactIs_development.isLazy = isLazy;
28239
+ reactIs_development.isMemo = isMemo;
28240
+ reactIs_development.isPortal = isPortal;
28241
+ reactIs_development.isProfiler = isProfiler;
28242
+ reactIs_development.isStrictMode = isStrictMode;
28243
+ reactIs_development.isSuspense = isSuspense;
28244
+ reactIs_development.isValidElementType = isValidElementType;
28245
+ reactIs_development.typeOf = typeOf;
28057
28246
  })();
28058
28247
  }
28059
- return reactIs_development$1;
28248
+ return reactIs_development;
28060
28249
  }
28061
28250
 
28062
- var hasRequiredReactIs$1;
28063
- function requireReactIs$1() {
28064
- if (hasRequiredReactIs$1) return reactIs$1.exports;
28065
- hasRequiredReactIs$1 = 1;
28251
+ var hasRequiredReactIs;
28252
+ function requireReactIs() {
28253
+ if (hasRequiredReactIs) return reactIs.exports;
28254
+ hasRequiredReactIs = 1;
28066
28255
  if (process.env.NODE_ENV === 'production') {
28067
- reactIs$1.exports = requireReactIs_production_min$1();
28256
+ reactIs.exports = requireReactIs_production_min();
28068
28257
  } else {
28069
- reactIs$1.exports = requireReactIs_development$1();
28258
+ reactIs.exports = requireReactIs_development();
28070
28259
  }
28071
- return reactIs$1.exports;
28260
+ return reactIs.exports;
28072
28261
  }
28073
28262
 
28074
28263
  /*
@@ -28283,7 +28472,7 @@ var hasRequiredFactoryWithTypeCheckers;
28283
28472
  function requireFactoryWithTypeCheckers() {
28284
28473
  if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
28285
28474
  hasRequiredFactoryWithTypeCheckers = 1;
28286
- var ReactIs = requireReactIs$1();
28475
+ var ReactIs = requireReactIs();
28287
28476
  var assign = requireObjectAssign();
28288
28477
  var ReactPropTypesSecret = /*@__PURE__*/requireReactPropTypesSecret();
28289
28478
  var has = /*@__PURE__*/requireHas();
@@ -28896,7 +29085,7 @@ function requirePropTypes() {
28896
29085
  if (hasRequiredPropTypes) return propTypes.exports;
28897
29086
  hasRequiredPropTypes = 1;
28898
29087
  if (process.env.NODE_ENV !== 'production') {
28899
- var ReactIs = requireReactIs$1();
29088
+ var ReactIs = requireReactIs();
28900
29089
 
28901
29090
  // By explicitly using `prop-types` you are opting into new development behavior.
28902
29091
  // http://fb.me/prop-types-in-prod
@@ -29131,316 +29320,6 @@ ReCAPTCHA.defaultProps = {
29131
29320
  badge: "bottomright"
29132
29321
  };
29133
29322
 
29134
- var reactIs = {exports: {}};
29135
-
29136
- var reactIs_production_min = {};
29137
-
29138
- /** @license React v16.13.1
29139
- * react-is.production.min.js
29140
- *
29141
- * Copyright (c) Facebook, Inc. and its affiliates.
29142
- *
29143
- * This source code is licensed under the MIT license found in the
29144
- * LICENSE file in the root directory of this source tree.
29145
- */
29146
- var hasRequiredReactIs_production_min;
29147
- function requireReactIs_production_min() {
29148
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
29149
- hasRequiredReactIs_production_min = 1;
29150
- var b = "function" === typeof Symbol && Symbol.for,
29151
- c = b ? Symbol.for("react.element") : 60103,
29152
- d = b ? Symbol.for("react.portal") : 60106,
29153
- e = b ? Symbol.for("react.fragment") : 60107,
29154
- f = b ? Symbol.for("react.strict_mode") : 60108,
29155
- g = b ? Symbol.for("react.profiler") : 60114,
29156
- h = b ? Symbol.for("react.provider") : 60109,
29157
- k = b ? Symbol.for("react.context") : 60110,
29158
- l = b ? Symbol.for("react.async_mode") : 60111,
29159
- m = b ? Symbol.for("react.concurrent_mode") : 60111,
29160
- n = b ? Symbol.for("react.forward_ref") : 60112,
29161
- p = b ? Symbol.for("react.suspense") : 60113,
29162
- q = b ? Symbol.for("react.suspense_list") : 60120,
29163
- r = b ? Symbol.for("react.memo") : 60115,
29164
- t = b ? Symbol.for("react.lazy") : 60116,
29165
- v = b ? Symbol.for("react.block") : 60121,
29166
- w = b ? Symbol.for("react.fundamental") : 60117,
29167
- x = b ? Symbol.for("react.responder") : 60118,
29168
- y = b ? Symbol.for("react.scope") : 60119;
29169
- function z(a) {
29170
- if ("object" === typeof a && null !== a) {
29171
- var u = a.$$typeof;
29172
- switch (u) {
29173
- case c:
29174
- switch (a = a.type, a) {
29175
- case l:
29176
- case m:
29177
- case e:
29178
- case g:
29179
- case f:
29180
- case p:
29181
- return a;
29182
- default:
29183
- switch (a = a && a.$$typeof, a) {
29184
- case k:
29185
- case n:
29186
- case t:
29187
- case r:
29188
- case h:
29189
- return a;
29190
- default:
29191
- return u;
29192
- }
29193
- }
29194
- case d:
29195
- return u;
29196
- }
29197
- }
29198
- }
29199
- function A(a) {
29200
- return z(a) === m;
29201
- }
29202
- reactIs_production_min.AsyncMode = l;
29203
- reactIs_production_min.ConcurrentMode = m;
29204
- reactIs_production_min.ContextConsumer = k;
29205
- reactIs_production_min.ContextProvider = h;
29206
- reactIs_production_min.Element = c;
29207
- reactIs_production_min.ForwardRef = n;
29208
- reactIs_production_min.Fragment = e;
29209
- reactIs_production_min.Lazy = t;
29210
- reactIs_production_min.Memo = r;
29211
- reactIs_production_min.Portal = d;
29212
- reactIs_production_min.Profiler = g;
29213
- reactIs_production_min.StrictMode = f;
29214
- reactIs_production_min.Suspense = p;
29215
- reactIs_production_min.isAsyncMode = function (a) {
29216
- return A(a) || z(a) === l;
29217
- };
29218
- reactIs_production_min.isConcurrentMode = A;
29219
- reactIs_production_min.isContextConsumer = function (a) {
29220
- return z(a) === k;
29221
- };
29222
- reactIs_production_min.isContextProvider = function (a) {
29223
- return z(a) === h;
29224
- };
29225
- reactIs_production_min.isElement = function (a) {
29226
- return "object" === typeof a && null !== a && a.$$typeof === c;
29227
- };
29228
- reactIs_production_min.isForwardRef = function (a) {
29229
- return z(a) === n;
29230
- };
29231
- reactIs_production_min.isFragment = function (a) {
29232
- return z(a) === e;
29233
- };
29234
- reactIs_production_min.isLazy = function (a) {
29235
- return z(a) === t;
29236
- };
29237
- reactIs_production_min.isMemo = function (a) {
29238
- return z(a) === r;
29239
- };
29240
- reactIs_production_min.isPortal = function (a) {
29241
- return z(a) === d;
29242
- };
29243
- reactIs_production_min.isProfiler = function (a) {
29244
- return z(a) === g;
29245
- };
29246
- reactIs_production_min.isStrictMode = function (a) {
29247
- return z(a) === f;
29248
- };
29249
- reactIs_production_min.isSuspense = function (a) {
29250
- return z(a) === p;
29251
- };
29252
- reactIs_production_min.isValidElementType = function (a) {
29253
- return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
29254
- };
29255
- reactIs_production_min.typeOf = z;
29256
- return reactIs_production_min;
29257
- }
29258
-
29259
- var reactIs_development = {};
29260
-
29261
- /** @license React v16.13.1
29262
- * react-is.development.js
29263
- *
29264
- * Copyright (c) Facebook, Inc. and its affiliates.
29265
- *
29266
- * This source code is licensed under the MIT license found in the
29267
- * LICENSE file in the root directory of this source tree.
29268
- */
29269
- var hasRequiredReactIs_development;
29270
- function requireReactIs_development() {
29271
- if (hasRequiredReactIs_development) return reactIs_development;
29272
- hasRequiredReactIs_development = 1;
29273
- if (process.env.NODE_ENV !== "production") {
29274
- (function () {
29275
-
29276
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
29277
- // nor polyfill, then a plain number is used for performance.
29278
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
29279
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
29280
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
29281
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
29282
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
29283
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
29284
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
29285
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
29286
- // (unstable) APIs that have been removed. Can we remove the symbols?
29287
-
29288
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
29289
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
29290
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
29291
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
29292
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
29293
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
29294
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
29295
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
29296
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
29297
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
29298
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
29299
- function isValidElementType(type) {
29300
- return typeof type === 'string' || typeof type === 'function' ||
29301
- // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
29302
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
29303
- }
29304
- function typeOf(object) {
29305
- if (typeof object === 'object' && object !== null) {
29306
- var $$typeof = object.$$typeof;
29307
- switch ($$typeof) {
29308
- case REACT_ELEMENT_TYPE:
29309
- var type = object.type;
29310
- switch (type) {
29311
- case REACT_ASYNC_MODE_TYPE:
29312
- case REACT_CONCURRENT_MODE_TYPE:
29313
- case REACT_FRAGMENT_TYPE:
29314
- case REACT_PROFILER_TYPE:
29315
- case REACT_STRICT_MODE_TYPE:
29316
- case REACT_SUSPENSE_TYPE:
29317
- return type;
29318
- default:
29319
- var $$typeofType = type && type.$$typeof;
29320
- switch ($$typeofType) {
29321
- case REACT_CONTEXT_TYPE:
29322
- case REACT_FORWARD_REF_TYPE:
29323
- case REACT_LAZY_TYPE:
29324
- case REACT_MEMO_TYPE:
29325
- case REACT_PROVIDER_TYPE:
29326
- return $$typeofType;
29327
- default:
29328
- return $$typeof;
29329
- }
29330
- }
29331
- case REACT_PORTAL_TYPE:
29332
- return $$typeof;
29333
- }
29334
- }
29335
- return undefined;
29336
- } // AsyncMode is deprecated along with isAsyncMode
29337
-
29338
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
29339
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
29340
- var ContextConsumer = REACT_CONTEXT_TYPE;
29341
- var ContextProvider = REACT_PROVIDER_TYPE;
29342
- var Element = REACT_ELEMENT_TYPE;
29343
- var ForwardRef = REACT_FORWARD_REF_TYPE;
29344
- var Fragment = REACT_FRAGMENT_TYPE;
29345
- var Lazy = REACT_LAZY_TYPE;
29346
- var Memo = REACT_MEMO_TYPE;
29347
- var Portal = REACT_PORTAL_TYPE;
29348
- var Profiler = REACT_PROFILER_TYPE;
29349
- var StrictMode = REACT_STRICT_MODE_TYPE;
29350
- var Suspense = REACT_SUSPENSE_TYPE;
29351
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
29352
-
29353
- function isAsyncMode(object) {
29354
- {
29355
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
29356
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
29357
-
29358
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
29359
- }
29360
- }
29361
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
29362
- }
29363
- function isConcurrentMode(object) {
29364
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
29365
- }
29366
- function isContextConsumer(object) {
29367
- return typeOf(object) === REACT_CONTEXT_TYPE;
29368
- }
29369
- function isContextProvider(object) {
29370
- return typeOf(object) === REACT_PROVIDER_TYPE;
29371
- }
29372
- function isElement(object) {
29373
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
29374
- }
29375
- function isForwardRef(object) {
29376
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
29377
- }
29378
- function isFragment(object) {
29379
- return typeOf(object) === REACT_FRAGMENT_TYPE;
29380
- }
29381
- function isLazy(object) {
29382
- return typeOf(object) === REACT_LAZY_TYPE;
29383
- }
29384
- function isMemo(object) {
29385
- return typeOf(object) === REACT_MEMO_TYPE;
29386
- }
29387
- function isPortal(object) {
29388
- return typeOf(object) === REACT_PORTAL_TYPE;
29389
- }
29390
- function isProfiler(object) {
29391
- return typeOf(object) === REACT_PROFILER_TYPE;
29392
- }
29393
- function isStrictMode(object) {
29394
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
29395
- }
29396
- function isSuspense(object) {
29397
- return typeOf(object) === REACT_SUSPENSE_TYPE;
29398
- }
29399
- reactIs_development.AsyncMode = AsyncMode;
29400
- reactIs_development.ConcurrentMode = ConcurrentMode;
29401
- reactIs_development.ContextConsumer = ContextConsumer;
29402
- reactIs_development.ContextProvider = ContextProvider;
29403
- reactIs_development.Element = Element;
29404
- reactIs_development.ForwardRef = ForwardRef;
29405
- reactIs_development.Fragment = Fragment;
29406
- reactIs_development.Lazy = Lazy;
29407
- reactIs_development.Memo = Memo;
29408
- reactIs_development.Portal = Portal;
29409
- reactIs_development.Profiler = Profiler;
29410
- reactIs_development.StrictMode = StrictMode;
29411
- reactIs_development.Suspense = Suspense;
29412
- reactIs_development.isAsyncMode = isAsyncMode;
29413
- reactIs_development.isConcurrentMode = isConcurrentMode;
29414
- reactIs_development.isContextConsumer = isContextConsumer;
29415
- reactIs_development.isContextProvider = isContextProvider;
29416
- reactIs_development.isElement = isElement;
29417
- reactIs_development.isForwardRef = isForwardRef;
29418
- reactIs_development.isFragment = isFragment;
29419
- reactIs_development.isLazy = isLazy;
29420
- reactIs_development.isMemo = isMemo;
29421
- reactIs_development.isPortal = isPortal;
29422
- reactIs_development.isProfiler = isProfiler;
29423
- reactIs_development.isStrictMode = isStrictMode;
29424
- reactIs_development.isSuspense = isSuspense;
29425
- reactIs_development.isValidElementType = isValidElementType;
29426
- reactIs_development.typeOf = typeOf;
29427
- })();
29428
- }
29429
- return reactIs_development;
29430
- }
29431
-
29432
- var hasRequiredReactIs;
29433
- function requireReactIs() {
29434
- if (hasRequiredReactIs) return reactIs.exports;
29435
- hasRequiredReactIs = 1;
29436
- if (process.env.NODE_ENV === 'production') {
29437
- reactIs.exports = requireReactIs_production_min();
29438
- } else {
29439
- reactIs.exports = requireReactIs_development();
29440
- }
29441
- return reactIs.exports;
29442
- }
29443
-
29444
29323
  var hoistNonReactStatics_cjs;
29445
29324
  var hasRequiredHoistNonReactStatics_cjs;
29446
29325
  function requireHoistNonReactStatics_cjs() {
@@ -54900,5 +54779,5 @@ async function getFromIndexedDB(key) {
54900
54779
  });
54901
54780
  }
54902
54781
 
54903
- export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, Accordion, AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, BrowserTabs, Button$1 as Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LazyLoad, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row$1 as Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select$1 as Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table$1 as Table, TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getFromIndexedDB, getSequentialPayload, getTreeDetails, handleTreeNodeSect, hasDuplicateFile, rearrangeDragItem, saveFileFromBlob, saveToIndexedDB, throttle, toast, truncateText, useClickOutside, useFileDropzone, useKeyboardActions, useTheme };
54782
+ export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, Accordion, AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, BrowserTabs, Button$1 as Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LazyLoad, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row$1 as Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select$1 as Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table$1 as Table, TreeTable as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getFromIndexedDB, getSequentialPayload, getTreeDetails, handleTreeNodeSect, hasDuplicateFile, rearrangeDragItem, saveFileFromBlob, saveToIndexedDB, throttle, toast, truncateText, useClickOutside, useFileDropzone, useKeyboardActions, useTheme };
54904
54783
  //# sourceMappingURL=index.esm.js.map