fastapi-rtk 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.bundled/jsonforms/cjs/_virtual/_cloneBuffer.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/_commonjsHelpers.cjs +8 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/_mapping.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/_nodeUtil.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/additionalItems.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/additionalProperties.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/ajv.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/ajv2.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/allOf.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/anyOf.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/applicability.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/boolSchema.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/cloneDeep.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/code.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/code2.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/const.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/contains.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/core.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/dataType.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/debounce.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/defaults.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/dependencies.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/draft7.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/endsWith.cjs +3 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/enum.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/equal.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/errors.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/filter.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/find.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/format.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/formats.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/get.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/has.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/id.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/if.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/includes.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index10.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index11.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index12.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index2.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index3.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index4.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index5.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index6.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index7.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index8.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/index9.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/isArray.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/isBuffer.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/isEmpty.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/isEqual.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/isFunction.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/items.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/items2020.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/keys.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/keyword.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/last.cjs +3 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/limit.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/limitItems.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/limitLength.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/limitNumber.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/limitProperties.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/lodash.cjs +5 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/lodash2.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/maxBy.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/merge.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/metadata.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/multipleOf.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/names.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/not.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/oneOf.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/pattern.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/patternProperties.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/prefixItems.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/properties.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/propertyNames.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/range.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/reduce.cjs +3 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/ref.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/ref_error.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/remove.cjs +3 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/required.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/resolve.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/rules.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/scope.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/set.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/startCase.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/subschema.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/thenElse.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/toPairs.cjs +3 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/types.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/ucs2length.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/union.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/uniqueItems.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/unset.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/uri.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/util.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/validation_error.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/index.cjs +41 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/JsonFormsWithCustomizer/JsonFormsWithCustomizer.cjs +30 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineBooleanInput.cjs +21 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateInput.cjs +20 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.cjs +28 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.cjs +20 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumInput.cjs +20 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineJsonInput.cjs +20 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineNumberInput.cjs +20 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineObjectInput.cjs +41 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.cjs +31 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTextInput.cjs +23 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineBooleanCell.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineDateCell.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineDateTimeCell.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineEnumArrayCell.cjs +11 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineEnumCell.cjs +13 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineIntegerCell.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineJsonCell.cjs +11 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineNumberCell.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineOneOfEnumCell.cjs +13 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/cells/MantineTextCell.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineArrayControl/DeleteDialog.cjs +24 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.cjs +59 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineEnumArrayControl.cjs +11 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineObjectControl.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.cjs +358 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/NoBorderTableCell.cjs +7 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/TableToolbar.cjs +70 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/ValidationIcon.cjs +19 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineBooleanControl.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateControl.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateTimeControl.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineEnumControl.cjs +13 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineIntegerControl.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineJsonControl.cjs +11 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineNumberControl.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineOneOfEnumControl.cjs +13 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineTextControl.cjs +10 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useBooleanProps.cjs +23 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useCommonProps.cjs +28 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useContextProps.cjs +21 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useDateProps.cjs +58 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useJsonProps.cjs +34 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useMultiSelectProps.cjs +12 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useNumberProps.cjs +11 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useSelectProps.cjs +11 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useTextProps.cjs +9 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useThemeCustomizer.cjs +19 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/labels/MantineLabelRenderer.cjs +17 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.cjs +22 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +21 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +21 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/renderers/mantineCells.cjs +25 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/renderers/mantineRenderers.cjs +41 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/testers/isEnumArrayArrayControl.cjs +24 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/testers/isEnumArrayControl.cjs +23 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/testers/isJsonArrayControl.cjs +19 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/testers/isJsonControl.cjs +19 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/isSchemaTypeInclude.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/layout.cjs +37 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/utcConverter.cjs +11 -0
- package/dist/.bundled/jsonforms/esm/_virtual/_cloneBuffer.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/.bundled/jsonforms/esm/_virtual/_mapping.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/_nodeUtil.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/additionalItems.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/additionalProperties.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/ajv.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/ajv2.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/allOf.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/anyOf.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/applicability.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/boolSchema.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/cloneDeep.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/code.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/code2.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/const.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/contains.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/core.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/dataType.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/debounce.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/defaults.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/dependencies.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/draft7.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/endsWith.mjs +2 -0
- package/dist/.bundled/jsonforms/esm/_virtual/enum.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/equal.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/errors.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/filter.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/find.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/format.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/formats.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/get.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/has.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/id.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/if.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/includes.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index10.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index11.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index12.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index2.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index3.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index4.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index5.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index6.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index7.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index8.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/index9.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/isArray.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/isBuffer.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/isEmpty.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/isEqual.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/isFunction.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/items.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/items2020.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/keys.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/keyword.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/last.mjs +2 -0
- package/dist/.bundled/jsonforms/esm/_virtual/limit.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/limitItems.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/limitLength.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/limitNumber.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/limitProperties.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/lodash.mjs +5 -0
- package/dist/.bundled/jsonforms/esm/_virtual/lodash2.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/maxBy.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/merge.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/metadata.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/multipleOf.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/names.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/not.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/oneOf.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/pattern.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/patternProperties.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/prefixItems.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/properties.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/propertyNames.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/range.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/reduce.mjs +2 -0
- package/dist/.bundled/jsonforms/esm/_virtual/ref.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/ref_error.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/remove.mjs +2 -0
- package/dist/.bundled/jsonforms/esm/_virtual/required.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/resolve.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/rules.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/scope.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/set.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/startCase.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/subschema.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/thenElse.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/toPairs.mjs +2 -0
- package/dist/.bundled/jsonforms/esm/_virtual/types.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/ucs2length.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/union.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/uniqueItems.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/unset.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/uri.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/util.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/_virtual/validation_error.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/index.mjs +41 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/JsonFormsWithCustomizer/JsonFormsWithCustomizer.mjs +30 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineBooleanInput.mjs +21 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateInput.mjs +20 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.mjs +28 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.mjs +20 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumInput.mjs +20 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineJsonInput.mjs +20 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineNumberInput.mjs +20 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineObjectInput.mjs +41 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.mjs +31 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineTextInput.mjs +23 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineBooleanCell.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineDateCell.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineDateTimeCell.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineEnumArrayCell.mjs +11 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineEnumCell.mjs +13 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineIntegerCell.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineJsonCell.mjs +11 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineNumberCell.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineOneOfEnumCell.mjs +13 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/cells/MantineTextCell.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineArrayControl/DeleteDialog.mjs +24 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.mjs +59 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineEnumArrayControl.mjs +11 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineObjectControl.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.mjs +358 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/NoBorderTableCell.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/TableToolbar.mjs +70 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/ValidationIcon.mjs +19 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineBooleanControl.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineDateControl.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineDateTimeControl.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineEnumControl.mjs +13 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineIntegerControl.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineJsonControl.mjs +11 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineNumberControl.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineOneOfEnumControl.mjs +13 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineTextControl.mjs +10 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useBooleanProps.mjs +23 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useCommonProps.mjs +28 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useContextProps.mjs +21 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useDateProps.mjs +58 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useJsonProps.mjs +34 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useMultiSelectProps.mjs +12 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useNumberProps.mjs +11 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useSelectProps.mjs +11 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useTextProps.mjs +9 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useThemeCustomizer.mjs +19 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/labels/MantineLabelRenderer.mjs +17 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.mjs +22 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.mjs +21 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.mjs +21 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/renderers/mantineCells.mjs +25 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/renderers/mantineRenderers.mjs +41 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/testers/isEnumArrayArrayControl.mjs +24 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/testers/isEnumArrayControl.mjs +23 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/testers/isJsonArrayControl.mjs +19 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/testers/isJsonControl.mjs +19 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/isSchemaTypeInclude.mjs +6 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/layout.mjs +37 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/utcConverter.mjs +11 -0
- package/dist/.external/cjs/@iconify_react@6.0.0_react@18.3.1/@iconify/react/dist/iconify.cjs +1690 -0
- package/dist/.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs +1933 -0
- package/dist/.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs +381 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/createReactComponent.cjs +36 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/defaultAttributes.cjs +29 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconAlertCircle.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconAppWindow.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconArrowAutofitContent.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconArrowDown.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconArrowUp.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconArrowsSort.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconBaselineDensityLarge.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconBaselineDensityMedium.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconBaselineDensitySmall.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconBoxMultiple.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronDown.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronLeft.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronLeftPipe.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronRight.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronRightPipe.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronUp.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronsDown.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconCircleX.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconClearAll.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconColumns.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconDeviceFloppy.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconDots.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconDotsVertical.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconDownload.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconEdit.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconExclamationCircle.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconEye.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconEyeOff.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconFileTypeCsv.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconFilter.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconFilterCog.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconFilterOff.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconGripHorizontal.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconIdBadge2.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconInfoCircle.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconLock.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconLogout.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconMaximize.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconMinimize.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconPencil.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconPinned.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconPinnedOff.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconPlus.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconQuote.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconRefresh.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSearch.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSearchOff.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSeparatorVertical.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSortAscending.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSortDescending.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconTrash.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconUpload.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconUsers.cjs +10 -0
- package/dist/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconX.cjs +10 -0
- package/dist/.external/cjs/@tanstack_match-sorter-utils@8.19.4/@tanstack/match-sorter-utils/build/lib/index.cjs +617 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/focusManager.cjs +77 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +113 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/mutation.cjs +254 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/mutationCache.cjs +139 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/notifyManager.cjs +83 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/onlineManager.cjs +66 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/query.cjs +397 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/queryCache.cjs +103 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/queryClient.cjs +314 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/queryObserver.cjs +454 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/removable.cjs +40 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/retryer.cjs +139 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/subscribable.cjs +24 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/thenable.cjs +34 -0
- package/dist/.external/cjs/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/utils.cjs +244 -0
- package/dist/.external/cjs/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +24 -0
- package/dist/.external/cjs/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs +46 -0
- package/dist/.external/cjs/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +38 -0
- package/dist/.external/cjs/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +45 -0
- package/dist/.external/cjs/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/suspense.cjs +20 -0
- package/dist/.external/cjs/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/useBaseQuery.cjs +112 -0
- package/dist/.external/cjs/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs +8 -0
- package/dist/.external/cjs/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/utils.cjs +12 -0
- package/dist/.external/cjs/@tanstack_react-table@8.20.5_react-dom@18.3.1_react@18.3.1/@tanstack/react-table/build/lib/index.cjs +111 -0
- package/dist/.external/cjs/@tanstack_react-virtual@3.11.2_react-dom@18.3.1_react@18.3.1/@tanstack/react-virtual/dist/esm/index.cjs +65 -0
- package/dist/.external/cjs/@tanstack_table-core@8.20.5/@tanstack/table-core/build/lib/index.cjs +3155 -0
- package/dist/.external/cjs/@tanstack_virtual-core@3.11.2/@tanstack/virtual-core/dist/esm/index.cjs +688 -0
- package/dist/.external/cjs/@tanstack_virtual-core@3.11.2/@tanstack/virtual-core/dist/esm/utils.cjs +64 -0
- package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/formats.cjs +172 -0
- package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/index.cjs +50 -0
- package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/limit.cjs +79 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/ajv.cjs +83 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/code.cjs +159 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/index.cjs +727 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/scope.cjs +151 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/errors.cjs +130 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/index.cjs +233 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/names.cjs +43 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/ref_error.cjs +21 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/resolve.cjs +162 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/rules.cjs +34 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/util.cjs +172 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/validate/applicability.cjs +26 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/validate/boolSchema.cjs +57 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/validate/dataType.cjs +192 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/validate/defaults.cjs +42 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/validate/index.cjs +521 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/validate/keyword.cjs +125 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/validate/subschema.cjs +88 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/core.cjs +627 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/refs/data.json.cjs +23 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/refs/json-schema-draft-07.json.cjs +24 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/runtime/equal.cjs +15 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/runtime/ucs2length.cjs +29 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/runtime/uri.cjs +15 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/runtime/validation_error.cjs +19 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/additionalItems.cjs +58 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/additionalProperties.cjs +113 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/allOf.cjs +31 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/anyOf.cjs +21 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/contains.cjs +99 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/dependencies.cjs +102 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/if.cjs +74 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/index.cjs +67 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/items.cjs +63 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/items2020.cjs +42 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/not.cjs +35 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/oneOf.cjs +63 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/patternProperties.cjs +80 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/prefixItems.cjs +21 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/properties.cjs +65 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/propertyNames.cjs +48 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/thenElse.cjs +22 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/code.cjs +139 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/core/id.cjs +18 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/core/index.cjs +26 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/core/ref.cjs +131 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/discriminator/index.cjs +113 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/discriminator/types.cjs +17 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/draft7.cjs +30 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/format/format.cjs +94 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/format/index.cjs +15 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/metadata.cjs +26 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/const.cjs +35 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/enum.cjs +55 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/index.cjs +51 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/limitItems.cjs +33 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/limitLength.cjs +38 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/limitNumber.cjs +36 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/limitProperties.cjs +33 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/multipleOf.cjs +32 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/pattern.cjs +33 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/required.cjs +88 -0
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/uniqueItems.cjs +74 -0
- package/dist/.external/cjs/clsx@2.1.1/clsx/dist/clsx.cjs +17 -0
- package/dist/.external/cjs/dompurify@3.2.5/dompurify/dist/purify.es.cjs +967 -0
- package/dist/.external/cjs/fast-deep-equal@3.1.3/fast-deep-equal/index.cjs +38 -0
- package/dist/.external/cjs/fast-uri@3.0.6/fast-uri/index.cjs +262 -0
- package/dist/.external/cjs/fast-uri@3.0.6/fast-uri/lib/schemes.cjs +149 -0
- package/dist/.external/cjs/fast-uri@3.0.6/fast-uri/lib/scopedChars.cjs +37 -0
- package/dist/.external/cjs/fast-uri@3.0.6/fast-uri/lib/utils.cjs +235 -0
- package/dist/.external/cjs/json-schema-traverse@1.0.0/json-schema-traverse/index.cjs +91 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_DataView.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_Hash.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_LazyWrapper.cjs +26 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_ListCache.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_LodashWrapper.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_Map.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_MapCache.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_Promise.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_Set.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_SetCache.cjs +24 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_Stack.cjs +27 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_Symbol.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_Uint8Array.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_WeakMap.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_apply.cjs +24 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arrayEach.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arrayFilter.cjs +21 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arrayIncludes.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arrayIncludesWith.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arrayLikeKeys.cjs +33 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arrayMap.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arrayPush.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arrayReduce.cjs +21 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_arraySome.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_asciiToArray.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_asciiWords.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_assignMergeValue.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_assignValue.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_assocIndexOf.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseAssign.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseAssignIn.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseAssignValue.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseClamp.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseClone.cjs +100 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseCreate.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseEach.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseExtremum.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseFilter.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseFindIndex.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseFlatten.cjs +32 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseFor.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseForOwn.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseGet.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseGetAllKeys.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseGetTag.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseGt.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseHas.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseHasIn.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIndexOf.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsArguments.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsEqual.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsEqualDeep.cjs +54 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsMap.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsMatch.cjs +46 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsNaN.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsNative.cjs +31 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsSet.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIsTypedArray.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseIteratee.cjs +29 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseKeys.cjs +28 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseKeysIn.cjs +29 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseLodash.cjs +13 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseMatches.cjs +24 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseMatchesProperty.cjs +29 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseMerge.cjs +36 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseMergeDeep.cjs +70 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseProperty.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_basePropertyDeep.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_basePropertyOf.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_basePullAt.cjs +31 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseRange.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseReduce.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseRest.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseSet.cjs +40 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseSetData.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseSetToString.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseSlice.cjs +28 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseTimes.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseToPairs.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseToString.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseTrim.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseUnary.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseUniq.cjs +59 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseUnset.cjs +21 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_baseValues.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_cacheHas.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_castPath.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_castSlice.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_cloneArrayBuffer.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_cloneBuffer.cjs +28 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_cloneDataView.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_cloneRegExp.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_cloneSymbol.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_cloneTypedArray.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_composeArgs.cjs +27 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_composeArgsRight.cjs +28 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_copyArray.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_copyObject.cjs +32 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_copySymbols.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_copySymbolsIn.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_coreJsData.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_countHolders.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createAssigner.cjs +32 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createBaseEach.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createBaseFor.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createBind.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createCaseFirst.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createCompounder.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createCtor.cjs +39 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createCurry.cjs +47 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createFind.cjs +29 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createHybrid.cjs +71 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createPartial.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createRange.cjs +31 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createRecurry.cjs +42 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createSet.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createToPairs.cjs +29 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_createWrap.cjs +79 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_deburrLetter.cjs +208 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_defineProperty.cjs +21 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_equalArrays.cjs +59 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_equalByTag.cjs +68 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_equalObjects.cjs +59 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_flatRest.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_freeGlobal.cjs +13 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getAllKeys.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getAllKeysIn.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getData.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getFuncName.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getHolder.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getMapData.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getMatchData.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getNative.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getPrototype.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getRawTag.cjs +34 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getSymbols.cjs +26 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getSymbolsIn.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getTag.cjs +43 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getValue.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_getWrapDetails.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_hasPath.cjs +34 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_hasUnicode.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_hasUnicodeWord.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_hashClear.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_hashDelete.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_hashGet.cjs +24 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_hashHas.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_hashSet.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_initCloneArray.cjs +21 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_initCloneByTag.cjs +52 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_initCloneObject.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_insertWrapDetails.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isFlattenable.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isIndex.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isIterateeCall.cjs +26 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isKey.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isKeyable.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isLaziable.cjs +27 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isMasked.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isPrototype.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_isStrictComparable.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_listCacheClear.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_listCacheDelete.cjs +29 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_listCacheGet.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_listCacheHas.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_listCacheSet.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_mapCacheClear.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_mapCacheDelete.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_mapCacheGet.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_mapCacheHas.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_mapCacheSet.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_mapToArray.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_matchesStrictComparable.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_memoizeCapped.cjs +24 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_mergeData.cjs +54 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_metaMap.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_nativeCreate.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_nativeKeys.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_nativeKeysIn.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_nodeUtil.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_objectToString.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_overArg.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_overRest.cjs +30 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_parent.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_realNames.cjs +12 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_reorder.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_replaceHolders.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_root.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_safeGet.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_setCacheAdd.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_setCacheHas.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_setData.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_setToArray.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_setToPairs.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_setToString.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_setWrapToString.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_shortOut.cjs +28 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_stackClear.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_stackDelete.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_stackGet.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_stackHas.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_stackSet.cjs +31 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_strictIndexOf.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_stringToArray.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_stringToPath.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_toKey.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_toSource.cjs +26 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_trimmedEndIndex.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_unicodeToArray.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_unicodeWords.cjs +27 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_updateWrapDetails.cjs +35 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/_wrapperClone.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/ary.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/clone.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/cloneDeep.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/constant.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/curry.cjs +21 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/debounce.cjs +98 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/deburr.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/endsWith.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/eq.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/filter.cjs +20 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/find.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/findIndex.cjs +27 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/flatten.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/fp/_baseConvert.cjs +315 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/fp/_mapping.cjs +528 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/fp/_util.cjs +40 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/fp/convert.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/fp/placeholder.cjs +11 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/fp/set.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/fp/unset.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/get.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/has.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/hasIn.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/identity.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/includes.cjs +27 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isArguments.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isArray.cjs +12 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isArrayLike.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isArrayLikeObject.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isBuffer.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isEmpty.cjs +44 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isEqual.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isError.cjs +23 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isFunction.cjs +22 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isLength.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isMap.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isObject.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isObjectLike.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isPlainObject.cjs +31 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isSet.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isString.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isSymbol.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isTypedArray.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/isWeakMap.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/iteratee.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/keys.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/keysIn.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/last.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/lodash.cjs +5491 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/maxBy.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/memoize.cjs +31 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/merge.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/noop.cjs +13 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/now.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/property.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/range.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/rearg.cjs +18 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/reduce.cjs +21 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/remove.cjs +31 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/set.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/startCase.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/stubArray.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/stubFalse.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/toFinite.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/toInteger.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/toNumber.cjs +38 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/toPairs.cjs +15 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/toPath.cjs +25 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/toPlainObject.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/toString.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/union.cjs +19 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/unset.cjs +16 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/upperFirst.cjs +14 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/values.cjs +17 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/words.cjs +24 -0
- package/dist/.external/cjs/lodash@4.17.21/lodash/wrapperLodash.cjs +33 -0
- package/dist/.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@7.17.7_yup@1.6.1/mantine-form-yup-resolver/dist/esm/index.cjs +20 -0
- package/dist/.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.7_@mantine_dates@7.17.7_@mantine_hooks@7._dm3meh6s7t7wwl37at3cedg6gm/mantine-react-table/dist/index.esm.cjs +2950 -0
- package/dist/.external/cjs/property-expr@2.0.6/property-expr/index.cjs +105 -0
- package/dist/.external/cjs/tiny-case@1.0.3/tiny-case/index.cjs +33 -0
- package/dist/.external/cjs/toposort@2.0.2/toposort/index.cjs +79 -0
- package/dist/.external/cjs/yup@1.6.1/yup/index.esm.cjs +2331 -0
- package/dist/.external/cjs/zustand@5.0.4_@types_react@18.3.20_react@18.3.1/zustand/esm/react.cjs +23 -0
- package/dist/.external/cjs/zustand@5.0.4_@types_react@18.3.20_react@18.3.1/zustand/esm/vanilla.cjs +25 -0
- package/dist/.external/esm/@iconify_react@6.0.0_react@18.3.1/@iconify/react/dist/iconify.mjs +1690 -0
- package/dist/.external/esm/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.mjs +1936 -0
- package/dist/.external/esm/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.mjs +381 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/createReactComponent.mjs +37 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/defaultAttributes.mjs +30 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconAlertCircle.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconAppWindow.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconArrowAutofitContent.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconArrowDown.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconArrowUp.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconArrowsSort.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconBaselineDensityLarge.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconBaselineDensityMedium.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconBaselineDensitySmall.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconBoxMultiple.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronDown.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronLeft.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronLeftPipe.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronRight.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronRightPipe.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronUp.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconChevronsDown.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconCircleX.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconClearAll.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconColumns.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconDeviceFloppy.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconDots.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconDotsVertical.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconDownload.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconEdit.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconExclamationCircle.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconEye.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconEyeOff.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconFileTypeCsv.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconFilter.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconFilterCog.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconFilterOff.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconGripHorizontal.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconIdBadge2.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconInfoCircle.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconLock.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconLogout.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconMaximize.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconMinimize.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconPencil.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconPinned.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconPinnedOff.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconPlus.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconQuote.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconRefresh.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSearch.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSearchOff.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSeparatorVertical.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSortAscending.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconSortDescending.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconTrash.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconUpload.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconUsers.mjs +11 -0
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconX.mjs +11 -0
- package/dist/.external/esm/@tanstack_match-sorter-utils@8.19.4/@tanstack/match-sorter-utils/build/lib/index.mjs +617 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/focusManager.mjs +77 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +113 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/mutation.mjs +254 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/mutationCache.mjs +139 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/notifyManager.mjs +83 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/onlineManager.mjs +66 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/query.mjs +397 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/queryCache.mjs +103 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/queryClient.mjs +314 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/queryObserver.mjs +454 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/removable.mjs +40 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/retryer.mjs +139 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/subscribable.mjs +24 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/thenable.mjs +34 -0
- package/dist/.external/esm/@tanstack_query-core@5.75.0/@tanstack/query-core/build/modern/utils.mjs +244 -0
- package/dist/.external/esm/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +7 -0
- package/dist/.external/esm/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs +29 -0
- package/dist/.external/esm/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +21 -0
- package/dist/.external/esm/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +28 -0
- package/dist/.external/esm/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/suspense.mjs +20 -0
- package/dist/.external/esm/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/useBaseQuery.mjs +95 -0
- package/dist/.external/esm/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs +8 -0
- package/dist/.external/esm/@tanstack_react-query@5.75.2_react@18.3.1/@tanstack/react-query/build/modern/utils.mjs +12 -0
- package/dist/.external/esm/@tanstack_react-table@8.20.5_react-dom@18.3.1_react@18.3.1/@tanstack/react-table/build/lib/index.mjs +95 -0
- package/dist/.external/esm/@tanstack_react-virtual@3.11.2_react-dom@18.3.1_react@18.3.1/@tanstack/react-virtual/dist/esm/index.mjs +49 -0
- package/dist/.external/esm/@tanstack_table-core@8.20.5/@tanstack/table-core/build/lib/index.mjs +3155 -0
- package/dist/.external/esm/@tanstack_virtual-core@3.11.2/@tanstack/virtual-core/dist/esm/index.mjs +688 -0
- package/dist/.external/esm/@tanstack_virtual-core@3.11.2/@tanstack/virtual-core/dist/esm/utils.mjs +64 -0
- package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/formats.mjs +172 -0
- package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/index.mjs +50 -0
- package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/limit.mjs +79 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/ajv.mjs +83 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/code.mjs +159 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/index.mjs +727 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/scope.mjs +151 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/errors.mjs +130 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/index.mjs +233 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/names.mjs +43 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/ref_error.mjs +21 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/resolve.mjs +162 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/rules.mjs +34 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/util.mjs +172 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/validate/applicability.mjs +26 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/validate/boolSchema.mjs +57 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/validate/dataType.mjs +192 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/validate/defaults.mjs +42 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/validate/index.mjs +521 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/validate/keyword.mjs +125 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/validate/subschema.mjs +88 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/core.mjs +627 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/refs/data.json.mjs +23 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/refs/json-schema-draft-07.json.mjs +24 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/runtime/equal.mjs +15 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/runtime/ucs2length.mjs +29 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/runtime/uri.mjs +15 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/runtime/validation_error.mjs +19 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/additionalItems.mjs +58 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/additionalProperties.mjs +113 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/allOf.mjs +31 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/anyOf.mjs +21 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/contains.mjs +99 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/dependencies.mjs +102 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/if.mjs +74 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/index.mjs +67 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/items.mjs +63 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/items2020.mjs +42 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/not.mjs +35 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/oneOf.mjs +63 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/patternProperties.mjs +80 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/prefixItems.mjs +21 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/properties.mjs +65 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/propertyNames.mjs +48 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/thenElse.mjs +22 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/code.mjs +139 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/core/id.mjs +18 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/core/index.mjs +26 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/core/ref.mjs +131 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/discriminator/index.mjs +113 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/discriminator/types.mjs +17 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/draft7.mjs +30 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/format/format.mjs +94 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/format/index.mjs +15 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/metadata.mjs +26 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/const.mjs +35 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/enum.mjs +55 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/index.mjs +51 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/limitItems.mjs +33 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/limitLength.mjs +38 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/limitNumber.mjs +36 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/limitProperties.mjs +33 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/multipleOf.mjs +32 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/pattern.mjs +33 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/required.mjs +88 -0
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/uniqueItems.mjs +74 -0
- package/dist/.external/esm/clsx@2.1.1/clsx/dist/clsx.mjs +17 -0
- package/dist/.external/esm/dompurify@3.2.5/dompurify/dist/purify.es.mjs +968 -0
- package/dist/.external/esm/fast-deep-equal@3.1.3/fast-deep-equal/index.mjs +38 -0
- package/dist/.external/esm/fast-uri@3.0.6/fast-uri/index.mjs +262 -0
- package/dist/.external/esm/fast-uri@3.0.6/fast-uri/lib/schemes.mjs +149 -0
- package/dist/.external/esm/fast-uri@3.0.6/fast-uri/lib/scopedChars.mjs +37 -0
- package/dist/.external/esm/fast-uri@3.0.6/fast-uri/lib/utils.mjs +235 -0
- package/dist/.external/esm/json-schema-traverse@1.0.0/json-schema-traverse/index.mjs +91 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_DataView.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_Hash.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_LazyWrapper.mjs +26 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_ListCache.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_LodashWrapper.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_Map.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_MapCache.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_Promise.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_Set.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_SetCache.mjs +24 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_Stack.mjs +27 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_Symbol.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_Uint8Array.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_WeakMap.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_apply.mjs +24 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arrayEach.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arrayFilter.mjs +21 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arrayIncludes.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arrayIncludesWith.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arrayLikeKeys.mjs +33 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arrayMap.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arrayPush.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arrayReduce.mjs +21 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_arraySome.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_asciiToArray.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_asciiWords.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_assignMergeValue.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_assignValue.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_assocIndexOf.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseAssign.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseAssignIn.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseAssignValue.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseClamp.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseClone.mjs +100 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseCreate.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseEach.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseExtremum.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseFilter.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseFindIndex.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseFlatten.mjs +32 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseFor.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseForOwn.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseGet.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseGetAllKeys.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseGetTag.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseGt.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseHas.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseHasIn.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIndexOf.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsArguments.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsEqual.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsEqualDeep.mjs +54 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsMap.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsMatch.mjs +46 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsNaN.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsNative.mjs +31 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsSet.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIsTypedArray.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseIteratee.mjs +29 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseKeys.mjs +28 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseKeysIn.mjs +29 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseLodash.mjs +13 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseMatches.mjs +24 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseMatchesProperty.mjs +29 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseMerge.mjs +36 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseMergeDeep.mjs +70 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseProperty.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_basePropertyDeep.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_basePropertyOf.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_basePullAt.mjs +31 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseRange.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseReduce.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseRest.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseSet.mjs +40 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseSetData.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseSetToString.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseSlice.mjs +28 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseTimes.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseToPairs.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseToString.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseTrim.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseUnary.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseUniq.mjs +59 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseUnset.mjs +21 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_baseValues.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_cacheHas.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_castPath.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_castSlice.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_cloneArrayBuffer.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_cloneBuffer.mjs +28 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_cloneDataView.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_cloneRegExp.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_cloneSymbol.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_cloneTypedArray.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_composeArgs.mjs +27 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_composeArgsRight.mjs +28 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_copyArray.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_copyObject.mjs +32 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_copySymbols.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_copySymbolsIn.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_coreJsData.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_countHolders.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createAssigner.mjs +32 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createBaseEach.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createBaseFor.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createBind.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createCaseFirst.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createCompounder.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createCtor.mjs +39 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createCurry.mjs +47 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createFind.mjs +29 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createHybrid.mjs +71 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createPartial.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createRange.mjs +31 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createRecurry.mjs +42 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createSet.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createToPairs.mjs +29 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_createWrap.mjs +79 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_deburrLetter.mjs +208 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_defineProperty.mjs +21 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_equalArrays.mjs +59 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_equalByTag.mjs +68 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_equalObjects.mjs +59 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_flatRest.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_freeGlobal.mjs +13 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getAllKeys.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getAllKeysIn.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getData.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getFuncName.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getHolder.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getMapData.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getMatchData.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getNative.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getPrototype.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getRawTag.mjs +34 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getSymbols.mjs +26 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getSymbolsIn.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getTag.mjs +43 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getValue.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_getWrapDetails.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_hasPath.mjs +34 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_hasUnicode.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_hasUnicodeWord.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_hashClear.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_hashDelete.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_hashGet.mjs +24 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_hashHas.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_hashSet.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_initCloneArray.mjs +21 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_initCloneByTag.mjs +52 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_initCloneObject.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_insertWrapDetails.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isFlattenable.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isIndex.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isIterateeCall.mjs +26 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isKey.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isKeyable.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isLaziable.mjs +27 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isMasked.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isPrototype.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_isStrictComparable.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_listCacheClear.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_listCacheDelete.mjs +29 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_listCacheGet.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_listCacheHas.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_listCacheSet.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_mapCacheClear.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_mapCacheDelete.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_mapCacheGet.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_mapCacheHas.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_mapCacheSet.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_mapToArray.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_matchesStrictComparable.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_memoizeCapped.mjs +24 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_mergeData.mjs +54 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_metaMap.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_nativeCreate.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_nativeKeys.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_nativeKeysIn.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_nodeUtil.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_objectToString.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_overArg.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_overRest.mjs +30 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_parent.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_realNames.mjs +12 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_reorder.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_replaceHolders.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_root.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_safeGet.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_setCacheAdd.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_setCacheHas.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_setData.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_setToArray.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_setToPairs.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_setToString.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_setWrapToString.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_shortOut.mjs +28 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_stackClear.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_stackDelete.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_stackGet.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_stackHas.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_stackSet.mjs +31 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_strictIndexOf.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_stringToArray.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_stringToPath.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_toKey.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_toSource.mjs +26 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_trimmedEndIndex.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_unicodeToArray.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_unicodeWords.mjs +27 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_updateWrapDetails.mjs +35 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/_wrapperClone.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/ary.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/clone.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/cloneDeep.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/constant.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/curry.mjs +21 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/debounce.mjs +98 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/deburr.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/endsWith.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/eq.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/filter.mjs +20 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/find.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/findIndex.mjs +27 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/flatten.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/fp/_baseConvert.mjs +315 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/fp/_mapping.mjs +528 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/fp/_util.mjs +40 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/fp/convert.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/fp/placeholder.mjs +11 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/fp/set.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/fp/unset.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/get.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/has.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/hasIn.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/identity.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/includes.mjs +27 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isArguments.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isArray.mjs +12 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isArrayLike.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isArrayLikeObject.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isBuffer.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isEmpty.mjs +44 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isEqual.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isError.mjs +23 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isFunction.mjs +22 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isLength.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isMap.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isObject.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isObjectLike.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isPlainObject.mjs +31 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isSet.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isString.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isSymbol.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isTypedArray.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/isWeakMap.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/iteratee.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/keys.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/keysIn.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/last.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/lodash.mjs +5491 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/maxBy.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/memoize.mjs +31 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/merge.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/noop.mjs +13 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/now.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/property.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/range.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/rearg.mjs +18 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/reduce.mjs +21 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/remove.mjs +31 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/set.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/startCase.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/stubArray.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/stubFalse.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/toFinite.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/toInteger.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/toNumber.mjs +38 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/toPairs.mjs +15 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/toPath.mjs +25 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/toPlainObject.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/toString.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/union.mjs +19 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/unset.mjs +16 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/upperFirst.mjs +14 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/values.mjs +17 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/words.mjs +24 -0
- package/dist/.external/esm/lodash@4.17.21/lodash/wrapperLodash.mjs +33 -0
- package/dist/.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@7.17.7_yup@1.6.1/mantine-form-yup-resolver/dist/esm/index.mjs +20 -0
- package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.7_@mantine_dates@7.17.7_@mantine_hooks@7._dm3meh6s7t7wwl37at3cedg6gm/mantine-react-table/dist/index.esm.mjs +2950 -0
- package/dist/.external/esm/property-expr@2.0.6/property-expr/index.mjs +105 -0
- package/dist/.external/esm/tiny-case@1.0.3/tiny-case/index.mjs +33 -0
- package/dist/.external/esm/toposort@2.0.2/toposort/index.mjs +79 -0
- package/dist/.external/esm/yup@1.6.1/yup/index.esm.mjs +2331 -0
- package/dist/.external/esm/zustand@5.0.4_@types_react@18.3.20_react@18.3.1/zustand/esm/react.mjs +23 -0
- package/dist/.external/esm/zustand@5.0.4_@types_react@18.3.20_react@18.3.1/zustand/esm/vanilla.mjs +25 -0
- package/dist/constants/cjs/index.cjs +37 -0
- package/dist/constants/esm/index.mjs +37 -0
- package/dist/core/cjs/ActionIcons/Actions.cjs +28 -0
- package/dist/core/cjs/ActionIcons/Add/Add.cjs +15 -0
- package/dist/core/cjs/ActionIcons/Add/AddDialog.cjs +60 -0
- package/dist/core/cjs/ActionIcons/Delete/Delete.cjs +28 -0
- package/dist/core/cjs/ActionIcons/Download/Download.cjs +125 -0
- package/dist/core/cjs/ActionIcons/Edit/Edit.cjs +34 -0
- package/dist/core/cjs/ActionIcons/Edit/EditDialog.cjs +71 -0
- package/dist/core/cjs/ActionIcons/Modals/CommonModal.cjs +96 -0
- package/dist/core/cjs/ActionIcons/Modals/normalProps.cjs +17 -0
- package/dist/core/cjs/ActionIcons/Modals/overlayProps.cjs +25 -0
- package/dist/core/cjs/ActionIcons/Refresh/Refresh.cjs +24 -0
- package/dist/core/cjs/ActionIcons/Upload/Upload.cjs +95 -0
- package/dist/core/cjs/ActionIcons/View/RelationPanel.cjs +17 -0
- package/dist/core/cjs/ActionIcons/View/View.cjs +38 -0
- package/dist/core/cjs/ActionIcons/View/ViewDialog.cjs +55 -0
- package/dist/core/cjs/ActionIcons/utils/convertToFormInputs.cjs +27 -0
- package/dist/core/cjs/Dialogs/AlertDialog/AlertDialog.cjs +25 -0
- package/dist/core/cjs/Menu/UserMenu/UserMenu.cjs +71 -0
- package/dist/core/cjs/Menu/UserMenu/user.module.css.cjs +11 -0
- package/dist/core/cjs/Tables/DataGrid/DataGrid.cjs +94 -0
- package/dist/core/cjs/Tables/DataGrid/ErrorDialog.cjs +23 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/FormField.cjs +90 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/Inputs/FormDatePicker.cjs +21 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/Inputs/FormDateTimePicker.cjs +21 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/Inputs/FormGeometryField.cjs +18 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/Inputs/FormJsonField.cjs +45 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/Inputs/FormRelatedListSelect.cjs +11 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/Inputs/FormRelatedSelect.cjs +31 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/Inputs/FormSelect.cjs +17 -0
- package/dist/core/cjs/Tables/DataGrid/FormField/Inputs/FormTextField.cjs +14 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Body/Body.cjs +95 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Body/Field/Field.cjs +37 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Body/Field/Field.module.css.cjs +14 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Body/Row/Row.cjs +21 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Body/Row/Row.module.css.cjs +11 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Header/FieldTitle/FieldTitle.cjs +74 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Header/FieldTitle/FieldTitle.module.css.cjs +14 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Header/Header.cjs +37 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Main.cjs +88 -0
- package/dist/core/cjs/Tables/DataGrid/Main/Main.module.css.cjs +8 -0
- package/dist/core/cjs/Tables/DataGrid/Pagination/Pagination.cjs +104 -0
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/Filter.cjs +33 -0
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +138 -0
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FormFilterField.cjs +16 -0
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FormFilterIn.cjs +63 -0
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FormOperatorField.cjs +16 -0
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Toolbar.cjs +30 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/FallbackWrapper.cjs +14 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/NextGenDataGrid.cjs +216 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useActions.cjs +30 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useCheckbox.cjs +6 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/AdvancedFilters.cjs +80 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/AdvancedFiltersMenu.cjs +18 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/BasicFilters.cjs +23 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/ColumnHeaderFilter.cjs +273 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInput.cjs +16 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderBetweenInput.cjs +71 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderBooleanInput.cjs +28 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderDateInput.cjs +44 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderMultiSelectInput.cjs +28 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderSelectInput.cjs +8 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderTagsInput.cjs +21 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderTagsNumberInput.cjs +29 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderTextInput.cjs +8 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/headerinput.module.css.cjs +9 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/FilterMenu.cjs +17 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/MultiLineHighlight.cjs +13 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/useColumns.cjs +134 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/utils.cjs +73 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useData.cjs +12 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useEvent.cjs +19 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useFilters.cjs +18 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useGlobalFilter.cjs +30 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/usePagination.cjs +44 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useQueryParams.cjs +43 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useSize.cjs +33 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useSorting.cjs +35 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.cjs +22 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.cjs +101 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.cjs +113 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.module.css.cjs +6 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/useToolbarAlertBanner.cjs +11 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/utils.cjs +23 -0
- package/dist/core/cjs/Wrappers/ApiProvider/ApiProvider.cjs +51 -0
- package/dist/core/cjs/Wrappers/ApiProvider/Contexts/ApiContext.cjs +42 -0
- package/dist/core/cjs/Wrappers/ApiProvider/Contexts/BulkActionsContext.cjs +13 -0
- package/dist/core/cjs/Wrappers/ApiProvider/Contexts/FormContext.cjs +28 -0
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +307 -0
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideBulk.cjs +30 -0
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideForm.cjs +22 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/createItem.cjs +14 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/deleteItem.cjs +10 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/downloadItems.cjs +40 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getInfo.cjs +13 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getItem.cjs +10 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getItems.cjs +10 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/updateItem.cjs +10 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/uploadItems.cjs +27 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/utils/parseResponse.cjs +19 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.cjs +26 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/convertId.cjs +12 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/convertInfo.cjs +20 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/createQueryParams.cjs +18 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/getDefaultValues.cjs +28 -0
- package/dist/core/cjs/Wrappers/ApiProvider/utils/getValidationSchema.cjs +38 -0
- package/dist/core/cjs/Wrappers/InfiniteScroll/InfiniteScroll.cjs +32 -0
- package/dist/core/cjs/Wrappers/LazyLoadWrapper/LazyLoadWrapper.cjs +8 -0
- package/dist/core/cjs/Wrappers/Provider/Contexts/AuthContext.cjs +21 -0
- package/dist/core/cjs/Wrappers/Provider/Contexts/InfoContext.cjs +16 -0
- package/dist/core/cjs/Wrappers/Provider/Provider.cjs +25 -0
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideAuth.cjs +58 -0
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideInfo.cjs +19 -0
- package/dist/core/cjs/Wrappers/Provider/utils/authFetch.cjs +98 -0
- package/dist/core/cjs/Wrappers/Provider/utils/userCRUD.cjs +32 -0
- package/dist/core/cjs/_virtual/_commonjsHelpers.cjs +6 -0
- package/dist/core/cjs/_virtual/index.cjs +5 -0
- package/dist/core/cjs/_virtual/index2.cjs +5 -0
- package/dist/core/cjs/_virtual/index3.cjs +6 -0
- package/dist/core/cjs/_virtual/index4.cjs +4 -0
- package/dist/core/cjs/hooks/api/useApi.cjs +12 -0
- package/dist/core/cjs/hooks/api/useBulkActions.cjs +12 -0
- package/dist/core/cjs/hooks/api/useForms.cjs +12 -0
- package/dist/core/cjs/hooks/auth/useAuth.cjs +8 -0
- package/dist/core/cjs/hooks/auth/useInfo.cjs +8 -0
- package/dist/core/cjs/index.cjs +77 -0
- package/dist/core/esm/ActionIcons/Actions.mjs +28 -0
- package/dist/core/esm/ActionIcons/Add/Add.mjs +15 -0
- package/dist/core/esm/ActionIcons/Add/AddDialog.mjs +60 -0
- package/dist/core/esm/ActionIcons/Delete/Delete.mjs +28 -0
- package/dist/core/esm/ActionIcons/Download/Download.mjs +125 -0
- package/dist/core/esm/ActionIcons/Edit/Edit.mjs +34 -0
- package/dist/core/esm/ActionIcons/Edit/EditDialog.mjs +71 -0
- package/dist/core/esm/ActionIcons/Modals/CommonModal.mjs +96 -0
- package/dist/core/esm/ActionIcons/Modals/normalProps.mjs +17 -0
- package/dist/core/esm/ActionIcons/Modals/overlayProps.mjs +25 -0
- package/dist/core/esm/ActionIcons/Refresh/Refresh.mjs +24 -0
- package/dist/core/esm/ActionIcons/Upload/Upload.mjs +95 -0
- package/dist/core/esm/ActionIcons/View/RelationPanel.mjs +18 -0
- package/dist/core/esm/ActionIcons/View/View.mjs +38 -0
- package/dist/core/esm/ActionIcons/View/ViewDialog.mjs +55 -0
- package/dist/core/esm/ActionIcons/utils/convertToFormInputs.mjs +27 -0
- package/dist/core/esm/Dialogs/AlertDialog/AlertDialog.mjs +25 -0
- package/dist/core/esm/Menu/UserMenu/UserMenu.mjs +71 -0
- package/dist/core/esm/Menu/UserMenu/user.module.css.mjs +11 -0
- package/dist/core/esm/Tables/DataGrid/DataGrid.mjs +94 -0
- package/dist/core/esm/Tables/DataGrid/ErrorDialog.mjs +23 -0
- package/dist/core/esm/Tables/DataGrid/FormField/FormField.mjs +90 -0
- package/dist/core/esm/Tables/DataGrid/FormField/Inputs/FormDatePicker.mjs +21 -0
- package/dist/core/esm/Tables/DataGrid/FormField/Inputs/FormDateTimePicker.mjs +21 -0
- package/dist/core/esm/Tables/DataGrid/FormField/Inputs/FormGeometryField.mjs +18 -0
- package/dist/core/esm/Tables/DataGrid/FormField/Inputs/FormJsonField.mjs +45 -0
- package/dist/core/esm/Tables/DataGrid/FormField/Inputs/FormRelatedListSelect.mjs +11 -0
- package/dist/core/esm/Tables/DataGrid/FormField/Inputs/FormRelatedSelect.mjs +31 -0
- package/dist/core/esm/Tables/DataGrid/FormField/Inputs/FormSelect.mjs +17 -0
- package/dist/core/esm/Tables/DataGrid/FormField/Inputs/FormTextField.mjs +14 -0
- package/dist/core/esm/Tables/DataGrid/Main/Body/Body.mjs +95 -0
- package/dist/core/esm/Tables/DataGrid/Main/Body/Field/Field.mjs +37 -0
- package/dist/core/esm/Tables/DataGrid/Main/Body/Field/Field.module.css.mjs +14 -0
- package/dist/core/esm/Tables/DataGrid/Main/Body/Row/Row.mjs +21 -0
- package/dist/core/esm/Tables/DataGrid/Main/Body/Row/Row.module.css.mjs +11 -0
- package/dist/core/esm/Tables/DataGrid/Main/Header/FieldTitle/FieldTitle.mjs +74 -0
- package/dist/core/esm/Tables/DataGrid/Main/Header/FieldTitle/FieldTitle.module.css.mjs +14 -0
- package/dist/core/esm/Tables/DataGrid/Main/Header/Header.mjs +37 -0
- package/dist/core/esm/Tables/DataGrid/Main/Main.mjs +88 -0
- package/dist/core/esm/Tables/DataGrid/Main/Main.module.css.mjs +8 -0
- package/dist/core/esm/Tables/DataGrid/Pagination/Pagination.mjs +104 -0
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/Filter.mjs +33 -0
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +138 -0
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FormFilterField.mjs +17 -0
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FormFilterIn.mjs +63 -0
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FormOperatorField.mjs +17 -0
- package/dist/core/esm/Tables/DataGrid/Toolbar/Toolbar.mjs +30 -0
- package/dist/core/esm/Tables/NextGenDataGrid/FallbackWrapper.mjs +14 -0
- package/dist/core/esm/Tables/NextGenDataGrid/NextGenDataGrid.mjs +216 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useActions.mjs +30 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useCheckbox.mjs +6 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/AdvancedFilters.mjs +80 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/AdvancedFiltersMenu.mjs +18 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/BasicFilters.mjs +23 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/ColumnHeaderFilter.mjs +273 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInput.mjs +16 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderBetweenInput.mjs +71 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderBooleanInput.mjs +28 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderDateInput.mjs +44 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderMultiSelectInput.mjs +28 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderSelectInput.mjs +8 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderTagsInput.mjs +21 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderTagsNumberInput.mjs +29 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/HeaderInputs/HeaderTextInput.mjs +8 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/headerinput.module.css.mjs +9 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/FilterMenu.mjs +17 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/MultiLineHighlight.mjs +13 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/useColumns.mjs +134 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/utils.mjs +73 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useData.mjs +12 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useEvent.mjs +19 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useFilters.mjs +18 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useGlobalFilter.mjs +30 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/usePagination.mjs +44 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useQueryParams.mjs +43 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useSize.mjs +33 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useSorting.mjs +35 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.mjs +22 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.mjs +101 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.mjs +113 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.module.css.mjs +7 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/useToolbarAlertBanner.mjs +11 -0
- package/dist/core/esm/Tables/NextGenDataGrid/utils.mjs +23 -0
- package/dist/core/esm/Wrappers/ApiProvider/ApiProvider.mjs +51 -0
- package/dist/core/esm/Wrappers/ApiProvider/Contexts/ApiContext.mjs +42 -0
- package/dist/core/esm/Wrappers/ApiProvider/Contexts/BulkActionsContext.mjs +13 -0
- package/dist/core/esm/Wrappers/ApiProvider/Contexts/FormContext.mjs +28 -0
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +307 -0
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideBulk.mjs +30 -0
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideForm.mjs +22 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/createItem.mjs +14 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/deleteItem.mjs +10 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/downloadItems.mjs +40 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/getInfo.mjs +13 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/getItem.mjs +10 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/getItems.mjs +10 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/updateItem.mjs +10 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/uploadItems.mjs +27 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/utils/parseResponse.mjs +19 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.mjs +26 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/convertId.mjs +12 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/convertInfo.mjs +20 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/createQueryParams.mjs +18 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/getDefaultValues.mjs +28 -0
- package/dist/core/esm/Wrappers/ApiProvider/utils/getValidationSchema.mjs +39 -0
- package/dist/core/esm/Wrappers/InfiniteScroll/InfiniteScroll.mjs +32 -0
- package/dist/core/esm/Wrappers/LazyLoadWrapper/LazyLoadWrapper.mjs +8 -0
- package/dist/core/esm/Wrappers/Provider/Contexts/AuthContext.mjs +21 -0
- package/dist/core/esm/Wrappers/Provider/Contexts/InfoContext.mjs +16 -0
- package/dist/core/esm/Wrappers/Provider/Provider.mjs +25 -0
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideAuth.mjs +58 -0
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideInfo.mjs +19 -0
- package/dist/core/esm/Wrappers/Provider/utils/authFetch.mjs +98 -0
- package/dist/core/esm/Wrappers/Provider/utils/userCRUD.mjs +32 -0
- package/dist/core/esm/_virtual/_commonjsHelpers.mjs +6 -0
- package/dist/core/esm/_virtual/index.mjs +5 -0
- package/dist/core/esm/_virtual/index2.mjs +5 -0
- package/dist/core/esm/_virtual/index3.mjs +7 -0
- package/dist/core/esm/_virtual/index4.mjs +4 -0
- package/dist/core/esm/hooks/api/useApi.mjs +12 -0
- package/dist/core/esm/hooks/api/useBulkActions.mjs +12 -0
- package/dist/core/esm/hooks/api/useForms.mjs +12 -0
- package/dist/core/esm/hooks/auth/useAuth.mjs +8 -0
- package/dist/core/esm/hooks/auth/useInfo.mjs +8 -0
- package/dist/core/esm/index.mjs +47 -0
- package/dist/core/styles.css +1511 -0
- package/dist/hooks/cjs/index.cjs +8 -0
- package/dist/hooks/cjs/useActionIcon/useActionIcon.cjs +16 -0
- package/dist/hooks/cjs/useActionIcon/useActionIcon.module.css.cjs +8 -0
- package/dist/hooks/cjs/useCustomFetch/useCustomFetch.cjs +58 -0
- package/dist/hooks/cjs/useTrueOnce/useTrueOnce.cjs +15 -0
- package/dist/hooks/esm/index.mjs +8 -0
- package/dist/hooks/esm/useActionIcon/useActionIcon.mjs +16 -0
- package/dist/hooks/esm/useActionIcon/useActionIcon.module.css.mjs +8 -0
- package/dist/hooks/esm/useCustomFetch/useCustomFetch.mjs +58 -0
- package/dist/hooks/esm/useTrueOnce/useTrueOnce.mjs +15 -0
- package/dist/hooks/styles.css +3 -0
- package/dist/jsonforms/cjs/JsonFormsWithCustomizer/JsonFormsWithCustomizer.cjs +30 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineBooleanInput.cjs +21 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineDateInput.cjs +20 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineDateTimeInput.cjs +28 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineEnumArrayInput.cjs +20 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineEnumInput.cjs +20 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineJsonInput.cjs +20 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineNumberInput.cjs +20 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineObjectInput.cjs +41 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineOneOfEnumInput.cjs +31 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineTextInput.cjs +23 -0
- package/dist/jsonforms/cjs/_virtual/_cloneBuffer.cjs +4 -0
- package/dist/jsonforms/cjs/_virtual/_commonjsHelpers.cjs +8 -0
- package/dist/jsonforms/cjs/_virtual/_nodeUtil.cjs +4 -0
- package/dist/jsonforms/cjs/_virtual/isBuffer.cjs +4 -0
- package/dist/jsonforms/cjs/_virtual/isEmpty.cjs +6 -0
- package/dist/jsonforms/cjs/_virtual/lodash.cjs +5 -0
- package/dist/jsonforms/cjs/_virtual/lodash2.cjs +4 -0
- package/dist/jsonforms/cjs/_virtual/merge.cjs +6 -0
- package/dist/jsonforms/cjs/_virtual/range.cjs +6 -0
- package/dist/jsonforms/cjs/_virtual/startCase.cjs +6 -0
- package/dist/jsonforms/cjs/_virtual/union.cjs +6 -0
- package/dist/jsonforms/cjs/cells/MantineBooleanCell.cjs +10 -0
- package/dist/jsonforms/cjs/cells/MantineDateCell.cjs +10 -0
- package/dist/jsonforms/cjs/cells/MantineDateTimeCell.cjs +10 -0
- package/dist/jsonforms/cjs/cells/MantineEnumArrayCell.cjs +11 -0
- package/dist/jsonforms/cjs/cells/MantineEnumCell.cjs +13 -0
- package/dist/jsonforms/cjs/cells/MantineIntegerCell.cjs +10 -0
- package/dist/jsonforms/cjs/cells/MantineJsonCell.cjs +11 -0
- package/dist/jsonforms/cjs/cells/MantineNumberCell.cjs +10 -0
- package/dist/jsonforms/cjs/cells/MantineOneOfEnumCell.cjs +13 -0
- package/dist/jsonforms/cjs/cells/MantineTextCell.cjs +10 -0
- package/dist/jsonforms/cjs/complex/MantineArrayControl/DeleteDialog.cjs +24 -0
- package/dist/jsonforms/cjs/complex/MantineArrayControl/MantineArrayControl.cjs +59 -0
- package/dist/jsonforms/cjs/complex/MantineEnumArrayControl.cjs +11 -0
- package/dist/jsonforms/cjs/complex/MantineObjectControl.cjs +10 -0
- package/dist/jsonforms/cjs/complex/MantineTableControl/MantineTableControl.cjs +358 -0
- package/dist/jsonforms/cjs/complex/MantineTableControl/NoBorderTableCell.cjs +7 -0
- package/dist/jsonforms/cjs/complex/MantineTableControl/TableToolbar.cjs +70 -0
- package/dist/jsonforms/cjs/complex/MantineTableControl/ValidationIcon.cjs +19 -0
- package/dist/jsonforms/cjs/controls/MantineBooleanControl.cjs +10 -0
- package/dist/jsonforms/cjs/controls/MantineDateControl.cjs +10 -0
- package/dist/jsonforms/cjs/controls/MantineDateTimeControl.cjs +10 -0
- package/dist/jsonforms/cjs/controls/MantineEnumControl.cjs +13 -0
- package/dist/jsonforms/cjs/controls/MantineIntegerControl.cjs +10 -0
- package/dist/jsonforms/cjs/controls/MantineJsonControl.cjs +11 -0
- package/dist/jsonforms/cjs/controls/MantineNumberControl.cjs +10 -0
- package/dist/jsonforms/cjs/controls/MantineOneOfEnumControl.cjs +13 -0
- package/dist/jsonforms/cjs/controls/MantineTextControl.cjs +10 -0
- package/dist/jsonforms/cjs/hooks/useBooleanProps.cjs +23 -0
- package/dist/jsonforms/cjs/hooks/useCommonProps.cjs +28 -0
- package/dist/jsonforms/cjs/hooks/useContextProps.cjs +21 -0
- package/dist/jsonforms/cjs/hooks/useDateProps.cjs +58 -0
- package/dist/jsonforms/cjs/hooks/useJsonProps.cjs +34 -0
- package/dist/jsonforms/cjs/hooks/useMultiSelectProps.cjs +12 -0
- package/dist/jsonforms/cjs/hooks/useNumberProps.cjs +11 -0
- package/dist/jsonforms/cjs/hooks/useSelectProps.cjs +11 -0
- package/dist/jsonforms/cjs/hooks/useTextProps.cjs +9 -0
- package/dist/jsonforms/cjs/hooks/useThemeCustomizer.cjs +19 -0
- package/dist/jsonforms/cjs/index.cjs +41 -0
- package/dist/jsonforms/cjs/labels/MantineLabelRenderer.cjs +17 -0
- package/dist/jsonforms/cjs/layouts/MantineGroupLayoutRenderer.cjs +22 -0
- package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +21 -0
- package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +21 -0
- package/dist/jsonforms/cjs/renderers/mantineCells.cjs +25 -0
- package/dist/jsonforms/cjs/renderers/mantineRenderers.cjs +41 -0
- package/dist/jsonforms/cjs/testers/isEnumArrayArrayControl.cjs +24 -0
- package/dist/jsonforms/cjs/testers/isEnumArrayControl.cjs +23 -0
- package/dist/jsonforms/cjs/testers/isJsonArrayControl.cjs +19 -0
- package/dist/jsonforms/cjs/testers/isJsonControl.cjs +19 -0
- package/dist/jsonforms/cjs/utils/isSchemaTypeInclude.cjs +6 -0
- package/dist/jsonforms/cjs/utils/layout.cjs +37 -0
- package/dist/jsonforms/cjs/utils/utcConverter.cjs +11 -0
- package/dist/jsonforms/esm/JsonFormsWithCustomizer/JsonFormsWithCustomizer.mjs +30 -0
- package/dist/jsonforms/esm/MantineInputs/MantineBooleanInput.mjs +21 -0
- package/dist/jsonforms/esm/MantineInputs/MantineDateInput.mjs +20 -0
- package/dist/jsonforms/esm/MantineInputs/MantineDateTimeInput.mjs +28 -0
- package/dist/jsonforms/esm/MantineInputs/MantineEnumArrayInput.mjs +20 -0
- package/dist/jsonforms/esm/MantineInputs/MantineEnumInput.mjs +20 -0
- package/dist/jsonforms/esm/MantineInputs/MantineJsonInput.mjs +20 -0
- package/dist/jsonforms/esm/MantineInputs/MantineNumberInput.mjs +20 -0
- package/dist/jsonforms/esm/MantineInputs/MantineObjectInput.mjs +41 -0
- package/dist/jsonforms/esm/MantineInputs/MantineOneOfEnumInput.mjs +31 -0
- package/dist/jsonforms/esm/MantineInputs/MantineTextInput.mjs +23 -0
- package/dist/jsonforms/esm/_virtual/_cloneBuffer.mjs +4 -0
- package/dist/jsonforms/esm/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/jsonforms/esm/_virtual/_nodeUtil.mjs +4 -0
- package/dist/jsonforms/esm/_virtual/isBuffer.mjs +4 -0
- package/dist/jsonforms/esm/_virtual/isEmpty.mjs +7 -0
- package/dist/jsonforms/esm/_virtual/lodash.mjs +5 -0
- package/dist/jsonforms/esm/_virtual/lodash2.mjs +4 -0
- package/dist/jsonforms/esm/_virtual/merge.mjs +7 -0
- package/dist/jsonforms/esm/_virtual/range.mjs +7 -0
- package/dist/jsonforms/esm/_virtual/startCase.mjs +7 -0
- package/dist/jsonforms/esm/_virtual/union.mjs +7 -0
- package/dist/jsonforms/esm/cells/MantineBooleanCell.mjs +10 -0
- package/dist/jsonforms/esm/cells/MantineDateCell.mjs +10 -0
- package/dist/jsonforms/esm/cells/MantineDateTimeCell.mjs +10 -0
- package/dist/jsonforms/esm/cells/MantineEnumArrayCell.mjs +11 -0
- package/dist/jsonforms/esm/cells/MantineEnumCell.mjs +13 -0
- package/dist/jsonforms/esm/cells/MantineIntegerCell.mjs +10 -0
- package/dist/jsonforms/esm/cells/MantineJsonCell.mjs +11 -0
- package/dist/jsonforms/esm/cells/MantineNumberCell.mjs +10 -0
- package/dist/jsonforms/esm/cells/MantineOneOfEnumCell.mjs +13 -0
- package/dist/jsonforms/esm/cells/MantineTextCell.mjs +10 -0
- package/dist/jsonforms/esm/complex/MantineArrayControl/DeleteDialog.mjs +24 -0
- package/dist/jsonforms/esm/complex/MantineArrayControl/MantineArrayControl.mjs +59 -0
- package/dist/jsonforms/esm/complex/MantineEnumArrayControl.mjs +11 -0
- package/dist/jsonforms/esm/complex/MantineObjectControl.mjs +10 -0
- package/dist/jsonforms/esm/complex/MantineTableControl/MantineTableControl.mjs +358 -0
- package/dist/jsonforms/esm/complex/MantineTableControl/NoBorderTableCell.mjs +7 -0
- package/dist/jsonforms/esm/complex/MantineTableControl/TableToolbar.mjs +70 -0
- package/dist/jsonforms/esm/complex/MantineTableControl/ValidationIcon.mjs +19 -0
- package/dist/jsonforms/esm/controls/MantineBooleanControl.mjs +10 -0
- package/dist/jsonforms/esm/controls/MantineDateControl.mjs +10 -0
- package/dist/jsonforms/esm/controls/MantineDateTimeControl.mjs +10 -0
- package/dist/jsonforms/esm/controls/MantineEnumControl.mjs +13 -0
- package/dist/jsonforms/esm/controls/MantineIntegerControl.mjs +10 -0
- package/dist/jsonforms/esm/controls/MantineJsonControl.mjs +11 -0
- package/dist/jsonforms/esm/controls/MantineNumberControl.mjs +10 -0
- package/dist/jsonforms/esm/controls/MantineOneOfEnumControl.mjs +13 -0
- package/dist/jsonforms/esm/controls/MantineTextControl.mjs +10 -0
- package/dist/jsonforms/esm/hooks/useBooleanProps.mjs +23 -0
- package/dist/jsonforms/esm/hooks/useCommonProps.mjs +28 -0
- package/dist/jsonforms/esm/hooks/useContextProps.mjs +21 -0
- package/dist/jsonforms/esm/hooks/useDateProps.mjs +58 -0
- package/dist/jsonforms/esm/hooks/useJsonProps.mjs +34 -0
- package/dist/jsonforms/esm/hooks/useMultiSelectProps.mjs +12 -0
- package/dist/jsonforms/esm/hooks/useNumberProps.mjs +11 -0
- package/dist/jsonforms/esm/hooks/useSelectProps.mjs +11 -0
- package/dist/jsonforms/esm/hooks/useTextProps.mjs +9 -0
- package/dist/jsonforms/esm/hooks/useThemeCustomizer.mjs +19 -0
- package/dist/jsonforms/esm/index.mjs +41 -0
- package/dist/jsonforms/esm/labels/MantineLabelRenderer.mjs +17 -0
- package/dist/jsonforms/esm/layouts/MantineGroupLayoutRenderer.mjs +22 -0
- package/dist/jsonforms/esm/layouts/MantineHotizontalLayoutRenderer.mjs +21 -0
- package/dist/jsonforms/esm/layouts/MantineVerticalLayoutRenderer.mjs +21 -0
- package/dist/jsonforms/esm/renderers/mantineCells.mjs +25 -0
- package/dist/jsonforms/esm/renderers/mantineRenderers.mjs +41 -0
- package/dist/jsonforms/esm/testers/isEnumArrayArrayControl.mjs +24 -0
- package/dist/jsonforms/esm/testers/isEnumArrayControl.mjs +23 -0
- package/dist/jsonforms/esm/testers/isJsonArrayControl.mjs +19 -0
- package/dist/jsonforms/esm/testers/isJsonControl.mjs +19 -0
- package/dist/jsonforms/esm/utils/isSchemaTypeInclude.mjs +6 -0
- package/dist/jsonforms/esm/utils/layout.mjs +37 -0
- package/dist/jsonforms/esm/utils/utcConverter.mjs +11 -0
- package/dist/utils/cjs/createFetchParams/createFetchParams.cjs +27 -0
- package/dist/utils/cjs/deepMerge/deepMerge.cjs +26 -0
- package/dist/utils/cjs/getValue/getValue.cjs +19 -0
- package/dist/utils/cjs/getValueOrDefault/getValueOrDefault.cjs +4 -0
- package/dist/utils/cjs/index.cjs +18 -0
- package/dist/utils/cjs/isTruthy/isTruthy.cjs +6 -0
- package/dist/utils/cjs/parseFromValuesOrFunc/parseFromValuesOrFunc.cjs +4 -0
- package/dist/utils/cjs/parseValue/parseValue.cjs +18 -0
- package/dist/utils/cjs/urlJoin/urlJoin.cjs +48 -0
- package/dist/utils/esm/createFetchParams/createFetchParams.mjs +27 -0
- package/dist/utils/esm/deepMerge/deepMerge.mjs +26 -0
- package/dist/utils/esm/getValue/getValue.mjs +19 -0
- package/dist/utils/esm/getValueOrDefault/getValueOrDefault.mjs +4 -0
- package/dist/utils/esm/index.mjs +18 -0
- package/dist/utils/esm/isTruthy/isTruthy.mjs +6 -0
- package/dist/utils/esm/parseFromValuesOrFunc/parseFromValuesOrFunc.mjs +4 -0
- package/dist/utils/esm/parseValue/parseValue.mjs +18 -0
- package/dist/utils/esm/urlJoin/urlJoin.mjs +48 -0
- package/dist/zustand/cjs/index.cjs +8 -0
- package/dist/zustand/cjs/useProxy/useProxy.cjs +15 -0
- package/dist/zustand/cjs/utils/compareStateWithStore.cjs +14 -0
- package/dist/zustand/cjs/utils/createProxy.cjs +8 -0
- package/dist/zustand/esm/index.mjs +8 -0
- package/dist/zustand/esm/useProxy/useProxy.mjs +15 -0
- package/dist/zustand/esm/utils/compareStateWithStore.mjs +14 -0
- package/dist/zustand/esm/utils/createProxy.mjs +8 -0
- package/package.json +69 -44
- package/dist/fastapi-rtk.es.js +0 -19007
- package/dist/fastapi-rtk.umd.js +0 -352
- package/dist/style.css +0 -1
|
@@ -0,0 +1,2331 @@
|
|
|
1
|
+
import { p as propertyExprExports } from "../../../../core/esm/_virtual/index.mjs";
|
|
2
|
+
import { t as tinyCaseExports } from "../../../../core/esm/_virtual/index2.mjs";
|
|
3
|
+
import toposort from "../../../../core/esm/_virtual/index3.mjs";
|
|
4
|
+
const toString = Object.prototype.toString;
|
|
5
|
+
const errorToString = Error.prototype.toString;
|
|
6
|
+
const regExpToString = RegExp.prototype.toString;
|
|
7
|
+
const symbolToString = typeof Symbol !== "undefined" ? Symbol.prototype.toString : () => "";
|
|
8
|
+
const SYMBOL_REGEXP = /^Symbol\((.*)\)(.*)$/;
|
|
9
|
+
function printNumber(val) {
|
|
10
|
+
if (val != +val) return "NaN";
|
|
11
|
+
const isNegativeZero = val === 0 && 1 / val < 0;
|
|
12
|
+
return isNegativeZero ? "-0" : "" + val;
|
|
13
|
+
}
|
|
14
|
+
function printSimpleValue(val, quoteStrings = false) {
|
|
15
|
+
if (val == null || val === true || val === false) return "" + val;
|
|
16
|
+
const typeOf = typeof val;
|
|
17
|
+
if (typeOf === "number") return printNumber(val);
|
|
18
|
+
if (typeOf === "string") return quoteStrings ? `"${val}"` : val;
|
|
19
|
+
if (typeOf === "function") return "[Function " + (val.name || "anonymous") + "]";
|
|
20
|
+
if (typeOf === "symbol") return symbolToString.call(val).replace(SYMBOL_REGEXP, "Symbol($1)");
|
|
21
|
+
const tag = toString.call(val).slice(8, -1);
|
|
22
|
+
if (tag === "Date") return isNaN(val.getTime()) ? "" + val : val.toISOString(val);
|
|
23
|
+
if (tag === "Error" || val instanceof Error) return "[" + errorToString.call(val) + "]";
|
|
24
|
+
if (tag === "RegExp") return regExpToString.call(val);
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
function printValue(value, quoteStrings) {
|
|
28
|
+
let result = printSimpleValue(value, quoteStrings);
|
|
29
|
+
if (result !== null) return result;
|
|
30
|
+
return JSON.stringify(value, function(key, value2) {
|
|
31
|
+
let result2 = printSimpleValue(this[key], quoteStrings);
|
|
32
|
+
if (result2 !== null) return result2;
|
|
33
|
+
return value2;
|
|
34
|
+
}, 2);
|
|
35
|
+
}
|
|
36
|
+
function toArray(value) {
|
|
37
|
+
return value == null ? [] : [].concat(value);
|
|
38
|
+
}
|
|
39
|
+
let _Symbol$toStringTag, _Symbol$hasInstance, _Symbol$toStringTag2;
|
|
40
|
+
let strReg = /\$\{\s*(\w+)\s*\}/g;
|
|
41
|
+
_Symbol$toStringTag = Symbol.toStringTag;
|
|
42
|
+
class ValidationErrorNoStack {
|
|
43
|
+
constructor(errorOrErrors, value, field, type) {
|
|
44
|
+
this.name = void 0;
|
|
45
|
+
this.message = void 0;
|
|
46
|
+
this.value = void 0;
|
|
47
|
+
this.path = void 0;
|
|
48
|
+
this.type = void 0;
|
|
49
|
+
this.params = void 0;
|
|
50
|
+
this.errors = void 0;
|
|
51
|
+
this.inner = void 0;
|
|
52
|
+
this[_Symbol$toStringTag] = "Error";
|
|
53
|
+
this.name = "ValidationError";
|
|
54
|
+
this.value = value;
|
|
55
|
+
this.path = field;
|
|
56
|
+
this.type = type;
|
|
57
|
+
this.errors = [];
|
|
58
|
+
this.inner = [];
|
|
59
|
+
toArray(errorOrErrors).forEach((err) => {
|
|
60
|
+
if (ValidationError.isError(err)) {
|
|
61
|
+
this.errors.push(...err.errors);
|
|
62
|
+
const innerErrors = err.inner.length ? err.inner : [err];
|
|
63
|
+
this.inner.push(...innerErrors);
|
|
64
|
+
} else {
|
|
65
|
+
this.errors.push(err);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
this.message = this.errors.length > 1 ? `${this.errors.length} errors occurred` : this.errors[0];
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
_Symbol$hasInstance = Symbol.hasInstance;
|
|
72
|
+
_Symbol$toStringTag2 = Symbol.toStringTag;
|
|
73
|
+
class ValidationError extends Error {
|
|
74
|
+
static formatError(message, params) {
|
|
75
|
+
const path = params.label || params.path || "this";
|
|
76
|
+
params = Object.assign({}, params, {
|
|
77
|
+
path,
|
|
78
|
+
originalPath: params.path
|
|
79
|
+
});
|
|
80
|
+
if (typeof message === "string") return message.replace(strReg, (_, key) => printValue(params[key]));
|
|
81
|
+
if (typeof message === "function") return message(params);
|
|
82
|
+
return message;
|
|
83
|
+
}
|
|
84
|
+
static isError(err) {
|
|
85
|
+
return err && err.name === "ValidationError";
|
|
86
|
+
}
|
|
87
|
+
constructor(errorOrErrors, value, field, type, disableStack) {
|
|
88
|
+
const errorNoStack = new ValidationErrorNoStack(errorOrErrors, value, field, type);
|
|
89
|
+
if (disableStack) {
|
|
90
|
+
return errorNoStack;
|
|
91
|
+
}
|
|
92
|
+
super();
|
|
93
|
+
this.value = void 0;
|
|
94
|
+
this.path = void 0;
|
|
95
|
+
this.type = void 0;
|
|
96
|
+
this.params = void 0;
|
|
97
|
+
this.errors = [];
|
|
98
|
+
this.inner = [];
|
|
99
|
+
this[_Symbol$toStringTag2] = "Error";
|
|
100
|
+
this.name = errorNoStack.name;
|
|
101
|
+
this.message = errorNoStack.message;
|
|
102
|
+
this.type = errorNoStack.type;
|
|
103
|
+
this.value = errorNoStack.value;
|
|
104
|
+
this.path = errorNoStack.path;
|
|
105
|
+
this.errors = errorNoStack.errors;
|
|
106
|
+
this.inner = errorNoStack.inner;
|
|
107
|
+
if (Error.captureStackTrace) {
|
|
108
|
+
Error.captureStackTrace(this, ValidationError);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
static [_Symbol$hasInstance](inst) {
|
|
112
|
+
return ValidationErrorNoStack[Symbol.hasInstance](inst) || super[Symbol.hasInstance](inst);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
let mixed = {
|
|
116
|
+
default: "${path} is invalid",
|
|
117
|
+
required: "${path} is a required field",
|
|
118
|
+
defined: "${path} must be defined",
|
|
119
|
+
notNull: "${path} cannot be null",
|
|
120
|
+
oneOf: "${path} must be one of the following values: ${values}",
|
|
121
|
+
notOneOf: "${path} must not be one of the following values: ${values}",
|
|
122
|
+
notType: ({
|
|
123
|
+
path,
|
|
124
|
+
type,
|
|
125
|
+
value,
|
|
126
|
+
originalValue
|
|
127
|
+
}) => {
|
|
128
|
+
const castMsg = originalValue != null && originalValue !== value ? ` (cast from the value \`${printValue(originalValue, true)}\`).` : ".";
|
|
129
|
+
return type !== "mixed" ? `${path} must be a \`${type}\` type, but the final value was: \`${printValue(value, true)}\`` + castMsg : `${path} must match the configured type. The validated value was: \`${printValue(value, true)}\`` + castMsg;
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
let string = {
|
|
133
|
+
length: "${path} must be exactly ${length} characters",
|
|
134
|
+
min: "${path} must be at least ${min} characters",
|
|
135
|
+
max: "${path} must be at most ${max} characters",
|
|
136
|
+
matches: '${path} must match the following: "${regex}"',
|
|
137
|
+
email: "${path} must be a valid email",
|
|
138
|
+
url: "${path} must be a valid URL",
|
|
139
|
+
uuid: "${path} must be a valid UUID",
|
|
140
|
+
datetime: "${path} must be a valid ISO date-time",
|
|
141
|
+
datetime_precision: "${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",
|
|
142
|
+
datetime_offset: '${path} must be a valid ISO date-time with UTC "Z" timezone',
|
|
143
|
+
trim: "${path} must be a trimmed string",
|
|
144
|
+
lowercase: "${path} must be a lowercase string",
|
|
145
|
+
uppercase: "${path} must be a upper case string"
|
|
146
|
+
};
|
|
147
|
+
let number = {
|
|
148
|
+
min: "${path} must be greater than or equal to ${min}",
|
|
149
|
+
max: "${path} must be less than or equal to ${max}",
|
|
150
|
+
lessThan: "${path} must be less than ${less}",
|
|
151
|
+
moreThan: "${path} must be greater than ${more}",
|
|
152
|
+
positive: "${path} must be a positive number",
|
|
153
|
+
negative: "${path} must be a negative number",
|
|
154
|
+
integer: "${path} must be an integer"
|
|
155
|
+
};
|
|
156
|
+
let date = {
|
|
157
|
+
min: "${path} field must be later than ${min}",
|
|
158
|
+
max: "${path} field must be at earlier than ${max}"
|
|
159
|
+
};
|
|
160
|
+
let boolean = {
|
|
161
|
+
isValue: "${path} field must be ${value}"
|
|
162
|
+
};
|
|
163
|
+
let object = {
|
|
164
|
+
noUnknown: "${path} field has unspecified keys: ${unknown}",
|
|
165
|
+
exact: "${path} object contains unknown properties: ${properties}"
|
|
166
|
+
};
|
|
167
|
+
let array = {
|
|
168
|
+
min: "${path} field must have at least ${min} items",
|
|
169
|
+
max: "${path} field must have less than or equal to ${max} items",
|
|
170
|
+
length: "${path} must have ${length} items"
|
|
171
|
+
};
|
|
172
|
+
let tuple = {
|
|
173
|
+
notType: (params) => {
|
|
174
|
+
const {
|
|
175
|
+
path,
|
|
176
|
+
value,
|
|
177
|
+
spec
|
|
178
|
+
} = params;
|
|
179
|
+
const typeLen = spec.types.length;
|
|
180
|
+
if (Array.isArray(value)) {
|
|
181
|
+
if (value.length < typeLen) return `${path} tuple value has too few items, expected a length of ${typeLen} but got ${value.length} for value: \`${printValue(value, true)}\``;
|
|
182
|
+
if (value.length > typeLen) return `${path} tuple value has too many items, expected a length of ${typeLen} but got ${value.length} for value: \`${printValue(value, true)}\``;
|
|
183
|
+
}
|
|
184
|
+
return ValidationError.formatError(mixed.notType, params);
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
var locale = Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
188
|
+
mixed,
|
|
189
|
+
string,
|
|
190
|
+
number,
|
|
191
|
+
date,
|
|
192
|
+
object,
|
|
193
|
+
array,
|
|
194
|
+
boolean,
|
|
195
|
+
tuple
|
|
196
|
+
});
|
|
197
|
+
const isSchema = (obj) => obj && obj.__isYupSchema__;
|
|
198
|
+
class Condition {
|
|
199
|
+
static fromOptions(refs, config) {
|
|
200
|
+
if (!config.then && !config.otherwise) throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");
|
|
201
|
+
let {
|
|
202
|
+
is,
|
|
203
|
+
then,
|
|
204
|
+
otherwise
|
|
205
|
+
} = config;
|
|
206
|
+
let check = typeof is === "function" ? is : (...values) => values.every((value) => value === is);
|
|
207
|
+
return new Condition(refs, (values, schema) => {
|
|
208
|
+
var _branch;
|
|
209
|
+
let branch = check(...values) ? then : otherwise;
|
|
210
|
+
return (_branch = branch == null ? void 0 : branch(schema)) != null ? _branch : schema;
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
constructor(refs, builder) {
|
|
214
|
+
this.fn = void 0;
|
|
215
|
+
this.refs = refs;
|
|
216
|
+
this.refs = refs;
|
|
217
|
+
this.fn = builder;
|
|
218
|
+
}
|
|
219
|
+
resolve(base, options) {
|
|
220
|
+
let values = this.refs.map((ref) => (
|
|
221
|
+
// TODO: ? operator here?
|
|
222
|
+
ref.getValue(options == null ? void 0 : options.value, options == null ? void 0 : options.parent, options == null ? void 0 : options.context)
|
|
223
|
+
));
|
|
224
|
+
let schema = this.fn(values, base, options);
|
|
225
|
+
if (schema === void 0 || // @ts-ignore this can be base
|
|
226
|
+
schema === base) {
|
|
227
|
+
return base;
|
|
228
|
+
}
|
|
229
|
+
if (!isSchema(schema)) throw new TypeError("conditions must return a schema object");
|
|
230
|
+
return schema.resolve(options);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
const prefixes = {
|
|
234
|
+
context: "$",
|
|
235
|
+
value: "."
|
|
236
|
+
};
|
|
237
|
+
function create$9(key, options) {
|
|
238
|
+
return new Reference(key, options);
|
|
239
|
+
}
|
|
240
|
+
class Reference {
|
|
241
|
+
constructor(key, options = {}) {
|
|
242
|
+
this.key = void 0;
|
|
243
|
+
this.isContext = void 0;
|
|
244
|
+
this.isValue = void 0;
|
|
245
|
+
this.isSibling = void 0;
|
|
246
|
+
this.path = void 0;
|
|
247
|
+
this.getter = void 0;
|
|
248
|
+
this.map = void 0;
|
|
249
|
+
if (typeof key !== "string") throw new TypeError("ref must be a string, got: " + key);
|
|
250
|
+
this.key = key.trim();
|
|
251
|
+
if (key === "") throw new TypeError("ref must be a non-empty string");
|
|
252
|
+
this.isContext = this.key[0] === prefixes.context;
|
|
253
|
+
this.isValue = this.key[0] === prefixes.value;
|
|
254
|
+
this.isSibling = !this.isContext && !this.isValue;
|
|
255
|
+
let prefix = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
|
|
256
|
+
this.path = this.key.slice(prefix.length);
|
|
257
|
+
this.getter = this.path && propertyExprExports.getter(this.path, true);
|
|
258
|
+
this.map = options.map;
|
|
259
|
+
}
|
|
260
|
+
getValue(value, parent, context) {
|
|
261
|
+
let result = this.isContext ? context : this.isValue ? value : parent;
|
|
262
|
+
if (this.getter) result = this.getter(result || {});
|
|
263
|
+
if (this.map) result = this.map(result);
|
|
264
|
+
return result;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @param {*} value
|
|
269
|
+
* @param {Object} options
|
|
270
|
+
* @param {Object=} options.context
|
|
271
|
+
* @param {Object=} options.parent
|
|
272
|
+
*/
|
|
273
|
+
cast(value, options) {
|
|
274
|
+
return this.getValue(value, options == null ? void 0 : options.parent, options == null ? void 0 : options.context);
|
|
275
|
+
}
|
|
276
|
+
resolve() {
|
|
277
|
+
return this;
|
|
278
|
+
}
|
|
279
|
+
describe() {
|
|
280
|
+
return {
|
|
281
|
+
type: "ref",
|
|
282
|
+
key: this.key
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
toString() {
|
|
286
|
+
return `Ref(${this.key})`;
|
|
287
|
+
}
|
|
288
|
+
static isRef(value) {
|
|
289
|
+
return value && value.__isYupRef;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
Reference.prototype.__isYupRef = true;
|
|
293
|
+
const isAbsent = (value) => value == null;
|
|
294
|
+
function createValidation(config) {
|
|
295
|
+
function validate({
|
|
296
|
+
value,
|
|
297
|
+
path = "",
|
|
298
|
+
options,
|
|
299
|
+
originalValue,
|
|
300
|
+
schema
|
|
301
|
+
}, panic, next) {
|
|
302
|
+
const {
|
|
303
|
+
name,
|
|
304
|
+
test,
|
|
305
|
+
params,
|
|
306
|
+
message,
|
|
307
|
+
skipAbsent
|
|
308
|
+
} = config;
|
|
309
|
+
let {
|
|
310
|
+
parent,
|
|
311
|
+
context,
|
|
312
|
+
abortEarly = schema.spec.abortEarly,
|
|
313
|
+
disableStackTrace = schema.spec.disableStackTrace
|
|
314
|
+
} = options;
|
|
315
|
+
function resolve(item) {
|
|
316
|
+
return Reference.isRef(item) ? item.getValue(value, parent, context) : item;
|
|
317
|
+
}
|
|
318
|
+
function createError(overrides = {}) {
|
|
319
|
+
const nextParams = Object.assign({
|
|
320
|
+
value,
|
|
321
|
+
originalValue,
|
|
322
|
+
label: schema.spec.label,
|
|
323
|
+
path: overrides.path || path,
|
|
324
|
+
spec: schema.spec,
|
|
325
|
+
disableStackTrace: overrides.disableStackTrace || disableStackTrace
|
|
326
|
+
}, params, overrides.params);
|
|
327
|
+
for (const key of Object.keys(nextParams)) nextParams[key] = resolve(nextParams[key]);
|
|
328
|
+
const error = new ValidationError(ValidationError.formatError(overrides.message || message, nextParams), value, nextParams.path, overrides.type || name, nextParams.disableStackTrace);
|
|
329
|
+
error.params = nextParams;
|
|
330
|
+
return error;
|
|
331
|
+
}
|
|
332
|
+
const invalid = abortEarly ? panic : next;
|
|
333
|
+
let ctx = {
|
|
334
|
+
path,
|
|
335
|
+
parent,
|
|
336
|
+
type: name,
|
|
337
|
+
from: options.from,
|
|
338
|
+
createError,
|
|
339
|
+
resolve,
|
|
340
|
+
options,
|
|
341
|
+
originalValue,
|
|
342
|
+
schema
|
|
343
|
+
};
|
|
344
|
+
const handleResult = (validOrError) => {
|
|
345
|
+
if (ValidationError.isError(validOrError)) invalid(validOrError);
|
|
346
|
+
else if (!validOrError) invalid(createError());
|
|
347
|
+
else next(null);
|
|
348
|
+
};
|
|
349
|
+
const handleError = (err) => {
|
|
350
|
+
if (ValidationError.isError(err)) invalid(err);
|
|
351
|
+
else panic(err);
|
|
352
|
+
};
|
|
353
|
+
const shouldSkip = skipAbsent && isAbsent(value);
|
|
354
|
+
if (shouldSkip) {
|
|
355
|
+
return handleResult(true);
|
|
356
|
+
}
|
|
357
|
+
let result;
|
|
358
|
+
try {
|
|
359
|
+
var _result;
|
|
360
|
+
result = test.call(ctx, value, ctx);
|
|
361
|
+
if (typeof ((_result = result) == null ? void 0 : _result.then) === "function") {
|
|
362
|
+
if (options.sync) {
|
|
363
|
+
throw new Error(`Validation test of type: "${ctx.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);
|
|
364
|
+
}
|
|
365
|
+
return Promise.resolve(result).then(handleResult, handleError);
|
|
366
|
+
}
|
|
367
|
+
} catch (err) {
|
|
368
|
+
handleError(err);
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
handleResult(result);
|
|
372
|
+
}
|
|
373
|
+
validate.OPTIONS = config;
|
|
374
|
+
return validate;
|
|
375
|
+
}
|
|
376
|
+
function getIn(schema, path, value, context = value) {
|
|
377
|
+
let parent, lastPart, lastPartDebug;
|
|
378
|
+
if (!path) return {
|
|
379
|
+
parent,
|
|
380
|
+
parentPath: path,
|
|
381
|
+
schema
|
|
382
|
+
};
|
|
383
|
+
propertyExprExports.forEach(path, (_part, isBracket, isArray) => {
|
|
384
|
+
let part = isBracket ? _part.slice(1, _part.length - 1) : _part;
|
|
385
|
+
schema = schema.resolve({
|
|
386
|
+
context,
|
|
387
|
+
parent,
|
|
388
|
+
value
|
|
389
|
+
});
|
|
390
|
+
let isTuple = schema.type === "tuple";
|
|
391
|
+
let idx = isArray ? parseInt(part, 10) : 0;
|
|
392
|
+
if (schema.innerType || isTuple) {
|
|
393
|
+
if (isTuple && !isArray) throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${lastPartDebug}" must contain an index to the tuple element, e.g. "${lastPartDebug}[0]"`);
|
|
394
|
+
if (value && idx >= value.length) {
|
|
395
|
+
throw new Error(`Yup.reach cannot resolve an array item at index: ${_part}, in the path: ${path}. because there is no value at that index. `);
|
|
396
|
+
}
|
|
397
|
+
parent = value;
|
|
398
|
+
value = value && value[idx];
|
|
399
|
+
schema = isTuple ? schema.spec.types[idx] : schema.innerType;
|
|
400
|
+
}
|
|
401
|
+
if (!isArray) {
|
|
402
|
+
if (!schema.fields || !schema.fields[part]) throw new Error(`The schema does not contain the path: ${path}. (failed at: ${lastPartDebug} which is a type: "${schema.type}")`);
|
|
403
|
+
parent = value;
|
|
404
|
+
value = value && value[part];
|
|
405
|
+
schema = schema.fields[part];
|
|
406
|
+
}
|
|
407
|
+
lastPart = part;
|
|
408
|
+
lastPartDebug = isBracket ? "[" + _part + "]" : "." + _part;
|
|
409
|
+
});
|
|
410
|
+
return {
|
|
411
|
+
schema,
|
|
412
|
+
parent,
|
|
413
|
+
parentPath: lastPart
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
function reach(obj, path, value, context) {
|
|
417
|
+
return getIn(obj, path, value, context).schema;
|
|
418
|
+
}
|
|
419
|
+
class ReferenceSet extends Set {
|
|
420
|
+
describe() {
|
|
421
|
+
const description = [];
|
|
422
|
+
for (const item of this.values()) {
|
|
423
|
+
description.push(Reference.isRef(item) ? item.describe() : item);
|
|
424
|
+
}
|
|
425
|
+
return description;
|
|
426
|
+
}
|
|
427
|
+
resolveAll(resolve) {
|
|
428
|
+
let result = [];
|
|
429
|
+
for (const item of this.values()) {
|
|
430
|
+
result.push(resolve(item));
|
|
431
|
+
}
|
|
432
|
+
return result;
|
|
433
|
+
}
|
|
434
|
+
clone() {
|
|
435
|
+
return new ReferenceSet(this.values());
|
|
436
|
+
}
|
|
437
|
+
merge(newItems, removeItems) {
|
|
438
|
+
const next = this.clone();
|
|
439
|
+
newItems.forEach((value) => next.add(value));
|
|
440
|
+
removeItems.forEach((value) => next.delete(value));
|
|
441
|
+
return next;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
function clone(src, seen = /* @__PURE__ */ new Map()) {
|
|
445
|
+
if (isSchema(src) || !src || typeof src !== "object") return src;
|
|
446
|
+
if (seen.has(src)) return seen.get(src);
|
|
447
|
+
let copy;
|
|
448
|
+
if (src instanceof Date) {
|
|
449
|
+
copy = new Date(src.getTime());
|
|
450
|
+
seen.set(src, copy);
|
|
451
|
+
} else if (src instanceof RegExp) {
|
|
452
|
+
copy = new RegExp(src);
|
|
453
|
+
seen.set(src, copy);
|
|
454
|
+
} else if (Array.isArray(src)) {
|
|
455
|
+
copy = new Array(src.length);
|
|
456
|
+
seen.set(src, copy);
|
|
457
|
+
for (let i = 0; i < src.length; i++) copy[i] = clone(src[i], seen);
|
|
458
|
+
} else if (src instanceof Map) {
|
|
459
|
+
copy = /* @__PURE__ */ new Map();
|
|
460
|
+
seen.set(src, copy);
|
|
461
|
+
for (const [k, v] of src.entries()) copy.set(k, clone(v, seen));
|
|
462
|
+
} else if (src instanceof Set) {
|
|
463
|
+
copy = /* @__PURE__ */ new Set();
|
|
464
|
+
seen.set(src, copy);
|
|
465
|
+
for (const v of src) copy.add(clone(v, seen));
|
|
466
|
+
} else if (src instanceof Object) {
|
|
467
|
+
copy = {};
|
|
468
|
+
seen.set(src, copy);
|
|
469
|
+
for (const [k, v] of Object.entries(src)) copy[k] = clone(v, seen);
|
|
470
|
+
} else {
|
|
471
|
+
throw Error(`Unable to clone ${src}`);
|
|
472
|
+
}
|
|
473
|
+
return copy;
|
|
474
|
+
}
|
|
475
|
+
class Schema {
|
|
476
|
+
constructor(options) {
|
|
477
|
+
this.type = void 0;
|
|
478
|
+
this.deps = [];
|
|
479
|
+
this.tests = void 0;
|
|
480
|
+
this.transforms = void 0;
|
|
481
|
+
this.conditions = [];
|
|
482
|
+
this._mutate = void 0;
|
|
483
|
+
this.internalTests = {};
|
|
484
|
+
this._whitelist = new ReferenceSet();
|
|
485
|
+
this._blacklist = new ReferenceSet();
|
|
486
|
+
this.exclusiveTests = /* @__PURE__ */ Object.create(null);
|
|
487
|
+
this._typeCheck = void 0;
|
|
488
|
+
this.spec = void 0;
|
|
489
|
+
this.tests = [];
|
|
490
|
+
this.transforms = [];
|
|
491
|
+
this.withMutation(() => {
|
|
492
|
+
this.typeError(mixed.notType);
|
|
493
|
+
});
|
|
494
|
+
this.type = options.type;
|
|
495
|
+
this._typeCheck = options.check;
|
|
496
|
+
this.spec = Object.assign({
|
|
497
|
+
strip: false,
|
|
498
|
+
strict: false,
|
|
499
|
+
abortEarly: true,
|
|
500
|
+
recursive: true,
|
|
501
|
+
disableStackTrace: false,
|
|
502
|
+
nullable: false,
|
|
503
|
+
optional: true,
|
|
504
|
+
coerce: true
|
|
505
|
+
}, options == null ? void 0 : options.spec);
|
|
506
|
+
this.withMutation((s) => {
|
|
507
|
+
s.nonNullable();
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
// TODO: remove
|
|
511
|
+
get _type() {
|
|
512
|
+
return this.type;
|
|
513
|
+
}
|
|
514
|
+
clone(spec) {
|
|
515
|
+
if (this._mutate) {
|
|
516
|
+
if (spec) Object.assign(this.spec, spec);
|
|
517
|
+
return this;
|
|
518
|
+
}
|
|
519
|
+
const next = Object.create(Object.getPrototypeOf(this));
|
|
520
|
+
next.type = this.type;
|
|
521
|
+
next._typeCheck = this._typeCheck;
|
|
522
|
+
next._whitelist = this._whitelist.clone();
|
|
523
|
+
next._blacklist = this._blacklist.clone();
|
|
524
|
+
next.internalTests = Object.assign({}, this.internalTests);
|
|
525
|
+
next.exclusiveTests = Object.assign({}, this.exclusiveTests);
|
|
526
|
+
next.deps = [...this.deps];
|
|
527
|
+
next.conditions = [...this.conditions];
|
|
528
|
+
next.tests = [...this.tests];
|
|
529
|
+
next.transforms = [...this.transforms];
|
|
530
|
+
next.spec = clone(Object.assign({}, this.spec, spec));
|
|
531
|
+
return next;
|
|
532
|
+
}
|
|
533
|
+
label(label) {
|
|
534
|
+
let next = this.clone();
|
|
535
|
+
next.spec.label = label;
|
|
536
|
+
return next;
|
|
537
|
+
}
|
|
538
|
+
meta(...args) {
|
|
539
|
+
if (args.length === 0) return this.spec.meta;
|
|
540
|
+
let next = this.clone();
|
|
541
|
+
next.spec.meta = Object.assign(next.spec.meta || {}, args[0]);
|
|
542
|
+
return next;
|
|
543
|
+
}
|
|
544
|
+
withMutation(fn) {
|
|
545
|
+
let before = this._mutate;
|
|
546
|
+
this._mutate = true;
|
|
547
|
+
let result = fn(this);
|
|
548
|
+
this._mutate = before;
|
|
549
|
+
return result;
|
|
550
|
+
}
|
|
551
|
+
concat(schema) {
|
|
552
|
+
if (!schema || schema === this) return this;
|
|
553
|
+
if (schema.type !== this.type && this.type !== "mixed") throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${schema.type}`);
|
|
554
|
+
let base = this;
|
|
555
|
+
let combined = schema.clone();
|
|
556
|
+
const mergedSpec = Object.assign({}, base.spec, combined.spec);
|
|
557
|
+
combined.spec = mergedSpec;
|
|
558
|
+
combined.internalTests = Object.assign({}, base.internalTests, combined.internalTests);
|
|
559
|
+
combined._whitelist = base._whitelist.merge(schema._whitelist, schema._blacklist);
|
|
560
|
+
combined._blacklist = base._blacklist.merge(schema._blacklist, schema._whitelist);
|
|
561
|
+
combined.tests = base.tests;
|
|
562
|
+
combined.exclusiveTests = base.exclusiveTests;
|
|
563
|
+
combined.withMutation((next) => {
|
|
564
|
+
schema.tests.forEach((fn) => {
|
|
565
|
+
next.test(fn.OPTIONS);
|
|
566
|
+
});
|
|
567
|
+
});
|
|
568
|
+
combined.transforms = [...base.transforms, ...combined.transforms];
|
|
569
|
+
return combined;
|
|
570
|
+
}
|
|
571
|
+
isType(v) {
|
|
572
|
+
if (v == null) {
|
|
573
|
+
if (this.spec.nullable && v === null) return true;
|
|
574
|
+
if (this.spec.optional && v === void 0) return true;
|
|
575
|
+
return false;
|
|
576
|
+
}
|
|
577
|
+
return this._typeCheck(v);
|
|
578
|
+
}
|
|
579
|
+
resolve(options) {
|
|
580
|
+
let schema = this;
|
|
581
|
+
if (schema.conditions.length) {
|
|
582
|
+
let conditions = schema.conditions;
|
|
583
|
+
schema = schema.clone();
|
|
584
|
+
schema.conditions = [];
|
|
585
|
+
schema = conditions.reduce((prevSchema, condition) => condition.resolve(prevSchema, options), schema);
|
|
586
|
+
schema = schema.resolve(options);
|
|
587
|
+
}
|
|
588
|
+
return schema;
|
|
589
|
+
}
|
|
590
|
+
resolveOptions(options) {
|
|
591
|
+
var _options$strict, _options$abortEarly, _options$recursive, _options$disableStack;
|
|
592
|
+
return Object.assign({}, options, {
|
|
593
|
+
from: options.from || [],
|
|
594
|
+
strict: (_options$strict = options.strict) != null ? _options$strict : this.spec.strict,
|
|
595
|
+
abortEarly: (_options$abortEarly = options.abortEarly) != null ? _options$abortEarly : this.spec.abortEarly,
|
|
596
|
+
recursive: (_options$recursive = options.recursive) != null ? _options$recursive : this.spec.recursive,
|
|
597
|
+
disableStackTrace: (_options$disableStack = options.disableStackTrace) != null ? _options$disableStack : this.spec.disableStackTrace
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Run the configured transform pipeline over an input value.
|
|
602
|
+
*/
|
|
603
|
+
cast(value, options = {}) {
|
|
604
|
+
let resolvedSchema = this.resolve(Object.assign({
|
|
605
|
+
value
|
|
606
|
+
}, options));
|
|
607
|
+
let allowOptionality = options.assert === "ignore-optionality";
|
|
608
|
+
let result = resolvedSchema._cast(value, options);
|
|
609
|
+
if (options.assert !== false && !resolvedSchema.isType(result)) {
|
|
610
|
+
if (allowOptionality && isAbsent(result)) {
|
|
611
|
+
return result;
|
|
612
|
+
}
|
|
613
|
+
let formattedValue = printValue(value);
|
|
614
|
+
let formattedResult = printValue(result);
|
|
615
|
+
throw new TypeError(`The value of ${options.path || "field"} could not be cast to a value that satisfies the schema type: "${resolvedSchema.type}".
|
|
616
|
+
|
|
617
|
+
attempted value: ${formattedValue}
|
|
618
|
+
` + (formattedResult !== formattedValue ? `result of cast: ${formattedResult}` : ""));
|
|
619
|
+
}
|
|
620
|
+
return result;
|
|
621
|
+
}
|
|
622
|
+
_cast(rawValue, options) {
|
|
623
|
+
let value = rawValue === void 0 ? rawValue : this.transforms.reduce((prevValue, fn) => fn.call(this, prevValue, rawValue, this), rawValue);
|
|
624
|
+
if (value === void 0) {
|
|
625
|
+
value = this.getDefault(options);
|
|
626
|
+
}
|
|
627
|
+
return value;
|
|
628
|
+
}
|
|
629
|
+
_validate(_value, options = {}, panic, next) {
|
|
630
|
+
let {
|
|
631
|
+
path,
|
|
632
|
+
originalValue = _value,
|
|
633
|
+
strict = this.spec.strict
|
|
634
|
+
} = options;
|
|
635
|
+
let value = _value;
|
|
636
|
+
if (!strict) {
|
|
637
|
+
value = this._cast(value, Object.assign({
|
|
638
|
+
assert: false
|
|
639
|
+
}, options));
|
|
640
|
+
}
|
|
641
|
+
let initialTests = [];
|
|
642
|
+
for (let test of Object.values(this.internalTests)) {
|
|
643
|
+
if (test) initialTests.push(test);
|
|
644
|
+
}
|
|
645
|
+
this.runTests({
|
|
646
|
+
path,
|
|
647
|
+
value,
|
|
648
|
+
originalValue,
|
|
649
|
+
options,
|
|
650
|
+
tests: initialTests
|
|
651
|
+
}, panic, (initialErrors) => {
|
|
652
|
+
if (initialErrors.length) {
|
|
653
|
+
return next(initialErrors, value);
|
|
654
|
+
}
|
|
655
|
+
this.runTests({
|
|
656
|
+
path,
|
|
657
|
+
value,
|
|
658
|
+
originalValue,
|
|
659
|
+
options,
|
|
660
|
+
tests: this.tests
|
|
661
|
+
}, panic, next);
|
|
662
|
+
});
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* Executes a set of validations, either schema, produced Tests or a nested
|
|
666
|
+
* schema validate result.
|
|
667
|
+
*/
|
|
668
|
+
runTests(runOptions, panic, next) {
|
|
669
|
+
let fired = false;
|
|
670
|
+
let {
|
|
671
|
+
tests,
|
|
672
|
+
value,
|
|
673
|
+
originalValue,
|
|
674
|
+
path,
|
|
675
|
+
options
|
|
676
|
+
} = runOptions;
|
|
677
|
+
let panicOnce = (arg) => {
|
|
678
|
+
if (fired) return;
|
|
679
|
+
fired = true;
|
|
680
|
+
panic(arg, value);
|
|
681
|
+
};
|
|
682
|
+
let nextOnce = (arg) => {
|
|
683
|
+
if (fired) return;
|
|
684
|
+
fired = true;
|
|
685
|
+
next(arg, value);
|
|
686
|
+
};
|
|
687
|
+
let count = tests.length;
|
|
688
|
+
let nestedErrors = [];
|
|
689
|
+
if (!count) return nextOnce([]);
|
|
690
|
+
let args = {
|
|
691
|
+
value,
|
|
692
|
+
originalValue,
|
|
693
|
+
path,
|
|
694
|
+
options,
|
|
695
|
+
schema: this
|
|
696
|
+
};
|
|
697
|
+
for (let i = 0; i < tests.length; i++) {
|
|
698
|
+
const test = tests[i];
|
|
699
|
+
test(args, panicOnce, function finishTestRun(err) {
|
|
700
|
+
if (err) {
|
|
701
|
+
Array.isArray(err) ? nestedErrors.push(...err) : nestedErrors.push(err);
|
|
702
|
+
}
|
|
703
|
+
if (--count <= 0) {
|
|
704
|
+
nextOnce(nestedErrors);
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
asNestedTest({
|
|
710
|
+
key,
|
|
711
|
+
index,
|
|
712
|
+
parent,
|
|
713
|
+
parentPath,
|
|
714
|
+
originalParent,
|
|
715
|
+
options
|
|
716
|
+
}) {
|
|
717
|
+
const k = key != null ? key : index;
|
|
718
|
+
if (k == null) {
|
|
719
|
+
throw TypeError("Must include `key` or `index` for nested validations");
|
|
720
|
+
}
|
|
721
|
+
const isIndex = typeof k === "number";
|
|
722
|
+
let value = parent[k];
|
|
723
|
+
const testOptions = Object.assign({}, options, {
|
|
724
|
+
// Nested validations fields are always strict:
|
|
725
|
+
// 1. parent isn't strict so the casting will also have cast inner values
|
|
726
|
+
// 2. parent is strict in which case the nested values weren't cast either
|
|
727
|
+
strict: true,
|
|
728
|
+
parent,
|
|
729
|
+
value,
|
|
730
|
+
originalValue: originalParent[k],
|
|
731
|
+
// FIXME: tests depend on `index` being passed around deeply,
|
|
732
|
+
// we should not let the options.key/index bleed through
|
|
733
|
+
key: void 0,
|
|
734
|
+
// index: undefined,
|
|
735
|
+
[isIndex ? "index" : "key"]: k,
|
|
736
|
+
path: isIndex || k.includes(".") ? `${parentPath || ""}[${isIndex ? k : `"${k}"`}]` : (parentPath ? `${parentPath}.` : "") + key
|
|
737
|
+
});
|
|
738
|
+
return (_, panic, next) => this.resolve(testOptions)._validate(value, testOptions, panic, next);
|
|
739
|
+
}
|
|
740
|
+
validate(value, options) {
|
|
741
|
+
var _options$disableStack2;
|
|
742
|
+
let schema = this.resolve(Object.assign({}, options, {
|
|
743
|
+
value
|
|
744
|
+
}));
|
|
745
|
+
let disableStackTrace = (_options$disableStack2 = options == null ? void 0 : options.disableStackTrace) != null ? _options$disableStack2 : schema.spec.disableStackTrace;
|
|
746
|
+
return new Promise((resolve, reject) => schema._validate(value, options, (error, parsed) => {
|
|
747
|
+
if (ValidationError.isError(error)) error.value = parsed;
|
|
748
|
+
reject(error);
|
|
749
|
+
}, (errors, validated) => {
|
|
750
|
+
if (errors.length) reject(new ValidationError(errors, validated, void 0, void 0, disableStackTrace));
|
|
751
|
+
else resolve(validated);
|
|
752
|
+
}));
|
|
753
|
+
}
|
|
754
|
+
validateSync(value, options) {
|
|
755
|
+
var _options$disableStack3;
|
|
756
|
+
let schema = this.resolve(Object.assign({}, options, {
|
|
757
|
+
value
|
|
758
|
+
}));
|
|
759
|
+
let result;
|
|
760
|
+
let disableStackTrace = (_options$disableStack3 = options == null ? void 0 : options.disableStackTrace) != null ? _options$disableStack3 : schema.spec.disableStackTrace;
|
|
761
|
+
schema._validate(value, Object.assign({}, options, {
|
|
762
|
+
sync: true
|
|
763
|
+
}), (error, parsed) => {
|
|
764
|
+
if (ValidationError.isError(error)) error.value = parsed;
|
|
765
|
+
throw error;
|
|
766
|
+
}, (errors, validated) => {
|
|
767
|
+
if (errors.length) throw new ValidationError(errors, value, void 0, void 0, disableStackTrace);
|
|
768
|
+
result = validated;
|
|
769
|
+
});
|
|
770
|
+
return result;
|
|
771
|
+
}
|
|
772
|
+
isValid(value, options) {
|
|
773
|
+
return this.validate(value, options).then(() => true, (err) => {
|
|
774
|
+
if (ValidationError.isError(err)) return false;
|
|
775
|
+
throw err;
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
isValidSync(value, options) {
|
|
779
|
+
try {
|
|
780
|
+
this.validateSync(value, options);
|
|
781
|
+
return true;
|
|
782
|
+
} catch (err) {
|
|
783
|
+
if (ValidationError.isError(err)) return false;
|
|
784
|
+
throw err;
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
_getDefault(options) {
|
|
788
|
+
let defaultValue = this.spec.default;
|
|
789
|
+
if (defaultValue == null) {
|
|
790
|
+
return defaultValue;
|
|
791
|
+
}
|
|
792
|
+
return typeof defaultValue === "function" ? defaultValue.call(this, options) : clone(defaultValue);
|
|
793
|
+
}
|
|
794
|
+
getDefault(options) {
|
|
795
|
+
let schema = this.resolve(options || {});
|
|
796
|
+
return schema._getDefault(options);
|
|
797
|
+
}
|
|
798
|
+
default(def) {
|
|
799
|
+
if (arguments.length === 0) {
|
|
800
|
+
return this._getDefault();
|
|
801
|
+
}
|
|
802
|
+
let next = this.clone({
|
|
803
|
+
default: def
|
|
804
|
+
});
|
|
805
|
+
return next;
|
|
806
|
+
}
|
|
807
|
+
strict(isStrict = true) {
|
|
808
|
+
return this.clone({
|
|
809
|
+
strict: isStrict
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
nullability(nullable, message) {
|
|
813
|
+
const next = this.clone({
|
|
814
|
+
nullable
|
|
815
|
+
});
|
|
816
|
+
next.internalTests.nullable = createValidation({
|
|
817
|
+
message,
|
|
818
|
+
name: "nullable",
|
|
819
|
+
test(value) {
|
|
820
|
+
return value === null ? this.schema.spec.nullable : true;
|
|
821
|
+
}
|
|
822
|
+
});
|
|
823
|
+
return next;
|
|
824
|
+
}
|
|
825
|
+
optionality(optional, message) {
|
|
826
|
+
const next = this.clone({
|
|
827
|
+
optional
|
|
828
|
+
});
|
|
829
|
+
next.internalTests.optionality = createValidation({
|
|
830
|
+
message,
|
|
831
|
+
name: "optionality",
|
|
832
|
+
test(value) {
|
|
833
|
+
return value === void 0 ? this.schema.spec.optional : true;
|
|
834
|
+
}
|
|
835
|
+
});
|
|
836
|
+
return next;
|
|
837
|
+
}
|
|
838
|
+
optional() {
|
|
839
|
+
return this.optionality(true);
|
|
840
|
+
}
|
|
841
|
+
defined(message = mixed.defined) {
|
|
842
|
+
return this.optionality(false, message);
|
|
843
|
+
}
|
|
844
|
+
nullable() {
|
|
845
|
+
return this.nullability(true);
|
|
846
|
+
}
|
|
847
|
+
nonNullable(message = mixed.notNull) {
|
|
848
|
+
return this.nullability(false, message);
|
|
849
|
+
}
|
|
850
|
+
required(message = mixed.required) {
|
|
851
|
+
return this.clone().withMutation((next) => next.nonNullable(message).defined(message));
|
|
852
|
+
}
|
|
853
|
+
notRequired() {
|
|
854
|
+
return this.clone().withMutation((next) => next.nullable().optional());
|
|
855
|
+
}
|
|
856
|
+
transform(fn) {
|
|
857
|
+
let next = this.clone();
|
|
858
|
+
next.transforms.push(fn);
|
|
859
|
+
return next;
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* Adds a test function to the schema's queue of tests.
|
|
863
|
+
* tests can be exclusive or non-exclusive.
|
|
864
|
+
*
|
|
865
|
+
* - exclusive tests, will replace any existing tests of the same name.
|
|
866
|
+
* - non-exclusive: can be stacked
|
|
867
|
+
*
|
|
868
|
+
* If a non-exclusive test is added to a schema with an exclusive test of the same name
|
|
869
|
+
* the exclusive test is removed and further tests of the same name will be stacked.
|
|
870
|
+
*
|
|
871
|
+
* If an exclusive test is added to a schema with non-exclusive tests of the same name
|
|
872
|
+
* the previous tests are removed and further tests of the same name will replace each other.
|
|
873
|
+
*/
|
|
874
|
+
test(...args) {
|
|
875
|
+
let opts;
|
|
876
|
+
if (args.length === 1) {
|
|
877
|
+
if (typeof args[0] === "function") {
|
|
878
|
+
opts = {
|
|
879
|
+
test: args[0]
|
|
880
|
+
};
|
|
881
|
+
} else {
|
|
882
|
+
opts = args[0];
|
|
883
|
+
}
|
|
884
|
+
} else if (args.length === 2) {
|
|
885
|
+
opts = {
|
|
886
|
+
name: args[0],
|
|
887
|
+
test: args[1]
|
|
888
|
+
};
|
|
889
|
+
} else {
|
|
890
|
+
opts = {
|
|
891
|
+
name: args[0],
|
|
892
|
+
message: args[1],
|
|
893
|
+
test: args[2]
|
|
894
|
+
};
|
|
895
|
+
}
|
|
896
|
+
if (opts.message === void 0) opts.message = mixed.default;
|
|
897
|
+
if (typeof opts.test !== "function") throw new TypeError("`test` is a required parameters");
|
|
898
|
+
let next = this.clone();
|
|
899
|
+
let validate = createValidation(opts);
|
|
900
|
+
let isExclusive = opts.exclusive || opts.name && next.exclusiveTests[opts.name] === true;
|
|
901
|
+
if (opts.exclusive) {
|
|
902
|
+
if (!opts.name) throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");
|
|
903
|
+
}
|
|
904
|
+
if (opts.name) next.exclusiveTests[opts.name] = !!opts.exclusive;
|
|
905
|
+
next.tests = next.tests.filter((fn) => {
|
|
906
|
+
if (fn.OPTIONS.name === opts.name) {
|
|
907
|
+
if (isExclusive) return false;
|
|
908
|
+
if (fn.OPTIONS.test === validate.OPTIONS.test) return false;
|
|
909
|
+
}
|
|
910
|
+
return true;
|
|
911
|
+
});
|
|
912
|
+
next.tests.push(validate);
|
|
913
|
+
return next;
|
|
914
|
+
}
|
|
915
|
+
when(keys, options) {
|
|
916
|
+
if (!Array.isArray(keys) && typeof keys !== "string") {
|
|
917
|
+
options = keys;
|
|
918
|
+
keys = ".";
|
|
919
|
+
}
|
|
920
|
+
let next = this.clone();
|
|
921
|
+
let deps = toArray(keys).map((key) => new Reference(key));
|
|
922
|
+
deps.forEach((dep) => {
|
|
923
|
+
if (dep.isSibling) next.deps.push(dep.key);
|
|
924
|
+
});
|
|
925
|
+
next.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
|
|
926
|
+
return next;
|
|
927
|
+
}
|
|
928
|
+
typeError(message) {
|
|
929
|
+
let next = this.clone();
|
|
930
|
+
next.internalTests.typeError = createValidation({
|
|
931
|
+
message,
|
|
932
|
+
name: "typeError",
|
|
933
|
+
skipAbsent: true,
|
|
934
|
+
test(value) {
|
|
935
|
+
if (!this.schema._typeCheck(value)) return this.createError({
|
|
936
|
+
params: {
|
|
937
|
+
type: this.schema.type
|
|
938
|
+
}
|
|
939
|
+
});
|
|
940
|
+
return true;
|
|
941
|
+
}
|
|
942
|
+
});
|
|
943
|
+
return next;
|
|
944
|
+
}
|
|
945
|
+
oneOf(enums, message = mixed.oneOf) {
|
|
946
|
+
let next = this.clone();
|
|
947
|
+
enums.forEach((val) => {
|
|
948
|
+
next._whitelist.add(val);
|
|
949
|
+
next._blacklist.delete(val);
|
|
950
|
+
});
|
|
951
|
+
next.internalTests.whiteList = createValidation({
|
|
952
|
+
message,
|
|
953
|
+
name: "oneOf",
|
|
954
|
+
skipAbsent: true,
|
|
955
|
+
test(value) {
|
|
956
|
+
let valids = this.schema._whitelist;
|
|
957
|
+
let resolved = valids.resolveAll(this.resolve);
|
|
958
|
+
return resolved.includes(value) ? true : this.createError({
|
|
959
|
+
params: {
|
|
960
|
+
values: Array.from(valids).join(", "),
|
|
961
|
+
resolved
|
|
962
|
+
}
|
|
963
|
+
});
|
|
964
|
+
}
|
|
965
|
+
});
|
|
966
|
+
return next;
|
|
967
|
+
}
|
|
968
|
+
notOneOf(enums, message = mixed.notOneOf) {
|
|
969
|
+
let next = this.clone();
|
|
970
|
+
enums.forEach((val) => {
|
|
971
|
+
next._blacklist.add(val);
|
|
972
|
+
next._whitelist.delete(val);
|
|
973
|
+
});
|
|
974
|
+
next.internalTests.blacklist = createValidation({
|
|
975
|
+
message,
|
|
976
|
+
name: "notOneOf",
|
|
977
|
+
test(value) {
|
|
978
|
+
let invalids = this.schema._blacklist;
|
|
979
|
+
let resolved = invalids.resolveAll(this.resolve);
|
|
980
|
+
if (resolved.includes(value)) return this.createError({
|
|
981
|
+
params: {
|
|
982
|
+
values: Array.from(invalids).join(", "),
|
|
983
|
+
resolved
|
|
984
|
+
}
|
|
985
|
+
});
|
|
986
|
+
return true;
|
|
987
|
+
}
|
|
988
|
+
});
|
|
989
|
+
return next;
|
|
990
|
+
}
|
|
991
|
+
strip(strip = true) {
|
|
992
|
+
let next = this.clone();
|
|
993
|
+
next.spec.strip = strip;
|
|
994
|
+
return next;
|
|
995
|
+
}
|
|
996
|
+
/**
|
|
997
|
+
* Return a serialized description of the schema including validations, flags, types etc.
|
|
998
|
+
*
|
|
999
|
+
* @param options Provide any needed context for resolving runtime schema alterations (lazy, when conditions, etc).
|
|
1000
|
+
*/
|
|
1001
|
+
describe(options) {
|
|
1002
|
+
const next = (options ? this.resolve(options) : this).clone();
|
|
1003
|
+
const {
|
|
1004
|
+
label,
|
|
1005
|
+
meta,
|
|
1006
|
+
optional,
|
|
1007
|
+
nullable
|
|
1008
|
+
} = next.spec;
|
|
1009
|
+
const description = {
|
|
1010
|
+
meta,
|
|
1011
|
+
label,
|
|
1012
|
+
optional,
|
|
1013
|
+
nullable,
|
|
1014
|
+
default: next.getDefault(options),
|
|
1015
|
+
type: next.type,
|
|
1016
|
+
oneOf: next._whitelist.describe(),
|
|
1017
|
+
notOneOf: next._blacklist.describe(),
|
|
1018
|
+
tests: next.tests.map((fn) => ({
|
|
1019
|
+
name: fn.OPTIONS.name,
|
|
1020
|
+
params: fn.OPTIONS.params
|
|
1021
|
+
})).filter((n, idx, list) => list.findIndex((c) => c.name === n.name) === idx)
|
|
1022
|
+
};
|
|
1023
|
+
return description;
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
Schema.prototype.__isYupSchema__ = true;
|
|
1027
|
+
for (const method of ["validate", "validateSync"]) Schema.prototype[`${method}At`] = function(path, value, options = {}) {
|
|
1028
|
+
const {
|
|
1029
|
+
parent,
|
|
1030
|
+
parentPath,
|
|
1031
|
+
schema
|
|
1032
|
+
} = getIn(this, path, value, options.context);
|
|
1033
|
+
return schema[method](parent && parent[parentPath], Object.assign({}, options, {
|
|
1034
|
+
parent,
|
|
1035
|
+
path
|
|
1036
|
+
}));
|
|
1037
|
+
};
|
|
1038
|
+
for (const alias of ["equals", "is"]) Schema.prototype[alias] = Schema.prototype.oneOf;
|
|
1039
|
+
for (const alias of ["not", "nope"]) Schema.prototype[alias] = Schema.prototype.notOneOf;
|
|
1040
|
+
const returnsTrue = () => true;
|
|
1041
|
+
function create$8(spec) {
|
|
1042
|
+
return new MixedSchema(spec);
|
|
1043
|
+
}
|
|
1044
|
+
class MixedSchema extends Schema {
|
|
1045
|
+
constructor(spec) {
|
|
1046
|
+
super(typeof spec === "function" ? {
|
|
1047
|
+
type: "mixed",
|
|
1048
|
+
check: spec
|
|
1049
|
+
} : Object.assign({
|
|
1050
|
+
type: "mixed",
|
|
1051
|
+
check: returnsTrue
|
|
1052
|
+
}, spec));
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
create$8.prototype = MixedSchema.prototype;
|
|
1056
|
+
function create$7() {
|
|
1057
|
+
return new BooleanSchema();
|
|
1058
|
+
}
|
|
1059
|
+
class BooleanSchema extends Schema {
|
|
1060
|
+
constructor() {
|
|
1061
|
+
super({
|
|
1062
|
+
type: "boolean",
|
|
1063
|
+
check(v) {
|
|
1064
|
+
if (v instanceof Boolean) v = v.valueOf();
|
|
1065
|
+
return typeof v === "boolean";
|
|
1066
|
+
}
|
|
1067
|
+
});
|
|
1068
|
+
this.withMutation(() => {
|
|
1069
|
+
this.transform((value, _raw, ctx) => {
|
|
1070
|
+
if (ctx.spec.coerce && !ctx.isType(value)) {
|
|
1071
|
+
if (/^(true|1)$/i.test(String(value))) return true;
|
|
1072
|
+
if (/^(false|0)$/i.test(String(value))) return false;
|
|
1073
|
+
}
|
|
1074
|
+
return value;
|
|
1075
|
+
});
|
|
1076
|
+
});
|
|
1077
|
+
}
|
|
1078
|
+
isTrue(message = boolean.isValue) {
|
|
1079
|
+
return this.test({
|
|
1080
|
+
message,
|
|
1081
|
+
name: "is-value",
|
|
1082
|
+
exclusive: true,
|
|
1083
|
+
params: {
|
|
1084
|
+
value: "true"
|
|
1085
|
+
},
|
|
1086
|
+
test(value) {
|
|
1087
|
+
return isAbsent(value) || value === true;
|
|
1088
|
+
}
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
1091
|
+
isFalse(message = boolean.isValue) {
|
|
1092
|
+
return this.test({
|
|
1093
|
+
message,
|
|
1094
|
+
name: "is-value",
|
|
1095
|
+
exclusive: true,
|
|
1096
|
+
params: {
|
|
1097
|
+
value: "false"
|
|
1098
|
+
},
|
|
1099
|
+
test(value) {
|
|
1100
|
+
return isAbsent(value) || value === false;
|
|
1101
|
+
}
|
|
1102
|
+
});
|
|
1103
|
+
}
|
|
1104
|
+
default(def) {
|
|
1105
|
+
return super.default(def);
|
|
1106
|
+
}
|
|
1107
|
+
defined(msg) {
|
|
1108
|
+
return super.defined(msg);
|
|
1109
|
+
}
|
|
1110
|
+
optional() {
|
|
1111
|
+
return super.optional();
|
|
1112
|
+
}
|
|
1113
|
+
required(msg) {
|
|
1114
|
+
return super.required(msg);
|
|
1115
|
+
}
|
|
1116
|
+
notRequired() {
|
|
1117
|
+
return super.notRequired();
|
|
1118
|
+
}
|
|
1119
|
+
nullable() {
|
|
1120
|
+
return super.nullable();
|
|
1121
|
+
}
|
|
1122
|
+
nonNullable(msg) {
|
|
1123
|
+
return super.nonNullable(msg);
|
|
1124
|
+
}
|
|
1125
|
+
strip(v) {
|
|
1126
|
+
return super.strip(v);
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
create$7.prototype = BooleanSchema.prototype;
|
|
1130
|
+
const isoReg = /^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;
|
|
1131
|
+
function parseIsoDate(date2) {
|
|
1132
|
+
const struct = parseDateStruct(date2);
|
|
1133
|
+
if (!struct) return Date.parse ? Date.parse(date2) : Number.NaN;
|
|
1134
|
+
if (struct.z === void 0 && struct.plusMinus === void 0) {
|
|
1135
|
+
return new Date(struct.year, struct.month, struct.day, struct.hour, struct.minute, struct.second, struct.millisecond).valueOf();
|
|
1136
|
+
}
|
|
1137
|
+
let totalMinutesOffset = 0;
|
|
1138
|
+
if (struct.z !== "Z" && struct.plusMinus !== void 0) {
|
|
1139
|
+
totalMinutesOffset = struct.hourOffset * 60 + struct.minuteOffset;
|
|
1140
|
+
if (struct.plusMinus === "+") totalMinutesOffset = 0 - totalMinutesOffset;
|
|
1141
|
+
}
|
|
1142
|
+
return Date.UTC(struct.year, struct.month, struct.day, struct.hour, struct.minute + totalMinutesOffset, struct.second, struct.millisecond);
|
|
1143
|
+
}
|
|
1144
|
+
function parseDateStruct(date2) {
|
|
1145
|
+
var _regexResult$7$length, _regexResult$;
|
|
1146
|
+
const regexResult = isoReg.exec(date2);
|
|
1147
|
+
if (!regexResult) return null;
|
|
1148
|
+
return {
|
|
1149
|
+
year: toNumber(regexResult[1]),
|
|
1150
|
+
month: toNumber(regexResult[2], 1) - 1,
|
|
1151
|
+
day: toNumber(regexResult[3], 1),
|
|
1152
|
+
hour: toNumber(regexResult[4]),
|
|
1153
|
+
minute: toNumber(regexResult[5]),
|
|
1154
|
+
second: toNumber(regexResult[6]),
|
|
1155
|
+
millisecond: regexResult[7] ? (
|
|
1156
|
+
// allow arbitrary sub-second precision beyond milliseconds
|
|
1157
|
+
toNumber(regexResult[7].substring(0, 3))
|
|
1158
|
+
) : 0,
|
|
1159
|
+
precision: (_regexResult$7$length = (_regexResult$ = regexResult[7]) == null ? void 0 : _regexResult$.length) != null ? _regexResult$7$length : void 0,
|
|
1160
|
+
z: regexResult[8] || void 0,
|
|
1161
|
+
plusMinus: regexResult[9] || void 0,
|
|
1162
|
+
hourOffset: toNumber(regexResult[10]),
|
|
1163
|
+
minuteOffset: toNumber(regexResult[11])
|
|
1164
|
+
};
|
|
1165
|
+
}
|
|
1166
|
+
function toNumber(str, defaultValue = 0) {
|
|
1167
|
+
return Number(str) || defaultValue;
|
|
1168
|
+
}
|
|
1169
|
+
let rEmail = (
|
|
1170
|
+
// eslint-disable-next-line
|
|
1171
|
+
/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/
|
|
1172
|
+
);
|
|
1173
|
+
let rUrl = (
|
|
1174
|
+
// eslint-disable-next-line
|
|
1175
|
+
/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i
|
|
1176
|
+
);
|
|
1177
|
+
let rUUID = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
1178
|
+
let yearMonthDay = "^\\d{4}-\\d{2}-\\d{2}";
|
|
1179
|
+
let hourMinuteSecond = "\\d{2}:\\d{2}:\\d{2}";
|
|
1180
|
+
let zOrOffset = "(([+-]\\d{2}(:?\\d{2})?)|Z)";
|
|
1181
|
+
let rIsoDateTime = new RegExp(`${yearMonthDay}T${hourMinuteSecond}(\\.\\d+)?${zOrOffset}$`);
|
|
1182
|
+
let isTrimmed = (value) => isAbsent(value) || value === value.trim();
|
|
1183
|
+
let objStringTag = {}.toString();
|
|
1184
|
+
function create$6() {
|
|
1185
|
+
return new StringSchema();
|
|
1186
|
+
}
|
|
1187
|
+
class StringSchema extends Schema {
|
|
1188
|
+
constructor() {
|
|
1189
|
+
super({
|
|
1190
|
+
type: "string",
|
|
1191
|
+
check(value) {
|
|
1192
|
+
if (value instanceof String) value = value.valueOf();
|
|
1193
|
+
return typeof value === "string";
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
this.withMutation(() => {
|
|
1197
|
+
this.transform((value, _raw, ctx) => {
|
|
1198
|
+
if (!ctx.spec.coerce || ctx.isType(value)) return value;
|
|
1199
|
+
if (Array.isArray(value)) return value;
|
|
1200
|
+
const strValue = value != null && value.toString ? value.toString() : value;
|
|
1201
|
+
if (strValue === objStringTag) return value;
|
|
1202
|
+
return strValue;
|
|
1203
|
+
});
|
|
1204
|
+
});
|
|
1205
|
+
}
|
|
1206
|
+
required(message) {
|
|
1207
|
+
return super.required(message).withMutation((schema) => schema.test({
|
|
1208
|
+
message: message || mixed.required,
|
|
1209
|
+
name: "required",
|
|
1210
|
+
skipAbsent: true,
|
|
1211
|
+
test: (value) => !!value.length
|
|
1212
|
+
}));
|
|
1213
|
+
}
|
|
1214
|
+
notRequired() {
|
|
1215
|
+
return super.notRequired().withMutation((schema) => {
|
|
1216
|
+
schema.tests = schema.tests.filter((t) => t.OPTIONS.name !== "required");
|
|
1217
|
+
return schema;
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
length(length, message = string.length) {
|
|
1221
|
+
return this.test({
|
|
1222
|
+
message,
|
|
1223
|
+
name: "length",
|
|
1224
|
+
exclusive: true,
|
|
1225
|
+
params: {
|
|
1226
|
+
length
|
|
1227
|
+
},
|
|
1228
|
+
skipAbsent: true,
|
|
1229
|
+
test(value) {
|
|
1230
|
+
return value.length === this.resolve(length);
|
|
1231
|
+
}
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
min(min, message = string.min) {
|
|
1235
|
+
return this.test({
|
|
1236
|
+
message,
|
|
1237
|
+
name: "min",
|
|
1238
|
+
exclusive: true,
|
|
1239
|
+
params: {
|
|
1240
|
+
min
|
|
1241
|
+
},
|
|
1242
|
+
skipAbsent: true,
|
|
1243
|
+
test(value) {
|
|
1244
|
+
return value.length >= this.resolve(min);
|
|
1245
|
+
}
|
|
1246
|
+
});
|
|
1247
|
+
}
|
|
1248
|
+
max(max, message = string.max) {
|
|
1249
|
+
return this.test({
|
|
1250
|
+
name: "max",
|
|
1251
|
+
exclusive: true,
|
|
1252
|
+
message,
|
|
1253
|
+
params: {
|
|
1254
|
+
max
|
|
1255
|
+
},
|
|
1256
|
+
skipAbsent: true,
|
|
1257
|
+
test(value) {
|
|
1258
|
+
return value.length <= this.resolve(max);
|
|
1259
|
+
}
|
|
1260
|
+
});
|
|
1261
|
+
}
|
|
1262
|
+
matches(regex, options) {
|
|
1263
|
+
let excludeEmptyString = false;
|
|
1264
|
+
let message;
|
|
1265
|
+
let name;
|
|
1266
|
+
if (options) {
|
|
1267
|
+
if (typeof options === "object") {
|
|
1268
|
+
({
|
|
1269
|
+
excludeEmptyString = false,
|
|
1270
|
+
message,
|
|
1271
|
+
name
|
|
1272
|
+
} = options);
|
|
1273
|
+
} else {
|
|
1274
|
+
message = options;
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
return this.test({
|
|
1278
|
+
name: name || "matches",
|
|
1279
|
+
message: message || string.matches,
|
|
1280
|
+
params: {
|
|
1281
|
+
regex
|
|
1282
|
+
},
|
|
1283
|
+
skipAbsent: true,
|
|
1284
|
+
test: (value) => value === "" && excludeEmptyString || value.search(regex) !== -1
|
|
1285
|
+
});
|
|
1286
|
+
}
|
|
1287
|
+
email(message = string.email) {
|
|
1288
|
+
return this.matches(rEmail, {
|
|
1289
|
+
name: "email",
|
|
1290
|
+
message,
|
|
1291
|
+
excludeEmptyString: true
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
url(message = string.url) {
|
|
1295
|
+
return this.matches(rUrl, {
|
|
1296
|
+
name: "url",
|
|
1297
|
+
message,
|
|
1298
|
+
excludeEmptyString: true
|
|
1299
|
+
});
|
|
1300
|
+
}
|
|
1301
|
+
uuid(message = string.uuid) {
|
|
1302
|
+
return this.matches(rUUID, {
|
|
1303
|
+
name: "uuid",
|
|
1304
|
+
message,
|
|
1305
|
+
excludeEmptyString: false
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1308
|
+
datetime(options) {
|
|
1309
|
+
let message = "";
|
|
1310
|
+
let allowOffset;
|
|
1311
|
+
let precision;
|
|
1312
|
+
if (options) {
|
|
1313
|
+
if (typeof options === "object") {
|
|
1314
|
+
({
|
|
1315
|
+
message = "",
|
|
1316
|
+
allowOffset = false,
|
|
1317
|
+
precision = void 0
|
|
1318
|
+
} = options);
|
|
1319
|
+
} else {
|
|
1320
|
+
message = options;
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
return this.matches(rIsoDateTime, {
|
|
1324
|
+
name: "datetime",
|
|
1325
|
+
message: message || string.datetime,
|
|
1326
|
+
excludeEmptyString: true
|
|
1327
|
+
}).test({
|
|
1328
|
+
name: "datetime_offset",
|
|
1329
|
+
message: message || string.datetime_offset,
|
|
1330
|
+
params: {
|
|
1331
|
+
allowOffset
|
|
1332
|
+
},
|
|
1333
|
+
skipAbsent: true,
|
|
1334
|
+
test: (value) => {
|
|
1335
|
+
if (!value || allowOffset) return true;
|
|
1336
|
+
const struct = parseDateStruct(value);
|
|
1337
|
+
if (!struct) return false;
|
|
1338
|
+
return !!struct.z;
|
|
1339
|
+
}
|
|
1340
|
+
}).test({
|
|
1341
|
+
name: "datetime_precision",
|
|
1342
|
+
message: message || string.datetime_precision,
|
|
1343
|
+
params: {
|
|
1344
|
+
precision
|
|
1345
|
+
},
|
|
1346
|
+
skipAbsent: true,
|
|
1347
|
+
test: (value) => {
|
|
1348
|
+
if (!value || precision == void 0) return true;
|
|
1349
|
+
const struct = parseDateStruct(value);
|
|
1350
|
+
if (!struct) return false;
|
|
1351
|
+
return struct.precision === precision;
|
|
1352
|
+
}
|
|
1353
|
+
});
|
|
1354
|
+
}
|
|
1355
|
+
//-- transforms --
|
|
1356
|
+
ensure() {
|
|
1357
|
+
return this.default("").transform((val) => val === null ? "" : val);
|
|
1358
|
+
}
|
|
1359
|
+
trim(message = string.trim) {
|
|
1360
|
+
return this.transform((val) => val != null ? val.trim() : val).test({
|
|
1361
|
+
message,
|
|
1362
|
+
name: "trim",
|
|
1363
|
+
test: isTrimmed
|
|
1364
|
+
});
|
|
1365
|
+
}
|
|
1366
|
+
lowercase(message = string.lowercase) {
|
|
1367
|
+
return this.transform((value) => !isAbsent(value) ? value.toLowerCase() : value).test({
|
|
1368
|
+
message,
|
|
1369
|
+
name: "string_case",
|
|
1370
|
+
exclusive: true,
|
|
1371
|
+
skipAbsent: true,
|
|
1372
|
+
test: (value) => isAbsent(value) || value === value.toLowerCase()
|
|
1373
|
+
});
|
|
1374
|
+
}
|
|
1375
|
+
uppercase(message = string.uppercase) {
|
|
1376
|
+
return this.transform((value) => !isAbsent(value) ? value.toUpperCase() : value).test({
|
|
1377
|
+
message,
|
|
1378
|
+
name: "string_case",
|
|
1379
|
+
exclusive: true,
|
|
1380
|
+
skipAbsent: true,
|
|
1381
|
+
test: (value) => isAbsent(value) || value === value.toUpperCase()
|
|
1382
|
+
});
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
create$6.prototype = StringSchema.prototype;
|
|
1386
|
+
let isNaN$1 = (value) => value != +value;
|
|
1387
|
+
function create$5() {
|
|
1388
|
+
return new NumberSchema();
|
|
1389
|
+
}
|
|
1390
|
+
class NumberSchema extends Schema {
|
|
1391
|
+
constructor() {
|
|
1392
|
+
super({
|
|
1393
|
+
type: "number",
|
|
1394
|
+
check(value) {
|
|
1395
|
+
if (value instanceof Number) value = value.valueOf();
|
|
1396
|
+
return typeof value === "number" && !isNaN$1(value);
|
|
1397
|
+
}
|
|
1398
|
+
});
|
|
1399
|
+
this.withMutation(() => {
|
|
1400
|
+
this.transform((value, _raw, ctx) => {
|
|
1401
|
+
if (!ctx.spec.coerce) return value;
|
|
1402
|
+
let parsed = value;
|
|
1403
|
+
if (typeof parsed === "string") {
|
|
1404
|
+
parsed = parsed.replace(/\s/g, "");
|
|
1405
|
+
if (parsed === "") return NaN;
|
|
1406
|
+
parsed = +parsed;
|
|
1407
|
+
}
|
|
1408
|
+
if (ctx.isType(parsed) || parsed === null) return parsed;
|
|
1409
|
+
return parseFloat(parsed);
|
|
1410
|
+
});
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1413
|
+
min(min, message = number.min) {
|
|
1414
|
+
return this.test({
|
|
1415
|
+
message,
|
|
1416
|
+
name: "min",
|
|
1417
|
+
exclusive: true,
|
|
1418
|
+
params: {
|
|
1419
|
+
min
|
|
1420
|
+
},
|
|
1421
|
+
skipAbsent: true,
|
|
1422
|
+
test(value) {
|
|
1423
|
+
return value >= this.resolve(min);
|
|
1424
|
+
}
|
|
1425
|
+
});
|
|
1426
|
+
}
|
|
1427
|
+
max(max, message = number.max) {
|
|
1428
|
+
return this.test({
|
|
1429
|
+
message,
|
|
1430
|
+
name: "max",
|
|
1431
|
+
exclusive: true,
|
|
1432
|
+
params: {
|
|
1433
|
+
max
|
|
1434
|
+
},
|
|
1435
|
+
skipAbsent: true,
|
|
1436
|
+
test(value) {
|
|
1437
|
+
return value <= this.resolve(max);
|
|
1438
|
+
}
|
|
1439
|
+
});
|
|
1440
|
+
}
|
|
1441
|
+
lessThan(less, message = number.lessThan) {
|
|
1442
|
+
return this.test({
|
|
1443
|
+
message,
|
|
1444
|
+
name: "max",
|
|
1445
|
+
exclusive: true,
|
|
1446
|
+
params: {
|
|
1447
|
+
less
|
|
1448
|
+
},
|
|
1449
|
+
skipAbsent: true,
|
|
1450
|
+
test(value) {
|
|
1451
|
+
return value < this.resolve(less);
|
|
1452
|
+
}
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
moreThan(more, message = number.moreThan) {
|
|
1456
|
+
return this.test({
|
|
1457
|
+
message,
|
|
1458
|
+
name: "min",
|
|
1459
|
+
exclusive: true,
|
|
1460
|
+
params: {
|
|
1461
|
+
more
|
|
1462
|
+
},
|
|
1463
|
+
skipAbsent: true,
|
|
1464
|
+
test(value) {
|
|
1465
|
+
return value > this.resolve(more);
|
|
1466
|
+
}
|
|
1467
|
+
});
|
|
1468
|
+
}
|
|
1469
|
+
positive(msg = number.positive) {
|
|
1470
|
+
return this.moreThan(0, msg);
|
|
1471
|
+
}
|
|
1472
|
+
negative(msg = number.negative) {
|
|
1473
|
+
return this.lessThan(0, msg);
|
|
1474
|
+
}
|
|
1475
|
+
integer(message = number.integer) {
|
|
1476
|
+
return this.test({
|
|
1477
|
+
name: "integer",
|
|
1478
|
+
message,
|
|
1479
|
+
skipAbsent: true,
|
|
1480
|
+
test: (val) => Number.isInteger(val)
|
|
1481
|
+
});
|
|
1482
|
+
}
|
|
1483
|
+
truncate() {
|
|
1484
|
+
return this.transform((value) => !isAbsent(value) ? value | 0 : value);
|
|
1485
|
+
}
|
|
1486
|
+
round(method) {
|
|
1487
|
+
var _method;
|
|
1488
|
+
let avail = ["ceil", "floor", "round", "trunc"];
|
|
1489
|
+
method = ((_method = method) == null ? void 0 : _method.toLowerCase()) || "round";
|
|
1490
|
+
if (method === "trunc") return this.truncate();
|
|
1491
|
+
if (avail.indexOf(method.toLowerCase()) === -1) throw new TypeError("Only valid options for round() are: " + avail.join(", "));
|
|
1492
|
+
return this.transform((value) => !isAbsent(value) ? Math[method](value) : value);
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
create$5.prototype = NumberSchema.prototype;
|
|
1496
|
+
let invalidDate = /* @__PURE__ */ new Date("");
|
|
1497
|
+
let isDate = (obj) => Object.prototype.toString.call(obj) === "[object Date]";
|
|
1498
|
+
function create$4() {
|
|
1499
|
+
return new DateSchema();
|
|
1500
|
+
}
|
|
1501
|
+
class DateSchema extends Schema {
|
|
1502
|
+
constructor() {
|
|
1503
|
+
super({
|
|
1504
|
+
type: "date",
|
|
1505
|
+
check(v) {
|
|
1506
|
+
return isDate(v) && !isNaN(v.getTime());
|
|
1507
|
+
}
|
|
1508
|
+
});
|
|
1509
|
+
this.withMutation(() => {
|
|
1510
|
+
this.transform((value, _raw, ctx) => {
|
|
1511
|
+
if (!ctx.spec.coerce || ctx.isType(value) || value === null) return value;
|
|
1512
|
+
value = parseIsoDate(value);
|
|
1513
|
+
return !isNaN(value) ? new Date(value) : DateSchema.INVALID_DATE;
|
|
1514
|
+
});
|
|
1515
|
+
});
|
|
1516
|
+
}
|
|
1517
|
+
prepareParam(ref, name) {
|
|
1518
|
+
let param;
|
|
1519
|
+
if (!Reference.isRef(ref)) {
|
|
1520
|
+
let cast = this.cast(ref);
|
|
1521
|
+
if (!this._typeCheck(cast)) throw new TypeError(`\`${name}\` must be a Date or a value that can be \`cast()\` to a Date`);
|
|
1522
|
+
param = cast;
|
|
1523
|
+
} else {
|
|
1524
|
+
param = ref;
|
|
1525
|
+
}
|
|
1526
|
+
return param;
|
|
1527
|
+
}
|
|
1528
|
+
min(min, message = date.min) {
|
|
1529
|
+
let limit = this.prepareParam(min, "min");
|
|
1530
|
+
return this.test({
|
|
1531
|
+
message,
|
|
1532
|
+
name: "min",
|
|
1533
|
+
exclusive: true,
|
|
1534
|
+
params: {
|
|
1535
|
+
min
|
|
1536
|
+
},
|
|
1537
|
+
skipAbsent: true,
|
|
1538
|
+
test(value) {
|
|
1539
|
+
return value >= this.resolve(limit);
|
|
1540
|
+
}
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1543
|
+
max(max, message = date.max) {
|
|
1544
|
+
let limit = this.prepareParam(max, "max");
|
|
1545
|
+
return this.test({
|
|
1546
|
+
message,
|
|
1547
|
+
name: "max",
|
|
1548
|
+
exclusive: true,
|
|
1549
|
+
params: {
|
|
1550
|
+
max
|
|
1551
|
+
},
|
|
1552
|
+
skipAbsent: true,
|
|
1553
|
+
test(value) {
|
|
1554
|
+
return value <= this.resolve(limit);
|
|
1555
|
+
}
|
|
1556
|
+
});
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
DateSchema.INVALID_DATE = invalidDate;
|
|
1560
|
+
create$4.prototype = DateSchema.prototype;
|
|
1561
|
+
create$4.INVALID_DATE = invalidDate;
|
|
1562
|
+
function sortFields(fields, excludedEdges = []) {
|
|
1563
|
+
let edges = [];
|
|
1564
|
+
let nodes = /* @__PURE__ */ new Set();
|
|
1565
|
+
let excludes = new Set(excludedEdges.map(([a, b]) => `${a}-${b}`));
|
|
1566
|
+
function addNode(depPath, key) {
|
|
1567
|
+
let node = propertyExprExports.split(depPath)[0];
|
|
1568
|
+
nodes.add(node);
|
|
1569
|
+
if (!excludes.has(`${key}-${node}`)) edges.push([key, node]);
|
|
1570
|
+
}
|
|
1571
|
+
for (const key of Object.keys(fields)) {
|
|
1572
|
+
let value = fields[key];
|
|
1573
|
+
nodes.add(key);
|
|
1574
|
+
if (Reference.isRef(value) && value.isSibling) addNode(value.path, key);
|
|
1575
|
+
else if (isSchema(value) && "deps" in value) value.deps.forEach((path) => addNode(path, key));
|
|
1576
|
+
}
|
|
1577
|
+
return toposort.array(Array.from(nodes), edges).reverse();
|
|
1578
|
+
}
|
|
1579
|
+
function findIndex(arr, err) {
|
|
1580
|
+
let idx = Infinity;
|
|
1581
|
+
arr.some((key, ii) => {
|
|
1582
|
+
var _err$path;
|
|
1583
|
+
if ((_err$path = err.path) != null && _err$path.includes(key)) {
|
|
1584
|
+
idx = ii;
|
|
1585
|
+
return true;
|
|
1586
|
+
}
|
|
1587
|
+
});
|
|
1588
|
+
return idx;
|
|
1589
|
+
}
|
|
1590
|
+
function sortByKeyOrder(keys) {
|
|
1591
|
+
return (a, b) => {
|
|
1592
|
+
return findIndex(keys, a) - findIndex(keys, b);
|
|
1593
|
+
};
|
|
1594
|
+
}
|
|
1595
|
+
const parseJson = (value, _, ctx) => {
|
|
1596
|
+
if (typeof value !== "string") {
|
|
1597
|
+
return value;
|
|
1598
|
+
}
|
|
1599
|
+
let parsed = value;
|
|
1600
|
+
try {
|
|
1601
|
+
parsed = JSON.parse(value);
|
|
1602
|
+
} catch (err) {
|
|
1603
|
+
}
|
|
1604
|
+
return ctx.isType(parsed) ? parsed : value;
|
|
1605
|
+
};
|
|
1606
|
+
function deepPartial(schema) {
|
|
1607
|
+
if ("fields" in schema) {
|
|
1608
|
+
const partial = {};
|
|
1609
|
+
for (const [key, fieldSchema] of Object.entries(schema.fields)) {
|
|
1610
|
+
partial[key] = deepPartial(fieldSchema);
|
|
1611
|
+
}
|
|
1612
|
+
return schema.setFields(partial);
|
|
1613
|
+
}
|
|
1614
|
+
if (schema.type === "array") {
|
|
1615
|
+
const nextArray = schema.optional();
|
|
1616
|
+
if (nextArray.innerType) nextArray.innerType = deepPartial(nextArray.innerType);
|
|
1617
|
+
return nextArray;
|
|
1618
|
+
}
|
|
1619
|
+
if (schema.type === "tuple") {
|
|
1620
|
+
return schema.optional().clone({
|
|
1621
|
+
types: schema.spec.types.map(deepPartial)
|
|
1622
|
+
});
|
|
1623
|
+
}
|
|
1624
|
+
if ("optional" in schema) {
|
|
1625
|
+
return schema.optional();
|
|
1626
|
+
}
|
|
1627
|
+
return schema;
|
|
1628
|
+
}
|
|
1629
|
+
const deepHas = (obj, p) => {
|
|
1630
|
+
const path = [...propertyExprExports.normalizePath(p)];
|
|
1631
|
+
if (path.length === 1) return path[0] in obj;
|
|
1632
|
+
let last = path.pop();
|
|
1633
|
+
let parent = propertyExprExports.getter(propertyExprExports.join(path), true)(obj);
|
|
1634
|
+
return !!(parent && last in parent);
|
|
1635
|
+
};
|
|
1636
|
+
let isObject = (obj) => Object.prototype.toString.call(obj) === "[object Object]";
|
|
1637
|
+
function unknown(ctx, value) {
|
|
1638
|
+
let known = Object.keys(ctx.fields);
|
|
1639
|
+
return Object.keys(value).filter((key) => known.indexOf(key) === -1);
|
|
1640
|
+
}
|
|
1641
|
+
const defaultSort = sortByKeyOrder([]);
|
|
1642
|
+
function create$3(spec) {
|
|
1643
|
+
return new ObjectSchema(spec);
|
|
1644
|
+
}
|
|
1645
|
+
class ObjectSchema extends Schema {
|
|
1646
|
+
constructor(spec) {
|
|
1647
|
+
super({
|
|
1648
|
+
type: "object",
|
|
1649
|
+
check(value) {
|
|
1650
|
+
return isObject(value) || typeof value === "function";
|
|
1651
|
+
}
|
|
1652
|
+
});
|
|
1653
|
+
this.fields = /* @__PURE__ */ Object.create(null);
|
|
1654
|
+
this._sortErrors = defaultSort;
|
|
1655
|
+
this._nodes = [];
|
|
1656
|
+
this._excludedEdges = [];
|
|
1657
|
+
this.withMutation(() => {
|
|
1658
|
+
if (spec) {
|
|
1659
|
+
this.shape(spec);
|
|
1660
|
+
}
|
|
1661
|
+
});
|
|
1662
|
+
}
|
|
1663
|
+
_cast(_value, options = {}) {
|
|
1664
|
+
var _options$stripUnknown;
|
|
1665
|
+
let value = super._cast(_value, options);
|
|
1666
|
+
if (value === void 0) return this.getDefault(options);
|
|
1667
|
+
if (!this._typeCheck(value)) return value;
|
|
1668
|
+
let fields = this.fields;
|
|
1669
|
+
let strip = (_options$stripUnknown = options.stripUnknown) != null ? _options$stripUnknown : this.spec.noUnknown;
|
|
1670
|
+
let props = [].concat(this._nodes, Object.keys(value).filter((v) => !this._nodes.includes(v)));
|
|
1671
|
+
let intermediateValue = {};
|
|
1672
|
+
let innerOptions = Object.assign({}, options, {
|
|
1673
|
+
parent: intermediateValue,
|
|
1674
|
+
__validating: options.__validating || false
|
|
1675
|
+
});
|
|
1676
|
+
let isChanged = false;
|
|
1677
|
+
for (const prop of props) {
|
|
1678
|
+
let field = fields[prop];
|
|
1679
|
+
let exists = prop in value;
|
|
1680
|
+
if (field) {
|
|
1681
|
+
let fieldValue;
|
|
1682
|
+
let inputValue = value[prop];
|
|
1683
|
+
innerOptions.path = (options.path ? `${options.path}.` : "") + prop;
|
|
1684
|
+
field = field.resolve({
|
|
1685
|
+
value: inputValue,
|
|
1686
|
+
context: options.context,
|
|
1687
|
+
parent: intermediateValue
|
|
1688
|
+
});
|
|
1689
|
+
let fieldSpec = field instanceof Schema ? field.spec : void 0;
|
|
1690
|
+
let strict = fieldSpec == null ? void 0 : fieldSpec.strict;
|
|
1691
|
+
if (fieldSpec != null && fieldSpec.strip) {
|
|
1692
|
+
isChanged = isChanged || prop in value;
|
|
1693
|
+
continue;
|
|
1694
|
+
}
|
|
1695
|
+
fieldValue = !options.__validating || !strict ? (
|
|
1696
|
+
// TODO: use _cast, this is double resolving
|
|
1697
|
+
field.cast(value[prop], innerOptions)
|
|
1698
|
+
) : value[prop];
|
|
1699
|
+
if (fieldValue !== void 0) {
|
|
1700
|
+
intermediateValue[prop] = fieldValue;
|
|
1701
|
+
}
|
|
1702
|
+
} else if (exists && !strip) {
|
|
1703
|
+
intermediateValue[prop] = value[prop];
|
|
1704
|
+
}
|
|
1705
|
+
if (exists !== prop in intermediateValue || intermediateValue[prop] !== value[prop]) {
|
|
1706
|
+
isChanged = true;
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
return isChanged ? intermediateValue : value;
|
|
1710
|
+
}
|
|
1711
|
+
_validate(_value, options = {}, panic, next) {
|
|
1712
|
+
let {
|
|
1713
|
+
from = [],
|
|
1714
|
+
originalValue = _value,
|
|
1715
|
+
recursive = this.spec.recursive
|
|
1716
|
+
} = options;
|
|
1717
|
+
options.from = [{
|
|
1718
|
+
schema: this,
|
|
1719
|
+
value: originalValue
|
|
1720
|
+
}, ...from];
|
|
1721
|
+
options.__validating = true;
|
|
1722
|
+
options.originalValue = originalValue;
|
|
1723
|
+
super._validate(_value, options, panic, (objectErrors, value) => {
|
|
1724
|
+
if (!recursive || !isObject(value)) {
|
|
1725
|
+
next(objectErrors, value);
|
|
1726
|
+
return;
|
|
1727
|
+
}
|
|
1728
|
+
originalValue = originalValue || value;
|
|
1729
|
+
let tests = [];
|
|
1730
|
+
for (let key of this._nodes) {
|
|
1731
|
+
let field = this.fields[key];
|
|
1732
|
+
if (!field || Reference.isRef(field)) {
|
|
1733
|
+
continue;
|
|
1734
|
+
}
|
|
1735
|
+
tests.push(field.asNestedTest({
|
|
1736
|
+
options,
|
|
1737
|
+
key,
|
|
1738
|
+
parent: value,
|
|
1739
|
+
parentPath: options.path,
|
|
1740
|
+
originalParent: originalValue
|
|
1741
|
+
}));
|
|
1742
|
+
}
|
|
1743
|
+
this.runTests({
|
|
1744
|
+
tests,
|
|
1745
|
+
value,
|
|
1746
|
+
originalValue,
|
|
1747
|
+
options
|
|
1748
|
+
}, panic, (fieldErrors) => {
|
|
1749
|
+
next(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
|
|
1750
|
+
});
|
|
1751
|
+
});
|
|
1752
|
+
}
|
|
1753
|
+
clone(spec) {
|
|
1754
|
+
const next = super.clone(spec);
|
|
1755
|
+
next.fields = Object.assign({}, this.fields);
|
|
1756
|
+
next._nodes = this._nodes;
|
|
1757
|
+
next._excludedEdges = this._excludedEdges;
|
|
1758
|
+
next._sortErrors = this._sortErrors;
|
|
1759
|
+
return next;
|
|
1760
|
+
}
|
|
1761
|
+
concat(schema) {
|
|
1762
|
+
let next = super.concat(schema);
|
|
1763
|
+
let nextFields = next.fields;
|
|
1764
|
+
for (let [field, schemaOrRef] of Object.entries(this.fields)) {
|
|
1765
|
+
const target = nextFields[field];
|
|
1766
|
+
nextFields[field] = target === void 0 ? schemaOrRef : target;
|
|
1767
|
+
}
|
|
1768
|
+
return next.withMutation((s) => (
|
|
1769
|
+
// XXX: excludes here is wrong
|
|
1770
|
+
s.setFields(nextFields, [...this._excludedEdges, ...schema._excludedEdges])
|
|
1771
|
+
));
|
|
1772
|
+
}
|
|
1773
|
+
_getDefault(options) {
|
|
1774
|
+
if ("default" in this.spec) {
|
|
1775
|
+
return super._getDefault(options);
|
|
1776
|
+
}
|
|
1777
|
+
if (!this._nodes.length) {
|
|
1778
|
+
return void 0;
|
|
1779
|
+
}
|
|
1780
|
+
let dft = {};
|
|
1781
|
+
this._nodes.forEach((key) => {
|
|
1782
|
+
var _innerOptions;
|
|
1783
|
+
const field = this.fields[key];
|
|
1784
|
+
let innerOptions = options;
|
|
1785
|
+
if ((_innerOptions = innerOptions) != null && _innerOptions.value) {
|
|
1786
|
+
innerOptions = Object.assign({}, innerOptions, {
|
|
1787
|
+
parent: innerOptions.value,
|
|
1788
|
+
value: innerOptions.value[key]
|
|
1789
|
+
});
|
|
1790
|
+
}
|
|
1791
|
+
dft[key] = field && "getDefault" in field ? field.getDefault(innerOptions) : void 0;
|
|
1792
|
+
});
|
|
1793
|
+
return dft;
|
|
1794
|
+
}
|
|
1795
|
+
setFields(shape, excludedEdges) {
|
|
1796
|
+
let next = this.clone();
|
|
1797
|
+
next.fields = shape;
|
|
1798
|
+
next._nodes = sortFields(shape, excludedEdges);
|
|
1799
|
+
next._sortErrors = sortByKeyOrder(Object.keys(shape));
|
|
1800
|
+
if (excludedEdges) next._excludedEdges = excludedEdges;
|
|
1801
|
+
return next;
|
|
1802
|
+
}
|
|
1803
|
+
shape(additions, excludes = []) {
|
|
1804
|
+
return this.clone().withMutation((next) => {
|
|
1805
|
+
let edges = next._excludedEdges;
|
|
1806
|
+
if (excludes.length) {
|
|
1807
|
+
if (!Array.isArray(excludes[0])) excludes = [excludes];
|
|
1808
|
+
edges = [...next._excludedEdges, ...excludes];
|
|
1809
|
+
}
|
|
1810
|
+
return next.setFields(Object.assign(next.fields, additions), edges);
|
|
1811
|
+
});
|
|
1812
|
+
}
|
|
1813
|
+
partial() {
|
|
1814
|
+
const partial = {};
|
|
1815
|
+
for (const [key, schema] of Object.entries(this.fields)) {
|
|
1816
|
+
partial[key] = "optional" in schema && schema.optional instanceof Function ? schema.optional() : schema;
|
|
1817
|
+
}
|
|
1818
|
+
return this.setFields(partial);
|
|
1819
|
+
}
|
|
1820
|
+
deepPartial() {
|
|
1821
|
+
const next = deepPartial(this);
|
|
1822
|
+
return next;
|
|
1823
|
+
}
|
|
1824
|
+
pick(keys) {
|
|
1825
|
+
const picked = {};
|
|
1826
|
+
for (const key of keys) {
|
|
1827
|
+
if (this.fields[key]) picked[key] = this.fields[key];
|
|
1828
|
+
}
|
|
1829
|
+
return this.setFields(picked, this._excludedEdges.filter(([a, b]) => keys.includes(a) && keys.includes(b)));
|
|
1830
|
+
}
|
|
1831
|
+
omit(keys) {
|
|
1832
|
+
const remaining = [];
|
|
1833
|
+
for (const key of Object.keys(this.fields)) {
|
|
1834
|
+
if (keys.includes(key)) continue;
|
|
1835
|
+
remaining.push(key);
|
|
1836
|
+
}
|
|
1837
|
+
return this.pick(remaining);
|
|
1838
|
+
}
|
|
1839
|
+
from(from, to, alias) {
|
|
1840
|
+
let fromGetter = propertyExprExports.getter(from, true);
|
|
1841
|
+
return this.transform((obj) => {
|
|
1842
|
+
if (!obj) return obj;
|
|
1843
|
+
let newObj = obj;
|
|
1844
|
+
if (deepHas(obj, from)) {
|
|
1845
|
+
newObj = Object.assign({}, obj);
|
|
1846
|
+
if (!alias) delete newObj[from];
|
|
1847
|
+
newObj[to] = fromGetter(obj);
|
|
1848
|
+
}
|
|
1849
|
+
return newObj;
|
|
1850
|
+
});
|
|
1851
|
+
}
|
|
1852
|
+
/** Parse an input JSON string to an object */
|
|
1853
|
+
json() {
|
|
1854
|
+
return this.transform(parseJson);
|
|
1855
|
+
}
|
|
1856
|
+
/**
|
|
1857
|
+
* Similar to `noUnknown` but only validates that an object is the right shape without stripping the unknown keys
|
|
1858
|
+
*/
|
|
1859
|
+
exact(message) {
|
|
1860
|
+
return this.test({
|
|
1861
|
+
name: "exact",
|
|
1862
|
+
exclusive: true,
|
|
1863
|
+
message: message || object.exact,
|
|
1864
|
+
test(value) {
|
|
1865
|
+
if (value == null) return true;
|
|
1866
|
+
const unknownKeys = unknown(this.schema, value);
|
|
1867
|
+
return unknownKeys.length === 0 || this.createError({
|
|
1868
|
+
params: {
|
|
1869
|
+
properties: unknownKeys.join(", ")
|
|
1870
|
+
}
|
|
1871
|
+
});
|
|
1872
|
+
}
|
|
1873
|
+
});
|
|
1874
|
+
}
|
|
1875
|
+
stripUnknown() {
|
|
1876
|
+
return this.clone({
|
|
1877
|
+
noUnknown: true
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1880
|
+
noUnknown(noAllow = true, message = object.noUnknown) {
|
|
1881
|
+
if (typeof noAllow !== "boolean") {
|
|
1882
|
+
message = noAllow;
|
|
1883
|
+
noAllow = true;
|
|
1884
|
+
}
|
|
1885
|
+
let next = this.test({
|
|
1886
|
+
name: "noUnknown",
|
|
1887
|
+
exclusive: true,
|
|
1888
|
+
message,
|
|
1889
|
+
test(value) {
|
|
1890
|
+
if (value == null) return true;
|
|
1891
|
+
const unknownKeys = unknown(this.schema, value);
|
|
1892
|
+
return !noAllow || unknownKeys.length === 0 || this.createError({
|
|
1893
|
+
params: {
|
|
1894
|
+
unknown: unknownKeys.join(", ")
|
|
1895
|
+
}
|
|
1896
|
+
});
|
|
1897
|
+
}
|
|
1898
|
+
});
|
|
1899
|
+
next.spec.noUnknown = noAllow;
|
|
1900
|
+
return next;
|
|
1901
|
+
}
|
|
1902
|
+
unknown(allow = true, message = object.noUnknown) {
|
|
1903
|
+
return this.noUnknown(!allow, message);
|
|
1904
|
+
}
|
|
1905
|
+
transformKeys(fn) {
|
|
1906
|
+
return this.transform((obj) => {
|
|
1907
|
+
if (!obj) return obj;
|
|
1908
|
+
const result = {};
|
|
1909
|
+
for (const key of Object.keys(obj)) result[fn(key)] = obj[key];
|
|
1910
|
+
return result;
|
|
1911
|
+
});
|
|
1912
|
+
}
|
|
1913
|
+
camelCase() {
|
|
1914
|
+
return this.transformKeys(tinyCaseExports.camelCase);
|
|
1915
|
+
}
|
|
1916
|
+
snakeCase() {
|
|
1917
|
+
return this.transformKeys(tinyCaseExports.snakeCase);
|
|
1918
|
+
}
|
|
1919
|
+
constantCase() {
|
|
1920
|
+
return this.transformKeys((key) => tinyCaseExports.snakeCase(key).toUpperCase());
|
|
1921
|
+
}
|
|
1922
|
+
describe(options) {
|
|
1923
|
+
const next = (options ? this.resolve(options) : this).clone();
|
|
1924
|
+
const base = super.describe(options);
|
|
1925
|
+
base.fields = {};
|
|
1926
|
+
for (const [key, value] of Object.entries(next.fields)) {
|
|
1927
|
+
var _innerOptions2;
|
|
1928
|
+
let innerOptions = options;
|
|
1929
|
+
if ((_innerOptions2 = innerOptions) != null && _innerOptions2.value) {
|
|
1930
|
+
innerOptions = Object.assign({}, innerOptions, {
|
|
1931
|
+
parent: innerOptions.value,
|
|
1932
|
+
value: innerOptions.value[key]
|
|
1933
|
+
});
|
|
1934
|
+
}
|
|
1935
|
+
base.fields[key] = value.describe(innerOptions);
|
|
1936
|
+
}
|
|
1937
|
+
return base;
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
create$3.prototype = ObjectSchema.prototype;
|
|
1941
|
+
function create$2(type) {
|
|
1942
|
+
return new ArraySchema(type);
|
|
1943
|
+
}
|
|
1944
|
+
class ArraySchema extends Schema {
|
|
1945
|
+
constructor(type) {
|
|
1946
|
+
super({
|
|
1947
|
+
type: "array",
|
|
1948
|
+
spec: {
|
|
1949
|
+
types: type
|
|
1950
|
+
},
|
|
1951
|
+
check(v) {
|
|
1952
|
+
return Array.isArray(v);
|
|
1953
|
+
}
|
|
1954
|
+
});
|
|
1955
|
+
this.innerType = void 0;
|
|
1956
|
+
this.innerType = type;
|
|
1957
|
+
}
|
|
1958
|
+
_cast(_value, _opts) {
|
|
1959
|
+
const value = super._cast(_value, _opts);
|
|
1960
|
+
if (!this._typeCheck(value) || !this.innerType) {
|
|
1961
|
+
return value;
|
|
1962
|
+
}
|
|
1963
|
+
let isChanged = false;
|
|
1964
|
+
const castArray = value.map((v, idx) => {
|
|
1965
|
+
const castElement = this.innerType.cast(v, Object.assign({}, _opts, {
|
|
1966
|
+
path: `${_opts.path || ""}[${idx}]`
|
|
1967
|
+
}));
|
|
1968
|
+
if (castElement !== v) {
|
|
1969
|
+
isChanged = true;
|
|
1970
|
+
}
|
|
1971
|
+
return castElement;
|
|
1972
|
+
});
|
|
1973
|
+
return isChanged ? castArray : value;
|
|
1974
|
+
}
|
|
1975
|
+
_validate(_value, options = {}, panic, next) {
|
|
1976
|
+
var _options$recursive;
|
|
1977
|
+
let innerType = this.innerType;
|
|
1978
|
+
let recursive = (_options$recursive = options.recursive) != null ? _options$recursive : this.spec.recursive;
|
|
1979
|
+
options.originalValue != null ? options.originalValue : _value;
|
|
1980
|
+
super._validate(_value, options, panic, (arrayErrors, value) => {
|
|
1981
|
+
var _options$originalValu2;
|
|
1982
|
+
if (!recursive || !innerType || !this._typeCheck(value)) {
|
|
1983
|
+
next(arrayErrors, value);
|
|
1984
|
+
return;
|
|
1985
|
+
}
|
|
1986
|
+
let tests = new Array(value.length);
|
|
1987
|
+
for (let index = 0; index < value.length; index++) {
|
|
1988
|
+
var _options$originalValu;
|
|
1989
|
+
tests[index] = innerType.asNestedTest({
|
|
1990
|
+
options,
|
|
1991
|
+
index,
|
|
1992
|
+
parent: value,
|
|
1993
|
+
parentPath: options.path,
|
|
1994
|
+
originalParent: (_options$originalValu = options.originalValue) != null ? _options$originalValu : _value
|
|
1995
|
+
});
|
|
1996
|
+
}
|
|
1997
|
+
this.runTests({
|
|
1998
|
+
value,
|
|
1999
|
+
tests,
|
|
2000
|
+
originalValue: (_options$originalValu2 = options.originalValue) != null ? _options$originalValu2 : _value,
|
|
2001
|
+
options
|
|
2002
|
+
}, panic, (innerTypeErrors) => next(innerTypeErrors.concat(arrayErrors), value));
|
|
2003
|
+
});
|
|
2004
|
+
}
|
|
2005
|
+
clone(spec) {
|
|
2006
|
+
const next = super.clone(spec);
|
|
2007
|
+
next.innerType = this.innerType;
|
|
2008
|
+
return next;
|
|
2009
|
+
}
|
|
2010
|
+
/** Parse an input JSON string to an object */
|
|
2011
|
+
json() {
|
|
2012
|
+
return this.transform(parseJson);
|
|
2013
|
+
}
|
|
2014
|
+
concat(schema) {
|
|
2015
|
+
let next = super.concat(schema);
|
|
2016
|
+
next.innerType = this.innerType;
|
|
2017
|
+
if (schema.innerType)
|
|
2018
|
+
next.innerType = next.innerType ? (
|
|
2019
|
+
// @ts-expect-error Lazy doesn't have concat and will break
|
|
2020
|
+
next.innerType.concat(schema.innerType)
|
|
2021
|
+
) : schema.innerType;
|
|
2022
|
+
return next;
|
|
2023
|
+
}
|
|
2024
|
+
of(schema) {
|
|
2025
|
+
let next = this.clone();
|
|
2026
|
+
if (!isSchema(schema)) throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: " + printValue(schema));
|
|
2027
|
+
next.innerType = schema;
|
|
2028
|
+
next.spec = Object.assign({}, next.spec, {
|
|
2029
|
+
types: schema
|
|
2030
|
+
});
|
|
2031
|
+
return next;
|
|
2032
|
+
}
|
|
2033
|
+
length(length, message = array.length) {
|
|
2034
|
+
return this.test({
|
|
2035
|
+
message,
|
|
2036
|
+
name: "length",
|
|
2037
|
+
exclusive: true,
|
|
2038
|
+
params: {
|
|
2039
|
+
length
|
|
2040
|
+
},
|
|
2041
|
+
skipAbsent: true,
|
|
2042
|
+
test(value) {
|
|
2043
|
+
return value.length === this.resolve(length);
|
|
2044
|
+
}
|
|
2045
|
+
});
|
|
2046
|
+
}
|
|
2047
|
+
min(min, message) {
|
|
2048
|
+
message = message || array.min;
|
|
2049
|
+
return this.test({
|
|
2050
|
+
message,
|
|
2051
|
+
name: "min",
|
|
2052
|
+
exclusive: true,
|
|
2053
|
+
params: {
|
|
2054
|
+
min
|
|
2055
|
+
},
|
|
2056
|
+
skipAbsent: true,
|
|
2057
|
+
// FIXME(ts): Array<typeof T>
|
|
2058
|
+
test(value) {
|
|
2059
|
+
return value.length >= this.resolve(min);
|
|
2060
|
+
}
|
|
2061
|
+
});
|
|
2062
|
+
}
|
|
2063
|
+
max(max, message) {
|
|
2064
|
+
message = message || array.max;
|
|
2065
|
+
return this.test({
|
|
2066
|
+
message,
|
|
2067
|
+
name: "max",
|
|
2068
|
+
exclusive: true,
|
|
2069
|
+
params: {
|
|
2070
|
+
max
|
|
2071
|
+
},
|
|
2072
|
+
skipAbsent: true,
|
|
2073
|
+
test(value) {
|
|
2074
|
+
return value.length <= this.resolve(max);
|
|
2075
|
+
}
|
|
2076
|
+
});
|
|
2077
|
+
}
|
|
2078
|
+
ensure() {
|
|
2079
|
+
return this.default(() => []).transform((val, original) => {
|
|
2080
|
+
if (this._typeCheck(val)) return val;
|
|
2081
|
+
return original == null ? [] : [].concat(original);
|
|
2082
|
+
});
|
|
2083
|
+
}
|
|
2084
|
+
compact(rejector) {
|
|
2085
|
+
let reject = !rejector ? (v) => !!v : (v, i, a) => !rejector(v, i, a);
|
|
2086
|
+
return this.transform((values) => values != null ? values.filter(reject) : values);
|
|
2087
|
+
}
|
|
2088
|
+
describe(options) {
|
|
2089
|
+
const next = (options ? this.resolve(options) : this).clone();
|
|
2090
|
+
const base = super.describe(options);
|
|
2091
|
+
if (next.innerType) {
|
|
2092
|
+
var _innerOptions;
|
|
2093
|
+
let innerOptions = options;
|
|
2094
|
+
if ((_innerOptions = innerOptions) != null && _innerOptions.value) {
|
|
2095
|
+
innerOptions = Object.assign({}, innerOptions, {
|
|
2096
|
+
parent: innerOptions.value,
|
|
2097
|
+
value: innerOptions.value[0]
|
|
2098
|
+
});
|
|
2099
|
+
}
|
|
2100
|
+
base.innerType = next.innerType.describe(innerOptions);
|
|
2101
|
+
}
|
|
2102
|
+
return base;
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
create$2.prototype = ArraySchema.prototype;
|
|
2106
|
+
function create$1(schemas) {
|
|
2107
|
+
return new TupleSchema(schemas);
|
|
2108
|
+
}
|
|
2109
|
+
class TupleSchema extends Schema {
|
|
2110
|
+
constructor(schemas) {
|
|
2111
|
+
super({
|
|
2112
|
+
type: "tuple",
|
|
2113
|
+
spec: {
|
|
2114
|
+
types: schemas
|
|
2115
|
+
},
|
|
2116
|
+
check(v) {
|
|
2117
|
+
const types = this.spec.types;
|
|
2118
|
+
return Array.isArray(v) && v.length === types.length;
|
|
2119
|
+
}
|
|
2120
|
+
});
|
|
2121
|
+
this.withMutation(() => {
|
|
2122
|
+
this.typeError(tuple.notType);
|
|
2123
|
+
});
|
|
2124
|
+
}
|
|
2125
|
+
_cast(inputValue, options) {
|
|
2126
|
+
const {
|
|
2127
|
+
types
|
|
2128
|
+
} = this.spec;
|
|
2129
|
+
const value = super._cast(inputValue, options);
|
|
2130
|
+
if (!this._typeCheck(value)) {
|
|
2131
|
+
return value;
|
|
2132
|
+
}
|
|
2133
|
+
let isChanged = false;
|
|
2134
|
+
const castArray = types.map((type, idx) => {
|
|
2135
|
+
const castElement = type.cast(value[idx], Object.assign({}, options, {
|
|
2136
|
+
path: `${options.path || ""}[${idx}]`
|
|
2137
|
+
}));
|
|
2138
|
+
if (castElement !== value[idx]) isChanged = true;
|
|
2139
|
+
return castElement;
|
|
2140
|
+
});
|
|
2141
|
+
return isChanged ? castArray : value;
|
|
2142
|
+
}
|
|
2143
|
+
_validate(_value, options = {}, panic, next) {
|
|
2144
|
+
let itemTypes = this.spec.types;
|
|
2145
|
+
super._validate(_value, options, panic, (tupleErrors, value) => {
|
|
2146
|
+
var _options$originalValu2;
|
|
2147
|
+
if (!this._typeCheck(value)) {
|
|
2148
|
+
next(tupleErrors, value);
|
|
2149
|
+
return;
|
|
2150
|
+
}
|
|
2151
|
+
let tests = [];
|
|
2152
|
+
for (let [index, itemSchema] of itemTypes.entries()) {
|
|
2153
|
+
var _options$originalValu;
|
|
2154
|
+
tests[index] = itemSchema.asNestedTest({
|
|
2155
|
+
options,
|
|
2156
|
+
index,
|
|
2157
|
+
parent: value,
|
|
2158
|
+
parentPath: options.path,
|
|
2159
|
+
originalParent: (_options$originalValu = options.originalValue) != null ? _options$originalValu : _value
|
|
2160
|
+
});
|
|
2161
|
+
}
|
|
2162
|
+
this.runTests({
|
|
2163
|
+
value,
|
|
2164
|
+
tests,
|
|
2165
|
+
originalValue: (_options$originalValu2 = options.originalValue) != null ? _options$originalValu2 : _value,
|
|
2166
|
+
options
|
|
2167
|
+
}, panic, (innerTypeErrors) => next(innerTypeErrors.concat(tupleErrors), value));
|
|
2168
|
+
});
|
|
2169
|
+
}
|
|
2170
|
+
describe(options) {
|
|
2171
|
+
const next = (options ? this.resolve(options) : this).clone();
|
|
2172
|
+
const base = super.describe(options);
|
|
2173
|
+
base.innerType = next.spec.types.map((schema, index) => {
|
|
2174
|
+
var _innerOptions;
|
|
2175
|
+
let innerOptions = options;
|
|
2176
|
+
if ((_innerOptions = innerOptions) != null && _innerOptions.value) {
|
|
2177
|
+
innerOptions = Object.assign({}, innerOptions, {
|
|
2178
|
+
parent: innerOptions.value,
|
|
2179
|
+
value: innerOptions.value[index]
|
|
2180
|
+
});
|
|
2181
|
+
}
|
|
2182
|
+
return schema.describe(innerOptions);
|
|
2183
|
+
});
|
|
2184
|
+
return base;
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
create$1.prototype = TupleSchema.prototype;
|
|
2188
|
+
function create(builder) {
|
|
2189
|
+
return new Lazy(builder);
|
|
2190
|
+
}
|
|
2191
|
+
function catchValidationError(fn) {
|
|
2192
|
+
try {
|
|
2193
|
+
return fn();
|
|
2194
|
+
} catch (err) {
|
|
2195
|
+
if (ValidationError.isError(err)) return Promise.reject(err);
|
|
2196
|
+
throw err;
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
class Lazy {
|
|
2200
|
+
constructor(builder) {
|
|
2201
|
+
this.type = "lazy";
|
|
2202
|
+
this.__isYupSchema__ = true;
|
|
2203
|
+
this.spec = void 0;
|
|
2204
|
+
this._resolve = (value, options = {}) => {
|
|
2205
|
+
let schema = this.builder(value, options);
|
|
2206
|
+
if (!isSchema(schema)) throw new TypeError("lazy() functions must return a valid schema");
|
|
2207
|
+
if (this.spec.optional) schema = schema.optional();
|
|
2208
|
+
return schema.resolve(options);
|
|
2209
|
+
};
|
|
2210
|
+
this.builder = builder;
|
|
2211
|
+
this.spec = {
|
|
2212
|
+
meta: void 0,
|
|
2213
|
+
optional: false
|
|
2214
|
+
};
|
|
2215
|
+
}
|
|
2216
|
+
clone(spec) {
|
|
2217
|
+
const next = new Lazy(this.builder);
|
|
2218
|
+
next.spec = Object.assign({}, this.spec, spec);
|
|
2219
|
+
return next;
|
|
2220
|
+
}
|
|
2221
|
+
optionality(optional) {
|
|
2222
|
+
const next = this.clone({
|
|
2223
|
+
optional
|
|
2224
|
+
});
|
|
2225
|
+
return next;
|
|
2226
|
+
}
|
|
2227
|
+
optional() {
|
|
2228
|
+
return this.optionality(true);
|
|
2229
|
+
}
|
|
2230
|
+
resolve(options) {
|
|
2231
|
+
return this._resolve(options.value, options);
|
|
2232
|
+
}
|
|
2233
|
+
cast(value, options) {
|
|
2234
|
+
return this._resolve(value, options).cast(value, options);
|
|
2235
|
+
}
|
|
2236
|
+
asNestedTest(config) {
|
|
2237
|
+
let {
|
|
2238
|
+
key,
|
|
2239
|
+
index,
|
|
2240
|
+
parent,
|
|
2241
|
+
options
|
|
2242
|
+
} = config;
|
|
2243
|
+
let value = parent[index != null ? index : key];
|
|
2244
|
+
return this._resolve(value, Object.assign({}, options, {
|
|
2245
|
+
value,
|
|
2246
|
+
parent
|
|
2247
|
+
})).asNestedTest(config);
|
|
2248
|
+
}
|
|
2249
|
+
validate(value, options) {
|
|
2250
|
+
return catchValidationError(() => this._resolve(value, options).validate(value, options));
|
|
2251
|
+
}
|
|
2252
|
+
validateSync(value, options) {
|
|
2253
|
+
return this._resolve(value, options).validateSync(value, options);
|
|
2254
|
+
}
|
|
2255
|
+
validateAt(path, value, options) {
|
|
2256
|
+
return catchValidationError(() => this._resolve(value, options).validateAt(path, value, options));
|
|
2257
|
+
}
|
|
2258
|
+
validateSyncAt(path, value, options) {
|
|
2259
|
+
return this._resolve(value, options).validateSyncAt(path, value, options);
|
|
2260
|
+
}
|
|
2261
|
+
isValid(value, options) {
|
|
2262
|
+
try {
|
|
2263
|
+
return this._resolve(value, options).isValid(value, options);
|
|
2264
|
+
} catch (err) {
|
|
2265
|
+
if (ValidationError.isError(err)) {
|
|
2266
|
+
return Promise.resolve(false);
|
|
2267
|
+
}
|
|
2268
|
+
throw err;
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
isValidSync(value, options) {
|
|
2272
|
+
return this._resolve(value, options).isValidSync(value, options);
|
|
2273
|
+
}
|
|
2274
|
+
describe(options) {
|
|
2275
|
+
return options ? this.resolve(options).describe(options) : {
|
|
2276
|
+
type: "lazy",
|
|
2277
|
+
meta: this.spec.meta,
|
|
2278
|
+
label: void 0
|
|
2279
|
+
};
|
|
2280
|
+
}
|
|
2281
|
+
meta(...args) {
|
|
2282
|
+
if (args.length === 0) return this.spec.meta;
|
|
2283
|
+
let next = this.clone();
|
|
2284
|
+
next.spec.meta = Object.assign(next.spec.meta || {}, args[0]);
|
|
2285
|
+
return next;
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
function setLocale(custom) {
|
|
2289
|
+
Object.keys(custom).forEach((type) => {
|
|
2290
|
+
Object.keys(custom[type]).forEach((method) => {
|
|
2291
|
+
locale[type][method] = custom[type][method];
|
|
2292
|
+
});
|
|
2293
|
+
});
|
|
2294
|
+
}
|
|
2295
|
+
function addMethod(schemaType, name, fn) {
|
|
2296
|
+
if (!schemaType || !isSchema(schemaType.prototype)) throw new TypeError("You must provide a yup schema constructor function");
|
|
2297
|
+
if (typeof name !== "string") throw new TypeError("A Method name must be provided");
|
|
2298
|
+
if (typeof fn !== "function") throw new TypeError("Method function must be provided");
|
|
2299
|
+
schemaType.prototype[name] = fn;
|
|
2300
|
+
}
|
|
2301
|
+
export {
|
|
2302
|
+
ArraySchema,
|
|
2303
|
+
BooleanSchema,
|
|
2304
|
+
DateSchema,
|
|
2305
|
+
Lazy as LazySchema,
|
|
2306
|
+
MixedSchema,
|
|
2307
|
+
NumberSchema,
|
|
2308
|
+
ObjectSchema,
|
|
2309
|
+
Schema,
|
|
2310
|
+
StringSchema,
|
|
2311
|
+
TupleSchema,
|
|
2312
|
+
ValidationError,
|
|
2313
|
+
addMethod,
|
|
2314
|
+
create$2 as array,
|
|
2315
|
+
create$7 as bool,
|
|
2316
|
+
create$7 as boolean,
|
|
2317
|
+
create$4 as date,
|
|
2318
|
+
locale as defaultLocale,
|
|
2319
|
+
getIn,
|
|
2320
|
+
isSchema,
|
|
2321
|
+
create as lazy,
|
|
2322
|
+
create$8 as mixed,
|
|
2323
|
+
create$5 as number,
|
|
2324
|
+
create$3 as object,
|
|
2325
|
+
printValue,
|
|
2326
|
+
reach,
|
|
2327
|
+
create$9 as ref,
|
|
2328
|
+
setLocale,
|
|
2329
|
+
create$6 as string,
|
|
2330
|
+
create$1 as tuple
|
|
2331
|
+
};
|