@vritti/quantum-ui 0.7.1 → 0.7.3

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.
Files changed (103) hide show
  1. package/dist/CurrencySelector.js +35 -22
  2. package/dist/CurrencySelector.js.map +1 -1
  3. package/dist/Form.js +8 -4
  4. package/dist/Form.js.map +1 -1
  5. package/dist/{ISOCountrySelect.js → ISOCountrySelector.js} +21 -20
  6. package/dist/ISOCountrySelector.js.map +1 -0
  7. package/dist/{IconSelect.js → IconSelector.js} +117 -119
  8. package/dist/IconSelector.js.map +1 -0
  9. package/dist/LineChart.js +75 -72
  10. package/dist/LineChart.js.map +1 -1
  11. package/dist/LocaleSelector.js +17 -7
  12. package/dist/LocaleSelector.js.map +1 -1
  13. package/dist/Select2.js +16 -8
  14. package/dist/Select2.js.map +1 -1
  15. package/dist/SelectFilter.js +3 -3
  16. package/dist/SelectFilter.js.map +1 -1
  17. package/dist/SingleSelect.js +0 -1
  18. package/dist/SingleSelect.js.map +1 -1
  19. package/dist/TimezoneSelector.js +11 -11
  20. package/dist/TimezoneSelector.js.map +1 -1
  21. package/dist/assets/quantum-ui.css +2 -0
  22. package/dist/components/Select.js +7 -3
  23. package/dist/components/Select.js.map +1 -1
  24. package/dist/image-component.js.map +1 -1
  25. package/dist/index.js +5 -4
  26. package/dist/index.js.map +1 -1
  27. package/dist/index33.js +16 -13
  28. package/dist/index33.js.map +1 -1
  29. package/dist/lib/components/DataTable/hooks/useDataTable.d.ts.map +1 -1
  30. package/dist/lib/components/Editor/editor-ui/button-group.d.ts.map +1 -1
  31. package/dist/lib/components/Editor/editor-ui/image-component.d.ts.map +1 -1
  32. package/dist/lib/components/Editor/plugins/actions/markdown-toggle-plugin.d.ts.map +1 -1
  33. package/dist/lib/components/Editor/plugins/component-picker-menu-plugin.d.ts.map +1 -1
  34. package/dist/lib/components/Editor/plugins/floating-link-editor-plugin.d.ts.map +1 -1
  35. package/dist/lib/components/Editor/plugins/floating-text-format-plugin.d.ts.map +1 -1
  36. package/dist/lib/components/Editor/plugins/images-plugin.d.ts.map +1 -1
  37. package/dist/lib/components/Editor/plugins/toolbar/toolbar-plugin.d.ts.map +1 -1
  38. package/dist/lib/components/Form/Form.d.ts.map +1 -1
  39. package/dist/lib/components/LineChart/LineChartSkeleton.d.ts.map +1 -1
  40. package/dist/lib/components/Select/Select.d.ts +6 -11
  41. package/dist/lib/components/Select/Select.d.ts.map +1 -1
  42. package/dist/lib/components/Select/SelectFilter.d.ts +21 -20
  43. package/dist/lib/components/Select/SelectFilter.d.ts.map +1 -1
  44. package/dist/lib/components/Select/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  45. package/dist/lib/components/Select/components/MultiSelect/MultiSelectFilter.d.ts.map +1 -1
  46. package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts +5 -9
  47. package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts.map +1 -1
  48. package/dist/lib/components/Select/hooks/useMultiSelect.d.ts +2 -1
  49. package/dist/lib/components/Select/hooks/useMultiSelect.d.ts.map +1 -1
  50. package/dist/lib/components/Select/hooks/useSelect.d.ts.map +1 -1
  51. package/dist/lib/components/Select/index.d.ts +4 -4
  52. package/dist/lib/components/Select/index.d.ts.map +1 -1
  53. package/dist/lib/components/Select/selector.d.ts +22 -22
  54. package/dist/lib/components/Select/selector.d.ts.map +1 -1
  55. package/dist/lib/components/Select/types.d.ts +11 -1
  56. package/dist/lib/components/Select/types.d.ts.map +1 -1
  57. package/dist/lib/selects/currency/CurrencyFilter.d.ts +11 -10
  58. package/dist/lib/selects/currency/CurrencyFilter.d.ts.map +1 -1
  59. package/dist/lib/selects/currency/CurrencySelector.d.ts +6 -8
  60. package/dist/lib/selects/currency/CurrencySelector.d.ts.map +1 -1
  61. package/dist/lib/selects/currency/currency-options.d.ts +4 -0
  62. package/dist/lib/selects/currency/currency-options.d.ts.map +1 -0
  63. package/dist/lib/selects/currency/index.d.ts +3 -1
  64. package/dist/lib/selects/currency/index.d.ts.map +1 -1
  65. package/dist/lib/selects/icon/IconSelector.d.ts +23 -0
  66. package/dist/lib/selects/icon/IconSelector.d.ts.map +1 -0
  67. package/dist/lib/selects/icon/index.d.ts +1 -1
  68. package/dist/lib/selects/icon/index.d.ts.map +1 -1
  69. package/dist/lib/selects/iso-country/ISOCountryFilter.d.ts +9 -0
  70. package/dist/lib/selects/iso-country/ISOCountryFilter.d.ts.map +1 -0
  71. package/dist/lib/selects/iso-country/ISOCountrySelector.d.ts +4 -0
  72. package/dist/lib/selects/iso-country/ISOCountrySelector.d.ts.map +1 -0
  73. package/dist/lib/selects/iso-country/index.d.ts +2 -1
  74. package/dist/lib/selects/iso-country/index.d.ts.map +1 -1
  75. package/dist/lib/selects/iso-country/iso-countries.d.ts +2 -0
  76. package/dist/lib/selects/iso-country/iso-countries.d.ts.map +1 -1
  77. package/dist/lib/selects/locale/LocaleFilter.d.ts +8 -10
  78. package/dist/lib/selects/locale/LocaleFilter.d.ts.map +1 -1
  79. package/dist/lib/selects/locale/LocaleSelector.d.ts +2 -7
  80. package/dist/lib/selects/locale/LocaleSelector.d.ts.map +1 -1
  81. package/dist/lib/selects/locale/index.d.ts +1 -1
  82. package/dist/lib/selects/locale/index.d.ts.map +1 -1
  83. package/dist/lib/selects/timezone/TimezoneFilter.d.ts +8 -10
  84. package/dist/lib/selects/timezone/TimezoneFilter.d.ts.map +1 -1
  85. package/dist/lib/selects/timezone/TimezoneSelector.d.ts +2 -7
  86. package/dist/lib/selects/timezone/TimezoneSelector.d.ts.map +1 -1
  87. package/dist/lib/selects/timezone/index.d.ts +1 -1
  88. package/dist/lib/selects/timezone/index.d.ts.map +1 -1
  89. package/dist/lib/selects/types.d.ts +14 -0
  90. package/dist/lib/selects/types.d.ts.map +1 -0
  91. package/dist/selects/currency.js +2 -1
  92. package/dist/selects/currency.js.map +1 -1
  93. package/dist/selects/icon.js +1 -1
  94. package/dist/selects/iso-country.js +1 -1
  95. package/dist/useDataTable.js +3 -1
  96. package/dist/useDataTable.js.map +1 -1
  97. package/package.json +1 -1
  98. package/dist/ISOCountrySelect.js.map +0 -1
  99. package/dist/IconSelect.js.map +0 -1
  100. package/dist/lib/selects/icon/IconSelect.d.ts +0 -21
  101. package/dist/lib/selects/icon/IconSelect.d.ts.map +0 -1
  102. package/dist/lib/selects/iso-country/ISOCountrySelect.d.ts +0 -18
  103. package/dist/lib/selects/iso-country/ISOCountrySelect.d.ts.map +0 -1
