@ishibashi0112/spreadsheet-grid-core 0.63.0 → 0.65.0
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/controllers/editController.cjs +1 -1
- package/dist/controllers/editController.d.ts +2 -0
- package/dist/controllers/editController.js +2 -2
- package/dist/controllers/saveStatusController.cjs +1 -1
- package/dist/controllers/saveStatusController.d.ts +1 -1
- package/dist/controllers/saveStatusController.js +23 -22
- package/dist/engine/createGridEngine.cjs +3 -1
- package/dist/engine/createGridEngine.js +9 -1
- package/dist/engine/exportCommands.cjs +2 -1
- package/dist/engine/exportCommands.js +3 -2
- package/dist/engine/gridApi.cjs +6 -1
- package/dist/engine/gridApi.d.ts +2 -0
- package/dist/engine/gridApi.js +38 -35
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +13 -7
- package/dist/locales/en.cjs +1 -0
- package/dist/locales/en.d.ts +10 -0
- package/dist/locales/en.js +380 -0
- package/dist/logic/dateFilterCondition.cjs +1 -1
- package/dist/logic/dateFilterCondition.d.ts +5 -4
- package/dist/logic/dateFilterCondition.js +34 -30
- package/dist/logic/dateFilterPresets.cjs +1 -1
- package/dist/logic/dateFilterPresets.d.ts +5 -3
- package/dist/logic/dateFilterPresets.js +16 -12
- package/dist/logic/dateFilterTree.cjs +1 -1
- package/dist/logic/dateFilterTree.d.ts +2 -1
- package/dist/logic/dateFilterTree.js +38 -37
- package/dist/logic/datePickerCalendar.cjs +1 -1
- package/dist/logic/datePickerCalendar.d.ts +0 -3
- package/dist/logic/datePickerCalendar.js +4 -25
- package/dist/logic/exportScope.cjs +1 -1
- package/dist/logic/exportScope.js +3 -2
- package/dist/logic/featureWarnings.cjs +1 -1
- package/dist/logic/featureWarnings.d.ts +1 -1
- package/dist/logic/featureWarnings.js +8 -8
- package/dist/logic/filterSummary.cjs +1 -1
- package/dist/logic/filterSummary.d.ts +3 -1
- package/dist/logic/filterSummary.js +30 -25
- package/dist/logic/gridAsk.cjs +3 -3
- package/dist/logic/gridAsk.d.ts +6 -3
- package/dist/logic/gridAsk.js +301 -300
- package/dist/logic/gridAskLocaleText.cjs +1 -0
- package/dist/logic/gridAskLocaleText.d.ts +206 -0
- package/dist/logic/gridAskLocaleText.js +102 -0
- package/dist/logic/gridState.d.ts +2 -2
- package/dist/logic/groupExport.cjs +1 -1
- package/dist/logic/groupExport.d.ts +4 -2
- package/dist/logic/groupExport.js +29 -27
- package/dist/logic/localeText.cjs +1 -1
- package/dist/logic/localeText.d.ts +91 -3
- package/dist/logic/localeText.js +59 -21
- package/dist/logic/localeTextFeatures.cjs +1 -0
- package/dist/logic/localeTextFeatures.d.ts +82 -0
- package/dist/logic/localeTextFeatures.js +77 -0
- package/dist/logic/localeTextFilters.cjs +1 -0
- package/dist/logic/localeTextFilters.d.ts +31 -0
- package/dist/logic/localeTextFilters.js +32 -0
- package/dist/logic/localeTextPopups.cjs +1 -0
- package/dist/logic/localeTextPopups.d.ts +106 -0
- package/dist/logic/localeTextPopups.js +130 -0
- package/dist/logic/numberFilterCondition.cjs +1 -1
- package/dist/logic/numberFilterCondition.d.ts +3 -2
- package/dist/logic/numberFilterCondition.js +44 -40
- package/dist/logic/rowReorder.cjs +1 -1
- package/dist/logic/rowReorder.d.ts +0 -2
- package/dist/logic/rowReorder.js +2 -2
- package/dist/logic/scrollHint.cjs +1 -1
- package/dist/logic/scrollHint.d.ts +10 -3
- package/dist/logic/scrollHint.js +16 -11
- package/dist/logic/selectionAggregates.cjs +1 -1
- package/dist/logic/selectionAggregates.js +2 -2
- package/dist/logic/textFilterCondition.cjs +1 -1
- package/dist/logic/textFilterCondition.d.ts +3 -2
- package/dist/logic/textFilterCondition.js +22 -21
- package/dist/logic/totalRow.cjs +1 -1
- package/dist/logic/totalRow.d.ts +3 -2
- package/dist/logic/totalRow.js +33 -30
- package/dist/logic/validation.cjs +1 -1
- package/dist/logic/validation.d.ts +7 -5
- package/dist/logic/validation.js +33 -28
- package/dist/logic/valueFormatters.d.ts +3 -3
- package/dist/model/gridTypes.core.d.ts +643 -43
- package/dist/utils/clipboard.cjs +2 -1
- package/dist/utils/clipboard.js +1 -1
- package/dist/utils/deprecation.cjs +1 -0
- package/dist/utils/deprecation.d.ts +49 -0
- package/dist/utils/deprecation.js +39 -0
- package/dist/utils/permissions.cjs +2 -1
- package/dist/utils/permissions.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e={aggregateAverage:`平均`,aggregateCount:`データの個数`,aggregateSum:`合計`,aggregateComputing:`集計中… {percent}%`,aggregatePartial:`読み込み済みの行のみ`},t={clearAll:`すべてクリア`,groupedColumnTitle:`{column}(グループ化中)`,filterHiddenColumn:`(非表示列)`,filterGroupedColumn:`(グループ化中)`,filterJumpUnavailable:`非表示列のためジャンプ編集できません(× でクリアは可能)`,filterEditUnderGroup:`グループの列の見出しの下で編集`,filterJump:`この列へジャンプして編集`,filterEditFor:`{column} のフィルターを編集`,filterClear:`この列のフィルターをクリア`,filterClearFor:`{column} のフィルターをクリア`,filterCurrentNone:`(なし)`,filterCurrentExcluded:`{count}件を除外中`,filterCurrentSelected:`{count}件を選択中`},n={expandGroup:`{group} を展開`,collapseGroup:`{group} を折りたたみ`,groupRowCount:`({count}件)`},r={dragRow:`ドラッグで行を移動`,dragRowDisabled:`ソート / フィルター適用中は行を並び替えできません`,dragRowLabel:`行 {row}`},i={scrollHintRow:`行 {row}`,scrollHintJump:`行 {row} へ`,scrollHintJumpSeparator:`・`,scrollHintTenThousands:`{value}万`},a={menuFilter:`フィルター…`,menuSortAscending:`昇順で並び替え`,menuSortDescending:`降順で並び替え`,menuManageSort:`並び替えを管理…`,menuManageFilters:`フィルターを管理…`,menuGroupBy:`この列でグループ化`,menuUngroup:`グループ化を外す`,menuPin:`列の固定`,menuPinNone:`固定しない`,menuPinLeft:`左に固定`,menuPinRight:`右に固定`,menuPinUnavailable:`onColumnsChange 未指定のため固定状態を変更できません`,menuAutosize:`この列の幅を自動調整`,menuAutosizeAll:`すべての列の幅を自動調整`,menuColumns:`列の表示`,menuResetColumns:`列のリセット`,menuResetUnavailable:`onColumnsChange 未指定のため列をリセットできません`},o={findLabel:`セル内検索`,findPlaceholder:`検索`,findInput:`検索文字列`,findSearching:`検索中…`,findNoResults:`0 件`,findPrevious:`前のヒットへ`,findPreviousHint:`前へ(Shift+Enter)`,findNext:`次のヒットへ`,findNextHint:`次へ(Enter)`,findClose:`検索を閉じる`,findCloseHint:`閉じる(Esc)`},s={fillOptions:`オートフィル オプション`,fillOptionsCurrent:`オートフィル オプション({kind})`,fillSeries:`連続データ`,fillCopy:`セルのコピー`},c={loadFailed:`行の取得に失敗しました({count} ブロック)`,dismissLoadError:`エラー通知を閉じる`,saveFailed:`変更の保存に失敗しました({count} 行)。値を元に戻しました`,dismissSaveError:`保存エラー通知を閉じる`};exports.DEFAULT_AGGREGATES_LOCALE_TEXT=e,exports.DEFAULT_COLUMN_MENU_LOCALE_TEXT=a,exports.DEFAULT_FILL_HANDLE_LOCALE_TEXT=s,exports.DEFAULT_FILTERING_LOCALE_TEXT=t,exports.DEFAULT_FIND_LOCALE_TEXT=o,exports.DEFAULT_GROUPING_LOCALE_TEXT=n,exports.DEFAULT_ROW_DRAG_LOCALE_TEXT=r,exports.DEFAULT_SCROLL_HINT_LOCALE_TEXT=i,exports.DEFAULT_SERVER_SIDE_LOCALE_TEXT=c;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export declare const DEFAULT_AGGREGATES_LOCALE_TEXT: {
|
|
2
|
+
aggregateAverage: string;
|
|
3
|
+
aggregateCount: string;
|
|
4
|
+
aggregateSum: string;
|
|
5
|
+
aggregateComputing: string;
|
|
6
|
+
aggregatePartial: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const DEFAULT_FILTERING_LOCALE_TEXT: {
|
|
9
|
+
clearAll: string;
|
|
10
|
+
groupedColumnTitle: string;
|
|
11
|
+
filterHiddenColumn: string;
|
|
12
|
+
filterGroupedColumn: string;
|
|
13
|
+
filterJumpUnavailable: string;
|
|
14
|
+
filterEditUnderGroup: string;
|
|
15
|
+
filterJump: string;
|
|
16
|
+
filterEditFor: string;
|
|
17
|
+
filterClear: string;
|
|
18
|
+
filterClearFor: string;
|
|
19
|
+
filterCurrentNone: string;
|
|
20
|
+
filterCurrentExcluded: string;
|
|
21
|
+
filterCurrentSelected: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const DEFAULT_GROUPING_LOCALE_TEXT: {
|
|
24
|
+
expandGroup: string;
|
|
25
|
+
collapseGroup: string;
|
|
26
|
+
groupRowCount: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const DEFAULT_ROW_DRAG_LOCALE_TEXT: {
|
|
29
|
+
dragRow: string;
|
|
30
|
+
dragRowDisabled: string;
|
|
31
|
+
dragRowLabel: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const DEFAULT_SCROLL_HINT_LOCALE_TEXT: {
|
|
34
|
+
scrollHintRow: string;
|
|
35
|
+
scrollHintJump: string;
|
|
36
|
+
scrollHintJumpSeparator: string;
|
|
37
|
+
scrollHintTenThousands: string;
|
|
38
|
+
};
|
|
39
|
+
export declare const DEFAULT_COLUMN_MENU_LOCALE_TEXT: {
|
|
40
|
+
menuFilter: string;
|
|
41
|
+
menuSortAscending: string;
|
|
42
|
+
menuSortDescending: string;
|
|
43
|
+
menuManageSort: string;
|
|
44
|
+
menuManageFilters: string;
|
|
45
|
+
menuGroupBy: string;
|
|
46
|
+
menuUngroup: string;
|
|
47
|
+
menuPin: string;
|
|
48
|
+
menuPinNone: string;
|
|
49
|
+
menuPinLeft: string;
|
|
50
|
+
menuPinRight: string;
|
|
51
|
+
menuPinUnavailable: string;
|
|
52
|
+
menuAutosize: string;
|
|
53
|
+
menuAutosizeAll: string;
|
|
54
|
+
menuColumns: string;
|
|
55
|
+
menuResetColumns: string;
|
|
56
|
+
menuResetUnavailable: string;
|
|
57
|
+
};
|
|
58
|
+
export declare const DEFAULT_FIND_LOCALE_TEXT: {
|
|
59
|
+
findLabel: string;
|
|
60
|
+
findPlaceholder: string;
|
|
61
|
+
findInput: string;
|
|
62
|
+
findSearching: string;
|
|
63
|
+
findNoResults: string;
|
|
64
|
+
findPrevious: string;
|
|
65
|
+
findPreviousHint: string;
|
|
66
|
+
findNext: string;
|
|
67
|
+
findNextHint: string;
|
|
68
|
+
findClose: string;
|
|
69
|
+
findCloseHint: string;
|
|
70
|
+
};
|
|
71
|
+
export declare const DEFAULT_FILL_HANDLE_LOCALE_TEXT: {
|
|
72
|
+
fillOptions: string;
|
|
73
|
+
fillOptionsCurrent: string;
|
|
74
|
+
fillSeries: string;
|
|
75
|
+
fillCopy: string;
|
|
76
|
+
};
|
|
77
|
+
export declare const DEFAULT_SERVER_SIDE_LOCALE_TEXT: {
|
|
78
|
+
loadFailed: string;
|
|
79
|
+
dismissLoadError: string;
|
|
80
|
+
saveFailed: string;
|
|
81
|
+
dismissSaveError: string;
|
|
82
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
//#region src/logic/localeTextFeatures.ts
|
|
2
|
+
var e = {
|
|
3
|
+
aggregateAverage: "平均",
|
|
4
|
+
aggregateCount: "データの個数",
|
|
5
|
+
aggregateSum: "合計",
|
|
6
|
+
aggregateComputing: "集計中… {percent}%",
|
|
7
|
+
aggregatePartial: "読み込み済みの行のみ"
|
|
8
|
+
}, t = {
|
|
9
|
+
clearAll: "すべてクリア",
|
|
10
|
+
groupedColumnTitle: "{column}(グループ化中)",
|
|
11
|
+
filterHiddenColumn: "(非表示列)",
|
|
12
|
+
filterGroupedColumn: "(グループ化中)",
|
|
13
|
+
filterJumpUnavailable: "非表示列のためジャンプ編集できません(× でクリアは可能)",
|
|
14
|
+
filterEditUnderGroup: "グループの列の見出しの下で編集",
|
|
15
|
+
filterJump: "この列へジャンプして編集",
|
|
16
|
+
filterEditFor: "{column} のフィルターを編集",
|
|
17
|
+
filterClear: "この列のフィルターをクリア",
|
|
18
|
+
filterClearFor: "{column} のフィルターをクリア",
|
|
19
|
+
filterCurrentNone: "(なし)",
|
|
20
|
+
filterCurrentExcluded: "{count}件を除外中",
|
|
21
|
+
filterCurrentSelected: "{count}件を選択中"
|
|
22
|
+
}, n = {
|
|
23
|
+
expandGroup: "{group} を展開",
|
|
24
|
+
collapseGroup: "{group} を折りたたみ",
|
|
25
|
+
groupRowCount: "({count}件)"
|
|
26
|
+
}, r = {
|
|
27
|
+
dragRow: "ドラッグで行を移動",
|
|
28
|
+
dragRowDisabled: "ソート / フィルター適用中は行を並び替えできません",
|
|
29
|
+
dragRowLabel: "行 {row}"
|
|
30
|
+
}, i = {
|
|
31
|
+
scrollHintRow: "行 {row}",
|
|
32
|
+
scrollHintJump: "行 {row} へ",
|
|
33
|
+
scrollHintJumpSeparator: "・",
|
|
34
|
+
scrollHintTenThousands: "{value}万"
|
|
35
|
+
}, a = {
|
|
36
|
+
menuFilter: "フィルター…",
|
|
37
|
+
menuSortAscending: "昇順で並び替え",
|
|
38
|
+
menuSortDescending: "降順で並び替え",
|
|
39
|
+
menuManageSort: "並び替えを管理…",
|
|
40
|
+
menuManageFilters: "フィルターを管理…",
|
|
41
|
+
menuGroupBy: "この列でグループ化",
|
|
42
|
+
menuUngroup: "グループ化を外す",
|
|
43
|
+
menuPin: "列の固定",
|
|
44
|
+
menuPinNone: "固定しない",
|
|
45
|
+
menuPinLeft: "左に固定",
|
|
46
|
+
menuPinRight: "右に固定",
|
|
47
|
+
menuPinUnavailable: "onColumnsChange 未指定のため固定状態を変更できません",
|
|
48
|
+
menuAutosize: "この列の幅を自動調整",
|
|
49
|
+
menuAutosizeAll: "すべての列の幅を自動調整",
|
|
50
|
+
menuColumns: "列の表示",
|
|
51
|
+
menuResetColumns: "列のリセット",
|
|
52
|
+
menuResetUnavailable: "onColumnsChange 未指定のため列をリセットできません"
|
|
53
|
+
}, o = {
|
|
54
|
+
findLabel: "セル内検索",
|
|
55
|
+
findPlaceholder: "検索",
|
|
56
|
+
findInput: "検索文字列",
|
|
57
|
+
findSearching: "検索中…",
|
|
58
|
+
findNoResults: "0 件",
|
|
59
|
+
findPrevious: "前のヒットへ",
|
|
60
|
+
findPreviousHint: "前へ(Shift+Enter)",
|
|
61
|
+
findNext: "次のヒットへ",
|
|
62
|
+
findNextHint: "次へ(Enter)",
|
|
63
|
+
findClose: "検索を閉じる",
|
|
64
|
+
findCloseHint: "閉じる(Esc)"
|
|
65
|
+
}, s = {
|
|
66
|
+
fillOptions: "オートフィル オプション",
|
|
67
|
+
fillOptionsCurrent: "オートフィル オプション({kind})",
|
|
68
|
+
fillSeries: "連続データ",
|
|
69
|
+
fillCopy: "セルのコピー"
|
|
70
|
+
}, c = {
|
|
71
|
+
loadFailed: "行の取得に失敗しました({count} ブロック)",
|
|
72
|
+
dismissLoadError: "エラー通知を閉じる",
|
|
73
|
+
saveFailed: "変更の保存に失敗しました({count} 行)。値を元に戻しました",
|
|
74
|
+
dismissSaveError: "保存エラー通知を閉じる"
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
export { e as DEFAULT_AGGREGATES_LOCALE_TEXT, a as DEFAULT_COLUMN_MENU_LOCALE_TEXT, s as DEFAULT_FILL_HANDLE_LOCALE_TEXT, t as DEFAULT_FILTERING_LOCALE_TEXT, o as DEFAULT_FIND_LOCALE_TEXT, n as DEFAULT_GROUPING_LOCALE_TEXT, r as DEFAULT_ROW_DRAG_LOCALE_TEXT, i as DEFAULT_SCROLL_HINT_LOCALE_TEXT, c as DEFAULT_SERVER_SIDE_LOCALE_TEXT };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e={blank:`(空白)`,filterNone:`フィルターなし`,filterCustom:`カスタム条件`,filterExcluded:`{count} 件を除外`,filterSelected:`{count} 件を選択`,filterMatches:`"{value}" に一致`,filterBoth:`{condition} かつ {set}`,conditionGreaterThanOrEqual:`{value} 以上`,conditionGreaterThan:`{value} より大きい`,conditionLessThanOrEqual:`{value} 以下`,conditionLessThan:`{value} 未満`,conditionEquals:`{value} に等しい`,conditionNotEquals:`{value} に等しくない`,conditionRange:`{min} 〜 {max}`,conditionOnOrAfter:`{value} 以降`,conditionOnOrBefore:`{value} 以前`,conditionContains:`"{value}" を含む`,conditionStartsWith:`"{value}" で始まる`,conditionEndsWith:`"{value}" で終わる`,conditionBlank:`(空白)`,conditionNotBlank:`(空白でない)`,datePresetToday:`今日`,datePresetThisMonth:`今月`,datePresetLast30Days:`過去 30 日`},t=(e,t)=>typeof e==`function`?e(t):e.replace(/\{(\w+)\}/g,(e,n)=>{let r=t[n];return r===void 0?e:String(r)});exports.DEFAULT_FILTER_LOCALE_TEXT=e,exports.formatLocaleText=t;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { GridLocaleText, GridLocaleTextTemplate } from '../model/gridTypes.core.js';
|
|
2
|
+
export declare const DEFAULT_FILTER_LOCALE_TEXT: {
|
|
3
|
+
blank: string;
|
|
4
|
+
filterNone: string;
|
|
5
|
+
filterCustom: string;
|
|
6
|
+
filterExcluded: string;
|
|
7
|
+
filterSelected: string;
|
|
8
|
+
filterMatches: string;
|
|
9
|
+
filterBoth: string;
|
|
10
|
+
conditionGreaterThanOrEqual: string;
|
|
11
|
+
conditionGreaterThan: string;
|
|
12
|
+
conditionLessThanOrEqual: string;
|
|
13
|
+
conditionLessThan: string;
|
|
14
|
+
conditionEquals: string;
|
|
15
|
+
conditionNotEquals: string;
|
|
16
|
+
conditionRange: string;
|
|
17
|
+
conditionOnOrAfter: string;
|
|
18
|
+
conditionOnOrBefore: string;
|
|
19
|
+
conditionContains: string;
|
|
20
|
+
conditionStartsWith: string;
|
|
21
|
+
conditionEndsWith: string;
|
|
22
|
+
conditionBlank: string;
|
|
23
|
+
conditionNotBlank: string;
|
|
24
|
+
datePresetToday: string;
|
|
25
|
+
datePresetThisMonth: string;
|
|
26
|
+
datePresetLast30Days: string;
|
|
27
|
+
};
|
|
28
|
+
export type FilterOperatorLocaleTextKey = 'operatorEquals' | 'operatorNotEquals' | 'operatorGreaterThanOrEqual' | 'operatorGreaterThan' | 'operatorLessThanOrEqual' | 'operatorLessThan' | 'operatorBetween' | 'operatorContains' | 'operatorStartsWith' | 'operatorEndsWith' | 'operatorOnOrAfter' | 'operatorOnOrBefore' | 'operatorBlank' | 'operatorNotBlank';
|
|
29
|
+
export type FilterLocaleTextKey = keyof typeof DEFAULT_FILTER_LOCALE_TEXT;
|
|
30
|
+
export type FilterLocaleText = Readonly<Pick<GridLocaleText, FilterLocaleTextKey>>;
|
|
31
|
+
export declare const formatLocaleText: <P extends Readonly<Record<string, string | number>>>(template: GridLocaleTextTemplate<P>, values: P) => string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/logic/localeTextFilters.ts
|
|
2
|
+
var e = {
|
|
3
|
+
blank: "(空白)",
|
|
4
|
+
filterNone: "フィルターなし",
|
|
5
|
+
filterCustom: "カスタム条件",
|
|
6
|
+
filterExcluded: "{count} 件を除外",
|
|
7
|
+
filterSelected: "{count} 件を選択",
|
|
8
|
+
filterMatches: "\"{value}\" に一致",
|
|
9
|
+
filterBoth: "{condition} かつ {set}",
|
|
10
|
+
conditionGreaterThanOrEqual: "{value} 以上",
|
|
11
|
+
conditionGreaterThan: "{value} より大きい",
|
|
12
|
+
conditionLessThanOrEqual: "{value} 以下",
|
|
13
|
+
conditionLessThan: "{value} 未満",
|
|
14
|
+
conditionEquals: "{value} に等しい",
|
|
15
|
+
conditionNotEquals: "{value} に等しくない",
|
|
16
|
+
conditionRange: "{min} 〜 {max}",
|
|
17
|
+
conditionOnOrAfter: "{value} 以降",
|
|
18
|
+
conditionOnOrBefore: "{value} 以前",
|
|
19
|
+
conditionContains: "\"{value}\" を含む",
|
|
20
|
+
conditionStartsWith: "\"{value}\" で始まる",
|
|
21
|
+
conditionEndsWith: "\"{value}\" で終わる",
|
|
22
|
+
conditionBlank: "(空白)",
|
|
23
|
+
conditionNotBlank: "(空白でない)",
|
|
24
|
+
datePresetToday: "今日",
|
|
25
|
+
datePresetThisMonth: "今月",
|
|
26
|
+
datePresetLast30Days: "過去 30 日"
|
|
27
|
+
}, t = (e, t) => typeof e == "function" ? e(t) : e.replace(/\{(\w+)\}/g, (e, n) => {
|
|
28
|
+
let r = t[n];
|
|
29
|
+
return r === void 0 ? e : String(r);
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { e as DEFAULT_FILTER_LOCALE_TEXT, t as formatLocaleText };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./localeTextFeatures.cjs");var t={apply:`適用`,columnsPinnedLeft:`左固定`,columnsUnpinned:`固定なし`,columnsPinnedRight:`右固定`,columnsHideAll:`すべての列を非表示(先頭の列は残ります)`,columnsShowAll:`すべての列を表示`,columnsDragToReorder:`ドラッグして並べ替え`,columnsDragWithinSection:`ドラッグして並べ替え(同じセクション内のみ)`,columnsReorderUnavailable:`onColumnsChange 未指定のため並べ替えできません`,columnsReorderWhileSearching:`検索中は並べ替えできません`,columnsGroupedHint:`グループ化している列です(値は自動グループ列に出ます)`,columnsSearchPlaceholder:`検索...`,columnsNoMatches:`該当する列がありません`,columnsReset:`すべての列を初期状態に戻す`,columnsUnavailable:`onColumnsChange 未指定のため表示/非表示・リセットを変更できません`,globalFilterTitle:`グローバルフィルター`,globalFilterRows:`"{text}" を含む行`,clearGlobalFilterTitle:`グローバルフィルターをクリア`,noColumnFilters:`適用中の列フィルターはありません`,addFilterLabel:`フィルターを追加する列を選択`,addFilter:`+ フィルターを追加…`,addFilterNone:`+ 追加できる列がありません`,sortPanelEmpty:`並び替えは設定されていません`,sortPanelDrag:`ドラッグして優先順位を変更`,sortPanelDisabled:`並び替えが無効です`,sortPanelNeedsTwo:`レベルが 2 件以上のとき並べ替えできます`,sortPanelAscending:`昇順`,sortPanelAscendingShort:`昇順`,sortPanelDescending:`降順`,sortPanelDescendingShort:`降順`,sortPanelRemove:`このレベルを削除`,sortPanelAllUsed:`すべての列が並び替えに使われています`,sortPanelAddHint:`並び替えの基準を追加します`,sortPanelAdd:`+ 基準を追加`,sortPanelClearHint:`すべての並び替えを解除します`,sortPanelReadOnly:`並び替えが無効のため編集できません`,operatorEquals:`に等しい`,operatorNotEquals:`に等しくない`,operatorGreaterThanOrEqual:`以上`,operatorGreaterThan:`より大きい`,operatorLessThanOrEqual:`以下`,operatorLessThan:`未満`,operatorBetween:`範囲`,operatorContains:`を含む`,operatorStartsWith:`で始まる`,operatorEndsWith:`で終わる`,operatorOnOrAfter:`以降`,operatorOnOrBefore:`以前`,operatorBlank:`空白`,operatorNotBlank:`空白でない`,filterTitle:`列フィルター: {column}`,filterCollecting:`候補を収集中… {percent}%`,filterOptionsLoading:`候補を取得中…`,filterOptionsLoadingShort:`取得中…`,filterOptionsFailed:`候補の取得に失敗しました`,filterOptionsFailedShort:`取得失敗`,filterOptionsTruncated:`(先頭のみ・打ち切り)`,filterSearchPlaceholder:`検索(Enter で確定)`,filterSelectAll:`(すべて選択)`,filterSelectAllResults:`(検索結果をすべて選択)`,filterNoOptionsSource:`候補が未指定です(serverSide では列に filterOptions などの候補供給が必要)`,filterNoMatches:`一致する候補がありません`,filterSelectedCount:`選択中: {selected} / {total} 件`,filterShownCount:`(表示中 {count} 件)`,filterMatchCount:`一致 {count} 件`,filterTotalCount:`全 {count} 件`,filterOptionCount:`候補数: {count}`,filterAll:`(すべて)`,filterConditionSection:`条件`,filterValuesSection:`値`,filterOperator:`条件の演算子`,filterValue:`条件の値`,filterValuePlaceholder:`値`,filterMin:`下限`,filterMax:`上限`,filterRangeSeparator:`〜`,filterNoValue:`この演算子は値入力を使いません`,filterDate:`条件の日付`,filterStartDate:`開始日`,filterEndDate:`終了日`,filterTextPlaceholder:`部分一致で絞り込み`,filterTextHint:`部分一致検索です`,filterCurrentValue:`現在値: {value}`,treeExpand:`展開する`,treeCollapse:`折りたたむ`,dateTreeYear:`{year} 年`,dateTreeMonth:`{month} 月`,dateTreeDay:`{day} 日`,calendarWeekdays:[`日`,`月`,`火`,`水`,`木`,`金`,`土`],calendarMonths:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],calendarTitle:`{year}年 {month}月`,calendarYear:`{year}年`,calendarOpen:`カレンダーを開く`,calendarClose:`カレンダーを閉じる`,calendarPrevious:`前へ`,calendarNext:`次へ`,calendarChangeView:`表示単位を切り替える`,calendarBack:`← 戻る`,calendarToday:`今日`},n=n=>({...t,...e.DEFAULT_FILTERING_LOCALE_TEXT,...n});exports.DEFAULT_POPUP_LOCALE_TEXT=t,exports.resolvePopupLocaleText=n;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { GridLocaleText } from '../model/gridTypes.core.js';
|
|
2
|
+
import type { ResolvedGridLocaleText } from './localeText.js';
|
|
3
|
+
import { DEFAULT_FILTERING_LOCALE_TEXT } from './localeTextFeatures.js';
|
|
4
|
+
export declare const DEFAULT_POPUP_LOCALE_TEXT: {
|
|
5
|
+
apply: string;
|
|
6
|
+
columnsPinnedLeft: string;
|
|
7
|
+
columnsUnpinned: string;
|
|
8
|
+
columnsPinnedRight: string;
|
|
9
|
+
columnsHideAll: string;
|
|
10
|
+
columnsShowAll: string;
|
|
11
|
+
columnsDragToReorder: string;
|
|
12
|
+
columnsDragWithinSection: string;
|
|
13
|
+
columnsReorderUnavailable: string;
|
|
14
|
+
columnsReorderWhileSearching: string;
|
|
15
|
+
columnsGroupedHint: string;
|
|
16
|
+
columnsSearchPlaceholder: string;
|
|
17
|
+
columnsNoMatches: string;
|
|
18
|
+
columnsReset: string;
|
|
19
|
+
columnsUnavailable: string;
|
|
20
|
+
globalFilterTitle: string;
|
|
21
|
+
globalFilterRows: string;
|
|
22
|
+
clearGlobalFilterTitle: string;
|
|
23
|
+
noColumnFilters: string;
|
|
24
|
+
addFilterLabel: string;
|
|
25
|
+
addFilter: string;
|
|
26
|
+
addFilterNone: string;
|
|
27
|
+
sortPanelEmpty: string;
|
|
28
|
+
sortPanelDrag: string;
|
|
29
|
+
sortPanelDisabled: string;
|
|
30
|
+
sortPanelNeedsTwo: string;
|
|
31
|
+
sortPanelAscending: string;
|
|
32
|
+
sortPanelAscendingShort: string;
|
|
33
|
+
sortPanelDescending: string;
|
|
34
|
+
sortPanelDescendingShort: string;
|
|
35
|
+
sortPanelRemove: string;
|
|
36
|
+
sortPanelAllUsed: string;
|
|
37
|
+
sortPanelAddHint: string;
|
|
38
|
+
sortPanelAdd: string;
|
|
39
|
+
sortPanelClearHint: string;
|
|
40
|
+
sortPanelReadOnly: string;
|
|
41
|
+
operatorEquals: string;
|
|
42
|
+
operatorNotEquals: string;
|
|
43
|
+
operatorGreaterThanOrEqual: string;
|
|
44
|
+
operatorGreaterThan: string;
|
|
45
|
+
operatorLessThanOrEqual: string;
|
|
46
|
+
operatorLessThan: string;
|
|
47
|
+
operatorBetween: string;
|
|
48
|
+
operatorContains: string;
|
|
49
|
+
operatorStartsWith: string;
|
|
50
|
+
operatorEndsWith: string;
|
|
51
|
+
operatorOnOrAfter: string;
|
|
52
|
+
operatorOnOrBefore: string;
|
|
53
|
+
operatorBlank: string;
|
|
54
|
+
operatorNotBlank: string;
|
|
55
|
+
filterTitle: string;
|
|
56
|
+
filterCollecting: string;
|
|
57
|
+
filterOptionsLoading: string;
|
|
58
|
+
filterOptionsLoadingShort: string;
|
|
59
|
+
filterOptionsFailed: string;
|
|
60
|
+
filterOptionsFailedShort: string;
|
|
61
|
+
filterOptionsTruncated: string;
|
|
62
|
+
filterSearchPlaceholder: string;
|
|
63
|
+
filterSelectAll: string;
|
|
64
|
+
filterSelectAllResults: string;
|
|
65
|
+
filterNoOptionsSource: string;
|
|
66
|
+
filterNoMatches: string;
|
|
67
|
+
filterSelectedCount: string;
|
|
68
|
+
filterShownCount: string;
|
|
69
|
+
filterMatchCount: string;
|
|
70
|
+
filterTotalCount: string;
|
|
71
|
+
filterOptionCount: string;
|
|
72
|
+
filterAll: string;
|
|
73
|
+
filterConditionSection: string;
|
|
74
|
+
filterValuesSection: string;
|
|
75
|
+
filterOperator: string;
|
|
76
|
+
filterValue: string;
|
|
77
|
+
filterValuePlaceholder: string;
|
|
78
|
+
filterMin: string;
|
|
79
|
+
filterMax: string;
|
|
80
|
+
filterRangeSeparator: string;
|
|
81
|
+
filterNoValue: string;
|
|
82
|
+
filterDate: string;
|
|
83
|
+
filterStartDate: string;
|
|
84
|
+
filterEndDate: string;
|
|
85
|
+
filterTextPlaceholder: string;
|
|
86
|
+
filterTextHint: string;
|
|
87
|
+
filterCurrentValue: string;
|
|
88
|
+
treeExpand: string;
|
|
89
|
+
treeCollapse: string;
|
|
90
|
+
dateTreeYear: string;
|
|
91
|
+
dateTreeMonth: string;
|
|
92
|
+
dateTreeDay: string;
|
|
93
|
+
calendarWeekdays: string[];
|
|
94
|
+
calendarMonths: string[];
|
|
95
|
+
calendarTitle: string;
|
|
96
|
+
calendarYear: string;
|
|
97
|
+
calendarOpen: string;
|
|
98
|
+
calendarClose: string;
|
|
99
|
+
calendarPrevious: string;
|
|
100
|
+
calendarNext: string;
|
|
101
|
+
calendarChangeView: string;
|
|
102
|
+
calendarBack: string;
|
|
103
|
+
calendarToday: string;
|
|
104
|
+
};
|
|
105
|
+
export type PopupLocaleText = ResolvedGridLocaleText & Readonly<Pick<GridLocaleText, keyof typeof DEFAULT_POPUP_LOCALE_TEXT | keyof typeof DEFAULT_FILTERING_LOCALE_TEXT>>;
|
|
106
|
+
export declare const resolvePopupLocaleText: (texts: ResolvedGridLocaleText) => PopupLocaleText;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { DEFAULT_FILTERING_LOCALE_TEXT as e } from "./localeTextFeatures.js";
|
|
2
|
+
//#region src/logic/localeTextPopups.ts
|
|
3
|
+
var t = {
|
|
4
|
+
apply: "適用",
|
|
5
|
+
columnsPinnedLeft: "左固定",
|
|
6
|
+
columnsUnpinned: "固定なし",
|
|
7
|
+
columnsPinnedRight: "右固定",
|
|
8
|
+
columnsHideAll: "すべての列を非表示(先頭の列は残ります)",
|
|
9
|
+
columnsShowAll: "すべての列を表示",
|
|
10
|
+
columnsDragToReorder: "ドラッグして並べ替え",
|
|
11
|
+
columnsDragWithinSection: "ドラッグして並べ替え(同じセクション内のみ)",
|
|
12
|
+
columnsReorderUnavailable: "onColumnsChange 未指定のため並べ替えできません",
|
|
13
|
+
columnsReorderWhileSearching: "検索中は並べ替えできません",
|
|
14
|
+
columnsGroupedHint: "グループ化している列です(値は自動グループ列に出ます)",
|
|
15
|
+
columnsSearchPlaceholder: "検索...",
|
|
16
|
+
columnsNoMatches: "該当する列がありません",
|
|
17
|
+
columnsReset: "すべての列を初期状態に戻す",
|
|
18
|
+
columnsUnavailable: "onColumnsChange 未指定のため表示/非表示・リセットを変更できません",
|
|
19
|
+
globalFilterTitle: "グローバルフィルター",
|
|
20
|
+
globalFilterRows: "\"{text}\" を含む行",
|
|
21
|
+
clearGlobalFilterTitle: "グローバルフィルターをクリア",
|
|
22
|
+
noColumnFilters: "適用中の列フィルターはありません",
|
|
23
|
+
addFilterLabel: "フィルターを追加する列を選択",
|
|
24
|
+
addFilter: "+ フィルターを追加…",
|
|
25
|
+
addFilterNone: "+ 追加できる列がありません",
|
|
26
|
+
sortPanelEmpty: "並び替えは設定されていません",
|
|
27
|
+
sortPanelDrag: "ドラッグして優先順位を変更",
|
|
28
|
+
sortPanelDisabled: "並び替えが無効です",
|
|
29
|
+
sortPanelNeedsTwo: "レベルが 2 件以上のとき並べ替えできます",
|
|
30
|
+
sortPanelAscending: "昇順",
|
|
31
|
+
sortPanelAscendingShort: "昇順",
|
|
32
|
+
sortPanelDescending: "降順",
|
|
33
|
+
sortPanelDescendingShort: "降順",
|
|
34
|
+
sortPanelRemove: "このレベルを削除",
|
|
35
|
+
sortPanelAllUsed: "すべての列が並び替えに使われています",
|
|
36
|
+
sortPanelAddHint: "並び替えの基準を追加します",
|
|
37
|
+
sortPanelAdd: "+ 基準を追加",
|
|
38
|
+
sortPanelClearHint: "すべての並び替えを解除します",
|
|
39
|
+
sortPanelReadOnly: "並び替えが無効のため編集できません",
|
|
40
|
+
operatorEquals: "に等しい",
|
|
41
|
+
operatorNotEquals: "に等しくない",
|
|
42
|
+
operatorGreaterThanOrEqual: "以上",
|
|
43
|
+
operatorGreaterThan: "より大きい",
|
|
44
|
+
operatorLessThanOrEqual: "以下",
|
|
45
|
+
operatorLessThan: "未満",
|
|
46
|
+
operatorBetween: "範囲",
|
|
47
|
+
operatorContains: "を含む",
|
|
48
|
+
operatorStartsWith: "で始まる",
|
|
49
|
+
operatorEndsWith: "で終わる",
|
|
50
|
+
operatorOnOrAfter: "以降",
|
|
51
|
+
operatorOnOrBefore: "以前",
|
|
52
|
+
operatorBlank: "空白",
|
|
53
|
+
operatorNotBlank: "空白でない",
|
|
54
|
+
filterTitle: "列フィルター: {column}",
|
|
55
|
+
filterCollecting: "候補を収集中… {percent}%",
|
|
56
|
+
filterOptionsLoading: "候補を取得中…",
|
|
57
|
+
filterOptionsLoadingShort: "取得中…",
|
|
58
|
+
filterOptionsFailed: "候補の取得に失敗しました",
|
|
59
|
+
filterOptionsFailedShort: "取得失敗",
|
|
60
|
+
filterOptionsTruncated: "(先頭のみ・打ち切り)",
|
|
61
|
+
filterSearchPlaceholder: "検索(Enter で確定)",
|
|
62
|
+
filterSelectAll: "(すべて選択)",
|
|
63
|
+
filterSelectAllResults: "(検索結果をすべて選択)",
|
|
64
|
+
filterNoOptionsSource: "候補が未指定です(serverSide では列に filterOptions などの候補供給が必要)",
|
|
65
|
+
filterNoMatches: "一致する候補がありません",
|
|
66
|
+
filterSelectedCount: "選択中: {selected} / {total} 件",
|
|
67
|
+
filterShownCount: "(表示中 {count} 件)",
|
|
68
|
+
filterMatchCount: "一致 {count} 件",
|
|
69
|
+
filterTotalCount: "全 {count} 件",
|
|
70
|
+
filterOptionCount: "候補数: {count}",
|
|
71
|
+
filterAll: "(すべて)",
|
|
72
|
+
filterConditionSection: "条件",
|
|
73
|
+
filterValuesSection: "値",
|
|
74
|
+
filterOperator: "条件の演算子",
|
|
75
|
+
filterValue: "条件の値",
|
|
76
|
+
filterValuePlaceholder: "値",
|
|
77
|
+
filterMin: "下限",
|
|
78
|
+
filterMax: "上限",
|
|
79
|
+
filterRangeSeparator: "〜",
|
|
80
|
+
filterNoValue: "この演算子は値入力を使いません",
|
|
81
|
+
filterDate: "条件の日付",
|
|
82
|
+
filterStartDate: "開始日",
|
|
83
|
+
filterEndDate: "終了日",
|
|
84
|
+
filterTextPlaceholder: "部分一致で絞り込み",
|
|
85
|
+
filterTextHint: "部分一致検索です",
|
|
86
|
+
filterCurrentValue: "現在値: {value}",
|
|
87
|
+
treeExpand: "展開する",
|
|
88
|
+
treeCollapse: "折りたたむ",
|
|
89
|
+
dateTreeYear: "{year} 年",
|
|
90
|
+
dateTreeMonth: "{month} 月",
|
|
91
|
+
dateTreeDay: "{day} 日",
|
|
92
|
+
calendarWeekdays: [
|
|
93
|
+
"日",
|
|
94
|
+
"月",
|
|
95
|
+
"火",
|
|
96
|
+
"水",
|
|
97
|
+
"木",
|
|
98
|
+
"金",
|
|
99
|
+
"土"
|
|
100
|
+
],
|
|
101
|
+
calendarMonths: [
|
|
102
|
+
"1月",
|
|
103
|
+
"2月",
|
|
104
|
+
"3月",
|
|
105
|
+
"4月",
|
|
106
|
+
"5月",
|
|
107
|
+
"6月",
|
|
108
|
+
"7月",
|
|
109
|
+
"8月",
|
|
110
|
+
"9月",
|
|
111
|
+
"10月",
|
|
112
|
+
"11月",
|
|
113
|
+
"12月"
|
|
114
|
+
],
|
|
115
|
+
calendarTitle: "{year}年 {month}月",
|
|
116
|
+
calendarYear: "{year}年",
|
|
117
|
+
calendarOpen: "カレンダーを開く",
|
|
118
|
+
calendarClose: "カレンダーを閉じる",
|
|
119
|
+
calendarPrevious: "前へ",
|
|
120
|
+
calendarNext: "次へ",
|
|
121
|
+
calendarChangeView: "表示単位を切り替える",
|
|
122
|
+
calendarBack: "← 戻る",
|
|
123
|
+
calendarToday: "今日"
|
|
124
|
+
}, n = (n) => ({
|
|
125
|
+
...t,
|
|
126
|
+
...e,
|
|
127
|
+
...n
|
|
128
|
+
});
|
|
129
|
+
//#endregion
|
|
130
|
+
export { t as DEFAULT_POPUP_LOCALE_TEXT, n as resolvePopupLocaleText };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./filtering.cjs");var
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./localeTextFilters.cjs"),t=require("./filtering.cjs");var n={operator:`gte`,value1:``,value2:``},r=[{value:`gte`,labelKey:`operatorGreaterThanOrEqual`},{value:`gt`,labelKey:`operatorGreaterThan`},{value:`lte`,labelKey:`operatorLessThanOrEqual`},{value:`lt`,labelKey:`operatorLessThan`},{value:`eq`,labelKey:`operatorEquals`},{value:`ne`,labelKey:`operatorNotEquals`},{value:`between`,labelKey:`operatorBetween`},{value:`blank`,labelKey:`operatorBlank`},{value:`notBlank`,labelKey:`operatorNotBlank`}],i=e=>e===`blank`||e===`notBlank`?0:e===`between`?2:1,a=e=>{let t=e.trim();if(!t)return null;let n=Number(t);return Number.isFinite(n)?n:null},o={gte:`>=`,gt:`>`,lte:`<=`,lt:`<`,eq:`=`,ne:`!=`},s=e=>{if(e.operator===`blank`||e.operator===`notBlank`)return{mode:e.operator};if(e.operator===`between`){let t=a(e.value1),n=a(e.value2);return t!==null&&n!==null?{mode:`range`,min:Math.min(t,n),max:Math.max(t,n)}:t===null?n===null?null:{mode:`comparison`,operator:`<=`,value:n}:{mode:`comparison`,operator:`>=`,value:t}}let t=a(e.value1);return t===null?null:{mode:`comparison`,operator:o[e.operator],value:t}},c=(t,n=String,r=e.DEFAULT_FILTER_LOCALE_TEXT)=>{switch(t.mode){case`comparison`:{let i=n(t.value);switch(t.operator){case`>=`:return e.formatLocaleText(r.conditionGreaterThanOrEqual,{value:i});case`>`:return e.formatLocaleText(r.conditionGreaterThan,{value:i});case`<=`:return e.formatLocaleText(r.conditionLessThanOrEqual,{value:i});case`<`:return e.formatLocaleText(r.conditionLessThan,{value:i});case`!=`:return e.formatLocaleText(r.conditionNotEquals,{value:i});default:return e.formatLocaleText(r.conditionEquals,{value:i})}}case`range`:return e.formatLocaleText(r.conditionRange,{min:n(t.min),max:n(t.max)});case`blank`:return r.conditionBlank;case`notBlank`:return r.conditionNotBlank}},l=e=>{let t=s(e);return t===null?null:{kind:`number`,raw:c(t),parsed:t}},u=(e,n)=>n?e.filter(e=>t.matchesParsedNumberFilter(n,e.value)):e,d={">=":`gte`,">":`gt`,"<=":`lte`,"<":`lt`,"=":`eq`,"!=":`ne`},f=e=>{if(!e)return n;switch(e.mode){case`comparison`:return{operator:d[e.operator],value1:String(e.value),value2:``};case`range`:return{operator:`between`,value1:String(e.min),value2:String(e.max)};case`blank`:case`notBlank`:return{operator:e.mode,value1:``,value2:``}}},p=e=>f(e?.parsed);exports.DEFAULT_NUMBER_FILTER_DRAFT=n,exports.NUMBER_FILTER_OPERATOR_OPTIONS=r,exports.buildNumberColumnFilterValueFromDraft=l,exports.buildParsedNumberFilterFromDraft=s,exports.filterOptionsByNumberCondition=u,exports.formatParsedNumberFilter=c,exports.numberFilterOperandCount=i,exports.numberFilterValueToConditionDraft=p,exports.parsedNumberFilterToConditionDraft=f;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { NumberColumnFilterValue, ParsedNumberFilter } from '../model/gridTypes.unbound.js';
|
|
2
|
+
import { type FilterLocaleText, type FilterOperatorLocaleTextKey } from './localeTextFilters.js';
|
|
2
3
|
export type NumberFilterOperator = 'gte' | 'gt' | 'lte' | 'lt' | 'eq' | 'ne' | 'between' | 'blank' | 'notBlank';
|
|
3
4
|
export type NumberFilterConditionDraft = {
|
|
4
5
|
operator: NumberFilterOperator;
|
|
@@ -8,11 +9,11 @@ export type NumberFilterConditionDraft = {
|
|
|
8
9
|
export declare const DEFAULT_NUMBER_FILTER_DRAFT: NumberFilterConditionDraft;
|
|
9
10
|
export declare const NUMBER_FILTER_OPERATOR_OPTIONS: ReadonlyArray<{
|
|
10
11
|
value: NumberFilterOperator;
|
|
11
|
-
|
|
12
|
+
labelKey: FilterOperatorLocaleTextKey;
|
|
12
13
|
}>;
|
|
13
14
|
export declare const numberFilterOperandCount: (operator: NumberFilterOperator) => 0 | 1 | 2;
|
|
14
15
|
export declare const buildParsedNumberFilterFromDraft: (draft: NumberFilterConditionDraft) => ParsedNumberFilter | null;
|
|
15
|
-
export declare const formatParsedNumberFilter: (parsed: ParsedNumberFilter, formatNumber?: (value: number) => string) => string;
|
|
16
|
+
export declare const formatParsedNumberFilter: (parsed: ParsedNumberFilter, formatNumber?: (value: number) => string, texts?: FilterLocaleText) => string;
|
|
16
17
|
export declare const buildNumberColumnFilterValueFromDraft: (draft: NumberFilterConditionDraft) => NumberColumnFilterValue | null;
|
|
17
18
|
export declare const filterOptionsByNumberCondition: <O extends {
|
|
18
19
|
value: string;
|