@opengis/table 0.0.37 → 0.0.38
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/components/ColumnsSettings.vue.d.ts.map +1 -1
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/EditableCell.vue.d.ts.map +1 -1
- package/dist/components/Export.vue.d.ts.map +1 -1
- package/dist/components/nodata.vue.d.ts +1 -4
- package/dist/components/nodata.vue.d.ts.map +1 -1
- package/dist/composables/i18n.d.ts.map +1 -1
- package/dist/composables/useCurrentLocale.d.ts +2 -0
- package/dist/composables/useCurrentLocale.d.ts.map +1 -0
- package/dist/index.mjs +2106 -2032
- package/dist/index.umd.js +15 -15
- package/dist/utils/localization.d.ts +13 -0
- package/dist/utils/localization.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type LocaleLike = string | null | undefined;
|
|
2
|
+
export declare function normalizeLocale(locale?: LocaleLike): string;
|
|
3
|
+
export declare function getInitialLocale(): string;
|
|
4
|
+
export declare function setStoredLocale(locale: string): void;
|
|
5
|
+
export declare function resolveLocalizedValue(source: Record<string, any> | undefined, locale: string, key: string): any;
|
|
6
|
+
export declare function resolveColumnLabel(column: Record<string, any>, locale: string): any;
|
|
7
|
+
export declare function resolveColumnInfo(column: Record<string, any>, locale: string): any;
|
|
8
|
+
export declare function resolveColumnDescription(column: Record<string, any>, locale: string): any;
|
|
9
|
+
export declare function resolveColumnPlaceholder(column: Record<string, any>, locale: string): any;
|
|
10
|
+
export type LocalizableFieldKey = 'label' | 'placeholder' | 'info' | 'description';
|
|
11
|
+
export declare function resolveFieldProp(field: Record<string, any> | undefined, locale: string, key: LocalizableFieldKey): any;
|
|
12
|
+
export declare function resolveOptionLabel(option: Record<string, any>, locale: string): any;
|
|
13
|
+
//# sourceMappingURL=localization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localization.d.ts","sour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