@@ -0,0 +1,4 @@
1
+ import { CurrencyCode } from '../../utils/currencyCode';
2
+ export declare function currencyOptions(includeCodes?: readonly CurrencyCode[], excludeCodes?: readonly CurrencyCode[]): import('../..').SelectOption[];
3
+ export declare function currencyName(code: CurrencyCode): string;
4
+ //# sourceMappingURL=currency-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currency-options.d.ts","sourceRoot":"","sources":["../../../../lib/selects/currency/currency-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,0BAA0B,CAAC;AAI7E,wBAAgB,eAAe,CAAC,YAAY,CAAC,EAAE,SAAS,YAAY,EAAE,EAAE,YAAY,CAAC,EAAE,SAAS,YAAY,EAAE,kCAO7G;AAGD,wBAAgB,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,CAGvD"}
@@ -1,3 +1,5 @@
1
- export { CurrencyFilter } from './CurrencyFilter';
1
+ export { CurrencyFilter, type CurrencyFilterProps } from './CurrencyFilter';
2
2
  export { CurrencySelector, type CurrencySelectorProps } from './CurrencySelector';
3
+ export { CURRENCIES } from './currencies';
4
+ export { currencyName, currencyOptions } from './currency-options';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/currency/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/currency/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { Ref } from 'react';
2
+ import { ClearedOption } from '../../components/Select/types';
3
+ import { IconKind } from '../../icons';
4
+ export interface IconSelectorProps<TClearable extends boolean = false> {
5
+ kind: IconKind;
6
+ value?: string | null;
7
+ onChange?: (name: ClearedOption<string, TClearable>) => void;
8
+ onBlur?: () => void;
9
+ label?: string;
10
+ placeholder?: string;
11
+ searchPlaceholder?: string;
12
+ disabled?: boolean;
13
+ required?: boolean;
14
+ clearable?: TClearable;
15
+ className?: string;
16
+ id?: string;
17
+ name?: string;
18
+ error?: string;
19
+ permission?: string;
20
+ ref?: Ref<HTMLButtonElement>;
21
+ }
22
+ export declare function IconSelector<TClearable extends boolean = false>({ kind, value, onChange, onBlur, label, placeholder, searchPlaceholder, disabled, required, clearable, className, id, name, error, permission, ref, }: IconSelectorProps<TClearable>): import("react/jsx-runtime").JSX.Element;
23
+ //# sourceMappingURL=IconSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconSelector.d.ts","sourceRoot":"","sources":["../../../../lib/selects/icon/IconSelector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,GAAG,EAAgC,MAAM,OAAO,CAAC;AAK/D,OAAO,KAAK,EAAoB,aAAa,EAAgB,MAAM,+BAA+B,CAAC;AACnG,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AA2BxD,MAAM,WAAW,iBAAiB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK;IACnE,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAC7D,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;CAC9B;AAGD,wBAAgB,YAAY,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,EAAE,EAC/D,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,MAAM,EACN,KAAK,EACL,WAA2B,EAC3B,iBAAqC,EACrC,QAAgB,EAChB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,EAAE,EACF,IAAI,EACJ,KAAK,EACL,UAAU,EACV,GAAG,GACJ,EAAE,iBAAiB,CAAC,UAAU,CAAC,2CAkI/B"}
@@ -1,2 +1,2 @@
1
- export { IconSelect, type IconSelectProps } from './IconSelect';
1
+ export { IconSelector, type IconSelectorProps } from './IconSelector';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { StaticFilterProps } from '../types';
2
+ export type ISOCountryFilterProps<TClearable extends boolean = true> = StaticFilterProps<TClearable>;
3
+ export declare function ISOCountryFilter<TClearable extends boolean = true>(props: ISOCountryFilterProps<TClearable>): import("react/jsx-runtime").JSX.Element;
4
+ export declare namespace ISOCountryFilter {
5
+ var displayName: string;
6
+ var defaultLabel: string;
7
+ var defaultName: string;
8
+ }
9
+ //# sourceMappingURL=ISOCountryFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISOCountryFilter.d.ts","sourceRoot":"","sources":["../../../../lib/selects/iso-country/ISOCountryFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,qBAAqB,CAAC,UAAU,SAAS,OAAO,GAAG,IAAI,IAAI,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAGrG,wBAAgB,gBAAgB,CAAC,UAAU,SAAS,OAAO,GAAG,IAAI,EAAE,KAAK,EAAE,qBAAqB,CAAC,UAAU,CAAC,2CAU3G;yBAVe,gBAAgB"}
@@ -0,0 +1,4 @@
1
+ import { StaticSelectorProps } from '../types';
2
+ export type ISOCountrySelectorProps<TClearable extends boolean = false> = StaticSelectorProps<TClearable>;
3
+ export declare function ISOCountrySelector<TClearable extends boolean = false>(props: ISOCountrySelectorProps<TClearable>): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=ISOCountrySelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISOCountrySelector.d.ts","sourceRoot":"","sources":["../../../../lib/selects/iso-country/ISOCountrySelector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGpD,MAAM,MAAM,uBAAuB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAAC;AAG1G,wBAAgB,kBAAkB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,EAAE,KAAK,EAAE,uBAAuB,CAAC,UAAU,CAAC,2CAUhH"}
@@ -1,3 +1,4 @@
1
- export { ISOCountryFilter, type ISOCountryFilterProps, ISOCountrySelect, type ISOCountrySelectProps, } from './ISOCountrySelect';
1
+ export { ISOCountryFilter, type ISOCountryFilterProps } from './ISOCountryFilter';
2
+ export { ISOCountrySelector, type ISOCountrySelectorProps } from './ISOCountrySelector';
2
3
  export { countryFlag, ISO_COUNTRIES, type ISOCountry } from './iso-countries';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/iso-country/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/iso-country/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,7 +1,9 @@
