@inntechcorp/it-design 3.1.14 → 3.1.16
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/enums/enum.d.ts +2 -0
- package/dist/helpers/binary/GetTypeByFileType.d.ts +1 -1
- package/dist/icons/FileDocument.d.ts +6 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/index.cjs.js +207 -200
- package/dist/index.d.ts +10 -2
- package/dist/index.esm.js +200 -193
- package/dist/locales/calendar.json +22 -22
- package/dist/locales/itd.json +234 -235
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ declare function UniUpperCase(value?: string, lang?: string): string;
|
|
|
97
97
|
|
|
98
98
|
declare function FormatBytes(bytes: number, decimals?: number): string;
|
|
99
99
|
|
|
100
|
-
declare function GetTypeByFileType(type: FileTypes): "" | FileExtensions.SVG | FileExtensions.PNG | FileExtensions.GIF | FileExtensions.WEBP | FileExtensions.PDF | FileExtensions.OTF | ".jpg, .jpeg";
|
|
100
|
+
declare function GetTypeByFileType(type: FileTypes): "" | FileExtensions.SVG | FileExtensions.PNG | FileExtensions.GIF | FileExtensions.WEBP | FileExtensions.PDF | FileExtensions.XLSX | FileExtensions.OTF | ".jpg, .jpeg";
|
|
101
101
|
|
|
102
102
|
declare function Wait(milliseconds: number): Promise<unknown>;
|
|
103
103
|
|
|
@@ -399,6 +399,12 @@ type IconProps = {
|
|
|
399
399
|
};
|
|
400
400
|
declare const NoData: ({ className, height, width }: IconProps) => react_jsx_runtime.JSX.Element;
|
|
401
401
|
|
|
402
|
+
declare const FileDocument: ({ width, height, fill }: {
|
|
403
|
+
width?: number;
|
|
404
|
+
height?: number;
|
|
405
|
+
fill?: string;
|
|
406
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
407
|
+
|
|
402
408
|
type InlineSVGCachedProps = {
|
|
403
409
|
src: string;
|
|
404
410
|
className?: string;
|
|
@@ -1677,6 +1683,7 @@ declare enum FileTypes {
|
|
|
1677
1683
|
GIF = "image/gif",
|
|
1678
1684
|
WEBP = "image/webp",
|
|
1679
1685
|
PDF = "application/pdf",
|
|
1686
|
+
XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
1680
1687
|
OTF = "font/otf"
|
|
1681
1688
|
}
|
|
1682
1689
|
declare enum FileExtensions {
|
|
@@ -1686,6 +1693,7 @@ declare enum FileExtensions {
|
|
|
1686
1693
|
GIF = ".gif",
|
|
1687
1694
|
WEBP = ".webp",
|
|
1688
1695
|
PDF = ".pdf",
|
|
1696
|
+
XLSX = ".xlsx",
|
|
1689
1697
|
OTF = ".otf"
|
|
1690
1698
|
}
|
|
1691
1699
|
declare enum FormValidationTypes {
|
|
@@ -2344,5 +2352,5 @@ declare const resources: {
|
|
|
2344
2352
|
};
|
|
2345
2353
|
};
|
|
2346
2354
|
|
|
2347
|
-
export { ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, Calendar, Card, CheckFileURL, Checkbox, Checkmark, ChunkArray, Collapse, ComponentPositions, ComponentSizes, ComponentSizesSlug, ConnectionStatus, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, FileChecker, FileExtensions, FileTypes, FindSelector, Flex, Form, FormValidationTypes, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, H1, H2, H3, H4, ITDContext, ITDProvider, _default as Image, ImageCropper, _default$4 as InlineSVGCached, InlineSelect, InlineSelectArrow, Input, IsValidJSON, Lock as LockIcon, ModalManager, ModalState, NoData, Notification, Picture, Progress, Radio, RemoveUnits, Result, SVGLoader, Select, Spin, Status, Switch, Table, Tabs, TextArea, TinyScrollbar, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, Wait, ZoomIn, ZoomOut, resources, toKebabCase, useAddExternalCSS, useAvoidCollision, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useKeyboardShortcut, useModal, useModalFull, useModalState, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery };
|
|
2355
|
+
export { ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, Calendar, Card, CheckFileURL, Checkbox, Checkmark, ChunkArray, Collapse, ComponentPositions, ComponentSizes, ComponentSizesSlug, ConnectionStatus, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, FileChecker, FileDocument, FileExtensions, FileTypes, FindSelector, Flex, Form, FormValidationTypes, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, H1, H2, H3, H4, ITDContext, ITDProvider, _default as Image, ImageCropper, _default$4 as InlineSVGCached, InlineSelect, InlineSelectArrow, Input, IsValidJSON, Lock as LockIcon, ModalManager, ModalState, NoData, Notification, Picture, Progress, Radio, RemoveUnits, Result, SVGLoader, Select, Spin, Status, Switch, Table, Tabs, TextArea, TinyScrollbar, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, Wait, ZoomIn, ZoomOut, resources, toKebabCase, useAddExternalCSS, useAvoidCollision, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useKeyboardShortcut, useModal, useModalFull, useModalState, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery };
|
|
2348
2356
|
export type { AccordionItemProps, AccordionProps, AccordionSubMenuProps, AlertProps, AlertSize, AlertType, ButtonProps, ButtonState, ButtonType, ButtonVariant, CalendarDayProps, CalendarProps, CalendarValueProps, CardProps, CheckboxEvent, CheckboxGroupProps, CheckboxProps, CropArea, CropSettings, DatePickerProps, Direction, FieldUpdateProps, FlexAlignProps, FlexGapProps, FlexJustifyProps, FlexProps, FormContextType, FormItemProps, FormProps, FormRuleProps, FormSubComponentProps, FormValueProps, GroupCheckboxOptionType, ITDContextType, ITDImperativeFuncProps, ITDProviderProps, ITDSize, ITDSizeSlug, ImageCropperProps, ImageCropperRef, InputProps, InputVariant, ModalContentProps, ModalProps, ModalRefProps, NotificationContextType, NotificationsProps, ProgressProps, ProgressStatus, QueryValueProps, RadioButtonProps, RadioGroupProps, RadioType, ResultProps, SelectDirection, SelectOptionProps, SelectPosition, SelectProps, SelectToggleProps, SelectValue, SelectVariant, SingleQueryProps, StatusProps, StatusVariant, SwitchProps, TableColumnType, TableProps, TableRefProps, TableRow, TableTRProps, TabsItemProps, TabsProps, TextAreaEvent, TextAreaProps, TextAreaVariant, UploadProgressProps, UploadProps, UploadResultMessageProps };
|