@inceptionbg/iui 1.0.142 → 1.0.143

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 CHANGED
@@ -11,7 +11,7 @@ import { MouseEventHandler, ButtonHTMLAttributes, FormEvent, ReactNode, FC, Func
11
11
  import { IconDefinition, RotateProp } from '@fortawesome/fontawesome-svg-core';
12
12
 
13
13
  type IButtonColor = 'primary' | 'secondary' | 'error';
14
- interface Props$u {
14
+ interface Props$v {
15
15
  label: string;
16
16
  icon?: IconDefinition;
17
17
  iconEnd?: IconDefinition;
@@ -25,7 +25,7 @@ interface Props$u {
25
25
  className?: string;
26
26
  buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
27
27
  }
28
- declare const Button: react.ForwardRefExoticComponent<Props$u & react.RefAttributes<HTMLButtonElement>>;
28
+ declare const Button: react.ForwardRefExoticComponent<Props$v & react.RefAttributes<HTMLButtonElement>>;
29
29
 
30
30
  interface IFormWrapper {
31
31
  isLoading: boolean;
@@ -267,46 +267,46 @@ interface ITreeItem {
267
267
  children?: ITreeItem[];
268
268
  }
269
269
 
270
- interface Props$t {
270
+ interface Props$u {
271
271
  tabs: ITab[];
272
272
  initialValue?: string;
273
273
  compact?: boolean;
274
274
  className?: string;
275
275
  }
276
- declare const Accordions: FC<Props$t>;
276
+ declare const Accordions: FC<Props$u>;
277
277
 
278
- interface Props$s {
278
+ interface Props$t {
279
279
  text?: string;
280
280
  severity: 'success' | 'info' | 'warning' | 'error';
281
281
  fitContent?: boolean;
282
282
  className?: string;
283
283
  children?: ReactNode;
284
284
  }
285
- declare const Alert: FC<Props$s>;
285
+ declare const Alert: FC<Props$t>;
286
286
 
287
- interface Props$r {
287
+ interface Props$s {
288
288
  label: string;
289
289
  color: 'success' | 'info' | 'warning' | 'error' | 'gray';
290
290
  className?: string;
291
291
  }
292
- declare const DotBadge: FC<Props$r>;
292
+ declare const DotBadge: FC<Props$s>;
293
293
 
294
- interface Props$q {
294
+ interface Props$r {
295
295
  number?: number;
296
296
  className?: string;
297
297
  small?: boolean;
298
298
  children?: ReactNode;
299
299
  }
300
- declare const NotificationBadge: FC<Props$q>;
300
+ declare const NotificationBadge: FC<Props$r>;
301
301
 
302
- interface Props$p {
302
+ interface Props$q {
303
303
  label: string;
304
304
  color: 'success' | 'info' | 'warning' | 'error' | 'gray';
305
305
  className?: string;
306
306
  }
307
- declare const PillBadge: react.ForwardRefExoticComponent<Props$p & react.RefAttributes<HTMLDivElement>>;
307
+ declare const PillBadge: react.ForwardRefExoticComponent<Props$q & react.RefAttributes<HTMLDivElement>>;
308
308
 
309
- interface Props$o {
309
+ interface Props$p {
310
310
  icon: IconDefinition;
311
311
  onClick?: MouseEventHandler<HTMLButtonElement>;
312
312
  disabled?: boolean;
@@ -318,18 +318,18 @@ interface Props$o {
318
318
  buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
319
319
  size?: 's';
320
320
  }
321
- declare const IconButton: react.ForwardRefExoticComponent<Props$o & react.RefAttributes<HTMLButtonElement>>;
321
+ declare const IconButton: react.ForwardRefExoticComponent<Props$p & react.RefAttributes<HTMLButtonElement>>;
322
322
 
323
- interface Props$n {
323
+ interface Props$o {
324
324
  textId: string;
325
325
  itemUuid: string;
326
326
  setItemUuid: Dispatch<SetStateAction<string>>;
327
327
  reloadItems: () => void;
328
328
  deleteItemFunction: (itemUuid: string) => Promise<any>;
329
329
  }
330
- declare const DeleteItemDialog: FC<Props$n>;
330
+ declare const DeleteItemDialog: FC<Props$o>;
331
331
 
332
- interface Props$m {
332
+ interface Props$n {
333
333
  title?: string;
334
334
  titleEl?: ReactNode;
335
335
  desc?: string;
@@ -367,16 +367,16 @@ interface Props$m {
367
367
  className?: string;
368
368
  children?: ReactNode;
369
369
  }
370
- declare const Dialog: FC<Props$m>;
370
+ declare const Dialog: FC<Props$n>;
371
371
 
372
- interface Props$l {
372
+ interface Props$m {
373
373
  isOpen: boolean;
374
374
  className?: string;
375
375
  children?: ReactNode;
376
376
  }
377
- declare const Collapse: FC<Props$l>;
377
+ declare const Collapse: FC<Props$m>;
378
378
 
379
- interface Props$k {
379
+ interface Props$l {
380
380
  label?: string;
381
381
  value?: boolean | 'middle';
382
382
  setValue: (checked: boolean) => void;
@@ -386,7 +386,26 @@ interface Props$k {
386
386
  tooltip?: string;
387
387
  children?: ReactNode;
388
388
  }
389
- declare const Checkbox: react.ForwardRefExoticComponent<Props$k & react.RefAttributes<HTMLLabelElement>>;
389
+ declare const Checkbox: react.ForwardRefExoticComponent<Props$l & react.RefAttributes<HTMLLabelElement>>;
390
+
391
+ interface Props$k {
392
+ label?: string;
393
+ value?: string | number;
394
+ setValue: (value: string) => void;
395
+ required?: boolean;
396
+ disabled?: boolean;
397
+ autoFocus?: boolean;
398
+ placeholder?: string;
399
+ helperText?: string;
400
+ className?: string;
401
+ allowNegative?: boolean;
402
+ decimalPlaces?: number;
403
+ error?: boolean;
404
+ alignLeft?: boolean;
405
+ endText?: string;
406
+ inputProps?: InputHTMLAttributes<HTMLInputElement>;
407
+ }
408
+ declare const CurrencyInput: react.ForwardRefExoticComponent<Props$k & react.RefAttributes<HTMLInputElement>>;
390
409
 
391
410
  interface Props$j {
392
411
  label?: string;
@@ -1553,4 +1572,4 @@ declare const i18nCommonCyrilic: {
1553
1572
  EmailVerificationCompletedDesc: string;
1554
1573
  };
1555
1574
 
1556
- export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, DateInput, DeleteItemDialog, Dialog, DotBadge, FilterItem, FormWrapper, FullScreenLoader, IAnyObject, IBooleanObject, IError, IFormWrapper, IPagination, ISelectData, IServerSidePagination, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, ITreeItem, IValueLabel, IconButton, ItemActionsMenu, ItemEditOptionsButtons, LargeTextInput, LazyLoader, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageWrapper, PasswordInput, PillBadge, Radio, RadioLarge, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, SetTableFilter, Table, TableEditRow, TableFooter, Tabs, TextInput, Tooltip, Tree, areStringArraysEqual, calculateFilesSize, checkIfExpired, convertBooleanObjectToArray, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getActiveOrgUuid, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getDefaultOrgUuid, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nCommonCyrilic, i18nCommonLatin, inputPattern, lsGet, lsRemove, lsSet, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setActiveOrgUuid, setDefaultOrgUuid, sizeInBytesPretty, splitBase64File, toastError, toastSuccess };
1575
+ export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CurrencyInput, DateInput, DeleteItemDialog, Dialog, DotBadge, FilterItem, FormWrapper, FullScreenLoader, IAnyObject, IBooleanObject, IError, IFormWrapper, IPagination, ISelectData, IServerSidePagination, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, ITreeItem, IValueLabel, IconButton, ItemActionsMenu, ItemEditOptionsButtons, LargeTextInput, LazyLoader, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageWrapper, PasswordInput, PillBadge, Radio, RadioLarge, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, SetTableFilter, Table, TableEditRow, TableFooter, Tabs, TextInput, Tooltip, Tree, areStringArraysEqual, calculateFilesSize, checkIfExpired, convertBooleanObjectToArray, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getActiveOrgUuid, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getDefaultOrgUuid, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nCommonCyrilic, i18nCommonLatin, inputPattern, lsGet, lsRemove, lsSet, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setActiveOrgUuid, setDefaultOrgUuid, sizeInBytesPretty, splitBase64File, toastError, toastSuccess };