@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.
- package/dist/CurrencySelector.js +35 -22
- package/dist/CurrencySelector.js.map +1 -1
- package/dist/Form.js +8 -4
- package/dist/Form.js.map +1 -1
- package/dist/{ISOCountrySelect.js → ISOCountrySelector.js} +21 -20
- package/dist/ISOCountrySelector.js.map +1 -0
- package/dist/{IconSelect.js → IconSelector.js} +117 -119
- package/dist/IconSelector.js.map +1 -0
- package/dist/LineChart.js +75 -72
- package/dist/LineChart.js.map +1 -1
- package/dist/LocaleSelector.js +17 -7
- package/dist/LocaleSelector.js.map +1 -1
- package/dist/Select2.js +16 -8
- package/dist/Select2.js.map +1 -1
- package/dist/SelectFilter.js +3 -3
- package/dist/SelectFilter.js.map +1 -1
- package/dist/SingleSelect.js +0 -1
- package/dist/SingleSelect.js.map +1 -1
- package/dist/TimezoneSelector.js +11 -11
- package/dist/TimezoneSelector.js.map +1 -1
- package/dist/assets/quantum-ui.css +2 -0
- package/dist/components/Select.js +7 -3
- package/dist/components/Select.js.map +1 -1
- package/dist/image-component.js.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index33.js +16 -13
- package/dist/index33.js.map +1 -1
- package/dist/lib/components/DataTable/hooks/useDataTable.d.ts.map +1 -1
- package/dist/lib/components/Editor/editor-ui/button-group.d.ts.map +1 -1
- package/dist/lib/components/Editor/editor-ui/image-component.d.ts.map +1 -1
- package/dist/lib/components/Editor/plugins/actions/markdown-toggle-plugin.d.ts.map +1 -1
- package/dist/lib/components/Editor/plugins/component-picker-menu-plugin.d.ts.map +1 -1
- package/dist/lib/components/Editor/plugins/floating-link-editor-plugin.d.ts.map +1 -1
- package/dist/lib/components/Editor/plugins/floating-text-format-plugin.d.ts.map +1 -1
- package/dist/lib/components/Editor/plugins/images-plugin.d.ts.map +1 -1
- package/dist/lib/components/Editor/plugins/toolbar/toolbar-plugin.d.ts.map +1 -1
- package/dist/lib/components/Form/Form.d.ts.map +1 -1
- package/dist/lib/components/LineChart/LineChartSkeleton.d.ts.map +1 -1
- package/dist/lib/components/Select/Select.d.ts +6 -11
- package/dist/lib/components/Select/Select.d.ts.map +1 -1
- package/dist/lib/components/Select/SelectFilter.d.ts +21 -20
- package/dist/lib/components/Select/SelectFilter.d.ts.map +1 -1
- package/dist/lib/components/Select/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/components/MultiSelect/MultiSelectFilter.d.ts.map +1 -1
- package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts +5 -9
- package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/hooks/useMultiSelect.d.ts +2 -1
- package/dist/lib/components/Select/hooks/useMultiSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/hooks/useSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/index.d.ts +4 -4
- package/dist/lib/components/Select/index.d.ts.map +1 -1
- package/dist/lib/components/Select/selector.d.ts +22 -22
- package/dist/lib/components/Select/selector.d.ts.map +1 -1
- package/dist/lib/components/Select/types.d.ts +11 -1
- package/dist/lib/components/Select/types.d.ts.map +1 -1
- package/dist/lib/selects/currency/CurrencyFilter.d.ts +11 -10
- package/dist/lib/selects/currency/CurrencyFilter.d.ts.map +1 -1
- package/dist/lib/selects/currency/CurrencySelector.d.ts +6 -8
- package/dist/lib/selects/currency/CurrencySelector.d.ts.map +1 -1
- package/dist/lib/selects/currency/currency-options.d.ts +4 -0
- package/dist/lib/selects/currency/currency-options.d.ts.map +1 -0
- package/dist/lib/selects/currency/index.d.ts +3 -1
- package/dist/lib/selects/currency/index.d.ts.map +1 -1
- package/dist/lib/selects/icon/IconSelector.d.ts +23 -0
- package/dist/lib/selects/icon/IconSelector.d.ts.map +1 -0
- package/dist/lib/selects/icon/index.d.ts +1 -1
- package/dist/lib/selects/icon/index.d.ts.map +1 -1
- package/dist/lib/selects/iso-country/ISOCountryFilter.d.ts +9 -0
- package/dist/lib/selects/iso-country/ISOCountryFilter.d.ts.map +1 -0
- package/dist/lib/selects/iso-country/ISOCountrySelector.d.ts +4 -0
- package/dist/lib/selects/iso-country/ISOCountrySelector.d.ts.map +1 -0
- package/dist/lib/selects/iso-country/index.d.ts +2 -1
- package/dist/lib/selects/iso-country/index.d.ts.map +1 -1
- package/dist/lib/selects/iso-country/iso-countries.d.ts +2 -0
- package/dist/lib/selects/iso-country/iso-countries.d.ts.map +1 -1
- package/dist/lib/selects/locale/LocaleFilter.d.ts +8 -10
- package/dist/lib/selects/locale/LocaleFilter.d.ts.map +1 -1
- package/dist/lib/selects/locale/LocaleSelector.d.ts +2 -7
- package/dist/lib/selects/locale/LocaleSelector.d.ts.map +1 -1
- package/dist/lib/selects/locale/index.d.ts +1 -1
- package/dist/lib/selects/locale/index.d.ts.map +1 -1
- package/dist/lib/selects/timezone/TimezoneFilter.d.ts +8 -10
- package/dist/lib/selects/timezone/TimezoneFilter.d.ts.map +1 -1
- package/dist/lib/selects/timezone/TimezoneSelector.d.ts +2 -7
- package/dist/lib/selects/timezone/TimezoneSelector.d.ts.map +1 -1
- package/dist/lib/selects/timezone/index.d.ts +1 -1
- package/dist/lib/selects/timezone/index.d.ts.map +1 -1
- package/dist/lib/selects/types.d.ts +14 -0
- package/dist/lib/selects/types.d.ts.map +1 -0
- package/dist/selects/currency.js +2 -1
- package/dist/selects/currency.js.map +1 -1
- package/dist/selects/icon.js +1 -1
- package/dist/selects/iso-country.js +1 -1
- package/dist/useDataTable.js +3 -1
- package/dist/useDataTable.js.map +1 -1
- package/package.json +1 -1
- package/dist/ISOCountrySelect.js.map +0 -1
- package/dist/IconSelect.js.map +0 -1
- package/dist/lib/selects/icon/IconSelect.d.ts +0 -21
- package/dist/lib/selects/icon/IconSelect.d.ts.map +0 -1
- package/dist/lib/selects/iso-country/ISOCountrySelect.d.ts +0 -18
- 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;
|
|
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 {
|
|
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,
|
|
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
|
|
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,
|
|
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":"
|
|
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 {
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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":"
|
|
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 {
|
|
2
|
-
|
|
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":"
|
|
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 +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;
|
|
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 {
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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":"
|
|
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 {
|
|
2
|
-
|
|
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":"
|
|
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 +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;
|
|
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"}
|
package/dist/selects/currency.js
CHANGED
|
@@ -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":";"}
|
package/dist/selects/icon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { I as
|
|
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
|
|
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
|
package/dist/useDataTable.js
CHANGED
|
@@ -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) =>
|
|
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(
|