@kilnonedre/foundation 0.0.20 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -4
- package/dist/index.js +231 -234
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -496,10 +496,10 @@ declare const isValidURL: (string: string) => boolean;
|
|
|
496
496
|
*/
|
|
497
497
|
declare const emptyToUndefined: (value: unknown) => string | undefined;
|
|
498
498
|
declare const enumValues: <T extends Record<string, string>>(obj: T) => [T[keyof T], ...T[keyof T][]];
|
|
499
|
-
declare const zTextOptional: (label: string, min?: number, max?: number) => z.
|
|
499
|
+
declare const zTextOptional: (label: string, min?: number, max?: number) => z.ZodString;
|
|
500
500
|
declare const zTextRequired: (label: string, min?: number, max?: number) => z.ZodString;
|
|
501
501
|
declare const zIdCard: (label?: string) => z.ZodString;
|
|
502
|
-
declare const zIdCardOptional: (label?: string) => z.
|
|
502
|
+
declare const zIdCardOptional: (label?: string) => z.ZodOptional<z.ZodString>;
|
|
503
503
|
declare const zEmail: (max?: number) => z.ZodString;
|
|
504
504
|
declare const zPhone: (max?: number) => z.ZodString;
|
|
505
505
|
declare const zId: (label?: string) => z.ZodString;
|
|
@@ -520,8 +520,8 @@ declare const zDateOptional: (label: string) => z.ZodOptional<z.ZodDate>;
|
|
|
520
520
|
declare const zNumber: (label: string, min?: number, max?: number) => z.ZodNumber;
|
|
521
521
|
declare const zNumberOptional: (label: string, min?: number, max?: number) => z.ZodOptional<z.ZodNumber>;
|
|
522
522
|
declare const zCoerceNumber: (label: string, min?: number, max?: number) => z.ZodCoercedNumber<unknown>;
|
|
523
|
-
declare const zCoerceNumberOptional: (label: string, min?: number, max?: number) => z.
|
|
523
|
+
declare const zCoerceNumberOptional: (label: string, min?: number, max?: number) => z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
524
524
|
declare const zDecimal: (label: string, min?: number, max?: number) => z.ZodString;
|
|
525
|
-
declare const zDecimalOptional: (label: string, min?: number, max?: number) => z.
|
|
525
|
+
declare const zDecimalOptional: (label: string, min?: number, max?: number) => z.ZodOptional<z.ZodString>;
|
|
526
526
|
|
|
527
527
|
export { Badge, Button, CheckboxSingleList, type CommonObject, type CommonOption, type ConfigCascaderOption, type ConfigDropdownCascaderMultiProp, type ConfigDropdownCascaderSingleProp, type ConfigRenderBase, type ConfigRenderPasswordInput, DataTable, Dialog, DisplayTable, DropdownCascaderMulti, DropdownCascaderSingle, EnumApprovalStatus, EnumApprovalStatusLabel, EnumApprovalView, EnumApprovalViewLabel, EnumEntityStatus, EnumEntityStatusLabel, EnumFormMode, EnumFormModeLabel, EnumGenderType, EnumGenderTypeLabel, EnumMapProvider, EnumMapProviderLabel, EnumOrderStatus, EnumOrderStatusLabel, EnumPublishMethod, EnumPublishMethodLabel, EnumSemanticColor, EnumSemanticColorLabel, EnumStorageMethod, EnumStorageMethodLabel, EnumVariant, EnumVariantLabel, FieldController, FieldGroup, FieldPlain, FieldText, FormSelect, FormTimePicker, KeywordSearchBar, MediaUploader, Provider, type SemanticColorToken, TableEmpty, TableFormDialog, TableHeaderText, TableImage, TablePagination, TableText, Text, Title, type UUID, boolToText, buildColumn, cn, emptyToUndefined, enumApprovalStatusOptions, enumApprovalViewOptions, enumEntityStatusOptions, enumFormModeOptions, enumGenderTypeOptions, enumMapProviderOptions, enumOrderStatusOptions, enumPublishMethodOptions, enumSemanticColorOptions, enumStorageMethodOptions, enumToOptions, enumValues, enumVariantOptions, formatDateTime, formatDecimal, genUuid, getOptionMap, getSemanticColor, getSuccessMessage, isEmpty, isFormData, isValidEmail, isValidURL, renderBody, renderCascaderNodes, renderConfirmFooter, renderFooter, renderInput, renderPasswordInput, renderTextarea, zBool, zCoerceNumber, zCoerceNumberOptional, zDate, zDateOptional, zDecimal, zDecimalOptional, zEmail, zEnumNullable, zEnumNullableOptional, zEnumNullableRequired, zEnumOptional, zEnumRequired, zId, zIdCard, zIdCardOptional, zIds, zImageId, zImageIdRequired, zImageIds, zImageIdsOptional, zNumber, zNumberOptional, zPhone, zTextOptional, zTextRequired, zTexts };
|