@gnwebsoft/ui 4.0.2 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +98 -74
- package/dist/{chunk-GLN5JSFF.cjs → chunk-2QTXS736.cjs} +344 -293
- package/dist/{chunk-DS524L7W.cjs → chunk-3RZ4JNO3.cjs} +5 -5
- package/dist/chunk-HKO2FXDM.js +2232 -0
- package/dist/{chunk-QLQ6OH25.cjs → chunk-IKHMJW5A.cjs} +52 -30
- package/dist/chunk-LUW7V5GI.cjs +1 -1
- package/dist/chunk-MVPLBJRK.cjs +1 -1
- package/dist/chunk-NMJ5V7FQ.js +2512 -0
- package/dist/chunk-XN3KVY4J.js +467 -0
- package/dist/chunk-XTPFOURJ.cjs +72 -0
- package/dist/chunk-Y3QTSDLJ.cjs +1 -1
- package/dist/core/api/ApiClient.d.ts +329 -0
- package/dist/core/api/ApiClient.d.ts.map +1 -0
- package/dist/core/api/CorrelationIdGenerator.d.ts +52 -0
- package/dist/core/api/CorrelationIdGenerator.d.ts.map +1 -0
- package/dist/core/api/Errors/ErrorNormalizer.d.ts +106 -0
- package/dist/core/api/Errors/ErrorNormalizer.d.ts.map +1 -0
- package/dist/core/api/Interceptors/InterceptorManager.d.ts +236 -0
- package/dist/core/api/Interceptors/InterceptorManager.d.ts.map +1 -0
- package/dist/core/api/Models/FilterModel.d.ts +22 -0
- package/dist/core/api/Models/FilterModel.d.ts.map +1 -0
- package/dist/core/api/Models/QueryParams.d.ts +13 -0
- package/dist/core/api/Models/QueryParams.d.ts.map +1 -0
- package/dist/core/api/Models/index.d.ts +3 -0
- package/dist/core/api/Models/index.d.ts.map +1 -0
- package/dist/core/api/RequestManager.d.ts +142 -0
- package/dist/core/api/RequestManager.d.ts.map +1 -0
- package/dist/core/api/Retry/RetryHandler.d.ts +100 -0
- package/dist/core/api/Retry/RetryHandler.d.ts.map +1 -0
- package/dist/core/api/Signals/SignalManager.d.ts +153 -0
- package/dist/core/api/Signals/SignalManager.d.ts.map +1 -0
- package/dist/core/api/Utils/ResponseParser.d.ts +105 -0
- package/dist/core/api/Utils/ResponseParser.d.ts.map +1 -0
- package/dist/core/api/Utils/UrlBuilder.d.ts +111 -0
- package/dist/core/api/Utils/UrlBuilder.d.ts.map +1 -0
- package/dist/core/api/createApiClient.d.ts +243 -0
- package/dist/core/api/createApiClient.d.ts.map +1 -0
- package/dist/core/api/index.d.ts +7 -0
- package/dist/core/api/index.d.ts.map +1 -0
- package/dist/core/api/types/ApiError.d.ts +17 -0
- package/dist/core/api/types/ApiError.d.ts.map +1 -0
- package/dist/core/api/types/ApiResponse.d.ts +76 -0
- package/dist/core/api/types/ApiResponse.d.ts.map +1 -0
- package/dist/core/api/types/CancelToken.d.ts +15 -0
- package/dist/core/api/types/CancelToken.d.ts.map +1 -0
- package/dist/core/api/types/ErrorInterceptor.d.ts +3 -0
- package/dist/core/api/types/ErrorInterceptor.d.ts.map +1 -0
- package/dist/core/api/types/ErrorResponseData.d.ts +68 -0
- package/dist/core/api/types/ErrorResponseData.d.ts.map +1 -0
- package/dist/core/api/types/RequestConfig.d.ts +21 -0
- package/dist/core/api/types/RequestConfig.d.ts.map +1 -0
- package/dist/core/api/types/RequestInterceptor.d.ts +3 -0
- package/dist/core/api/types/RequestInterceptor.d.ts.map +1 -0
- package/dist/core/api/types/ResponseInterceptor.d.ts +3 -0
- package/dist/core/api/types/ResponseInterceptor.d.ts.map +1 -0
- package/dist/core/api/types/ValidationErrors.d.ts +7 -0
- package/dist/core/api/types/ValidationErrors.d.ts.map +1 -0
- package/dist/core/api/types/index.d.ts +10 -0
- package/dist/core/api/types/index.d.ts.map +1 -0
- package/dist/core/api/useValidationErrors.d.ts +11 -0
- package/dist/core/api/useValidationErrors.d.ts.map +1 -0
- package/dist/core/components/AuthorizedView/AuthorizedView.d.ts +7 -0
- package/dist/core/components/AuthorizedView/AuthorizedView.d.ts.map +1 -0
- package/dist/core/components/AuthorizedView/index.d.ts +2 -0
- package/dist/core/components/AuthorizedView/index.d.ts.map +1 -0
- package/dist/core/components/CancelButton/CancelButton.d.ts +4 -0
- package/dist/core/components/CancelButton/CancelButton.d.ts.map +1 -0
- package/dist/core/components/CancelButton/index.d.ts +2 -0
- package/dist/core/components/CancelButton/index.d.ts.map +1 -0
- package/dist/core/components/ClearButton/ClearButton.d.ts +63 -0
- package/dist/core/components/ClearButton/ClearButton.d.ts.map +1 -0
- package/dist/core/components/ClearButton/index.d.ts +2 -0
- package/dist/core/components/ClearButton/index.d.ts.map +1 -0
- package/dist/core/components/Containers/SimpleContainer.d.ts +10 -0
- package/dist/core/components/Containers/SimpleContainer.d.ts.map +1 -0
- package/dist/core/components/Containers/index.d.ts +2 -0
- package/dist/core/components/Containers/index.d.ts.map +1 -0
- package/dist/core/components/FilterButton/FilterButton.d.ts +86 -0
- package/dist/core/components/FilterButton/FilterButton.d.ts.map +1 -0
- package/dist/core/components/FilterButton/index.d.ts +2 -0
- package/dist/core/components/FilterButton/index.d.ts.map +1 -0
- package/dist/core/components/FilterDisplay/FilterChip.d.ts +9 -0
- package/dist/core/components/FilterDisplay/FilterChip.d.ts.map +1 -0
- package/dist/core/components/FilterDisplay/FilterDisplay.d.ts +10 -0
- package/dist/core/components/FilterDisplay/FilterDisplay.d.ts.map +1 -0
- package/dist/core/components/FilterDisplay/index.d.ts +3 -0
- package/dist/core/components/FilterDisplay/index.d.ts.map +1 -0
- package/dist/core/components/FilterWrapper/FilterWrapper.d.ts +99 -0
- package/dist/core/components/FilterWrapper/FilterWrapper.d.ts.map +1 -0
- package/dist/core/components/FilterWrapper/index.d.ts +2 -0
- package/dist/core/components/FilterWrapper/index.d.ts.map +1 -0
- package/dist/core/components/Footer/Footer.d.ts +3 -0
- package/dist/core/components/Footer/Footer.d.ts.map +1 -0
- package/dist/core/components/Footer/index.d.ts +2 -0
- package/dist/core/components/Footer/index.d.ts.map +1 -0
- package/dist/core/components/LabelText/LabelText.d.ts +103 -0
- package/dist/core/components/LabelText/LabelText.d.ts.map +1 -0
- package/dist/core/components/LabelText/index.d.ts +2 -0
- package/dist/core/components/LabelText/index.d.ts.map +1 -0
- package/dist/core/components/RenderIf/RenderIf.d.ts +7 -0
- package/dist/core/components/RenderIf/RenderIf.d.ts.map +1 -0
- package/dist/core/components/RenderIf/index.d.ts +2 -0
- package/dist/core/components/RenderIf/index.d.ts.map +1 -0
- package/dist/core/components/SectionBox/SectionBox.d.ts +15 -0
- package/dist/core/components/SectionBox/SectionBox.d.ts.map +1 -0
- package/dist/core/components/SectionBox/index.d.ts +2 -0
- package/dist/core/components/SectionBox/index.d.ts.map +1 -0
- package/dist/core/components/SimpleTabs/SimpleTabs.d.ts +17 -0
- package/dist/core/components/SimpleTabs/SimpleTabs.d.ts.map +1 -0
- package/dist/core/components/SimpleTabs/index.d.ts +2 -0
- package/dist/core/components/SimpleTabs/index.d.ts.map +1 -0
- package/dist/core/components/SubmitButton/SubmitButton.d.ts +6 -0
- package/dist/core/components/SubmitButton/SubmitButton.d.ts.map +1 -0
- package/dist/core/components/SubmitButton/index.d.ts +2 -0
- package/dist/core/components/SubmitButton/index.d.ts.map +1 -0
- package/dist/core/components/WithRef/WithRef.d.ts +14 -0
- package/dist/core/components/WithRef/WithRef.d.ts.map +1 -0
- package/dist/core/components/WithRef/index.d.ts +2 -0
- package/dist/core/components/WithRef/index.d.ts.map +1 -0
- package/dist/core/components/index.d.ts +15 -0
- package/dist/core/components/index.d.ts.map +1 -0
- package/dist/core/config.d.ts +24 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/hooks/index.d.ts +3 -0
- package/dist/core/hooks/index.d.ts.map +1 -0
- package/dist/core/hooks/makeQuery.d.ts +12 -0
- package/dist/core/hooks/makeQuery.d.ts.map +1 -0
- package/dist/core/hooks/useApiClient.d.ts +3 -0
- package/dist/core/hooks/useApiClient.d.ts.map +1 -0
- package/dist/core/hooks/useFormErrorHandler.d.ts +35 -0
- package/dist/core/hooks/useFormErrorHandler.d.ts.map +1 -0
- package/dist/core/hooks/useListView.d.ts +20 -0
- package/dist/core/hooks/useListView.d.ts.map +1 -0
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.d.ts +9 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +1 -1
- package/dist/core/models.d.ts +5 -0
- package/dist/core/models.d.ts.map +1 -0
- package/dist/core/types/FilterLabel.d.ts +6 -0
- package/dist/core/types/FilterLabel.d.ts.map +1 -0
- package/dist/core/types/ListModels.d.ts +18 -0
- package/dist/core/types/ListModels.d.ts.map +1 -0
- package/dist/core/types/OptionsRequest.d.ts +4 -0
- package/dist/core/types/OptionsRequest.d.ts.map +1 -0
- package/dist/core/types/index.d.ts +4 -0
- package/dist/core/types/index.d.ts.map +1 -0
- package/dist/core/utils/CacheUtility/index.d.ts +15 -0
- package/dist/core/utils/CacheUtility/index.d.ts.map +1 -0
- package/dist/core/utils/calculateFilterCount.d.ts +2 -0
- package/dist/core/utils/calculateFilterCount.d.ts.map +1 -0
- package/dist/core/utils/format-time.d.ts +79 -0
- package/dist/core/utils/format-time.d.ts.map +1 -0
- package/dist/core/utils/getEmptyObject.d.ts +7 -0
- package/dist/core/utils/getEmptyObject.d.ts.map +1 -0
- package/dist/core/utils/index.d.ts +7 -0
- package/dist/core/utils/index.d.ts.map +1 -0
- package/dist/core/utils/useStableRowCount.d.ts +9 -0
- package/dist/core/utils/useStableRowCount.d.ts.map +1 -0
- package/dist/core/utils/watch/core.d.ts +22 -0
- package/dist/core/utils/watch/core.d.ts.map +1 -0
- package/dist/core/utils/watch/index.d.ts +49 -0
- package/dist/core/utils/watch/index.d.ts.map +1 -0
- package/dist/core/utils/watch/utilities.d.ts +34 -0
- package/dist/core/utils/watch/utilities.d.ts.map +1 -0
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useTransform/enhanced.d.ts +133 -0
- package/dist/hooks/useTransform/enhanced.d.ts.map +1 -0
- package/dist/hooks/useTransform/index.d.ts +93 -0
- package/dist/hooks/useTransform/index.d.ts.map +1 -0
- package/dist/index.cjs +6 -6
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -18
- package/dist/types/AsyncSelectPayload.d.ts +9 -0
- package/dist/types/AsyncSelectPayload.d.ts.map +1 -0
- package/dist/types/OperationResponse.d.ts +5 -0
- package/dist/types/OperationResponse.d.ts.map +1 -0
- package/dist/types/OptionItem.d.ts +75 -0
- package/dist/types/OptionItem.d.ts.map +1 -0
- package/dist/types/api.d.ts +127 -0
- package/dist/types/api.d.ts.map +1 -0
- package/dist/types/events.d.ts +74 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/index.cjs +3 -3
- package/dist/types/index.d.ts +17 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +1 -1
- package/dist/types/utilities.d.ts +458 -0
- package/dist/types/utilities.d.ts.map +1 -0
- package/dist/utils/api.d.ts +14 -0
- package/dist/utils/api.d.ts.map +1 -0
- package/dist/utils/api2.d.ts +14 -0
- package/dist/utils/api2.d.ts.map +1 -0
- package/dist/utils/flattenObjectKeys.d.ts +63 -0
- package/dist/utils/flattenObjectKeys.d.ts.map +1 -0
- package/dist/utils/getTimezone.d.ts +4 -0
- package/dist/utils/getTimezone.d.ts.map +1 -0
- package/dist/utils/handleServerErrors.d.ts +70 -0
- package/dist/utils/handleServerErrors.d.ts.map +1 -0
- package/dist/utils/index.cjs +3 -3
- package/dist/utils/index.d.ts +11 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +1 -1
- package/dist/utils/propertyExists.d.ts +35 -0
- package/dist/utils/propertyExists.d.ts.map +1 -0
- package/dist/utils/readValueAsDate.d.ts +4 -0
- package/dist/utils/readValueAsDate.d.ts.map +1 -0
- package/dist/utils/removeLeadingTrailingSlashes.d.ts +2 -0
- package/dist/utils/removeLeadingTrailingSlashes.d.ts.map +1 -0
- package/dist/utils/schemaTools.d.ts +82 -0
- package/dist/utils/schemaTools.d.ts.map +1 -0
- package/dist/utils/typeGuards.d.ts +316 -0
- package/dist/utils/typeGuards.d.ts.map +1 -0
- package/dist/utils/watch/core.d.ts +22 -0
- package/dist/utils/watch/core.d.ts.map +1 -0
- package/dist/utils/watch/index.d.ts +49 -0
- package/dist/utils/watch/index.d.ts.map +1 -0
- package/dist/utils/watch/utilities.d.ts +34 -0
- package/dist/utils/watch/utilities.d.ts.map +1 -0
- package/dist/wrappers/AsyncMultiSelect/AsyncMultiSelect.d.ts +9 -0
- package/dist/wrappers/AsyncMultiSelect/AsyncMultiSelect.d.ts.map +1 -0
- package/dist/wrappers/AsyncMultiSelect/index.d.ts +3 -0
- package/dist/wrappers/AsyncMultiSelect/index.d.ts.map +1 -0
- package/dist/wrappers/AsyncMultiSelect/types.d.ts +19 -0
- package/dist/wrappers/AsyncMultiSelect/types.d.ts.map +1 -0
- package/dist/wrappers/AsyncMultiSelect2/AsyncMultiSelect2.d.ts +8 -0
- package/dist/wrappers/AsyncMultiSelect2/AsyncMultiSelect2.d.ts.map +1 -0
- package/dist/wrappers/AsyncMultiSelect2/index.d.ts +3 -0
- package/dist/wrappers/AsyncMultiSelect2/index.d.ts.map +1 -0
- package/dist/wrappers/AsyncMultiSelect2/types.d.ts +29 -0
- package/dist/wrappers/AsyncMultiSelect2/types.d.ts.map +1 -0
- package/dist/wrappers/AsyncSelect/index.d.ts +9 -0
- package/dist/wrappers/AsyncSelect/index.d.ts.map +1 -0
- package/dist/wrappers/AsyncSelect/types.d.ts +19 -0
- package/dist/wrappers/AsyncSelect/types.d.ts.map +1 -0
- package/dist/wrappers/Button.d.ts +49 -0
- package/dist/wrappers/Button.d.ts.map +1 -0
- package/dist/wrappers/CheckboxElement/CheckboxElement.d.ts +102 -0
- package/dist/wrappers/CheckboxElement/CheckboxElement.d.ts.map +1 -0
- package/dist/wrappers/CheckboxElement/index.d.ts +3 -0
- package/dist/wrappers/CheckboxElement/index.d.ts.map +1 -0
- package/dist/wrappers/CheckboxElement/types.d.ts +76 -0
- package/dist/wrappers/CheckboxElement/types.d.ts.map +1 -0
- package/dist/wrappers/CheckboxGroup/CheckboxGroup.d.ts +96 -0
- package/dist/wrappers/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/wrappers/CheckboxGroup/EnhancedCheckboxGroup.d.ts +49 -0
- package/dist/wrappers/CheckboxGroup/EnhancedCheckboxGroup.d.ts.map +1 -0
- package/dist/wrappers/CheckboxGroup/enhanced-types.d.ts +171 -0
- package/dist/wrappers/CheckboxGroup/enhanced-types.d.ts.map +1 -0
- package/dist/wrappers/CheckboxGroup/index.d.ts +3 -0
- package/dist/wrappers/CheckboxGroup/index.d.ts.map +1 -0
- package/dist/wrappers/CheckboxGroup/types.d.ts +106 -0
- package/dist/wrappers/CheckboxGroup/types.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/DatePickerElement.d.ts +131 -0
- package/dist/wrappers/DatePickerElement/DatePickerElement.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/DatePickerElementCore.d.ts +57 -0
- package/dist/wrappers/DatePickerElement/DatePickerElementCore.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/hooks/index.d.ts +24 -0
- package/dist/wrappers/DatePickerElement/hooks/index.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/hooks/useDatePickerStyles.d.ts +63 -0
- package/dist/wrappers/DatePickerElement/hooks/useDatePickerStyles.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/hooks/useDatePickerValidation.d.ts +79 -0
- package/dist/wrappers/DatePickerElement/hooks/useDatePickerValidation.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/hooks/useDatePickerValue.d.ts +73 -0
- package/dist/wrappers/DatePickerElement/hooks/useDatePickerValue.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/index.d.ts +47 -0
- package/dist/wrappers/DatePickerElement/index.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/types.d.ts +183 -0
- package/dist/wrappers/DatePickerElement/types.d.ts.map +1 -0
- package/dist/wrappers/DatePickerElement/utils.d.ts +89 -0
- package/dist/wrappers/DatePickerElement/utils.d.ts.map +1 -0
- package/dist/wrappers/DateTimePickerElement/index.d.ts +1 -0
- package/dist/wrappers/DateTimePickerElement/index.d.ts.map +1 -0
- package/dist/wrappers/DateTimePickerElement/types.d.ts +1 -0
- package/dist/wrappers/DateTimePickerElement/types.d.ts.map +1 -0
- package/dist/wrappers/Field/index.d.ts +42 -0
- package/dist/wrappers/Field/index.d.ts.map +1 -0
- package/dist/wrappers/NumberFieldElement/NumberFieldElement.d.ts +176 -0
- package/dist/wrappers/NumberFieldElement/NumberFieldElement.d.ts.map +1 -0
- package/dist/wrappers/NumberFieldElement/index.d.ts +3 -0
- package/dist/wrappers/NumberFieldElement/index.d.ts.map +1 -0
- package/dist/wrappers/OTPInputElement/HelperText.d.ts +8 -0
- package/dist/wrappers/OTPInputElement/HelperText.d.ts.map +1 -0
- package/dist/wrappers/OTPInputElement/OTPInputElement.d.ts +32 -0
- package/dist/wrappers/OTPInputElement/OTPInputElement.d.ts.map +1 -0
- package/dist/wrappers/OTPInputElement/index.d.ts +3 -0
- package/dist/wrappers/OTPInputElement/index.d.ts.map +1 -0
- package/dist/wrappers/PasswordElement/PasswordElement.d.ts +104 -0
- package/dist/wrappers/PasswordElement/PasswordElement.d.ts.map +1 -0
- package/dist/wrappers/PasswordElement/index.d.ts +2 -0
- package/dist/wrappers/PasswordElement/index.d.ts.map +1 -0
- package/dist/wrappers/RadioButtonGroup/RadioButtonGroup.d.ts +38 -0
- package/dist/wrappers/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -0
- package/dist/wrappers/RadioButtonGroup/index.d.ts +2 -0
- package/dist/wrappers/RadioButtonGroup/index.d.ts.map +1 -0
- package/dist/wrappers/SelectCascadeElement/SelectCascadeElement.d.ts +22 -0
- package/dist/wrappers/SelectCascadeElement/SelectCascadeElement.d.ts.map +1 -0
- package/dist/wrappers/SelectCascadeElement/index.d.ts +2 -0
- package/dist/wrappers/SelectCascadeElement/index.d.ts.map +1 -0
- package/dist/wrappers/SelectElement/SelectElement.d.ts +152 -0
- package/dist/wrappers/SelectElement/SelectElement.d.ts.map +1 -0
- package/dist/wrappers/SelectElement/index.d.ts +2 -0
- package/dist/wrappers/SelectElement/index.d.ts.map +1 -0
- package/dist/wrappers/SelectMultiElement/SelectMultiElement.d.ts +21 -0
- package/dist/wrappers/SelectMultiElement/SelectMultiElement.d.ts.map +1 -0
- package/dist/wrappers/SelectMultiElement/index.d.ts +2 -0
- package/dist/wrappers/SelectMultiElement/index.d.ts.map +1 -0
- package/dist/wrappers/TextFieldElement/TextFieldElement.d.ts +179 -0
- package/dist/wrappers/TextFieldElement/TextFieldElement.d.ts.map +1 -0
- package/dist/wrappers/TextFieldElement/index.d.ts +3 -0
- package/dist/wrappers/TextFieldElement/index.d.ts.map +1 -0
- package/dist/wrappers/TimePickerElement/TimePickerElement.d.ts +30 -0
- package/dist/wrappers/TimePickerElement/TimePickerElement.d.ts.map +1 -0
- package/dist/wrappers/TimePickerElement/index.d.ts +2 -0
- package/dist/wrappers/TimePickerElement/index.d.ts.map +1 -0
- package/dist/wrappers/index.cjs +3 -3
- package/dist/wrappers/index.d.ts +14 -0
- package/dist/wrappers/index.d.ts.map +1 -0
- package/dist/wrappers/index.js +1 -1
- package/dist/wrappers/types/common.d.ts +87 -0
- package/dist/wrappers/types/common.d.ts.map +1 -0
- package/dist/wrappers/types/index.d.ts +8 -0
- package/dist/wrappers/types/index.d.ts.map +1 -0
- package/package.json +4 -2
- package/dist/chunk-BXF3QEBN.js +0 -2181
- package/dist/chunk-GHW77WIM.cjs +0 -72
- package/dist/chunk-M526GQZS.js +0 -2490
- package/dist/chunk-PUQIPRL2.js +0 -467
- /package/dist/{chunk-MULSVYFT.js → chunk-6GKAC3KH.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -57,8 +57,23 @@ import {
|
|
|
57
57
|
useWatchSelector,
|
|
58
58
|
useWatchTransform,
|
|
59
59
|
withDataModal
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NMJ5V7FQ.js";
|
|
61
61
|
import "./chunk-OJF67RNM.js";
|
|
62
|
+
import {
|
|
63
|
+
brand,
|
|
64
|
+
createEventValueExtractor,
|
|
65
|
+
extractEventValue,
|
|
66
|
+
isFormChangeEvent,
|
|
67
|
+
isFormData,
|
|
68
|
+
isInputChangeEvent,
|
|
69
|
+
isJsonArray,
|
|
70
|
+
isJsonObject,
|
|
71
|
+
isRequestBody,
|
|
72
|
+
isSelectChangeEvent,
|
|
73
|
+
typedEntries,
|
|
74
|
+
typedKeys,
|
|
75
|
+
typedValues
|
|
76
|
+
} from "./chunk-6GKAC3KH.js";
|
|
62
77
|
import {
|
|
63
78
|
api,
|
|
64
79
|
api2,
|
|
@@ -85,22 +100,7 @@ import {
|
|
|
85
100
|
propertyExists,
|
|
86
101
|
removeLeadingTrailingSlashes,
|
|
87
102
|
schemaTools
|
|
88
|
-
} from "./chunk-
|
|
89
|
-
import {
|
|
90
|
-
brand,
|
|
91
|
-
createEventValueExtractor,
|
|
92
|
-
extractEventValue,
|
|
93
|
-
isFormChangeEvent,
|
|
94
|
-
isFormData,
|
|
95
|
-
isInputChangeEvent,
|
|
96
|
-
isJsonArray,
|
|
97
|
-
isJsonObject,
|
|
98
|
-
isRequestBody,
|
|
99
|
-
isSelectChangeEvent,
|
|
100
|
-
typedEntries,
|
|
101
|
-
typedKeys,
|
|
102
|
-
typedValues
|
|
103
|
-
} from "./chunk-MULSVYFT.js";
|
|
103
|
+
} from "./chunk-XN3KVY4J.js";
|
|
104
104
|
import {
|
|
105
105
|
AsyncMultiSelect2,
|
|
106
106
|
CheckboxElement,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
useDatePickerStyles,
|
|
129
129
|
useDatePickerValidation,
|
|
130
130
|
useDatePickerValue
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-HKO2FXDM.js";
|
|
132
132
|
import {
|
|
133
133
|
transformFactories,
|
|
134
134
|
useEnhancedTransform,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface AsyncSelectPayload {
|
|
2
|
+
query: string | null;
|
|
3
|
+
initialValue?: string | number | null;
|
|
4
|
+
}
|
|
5
|
+
export interface AsyncSelectMultiPayload {
|
|
6
|
+
query: string | null;
|
|
7
|
+
initialValues?: string[] | number[] | null;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=AsyncSelectPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsyncSelectPayload.d.ts","sourceRoot":"","sources":["../../src/types/AsyncSelectPayload.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACvC;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;CAC5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationResponse.d.ts","sourceRoot":"","sources":["../../src/types/OperationResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Standard option item structure for select components.
|
|
3
|
+
*
|
|
4
|
+
* This type defines the expected structure for option items used in
|
|
5
|
+
* select components throughout the application. It provides a consistent
|
|
6
|
+
* interface with string labels and values.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* Basic usage:
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const categories: OptionItem[] = [
|
|
12
|
+
* { Label: 'Technology', Value: 'tech' },
|
|
13
|
+
* { Label: 'Finance', Value: 'finance' },
|
|
14
|
+
* { Label: 'Healthcare', Value: 'health' }
|
|
15
|
+
* ];
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface OptionItem {
|
|
21
|
+
/** Display text shown to the user */
|
|
22
|
+
Label: string;
|
|
23
|
+
/** Internal value used for form submission and identification */
|
|
24
|
+
Value: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Payload structure for async multi-select operations.
|
|
28
|
+
*
|
|
29
|
+
* This type defines the data structure used when performing asynchronous
|
|
30
|
+
* multi-select operations, typically for server-side filtering and loading
|
|
31
|
+
* of options with pre-selected values.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* Search with initial values:
|
|
35
|
+
* ```tsx
|
|
36
|
+
* const payload: AsyncMultiSelectPayload = {
|
|
37
|
+
* query: 'john',
|
|
38
|
+
* initialValues: ['user1', 'user2', 'user3']
|
|
39
|
+
* };
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export interface AsyncMultiSelectPayload {
|
|
45
|
+
/** Search query string for filtering options */
|
|
46
|
+
query: string | null;
|
|
47
|
+
/** Pre-selected values to be included in the selection */
|
|
48
|
+
initialValues?: string[] | number[] | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Extended option item structure supporting both string and number values.
|
|
52
|
+
*
|
|
53
|
+
* This type extends the basic OptionItem to support numeric values,
|
|
54
|
+
* providing flexibility for different data types while maintaining
|
|
55
|
+
* the same label-value structure.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* Mixed value types:
|
|
59
|
+
* ```tsx
|
|
60
|
+
* const options: OptionItem2[] = [
|
|
61
|
+
* { Label: 'First Option', Value: 1 },
|
|
62
|
+
* { Label: 'Second Option', Value: 'second' },
|
|
63
|
+
* { Label: 'Third Option', Value: 3 }
|
|
64
|
+
* ];
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export interface OptionItem2 {
|
|
70
|
+
/** Display text shown to the user */
|
|
71
|
+
Label: string;
|
|
72
|
+
/** Internal value that can be either a number or string */
|
|
73
|
+
Value: number | string;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=OptionItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionItem.d.ts","sourceRoot":"","sources":["../../src/types/OptionItem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,UAAU;IACzB,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,uBAAuB;IACtC,gDAAgD;IAChD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;CAC5C;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,WAAW;IAC1B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-safe API request and response utilities
|
|
3
|
+
* @module types/api
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* HTTP methods supported by the API
|
|
7
|
+
*/
|
|
8
|
+
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
9
|
+
/**
|
|
10
|
+
* Valid JSON primitive types that can be sent in request bodies
|
|
11
|
+
*/
|
|
12
|
+
export type JsonPrimitive = string | number | boolean | null;
|
|
13
|
+
/**
|
|
14
|
+
* Valid JSON values (primitives, objects, arrays)
|
|
15
|
+
*/
|
|
16
|
+
export type JsonValue = JsonPrimitive | JsonObject | JsonArray;
|
|
17
|
+
/**
|
|
18
|
+
* JSON object with string keys and JSON values
|
|
19
|
+
*/
|
|
20
|
+
export interface JsonObject {
|
|
21
|
+
[key: string]: JsonValue;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* JSON array containing JSON values
|
|
25
|
+
*/
|
|
26
|
+
export type JsonArray = JsonValue[];
|
|
27
|
+
/**
|
|
28
|
+
* Type-safe request body - must be JSON-serializable
|
|
29
|
+
*/
|
|
30
|
+
export type RequestBody = JsonObject | JsonArray | FormData;
|
|
31
|
+
/**
|
|
32
|
+
* Standard HTTP headers with known header names
|
|
33
|
+
*/
|
|
34
|
+
export type HttpHeaders = Record<string, string>;
|
|
35
|
+
/**
|
|
36
|
+
* Options for making HTTP requests (based on fetch API)
|
|
37
|
+
*/
|
|
38
|
+
export interface RequestOptions {
|
|
39
|
+
/**
|
|
40
|
+
* HTTP method for the request
|
|
41
|
+
*/
|
|
42
|
+
method: HttpMethod;
|
|
43
|
+
/**
|
|
44
|
+
* Request headers
|
|
45
|
+
*/
|
|
46
|
+
headers?: HttpHeaders;
|
|
47
|
+
/**
|
|
48
|
+
* Request body (string for JSON, FormData for file uploads)
|
|
49
|
+
*/
|
|
50
|
+
body?: string | FormData;
|
|
51
|
+
/**
|
|
52
|
+
* Request credentials mode
|
|
53
|
+
*/
|
|
54
|
+
credentials?: RequestCredentials;
|
|
55
|
+
/**
|
|
56
|
+
* Request mode (cors, no-cors, same-origin)
|
|
57
|
+
*/
|
|
58
|
+
mode?: RequestMode;
|
|
59
|
+
/**
|
|
60
|
+
* Cache mode for the request
|
|
61
|
+
*/
|
|
62
|
+
cache?: RequestCache;
|
|
63
|
+
/**
|
|
64
|
+
* Redirect mode for the request
|
|
65
|
+
*/
|
|
66
|
+
redirect?: RequestRedirect;
|
|
67
|
+
/**
|
|
68
|
+
* Referrer policy for the request
|
|
69
|
+
*/
|
|
70
|
+
referrerPolicy?: ReferrerPolicy;
|
|
71
|
+
/**
|
|
72
|
+
* AbortSignal for request cancellation
|
|
73
|
+
*/
|
|
74
|
+
signal?: AbortSignal;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Configuration options for API calls
|
|
78
|
+
*/
|
|
79
|
+
export interface ApiCallOptions {
|
|
80
|
+
/**
|
|
81
|
+
* Custom headers to include in the request
|
|
82
|
+
*/
|
|
83
|
+
headers?: HttpHeaders;
|
|
84
|
+
/**
|
|
85
|
+
* Whether to include authentication token
|
|
86
|
+
* @defaultValue true
|
|
87
|
+
*/
|
|
88
|
+
includeAuth?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* AbortSignal for request cancellation
|
|
91
|
+
*/
|
|
92
|
+
signal?: AbortSignal;
|
|
93
|
+
/**
|
|
94
|
+
* Custom base URL (overrides default)
|
|
95
|
+
*/
|
|
96
|
+
baseUrl?: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Options for fetch operations with any additional parameters
|
|
100
|
+
*/
|
|
101
|
+
export interface FetchOptions extends Omit<RequestInit, 'body' | 'headers'> {
|
|
102
|
+
/**
|
|
103
|
+
* Request headers
|
|
104
|
+
*/
|
|
105
|
+
headers?: HttpHeaders;
|
|
106
|
+
/**
|
|
107
|
+
* Request body
|
|
108
|
+
*/
|
|
109
|
+
body?: RequestBody;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Type guard to check if a value is a valid JSON object
|
|
113
|
+
*/
|
|
114
|
+
export declare function isJsonObject(value: unknown): value is JsonObject;
|
|
115
|
+
/**
|
|
116
|
+
* Type guard to check if a value is a valid JSON array
|
|
117
|
+
*/
|
|
118
|
+
export declare function isJsonArray(value: unknown): value is JsonArray;
|
|
119
|
+
/**
|
|
120
|
+
* Type guard to check if a value is FormData
|
|
121
|
+
*/
|
|
122
|
+
export declare function isFormData(value: unknown): value is FormData;
|
|
123
|
+
/**
|
|
124
|
+
* Type guard to check if a value is a valid request body
|
|
125
|
+
*/
|
|
126
|
+
export declare function isRequestBody(value: unknown): value is RequestBody;
|
|
127
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/types/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IACzE;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAOhE;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAE9D;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ,CAE5D;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,CAElE"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-safe DOM event and handler utilities for form transformations
|
|
3
|
+
* @module types/events
|
|
4
|
+
*/
|
|
5
|
+
import type { ChangeEvent, SyntheticEvent } from 'react';
|
|
6
|
+
/**
|
|
7
|
+
* HTML input elements that support the onChange event with a value
|
|
8
|
+
*/
|
|
9
|
+
export type InputElement = HTMLInputElement | HTMLTextAreaElement;
|
|
10
|
+
/**
|
|
11
|
+
* HTML select element
|
|
12
|
+
*/
|
|
13
|
+
export type HtmlSelectElement = HTMLSelectElement;
|
|
14
|
+
/**
|
|
15
|
+
* Standard React change event for input/textarea elements
|
|
16
|
+
*/
|
|
17
|
+
export type InputChangeEvent = ChangeEvent<InputElement>;
|
|
18
|
+
/**
|
|
19
|
+
* Standard React change event for select elements
|
|
20
|
+
*/
|
|
21
|
+
export type SelectChangeEvent = ChangeEvent<HtmlSelectElement>;
|
|
22
|
+
/**
|
|
23
|
+
* Union of all standard form change events
|
|
24
|
+
*/
|
|
25
|
+
export type FormChangeEvent = InputChangeEvent | SelectChangeEvent;
|
|
26
|
+
/**
|
|
27
|
+
* Generic synthetic event from React
|
|
28
|
+
*/
|
|
29
|
+
export type GenericSyntheticEvent = SyntheticEvent<Element>;
|
|
30
|
+
/**
|
|
31
|
+
* Value extracted from an event or passed directly
|
|
32
|
+
* This covers MUI's pattern of (event, value) callbacks
|
|
33
|
+
*/
|
|
34
|
+
export type EventOrValue<TValue = unknown> = TValue | InputChangeEvent | SelectChangeEvent | GenericSyntheticEvent;
|
|
35
|
+
/**
|
|
36
|
+
* Transform output handler that accepts various event patterns
|
|
37
|
+
* Supports:
|
|
38
|
+
* - Standard onChange: (event: ChangeEvent) => void
|
|
39
|
+
* - MUI onChange: (event: ChangeEvent, value: T) => void
|
|
40
|
+
* - Direct value: (value: T) => void
|
|
41
|
+
*/
|
|
42
|
+
export type TransformOutputHandler<TValue = unknown> = (eventOrValue: EventOrValue<TValue>, value?: TValue) => TValue;
|
|
43
|
+
/**
|
|
44
|
+
* Transform input handler that converts a value to display format
|
|
45
|
+
*/
|
|
46
|
+
export type TransformInputHandler<TInput = unknown, TOutput = unknown> = (value: TInput) => TOutput;
|
|
47
|
+
/**
|
|
48
|
+
* Generic event handler that accepts rest parameters
|
|
49
|
+
* Used for flexibility in event handling
|
|
50
|
+
*/
|
|
51
|
+
export type GenericEventHandler<TReturn = void> = (...args: unknown[]) => TReturn;
|
|
52
|
+
/**
|
|
53
|
+
* Type guard to check if a value is an InputChangeEvent
|
|
54
|
+
*/
|
|
55
|
+
export declare function isInputChangeEvent(value: unknown): value is InputChangeEvent;
|
|
56
|
+
/**
|
|
57
|
+
* Type guard to check if a value is a SelectChangeEvent
|
|
58
|
+
*/
|
|
59
|
+
export declare function isSelectChangeEvent(value: unknown): value is SelectChangeEvent;
|
|
60
|
+
/**
|
|
61
|
+
* Type guard to check if a value is any form change event
|
|
62
|
+
*/
|
|
63
|
+
export declare function isFormChangeEvent(value: unknown): value is FormChangeEvent;
|
|
64
|
+
/**
|
|
65
|
+
* Extract value from event or return the value directly
|
|
66
|
+
* Handles the common pattern: value ?? event?.target?.value ?? event
|
|
67
|
+
*/
|
|
68
|
+
export declare function extractEventValue<TValue = unknown>(eventOrValue: EventOrValue<TValue>, fallbackValue?: TValue): TValue;
|
|
69
|
+
/**
|
|
70
|
+
* Create a safe event value extractor with type narrowing
|
|
71
|
+
* Useful for MUI components that pass (event, value) pattern
|
|
72
|
+
*/
|
|
73
|
+
export declare function createEventValueExtractor<TValue = unknown>(): (eventOrValue: EventOrValue<TValue>, directValue?: TValue) => TValue;
|
|
74
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/types/events.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG,mBAAmB,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,iBAAiB,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,MAAM,GAAG,OAAO,IACrC,MAAM,GACN,gBAAgB,GAChB,iBAAiB,GACjB,qBAAqB,CAAC;AAE1B;;;;;;GAMG;AACH,MAAM,MAAM,sBAAsB,CAAC,MAAM,GAAG,OAAO,IAAI,CACrD,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,EAClC,KAAK,CAAC,EAAE,MAAM,KACX,MAAM,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,qBAAqB,CAAC,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO,IAAI,CACvE,KAAK,EAAE,MAAM,KACV,OAAO,CAAC;AAEb;;;GAGG;AACH,MAAM,MAAM,mBAAmB,CAAC,OAAO,GAAG,IAAI,IAAI,CAChD,GAAG,IAAI,EAAE,OAAO,EAAE,KACf,OAAO,CAAC;AAEb;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,gBAAgB,CAS5E;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,iBAAiB,CAE5B;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,eAAe,CAE1E;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,GAAG,OAAO,EAChD,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,EAClC,aAAa,CAAC,EAAE,MAAM,GACrB,MAAM,CAoBR;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,GAAG,OAAO,MAChD,cAAc,YAAY,CAAC,MAAM,CAAC,EAAE,cAAc,MAAM,KAAG,MAAM,CAQ1E"}
|
package/dist/types/index.cjs
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkXTPFOURJcjs = require('../chunk-XTPFOURJ.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -27,5 +27,5 @@ var _chunkGHW77WIMcjs = require('../chunk-GHW77WIM.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
exports.brand =
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
exports.brand = _chunkXTPFOURJcjs.brand; exports.createEventValueExtractor = _chunkXTPFOURJcjs.createEventValueExtractor; exports.extractEventValue = _chunkXTPFOURJcjs.extractEventValue; exports.isFormChangeEvent = _chunkXTPFOURJcjs.isFormChangeEvent; exports.isFormData = _chunkXTPFOURJcjs.isFormData; exports.isInputChangeEvent = _chunkXTPFOURJcjs.isInputChangeEvent; exports.isJsonArray = _chunkXTPFOURJcjs.isJsonArray; exports.isJsonObject = _chunkXTPFOURJcjs.isJsonObject; exports.isRequestBody = _chunkXTPFOURJcjs.isRequestBody; exports.isSelectChangeEvent = _chunkXTPFOURJcjs.isSelectChangeEvent; exports.typedEntries = _chunkXTPFOURJcjs.typedEntries; exports.typedKeys = _chunkXTPFOURJcjs.typedKeys; exports.typedValues = _chunkXTPFOURJcjs.typedValues;
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImQ6XFxQcm9qZWN0c1xcR05XZWJTb2Z0LlVJXFxwYWNrYWdlc1xcdWlcXGRpc3RcXHR5cGVzXFxpbmRleC5janMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDRTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNGLHlEQUE4QjtBQUM5QjtBQUNFO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0Ysd3ZCQUFDIiwiZmlsZSI6IkQ6XFxQcm9qZWN0c1xcR05XZWJTb2Z0LlVJXFxwYWNrYWdlc1xcdWlcXGRpc3RcXHR5cGVzXFxpbmRleC5janMifQ==
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from '../core/api/types/ApiResponse';
|
|
2
|
+
export * from '../core/api/Models';
|
|
3
|
+
export * from './AsyncSelectPayload';
|
|
4
|
+
export * from './OptionItem';
|
|
5
|
+
export * from './OperationResponse';
|
|
6
|
+
export interface ListResponse<TGridModel> {
|
|
7
|
+
Data: TGridModel[];
|
|
8
|
+
Total: number;
|
|
9
|
+
}
|
|
10
|
+
export interface ValueLabel {
|
|
11
|
+
Value: number | string;
|
|
12
|
+
Label: string;
|
|
13
|
+
}
|
|
14
|
+
export * from './api';
|
|
15
|
+
export * from './events';
|
|
16
|
+
export * from './utilities';
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAE9C,cAAc,oBAAoB,CAAC;AAEnC,cAAc,sBAAsB,CAAC;AAErC,cAAc,cAAc,CAAC;AAE7B,cAAc,qBAAqB,CAAC;AAEpC,MAAM,WAAW,YAAY,CAAC,UAAU;IACtC,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC;AAEzB,cAAc,aAAa,CAAC"}
|