1
+ import { SelectOption } from '../../components/Select/types';
1
2
  export interface ISOCountry {
2
3
  code: string;
3
4
  name: string;
4
5
  }
5
6
  export declare const ISO_COUNTRIES: ISOCountry[];
6
7
  export declare function countryFlag(code: string): string;
8
+ export declare const ISO_COUNTRY_OPTIONS: SelectOption[];
7
9
  //# sourceMappingURL=iso-countries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"iso-countries.d.ts","sourceRoot":"","sources":["../../../../lib/selects/iso-country/iso-countries.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,eAAO,MAAM,aAAa,EAAE,UAAU,EA0PrC,CAAC;AAGF,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD"}
1
+ {"version":3,"file":"iso-countries.d.ts","sourceRoot":"","sources":["../../../../lib/selects/iso-country/iso-countries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAIlE,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,eAAO,MAAM,aAAa,EAAE,UAAU,EA0PrC,CAAC;AAGF,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD;AAGD,eAAO,MAAM,mBAAmB,EAAE,YAAY,EAG3C,CAAC"}
@@ -1,11 +1,9 @@
1
- import { SelectFilterProps } from '../../components/Select/SelectFilter';
2
- import { DistributiveOmit } from '../../types/utility';
3
- export type LocaleFilterProps = DistributiveOmit<SelectFilterProps, 'options' | 'name'> & {
4
- name?: string;
5
- };
6
- export declare const LocaleFilter: import('react').ForwardRefExoticComponent<LocaleFilterProps & import('react').RefAttributes<HTMLButtonElement>> & {
7
- displayName: string;
8
- defaultLabel: string;
9
- defaultName: string;
10
- };
1
+ import { StaticFilterProps } from '../types';
2
+ export type LocaleFilterProps<TClearable extends boolean = true> = StaticFilterProps<TClearable>;
3
+ export declare function LocaleFilter<TClearable extends boolean = true>(props: LocaleFilterProps<TClearable>): import("react/jsx-runtime").JSX.Element;
4
+ export declare namespace LocaleFilter {
5
+ var displayName: string;
6
+ var defaultLabel: string;
7
+ var defaultName: string;
8
+ }
11
9
  //# sourceMappingURL=LocaleFilter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LocaleFilter.d.ts","sourceRoot":"","sources":["../../../../lib/selects/locale/LocaleFilter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,iBAAiB,EAAE,SAAS,GAAG,MAAM,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAG5G,eAAO,MAAM,YAAY;;;;CAKxB,CAAC"}
1
+ {"version":3,"file":"LocaleFilter.d.ts","sourceRoot":"","sources":["../../../../lib/selects/locale/LocaleFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,iBAAiB,CAAC,UAAU,SAAS,OAAO,GAAG,IAAI,IAAI,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAGjG,wBAAgB,YAAY,CAAC,UAAU,SAAS,OAAO,GAAG,IAAI,EAAE,KAAK,EAAE,iBAAiB,CAAC,UAAU,CAAC,2CAUnG;yBAVe,YAAY"}
@@ -1,9 +1,4 @@
1
- import { Ref } from 'react';
2
- import { SelectProps } from '../../components/Select/Select';
3
- import { NoSelectFields } from '../../components/Select/types';
4
- import { DistributiveOmit } from '../../types/utility';
5
- export type LocaleSelectorProps<TClearable extends boolean = false> = DistributiveOmit<SelectProps<NoSelectFields, never, string, TClearable>, 'optionsEndpoint'> & {
6
- ref?: Ref<HTMLButtonElement>;
7
- };
1
+ import { StaticSelectorProps } from '../types';
2
+ export type LocaleSelectorProps<TClearable extends boolean = false> = StaticSelectorProps<TClearable>;
8
3
  export declare function LocaleSelector<TClearable extends boolean = false>(props: LocaleSelectorProps<TClearable>): import("react/jsx-runtime").JSX.Element;
9
4
  //# sourceMappingURL=LocaleSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LocaleSelector.d.ts","sourceRoot":"","sources":["../../../../lib/selects/locale/LocaleSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,MAAM,MAAM,mBAAmB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,IAAI,gBAAgB,CACpF,WAAW,CAAC,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EACtD,iBAAiB,CAClB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;CAAE,CAAC;AAGrC,wBAAgB,cAAc,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,EAAE,KAAK,EAAE,mBAAmB,CAAC,UAAU,CAAC,2CAUxG"}
1
+ {"version":3,"file":"LocaleSelector.d.ts","sourceRoot":"","sources":["../../../../lib/selects/locale/LocaleSelector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGpD,MAAM,MAAM,mBAAmB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAAC;AAGtG,wBAAgB,cAAc,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,EAAE,KAAK,EAAE,mBAAmB,CAAC,UAAU,CAAC,2CAUxG"}
@@ -1,3 +1,3 @@
1
- export { LocaleFilter } from './LocaleFilter';
1
+ export { LocaleFilter, type LocaleFilterProps } from './LocaleFilter';
2
2
  export { LocaleSelector, type LocaleSelectorProps } from './LocaleSelector';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/locale/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/locale/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,11 +1,9 @@
1
- import { SelectFilterProps } from '../../components/Select/SelectFilter';
2
- import { DistributiveOmit } from '../../types/utility';
3
- export type TimezoneFilterProps = DistributiveOmit<SelectFilterProps, 'options' | 'name'> & {
4
- name?: string;
5
- };
6
- export declare const TimezoneFilter: import('react').ForwardRefExoticComponent<TimezoneFilterProps & import('react').RefAttributes<HTMLButtonElement>> & {
7
- displayName: string;
8
- defaultLabel: string;
9
- defaultName: string;
10
- };
1
+ import { StaticFilterProps } from '../types';
2
+ export type TimezoneFilterProps<TClearable extends boolean = true> = StaticFilterProps<TClearable>;
3
+ export declare function TimezoneFilter<TClearable extends boolean = true>(props: TimezoneFilterProps<TClearable>): import("react/jsx-runtime").JSX.Element;
4
+ export declare namespace TimezoneFilter {
5
+ var displayName: string;
6
+ var defaultLabel: string;
7
+ var defaultName: string;
8
+ }
11
9
  //# sourceMappingURL=TimezoneFilter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimezoneFilter.d.ts","sourceRoot":"","sources":["../../../../lib/selects/timezone/TimezoneFilter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,iBAAiB,EAAE,SAAS,GAAG,MAAM,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAG9G,eAAO,MAAM,cAAc;;;;CAY1B,CAAC"}
1
+ {"version":3,"file":"TimezoneFilter.d.ts","sourceRoot":"","sources":["../../../../lib/selects/timezone/TimezoneFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,mBAAmB,CAAC,UAAU,SAAS,OAAO,GAAG,IAAI,IAAI,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAGnG,wBAAgB,cAAc,CAAC,UAAU,SAAS,OAAO,GAAG,IAAI,EAAE,KAAK,EAAE,mBAAmB,CAAC,UAAU,CAAC,2CAUvG;yBAVe,cAAc"}
@@ -1,9 +1,4 @@
1
- import { Ref } from 'react';
2
- import { SelectProps } from '../../components/Select/Select';
3
- import { NoSelectFields } from '../../components/Select/types';
4
- import { DistributiveOmit } from '../../types/utility';
5
- export type TimezoneSelectorProps<TClearable extends boolean = false> = DistributiveOmit<SelectProps<NoSelectFields, never, string, TClearable>, 'optionsEndpoint'> & {
6
- ref?: Ref<HTMLButtonElement>;
7
- };
1
+ import { StaticSelectorProps } from '../types';
2
+ export type TimezoneSelectorProps<TClearable extends boolean = false> = StaticSelectorProps<TClearable>;
8
3
  export declare function TimezoneSelector<TClearable extends boolean = false>(props: TimezoneSelectorProps<TClearable>): import("react/jsx-runtime").JSX.Element;
9
4
  //# sourceMappingURL=TimezoneSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimezoneSelector.d.ts","sourceRoot":"","sources":["../../../../lib/selects/timezone/TimezoneSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,MAAM,MAAM,qBAAqB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,IAAI,gBAAgB,CACtF,WAAW,CAAC,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EACtD,iBAAiB,CAClB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;CAAE,CAAC;AAGrC,wBAAgB,gBAAgB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,EAAE,KAAK,EAAE,qBAAqB,CAAC,UAAU,CAAC,2CAU5G"}
1
+ {"version":3,"file":"TimezoneSelector.d.ts","sourceRoot":"","sources":["../../../../lib/selects/timezone/TimezoneSelector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGpD,MAAM,MAAM,qBAAqB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAAC;AAGxG,wBAAgB,gBAAgB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,EAAE,KAAK,EAAE,qBAAqB,CAAC,UAAU,CAAC,2CAU5G"}
@@ -1,3 +1,3 @@
1
- export { TimezoneFilter } from './TimezoneFilter';
1
+ export { TimezoneFilter, type TimezoneFilterProps } from './TimezoneFilter';
2
2
  export { TimezoneSelector, type TimezoneSelectorProps } from './TimezoneSelector';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/timezone/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/selects/timezone/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { Ref } from 'react';
2
+ import { SelectProps } from '../components/Select/Select';
3
+ import { SelectFilterCommonProps, SelectFilterHoldProps } from '../components/Select/SelectFilter';
4
+ import { NoSelectFields } from '../components/Select/types';
5
+ type StaticSelectOwnedProps = 'optionsEndpoint' | 'options' | 'params' | 'fieldKeys';
6
+ export type StaticSelectorProps<TClearable extends boolean = false> = Omit<SelectProps<NoSelectFields, never, string, TClearable>, StaticSelectOwnedProps> & {
7
+ ref?: Ref<HTMLButtonElement>;
8
+ };
9
+ export type StaticFilterProps<TClearable extends boolean = true> = Omit<SelectFilterCommonProps<NoSelectFields, never, string, never>, StaticSelectOwnedProps | 'name'> & SelectFilterHoldProps<TClearable> & {
10
+ name?: string;
11
+ ref?: Ref<HTMLButtonElement>;
12
+ };
13
+ export {};
14
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/selects/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AACxG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,KAAK,sBAAsB,GAAG,iBAAiB,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AAErF,MAAM,MAAM,mBAAmB,CAAC,UAAU,SAAS,OAAO,GAAG,KAAK,IAAI,IAAI,CACxE,WAAW,CAAC,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EACtD,sBAAsB,CACvB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;CAAE,CAAC;AAErC,MAAM,MAAM,iBAAiB,CAAC,UAAU,SAAS,OAAO,GAAG,IAAI,IAAI,IAAI,CACrE,uBAAuB,CAAC,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAC7D,sBAAsB,GAAG,MAAM,CAChC,GACC,qBAAqB,CAAC,UAAU,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;CAAE,CAAC"}
@@ -1,2 +1,3 @@
1
- export { C as CurrencyFilter, a as CurrencySelector } from '../CurrencySelector.js';
1
+ export { C as CurrencyFilter, a as CurrencySelector, c as currencyName, b as currencyOptions } from '../CurrencySelector.js';
2
+ export { C as CURRENCIES } from '../currencies.js';
2
3
  //# sourceMappingURL=currency.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"currency.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"currency.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,2 +1,2 @@
1
- export { I as IconSelect } from '../IconSelect.js';
1
+ export { I as IconSelector } from '../IconSelector.js';
2
2
  //# sourceMappingURL=icon.js.map
@@ -1,2 +1,2 @@
1
- export { I as ISOCountryFilter, a as ISOCountrySelect, b as ISO_COUNTRIES, c as countryFlag } from '../ISOCountrySelect.js';
1
+ export { I as ISOCountryFilter, a as ISOCountrySelector, b as ISO_COUNTRIES, c as countryFlag } from '../ISOCountrySelector.js';
2
2
  //# sourceMappingURL=iso-country.js.map
@@ -24658,7 +24658,9 @@ function useDataTable({
24658
24658
  );
24659
24659
  const seenRows = useRef(/* @__PURE__ */ new Map());
24660
24660
  const tickedRows = useMemo(() => {
24661
- data.forEach((row, index) => seenRows.current.set(resolveRowId(row, index), row));
24661
+ data.forEach((row, index) => {
24662
+ seenRows.current.set(resolveRowId(row, index), row);
24663
+ });
24662
24664
  return tickedIds.flatMap((id) => seenRows.current.get(id) ?? []);
24663
24665
  }, [data, resolveRowId, tickedIds]);
24664
24666
  const selection = useMemo(