@nanahoshi/mona-ui 0.35.0 → 0.36.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/docs/api/common.md +1 -1
- package/docs/api/i18n.md +26 -5
- package/docs/api/locales.md +14 -14
- package/docs/api/masked-text-box.md +137 -0
- package/docs/api/multi-select.md +1 -0
- package/docs/masked-textbox.md +334 -0
- package/docs/multi-select.md +66 -0
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +54 -15
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-masked-text-box.mjs +1302 -0
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +29 -1
- package/i18n/catalogs/en-US.messages.json +10 -1
- package/llms.txt +3 -1
- package/locales/ar-sa/ar-sa.messages.json +10 -1
- package/locales/de-de/de-de.messages.json +10 -1
- package/locales/es-es/es-es.messages.json +10 -1
- package/locales/fr-fr/fr-fr.messages.json +10 -1
- package/locales/id-id/id-id.messages.json +10 -1
- package/locales/it-it/it-it.messages.json +10 -1
- package/locales/ja-jp/ja-jp.messages.json +10 -1
- package/locales/ko-kr/ko-kr.messages.json +10 -1
- package/locales/pl-pl/pl-pl.messages.json +10 -1
- package/locales/pt-br/pt-br.messages.json +10 -1
- package/locales/ru-ru/ru-ru.messages.json +10 -1
- package/locales/tr-tr/tr-tr.messages.json +10 -1
- package/locales/zh-cn/zh-cn.messages.json +10 -1
- package/locales/zh-tw/zh-tw.messages.json +10 -1
- package/masked-text-box/package.json +4 -0
- package/package.json +5 -1
- package/types/nanahoshi-mona-ui-i18n.d.ts +20 -0
- package/types/nanahoshi-mona-ui-internal-list.d.ts +12 -0
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +9 -0
- package/types/nanahoshi-mona-ui-masked-text-box.d.ts +391 -0
- package/types/nanahoshi-mona-ui-multi-select.d.ts +11 -0
|
@@ -177,9 +177,10 @@ function formatGroupHeader(value, formatters) {
|
|
|
177
177
|
if (typeof value === "number") return Number.isNaN(value) ? "" : formatters.number.format(value);
|
|
178
178
|
return String(value);
|
|
179
179
|
}
|
|
180
|
+
const SELECT_ALL_KEY = Symbol("selectAll");
|
|
180
181
|
var ListService = class ListService {
|
|
181
182
|
constructor() {
|
|
182
|
-
this.#
|
|
183
|
+
this.#arrangedDataItems = computed(() => {
|
|
183
184
|
const listItems = this.#listItems();
|
|
184
185
|
const filterText = this.filterText();
|
|
185
186
|
const groupableOptions = this.groupableOptions();
|
|
@@ -217,6 +218,10 @@ var ListService = class ListService {
|
|
|
217
218
|
}).toImmutableSet();
|
|
218
219
|
this.#groupHeaders = headers;
|
|
219
220
|
return items;
|
|
221
|
+
}, ...ngDevMode ? [{ debugName: "#arrangedDataItems" }] : /* istanbul ignore next */ []);
|
|
222
|
+
this.#arrangedItems = computed(() => {
|
|
223
|
+
const items = this.#arrangedDataItems();
|
|
224
|
+
return this.#selectAllShown() ? toImmutableSet([this.selectAllItem, ...items]) : items;
|
|
220
225
|
}, ...ngDevMode ? [{ debugName: "#arrangedItems" }] : /* istanbul ignore next */ []);
|
|
221
226
|
this.#data = signal(ImmutableList.create(), ...ngDevMode ? [{ debugName: "#data" }] : /* istanbul ignore next */ []);
|
|
222
227
|
this.#i18n = inject(MonaI18nService);
|
|
@@ -261,6 +266,11 @@ var ListService = class ListService {
|
|
|
261
266
|
return toImmutableSet(items);
|
|
262
267
|
}
|
|
263
268
|
});
|
|
269
|
+
this.#selectAllKeys = computed(() => this.#arrangedDataItems().where((item) => !item.isHeader && !this.isDisabled(item)).select((item) => this.getSelectionKey(item)).toArray(), ...ngDevMode ? [{ debugName: "#selectAllKeys" }] : /* istanbul ignore next */ []);
|
|
270
|
+
this.#selectAllShown = computed(() => {
|
|
271
|
+
const options = this.selectableOptions();
|
|
272
|
+
return this.selectAllEnabled() && options.enabled && options.mode === "multiple" && this.#selectAllKeys().length > 0;
|
|
273
|
+
}, ...ngDevMode ? [{ debugName: "#selectAllShown" }] : /* istanbul ignore next */ []);
|
|
264
274
|
this.#groupHeaders = /* @__PURE__ */ new Map();
|
|
265
275
|
this.disabledBy = signal("", ...ngDevMode ? [{ debugName: "disabledBy" }] : /* istanbul ignore next */ []);
|
|
266
276
|
this.filterChange$ = new Subject();
|
|
@@ -300,6 +310,7 @@ var ListService = class ListService {
|
|
|
300
310
|
computation: (_, previous) => {
|
|
301
311
|
const highlighted = previous?.value;
|
|
302
312
|
if (!highlighted || highlighted.isHeader) return null;
|
|
313
|
+
if (highlighted === this.selectAllItem) return highlighted;
|
|
303
314
|
return this.#itemsByUid().get(highlighted.uid) ?? null;
|
|
304
315
|
}
|
|
305
316
|
});
|
|
@@ -338,6 +349,16 @@ var ListService = class ListService {
|
|
|
338
349
|
}, ...ngDevMode ? [{ debugName: "pageableOptions" }] : /* istanbul ignore next */ []);
|
|
339
350
|
this.role = signal("listbox", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
|
|
340
351
|
this.scrollToItem$ = new ReplaySubject(1);
|
|
352
|
+
this.selectAllEnabled = signal(false, ...ngDevMode ? [{ debugName: "selectAllEnabled" }] : /* istanbul ignore next */ []);
|
|
353
|
+
this.selectAllItem = new ListItem({ data: null });
|
|
354
|
+
this.selectAllLabel = signal("", ...ngDevMode ? [{ debugName: "selectAllLabel" }] : /* istanbul ignore next */ []);
|
|
355
|
+
this.selectAllState = computed(() => {
|
|
356
|
+
const keys = this.#selectAllKeys();
|
|
357
|
+
const selectedKeys = this.selectedKeys();
|
|
358
|
+
const selected = keys.filter((key) => selectedKeys.contains(key)).length;
|
|
359
|
+
if (selected === 0) return "none";
|
|
360
|
+
return selected === keys.length ? "all" : "some";
|
|
361
|
+
}, ...ngDevMode ? [{ debugName: "selectAllState" }] : /* istanbul ignore next */ []);
|
|
341
362
|
this.selectableOptions = signal({
|
|
342
363
|
checkboxes: false,
|
|
343
364
|
enabled: false,
|
|
@@ -366,12 +387,15 @@ var ListService = class ListService {
|
|
|
366
387
|
height: 28
|
|
367
388
|
}, ...ngDevMode ? [{ debugName: "virtualScrollOptions" }] : /* istanbul ignore next */ []);
|
|
368
389
|
}
|
|
390
|
+
#arrangedDataItems;
|
|
369
391
|
#arrangedItems;
|
|
370
392
|
#data;
|
|
371
393
|
#i18n;
|
|
372
394
|
#itemsByKey;
|
|
373
395
|
#itemsByUid;
|
|
374
396
|
#listItems;
|
|
397
|
+
#selectAllKeys;
|
|
398
|
+
#selectAllShown;
|
|
375
399
|
#groupHeaders;
|
|
376
400
|
clearFilter() {
|
|
377
401
|
this.filterText.set("");
|
|
@@ -387,12 +411,14 @@ var ListService = class ListService {
|
|
|
387
411
|
const activeItem = this.highlightedItem() || this.selectedListItems().lastOrDefault();
|
|
388
412
|
const prefix = buffer.toLowerCase();
|
|
389
413
|
return cycleThroughMatchedItems(this.viewItems(), activeItem ?? null, (item) => {
|
|
390
|
-
if (item.isHeader || this.isDisabled(item)) return false;
|
|
414
|
+
if (item.isHeader || item === this.selectAllItem || this.isDisabled(item)) return false;
|
|
391
415
|
return this.getItemText(item).toLowerCase().startsWith(prefix);
|
|
392
416
|
}, prefix.length > 1);
|
|
393
417
|
}
|
|
394
418
|
deselectItems(item) {
|
|
395
|
-
const
|
|
419
|
+
const items = from(item);
|
|
420
|
+
const selectAllKeys = items.contains(this.selectAllItem) ? this.#selectAllKeys() : [];
|
|
421
|
+
const keys = items.where((i) => i !== this.selectAllItem).select((i) => this.getSelectionKey(i)).concat(selectAllKeys).toImmutableSet();
|
|
396
422
|
this.selectedKeys.update((set) => set.removeAll(keys));
|
|
397
423
|
}
|
|
398
424
|
getDataItemValue(dataItem) {
|
|
@@ -418,6 +444,7 @@ var ListService = class ListService {
|
|
|
418
444
|
return this.itemPositions().get(item.uid) ?? null;
|
|
419
445
|
}
|
|
420
446
|
getItemText(item) {
|
|
447
|
+
if (item === this.selectAllItem) return this.selectAllLabel();
|
|
421
448
|
const textField = this.textField();
|
|
422
449
|
let text;
|
|
423
450
|
if (!textField) text = item.data;
|
|
@@ -428,7 +455,7 @@ var ListService = class ListService {
|
|
|
428
455
|
getMatchingFilteredItem(text) {
|
|
429
456
|
const filterableOptions = this.filterableOptions();
|
|
430
457
|
const caseSensitive = filterableOptions.enabled ? filterableOptions.caseSensitive : false;
|
|
431
|
-
const candidates = this.viewItems().where((i) => !i.isHeader && !this.isDisabled(i));
|
|
458
|
+
const candidates = this.viewItems().where((i) => !i.isHeader && i !== this.selectAllItem && !this.isDisabled(i));
|
|
432
459
|
const fullMatchingItem = candidates.firstOrDefault((i) => {
|
|
433
460
|
const itemText = this.getItemText(i);
|
|
434
461
|
return caseSensitive ? itemText === text : itemText.toLowerCase() === text.toLowerCase();
|
|
@@ -442,7 +469,7 @@ var ListService = class ListService {
|
|
|
442
469
|
return disabledBy(dataItem);
|
|
443
470
|
}
|
|
444
471
|
isDisabled(item) {
|
|
445
|
-
return !item.isHeader && this.isDataItemDisabled(item.data);
|
|
472
|
+
return !item.isHeader && item !== this.selectAllItem && this.isDataItemDisabled(item.data);
|
|
446
473
|
}
|
|
447
474
|
isFilteringEnabled() {
|
|
448
475
|
return this.filterableOptions().enabled;
|
|
@@ -452,6 +479,7 @@ var ListService = class ListService {
|
|
|
452
479
|
}
|
|
453
480
|
isSelected(item) {
|
|
454
481
|
if (!this.selectableOptions().enabled) return false;
|
|
482
|
+
if (item === this.selectAllItem) return this.selectAllState() === "all";
|
|
455
483
|
const selectedKeys = this.selectedKeys();
|
|
456
484
|
const key = this.getSelectionKey(item);
|
|
457
485
|
return selectedKeys.contains(key);
|
|
@@ -486,13 +514,18 @@ var ListService = class ListService {
|
|
|
486
514
|
selectAllItems() {
|
|
487
515
|
const options = this.selectableOptions();
|
|
488
516
|
if (!options.enabled || options.mode !== "multiple") return false;
|
|
489
|
-
const keys = this.viewItems().where((i) => !i.isHeader && !this.isDisabled(i)).select((i) => this.getSelectionKey(i)).toArray();
|
|
517
|
+
const keys = this.viewItems().where((i) => !i.isHeader && i !== this.selectAllItem && !this.isDisabled(i)).select((i) => this.getSelectionKey(i)).toArray();
|
|
490
518
|
const selectedKeys = this.selectedKeys();
|
|
491
519
|
if (keys.every((key) => selectedKeys.contains(key))) return false;
|
|
492
520
|
this.selectedKeys.update((set) => set.addAll(keys));
|
|
493
521
|
return true;
|
|
494
522
|
}
|
|
495
523
|
selectItem(item, scroll = false, focus = false) {
|
|
524
|
+
if (item === this.selectAllItem) {
|
|
525
|
+
this.toggleSelectAll();
|
|
526
|
+
if (scroll) this.scrollToItem(item, focus);
|
|
527
|
+
return;
|
|
528
|
+
}
|
|
496
529
|
const key = this.getSelectionKey(item);
|
|
497
530
|
const options = this.selectableOptions();
|
|
498
531
|
if (options.mode === "single") {
|
|
@@ -572,6 +605,11 @@ var ListService = class ListService {
|
|
|
572
605
|
...options
|
|
573
606
|
}));
|
|
574
607
|
}
|
|
608
|
+
toggleSelectAll() {
|
|
609
|
+
const keys = this.#selectAllKeys();
|
|
610
|
+
if (this.selectAllState() === "all") this.selectedKeys.update((set) => set.removeAll(keys));
|
|
611
|
+
else this.selectedKeys.update((set) => set.addAll(keys));
|
|
612
|
+
}
|
|
575
613
|
filterItem(item, filterText) {
|
|
576
614
|
if (filterText === "") return true;
|
|
577
615
|
const options = this.filterableOptions();
|
|
@@ -608,7 +646,7 @@ var ListService = class ListService {
|
|
|
608
646
|
return prevItem;
|
|
609
647
|
}
|
|
610
648
|
getSelectionKey(item) {
|
|
611
|
-
return this.getDataItemValue(item.data);
|
|
649
|
+
return item === this.selectAllItem ? SELECT_ALL_KEY : this.getDataItemValue(item.data);
|
|
612
650
|
}
|
|
613
651
|
navigateFirstForSingleSelection(viewItems, mode) {
|
|
614
652
|
const firstItem = viewItems.first();
|
|
@@ -781,6 +819,7 @@ const listGroupHeaderTextThemeVariants = cva(`select-none text-muted-foreground`
|
|
|
781
819
|
false: "w-full px-3 py-1 font-[var(--mona-list-group-font-weight)]"
|
|
782
820
|
} } });
|
|
783
821
|
const listItemBaseThemeVariants = cva(`flex h-full w-full items-center gap-2`);
|
|
822
|
+
const LIST_SELECT_ALL_ITEM_CLASSES = "mb-0.5 border-b border-border";
|
|
784
823
|
const listItemContentThemeVariants = cva(`relative flex cursor-default select-none items-center px-3 py-1 text-foreground outline-none focus-visible:outline-hidden focus-visible:inset-ring-2 focus-visible:inset-ring-focus-indicator`, {
|
|
785
824
|
variants: {
|
|
786
825
|
checkboxes: {
|
|
@@ -849,15 +888,15 @@ var ListItemDirective = class ListItemDirective {
|
|
|
849
888
|
const highlighted = this.highlighted();
|
|
850
889
|
const selected = this.selected();
|
|
851
890
|
const selectableOptions = this.#listService.selectableOptions();
|
|
852
|
-
const
|
|
891
|
+
const selectAll = this.item() === this.#listService.selectAllItem;
|
|
853
892
|
const classes = listItemContentThemeVariants({
|
|
854
893
|
disabled,
|
|
855
894
|
highlighted,
|
|
856
895
|
selected,
|
|
857
|
-
checkboxes,
|
|
896
|
+
checkboxes: selectableOptions.checkboxes || selectAll,
|
|
858
897
|
selectable: selectableOptions.enabled
|
|
859
898
|
});
|
|
860
|
-
return twMerge(classes);
|
|
899
|
+
return twMerge(classes, selectAll ? LIST_SELECT_ALL_ITEM_CLASSES : "");
|
|
861
900
|
}, ...ngDevMode ? [{ debugName: "textClasses" }] : /* istanbul ignore next */ []);
|
|
862
901
|
this.item = input.required(...ngDevMode ? [{ debugName: "item" }] : /* istanbul ignore next */ []);
|
|
863
902
|
fromEvent(inject(ElementRef).nativeElement, "focusout").pipe(takeUntilDestroyed()).subscribe(() => this.#listService.itemFocusOut$.next(this.item()));
|
|
@@ -988,12 +1027,12 @@ var ListItemComponent = class ListItemComponent {
|
|
|
988
1027
|
if (this.isHeader()) return ``;
|
|
989
1028
|
return listItemBaseThemeVariants();
|
|
990
1029
|
}, ...ngDevMode ? [{ debugName: "baseClass" }] : /* istanbul ignore next */ []);
|
|
991
|
-
this.checkboxes = computed(() => {
|
|
992
|
-
return this.listService.selectableOptions().checkboxes && !this.isHeader();
|
|
993
|
-
}, ...ngDevMode ? [{ debugName: "checkboxes" }] : /* istanbul ignore next */ []);
|
|
1030
|
+
this.checkboxes = computed(() => (this.listService.selectableOptions().checkboxes || this.isSelectAll()) && !this.isHeader(), ...ngDevMode ? [{ debugName: "checkboxes" }] : /* istanbul ignore next */ []);
|
|
994
1031
|
this.dataItem = computed(() => this.item()?.data ?? null, ...ngDevMode ? [{ debugName: "dataItem" }] : /* istanbul ignore next */ []);
|
|
995
1032
|
this.isHeader = computed(() => this.item()?.isHeader ?? false, ...ngDevMode ? [{ debugName: "isHeader" }] : /* istanbul ignore next */ []);
|
|
1033
|
+
this.isSelectAll = computed(() => this.item() === this.listService.selectAllItem, ...ngDevMode ? [{ debugName: "isSelectAll" }] : /* istanbul ignore next */ []);
|
|
996
1034
|
this.itemChecked = computed(() => this.listService.isSelected(this.item()), ...ngDevMode ? [{ debugName: "itemChecked" }] : /* istanbul ignore next */ []);
|
|
1035
|
+
this.itemIndeterminate = computed(() => this.isSelectAll() && this.listService.selectAllState() === "some", ...ngDevMode ? [{ debugName: "itemIndeterminate" }] : /* istanbul ignore next */ []);
|
|
997
1036
|
this.itemText = computed(() => {
|
|
998
1037
|
const item = this.item();
|
|
999
1038
|
if (item == null) return "";
|
|
@@ -1047,7 +1086,7 @@ var ListItemComponent = class ListItemComponent {
|
|
|
1047
1086
|
},
|
|
1048
1087
|
host: { properties: { "class": "baseClass()" } },
|
|
1049
1088
|
ngImport: i0,
|
|
1050
|
-
template: "@if (checkboxes()) {\n <!-- Visual only: the option row owns selection, so the checkbox is inert (not focusable, clicks reach the row). -->\n <input
|
|
1089
|
+
template: "@if (checkboxes()) {\n <!-- Visual only: the option row owns selection, so the checkbox is inert (not focusable, clicks reach the row). -->\n <input\n type=\"checkbox\"\n [checked]=\"itemChecked()\"\n [indeterminate]=\"itemIndeterminate()\"\n monaCheckbox\n class=\"aspect-square\"\n inert\n aria-hidden=\"true\" />\n}\n\n@if (template() && !isSelectAll()) {\n <ng-container [ngTemplateOutlet]=\"template()\" [ngTemplateOutletContext]=\"{ $implicit: dataItem() }\"></ng-container>\n} @else {\n <span [class]=\"textClasses()\">{{ itemText() }}</span>\n}\n",
|
|
1051
1090
|
dependencies: [{
|
|
1052
1091
|
kind: "directive",
|
|
1053
1092
|
type: NgTemplateOutlet,
|
|
@@ -1082,7 +1121,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1082
1121
|
selector: "mona-list-item",
|
|
1083
1122
|
imports: [NgTemplateOutlet, CheckboxDirective],
|
|
1084
1123
|
host: { "[class]": "baseClass()" },
|
|
1085
|
-
template: "@if (checkboxes()) {\n <!-- Visual only: the option row owns selection, so the checkbox is inert (not focusable, clicks reach the row). -->\n <input
|
|
1124
|
+
template: "@if (checkboxes()) {\n <!-- Visual only: the option row owns selection, so the checkbox is inert (not focusable, clicks reach the row). -->\n <input\n type=\"checkbox\"\n [checked]=\"itemChecked()\"\n [indeterminate]=\"itemIndeterminate()\"\n monaCheckbox\n class=\"aspect-square\"\n inert\n aria-hidden=\"true\" />\n}\n\n@if (template() && !isSelectAll()) {\n <ng-container [ngTemplateOutlet]=\"template()\" [ngTemplateOutletContext]=\"{ $implicit: dataItem() }\"></ng-container>\n} @else {\n <span [class]=\"textClasses()\">{{ itemText() }}</span>\n}\n"
|
|
1086
1125
|
}]
|
|
1087
1126
|
}],
|
|
1088
1127
|
propDecorators: {
|
|
@@ -501,10 +501,19 @@ const MONA_AR_SA_LOCALE = {
|
|
|
501
501
|
transferTo: "نقل إلى القائمة الأخرى",
|
|
502
502
|
transferToList: (list) => `نقل إلى ${list}`
|
|
503
503
|
},
|
|
504
|
+
maskedTextBox: {
|
|
505
|
+
characterNotAllowed: "لا يمكن إدخال هذا الحرف هنا",
|
|
506
|
+
clear: "مسح",
|
|
507
|
+
digitOnly: "يمكن إدخال رقم فقط هنا",
|
|
508
|
+
digitOrSignOnly: "يمكن إدخال رقم أو علامة زائد أو ناقص فقط هنا",
|
|
509
|
+
letterOnly: "يمكن إدخال حرف فقط هنا",
|
|
510
|
+
letterOrDigitOnly: "يمكن إدخال حرف أو رقم فقط هنا"
|
|
511
|
+
},
|
|
504
512
|
multiSelect: {
|
|
505
513
|
clear: "مسح",
|
|
506
514
|
itemsCount: (count) => `+ ${localizeNumber(count)}`,
|
|
507
|
-
removeMoreItems: (count) => `حذف العناصر الإضافية (${localizeNumber(count)})
|
|
515
|
+
removeMoreItems: (count) => `حذف العناصر الإضافية (${localizeNumber(count)})`,
|
|
516
|
+
selectAll: "تحديد الكل"
|
|
508
517
|
},
|
|
509
518
|
notification: {
|
|
510
519
|
close: "إغلاق",
|
|
@@ -459,10 +459,19 @@ const MONA_DE_DE_LOCALE = {
|
|
|
459
459
|
transferTo: "In die andere Liste übertragen",
|
|
460
460
|
transferToList: (list) => `In ${list} übertragen`
|
|
461
461
|
},
|
|
462
|
+
maskedTextBox: {
|
|
463
|
+
characterNotAllowed: "Dieses Zeichen passt hier nicht",
|
|
464
|
+
clear: "Leeren",
|
|
465
|
+
digitOnly: "Hier passt nur eine Ziffer",
|
|
466
|
+
digitOrSignOnly: "Hier passt nur eine Ziffer, Plus oder Minus",
|
|
467
|
+
letterOnly: "Hier passt nur ein Buchstabe",
|
|
468
|
+
letterOrDigitOnly: "Hier passt nur ein Buchstabe oder eine Ziffer"
|
|
469
|
+
},
|
|
462
470
|
multiSelect: {
|
|
463
471
|
clear: "Leeren",
|
|
464
472
|
itemsCount: (count) => count === 1 ? `+ ${localizeNumber(count)} Element` : `+ ${localizeNumber(count)} Elemente`,
|
|
465
|
-
removeMoreItems: (count) => count === 1 ? `${localizeNumber(count)} weiteres Element entfernen` : `${localizeNumber(count)} weitere Elemente entfernen
|
|
473
|
+
removeMoreItems: (count) => count === 1 ? `${localizeNumber(count)} weiteres Element entfernen` : `${localizeNumber(count)} weitere Elemente entfernen`,
|
|
474
|
+
selectAll: "Alle auswählen"
|
|
466
475
|
},
|
|
467
476
|
notification: {
|
|
468
477
|
close: "Schließen",
|
|
@@ -465,10 +465,19 @@ const MONA_ES_ES_LOCALE = {
|
|
|
465
465
|
transferTo: "Transferir a la otra lista",
|
|
466
466
|
transferToList: (list) => `Transferir a ${list}`
|
|
467
467
|
},
|
|
468
|
+
maskedTextBox: {
|
|
469
|
+
characterNotAllowed: "Ese carácter no cabe aquí",
|
|
470
|
+
clear: "Limpiar",
|
|
471
|
+
digitOnly: "Aquí solo cabe un dígito",
|
|
472
|
+
digitOrSignOnly: "Aquí solo cabe un dígito, más o menos",
|
|
473
|
+
letterOnly: "Aquí solo cabe una letra",
|
|
474
|
+
letterOrDigitOnly: "Aquí solo cabe una letra o un dígito"
|
|
475
|
+
},
|
|
468
476
|
multiSelect: {
|
|
469
477
|
clear: "Limpiar",
|
|
470
478
|
itemsCount: (count) => count === 1 ? `+ ${localizeNumber(count)} elemento` : `+ ${localizeNumber(count)} elementos`,
|
|
471
|
-
removeMoreItems: (count) => count === 1 ? `Quitar ${localizeNumber(count)} elemento más` : `Quitar ${localizeNumber(count)} elementos más
|
|
479
|
+
removeMoreItems: (count) => count === 1 ? `Quitar ${localizeNumber(count)} elemento más` : `Quitar ${localizeNumber(count)} elementos más`,
|
|
480
|
+
selectAll: "Seleccionar todo"
|
|
472
481
|
},
|
|
473
482
|
notification: {
|
|
474
483
|
close: "Cerrar",
|
|
@@ -465,10 +465,19 @@ const MONA_FR_FR_LOCALE = {
|
|
|
465
465
|
transferTo: "Transférer vers l’autre liste",
|
|
466
466
|
transferToList: (list) => `Transférer vers ${list}`
|
|
467
467
|
},
|
|
468
|
+
maskedTextBox: {
|
|
469
|
+
characterNotAllowed: "Ce caractère n’est pas accepté ici",
|
|
470
|
+
clear: "Effacer",
|
|
471
|
+
digitOnly: "Seul un chiffre est accepté ici",
|
|
472
|
+
digitOrSignOnly: "Seul un chiffre, plus ou moins est accepté ici",
|
|
473
|
+
letterOnly: "Seule une lettre est acceptée ici",
|
|
474
|
+
letterOrDigitOnly: "Seul un chiffre ou une lettre est accepté ici"
|
|
475
|
+
},
|
|
468
476
|
multiSelect: {
|
|
469
477
|
clear: "Effacer",
|
|
470
478
|
itemsCount: (count) => count === 1 ? `+ ${localizeNumber(count)} élément` : `+ ${localizeNumber(count)} éléments`,
|
|
471
|
-
removeMoreItems: (count) => count === 1 ? `Retirer ${localizeNumber(count)} autre élément` : `Retirer ${localizeNumber(count)} autres éléments
|
|
479
|
+
removeMoreItems: (count) => count === 1 ? `Retirer ${localizeNumber(count)} autre élément` : `Retirer ${localizeNumber(count)} autres éléments`,
|
|
480
|
+
selectAll: "Tout sélectionner"
|
|
472
481
|
},
|
|
473
482
|
notification: {
|
|
474
483
|
close: "Fermer",
|
|
@@ -434,10 +434,19 @@ const MONA_ID_ID_LOCALE = {
|
|
|
434
434
|
transferTo: "Pindahkan ke daftar lain",
|
|
435
435
|
transferToList: (list) => `Pindahkan ke ${list}`
|
|
436
436
|
},
|
|
437
|
+
maskedTextBox: {
|
|
438
|
+
characterNotAllowed: "Karakter itu tidak bisa diisi di sini",
|
|
439
|
+
clear: "Bersihkan",
|
|
440
|
+
digitOnly: "Hanya angka yang bisa diisi di sini",
|
|
441
|
+
digitOrSignOnly: "Hanya angka, plus, atau minus yang bisa diisi di sini",
|
|
442
|
+
letterOnly: "Hanya huruf yang bisa diisi di sini",
|
|
443
|
+
letterOrDigitOnly: "Hanya huruf atau angka yang bisa diisi di sini"
|
|
444
|
+
},
|
|
437
445
|
multiSelect: {
|
|
438
446
|
clear: "Bersihkan",
|
|
439
447
|
itemsCount: (count) => `+ ${localizeNumber(count)} item`,
|
|
440
|
-
removeMoreItems: (count) => `Hapus ${localizeNumber(count)} item lainnya
|
|
448
|
+
removeMoreItems: (count) => `Hapus ${localizeNumber(count)} item lainnya`,
|
|
449
|
+
selectAll: "Pilih semua"
|
|
441
450
|
},
|
|
442
451
|
notification: {
|
|
443
452
|
close: "Tutup",
|
|
@@ -465,10 +465,19 @@ const MONA_IT_IT_LOCALE = {
|
|
|
465
465
|
transferTo: "Sposta nell'altro elenco",
|
|
466
466
|
transferToList: (list) => `Sposta in ${list}`
|
|
467
467
|
},
|
|
468
|
+
maskedTextBox: {
|
|
469
|
+
characterNotAllowed: "Questo carattere non va qui",
|
|
470
|
+
clear: "Cancella",
|
|
471
|
+
digitOnly: "Qui va solo una cifra",
|
|
472
|
+
digitOrSignOnly: "Qui va solo una cifra, più o meno",
|
|
473
|
+
letterOnly: "Qui va solo una lettera",
|
|
474
|
+
letterOrDigitOnly: "Qui va solo una lettera o una cifra"
|
|
475
|
+
},
|
|
468
476
|
multiSelect: {
|
|
469
477
|
clear: "Cancella",
|
|
470
478
|
itemsCount: (count) => count === 1 ? "+ 1 elemento" : `+ ${localizeNumber(count)} elementi`,
|
|
471
|
-
removeMoreItems: (count) => count === 1 ? "Rimuovi un altro elemento" : `Rimuovi altri ${localizeNumber(count)} elementi
|
|
479
|
+
removeMoreItems: (count) => count === 1 ? "Rimuovi un altro elemento" : `Rimuovi altri ${localizeNumber(count)} elementi`,
|
|
480
|
+
selectAll: "Seleziona tutto"
|
|
472
481
|
},
|
|
473
482
|
notification: {
|
|
474
483
|
close: "Chiudi",
|
|
@@ -434,10 +434,19 @@ const MONA_JA_JP_LOCALE = {
|
|
|
434
434
|
transferTo: "もう一方のリストへ移動",
|
|
435
435
|
transferToList: (list) => `${list}へ移動`
|
|
436
436
|
},
|
|
437
|
+
maskedTextBox: {
|
|
438
|
+
characterNotAllowed: "この文字はここに入力できません",
|
|
439
|
+
clear: "クリア",
|
|
440
|
+
digitOnly: "ここには数字のみ入力できます",
|
|
441
|
+
digitOrSignOnly: "ここには数字、プラス、マイナスのみ入力できます",
|
|
442
|
+
letterOnly: "ここには文字のみ入力できます",
|
|
443
|
+
letterOrDigitOnly: "ここには文字または数字のみ入力できます"
|
|
444
|
+
},
|
|
437
445
|
multiSelect: {
|
|
438
446
|
clear: "クリア",
|
|
439
447
|
itemsCount: (count) => `+ ${localizeNumber(count)}件`,
|
|
440
|
-
removeMoreItems: (count) => `他の${localizeNumber(count)}
|
|
448
|
+
removeMoreItems: (count) => `他の${localizeNumber(count)}件を削除`,
|
|
449
|
+
selectAll: "すべて選択"
|
|
441
450
|
},
|
|
442
451
|
notification: {
|
|
443
452
|
close: "閉じる",
|
|
@@ -434,10 +434,19 @@ const MONA_KO_KR_LOCALE = {
|
|
|
434
434
|
transferTo: "다른 목록으로 이동",
|
|
435
435
|
transferToList: (list) => `${list}(으)로 이동`
|
|
436
436
|
},
|
|
437
|
+
maskedTextBox: {
|
|
438
|
+
characterNotAllowed: "이 문자는 여기에 입력할 수 없습니다",
|
|
439
|
+
clear: "지우기",
|
|
440
|
+
digitOnly: "여기에는 숫자만 입력할 수 있습니다",
|
|
441
|
+
digitOrSignOnly: "여기에는 숫자, 더하기, 빼기 기호만 입력할 수 있습니다",
|
|
442
|
+
letterOnly: "여기에는 문자만 입력할 수 있습니다",
|
|
443
|
+
letterOrDigitOnly: "여기에는 문자나 숫자만 입력할 수 있습니다"
|
|
444
|
+
},
|
|
437
445
|
multiSelect: {
|
|
438
446
|
clear: "지우기",
|
|
439
447
|
itemsCount: (count) => `+ ${localizeNumber(count)}개`,
|
|
440
|
-
removeMoreItems: (count) => `나머지 ${localizeNumber(count)}개
|
|
448
|
+
removeMoreItems: (count) => `나머지 ${localizeNumber(count)}개 삭제`,
|
|
449
|
+
selectAll: "모두 선택"
|
|
441
450
|
},
|
|
442
451
|
notification: {
|
|
443
452
|
close: "닫기",
|
|
@@ -508,6 +508,14 @@ const MONA_PL_PL_LOCALE = {
|
|
|
508
508
|
transferTo: "Przenieś do drugiej listy",
|
|
509
509
|
transferToList: (list) => `Przenieś do listy „${list}”`
|
|
510
510
|
},
|
|
511
|
+
maskedTextBox: {
|
|
512
|
+
characterNotAllowed: "Tego znaku nie można tu wpisać",
|
|
513
|
+
clear: "Wyczyść",
|
|
514
|
+
digitOnly: "Tu można wpisać tylko cyfrę",
|
|
515
|
+
digitOrSignOnly: "Tu można wpisać tylko cyfrę, plus lub minus",
|
|
516
|
+
letterOnly: "Tu można wpisać tylko literę",
|
|
517
|
+
letterOrDigitOnly: "Tu można wpisać tylko literę lub cyfrę"
|
|
518
|
+
},
|
|
511
519
|
multiSelect: {
|
|
512
520
|
clear: "Wyczyść",
|
|
513
521
|
itemsCount: (count) => `+ ${plural(PLURAL_RULES.select(count), {
|
|
@@ -521,7 +529,8 @@ const MONA_PL_PL_LOCALE = {
|
|
|
521
529
|
few: () => `${localizeNumber(count)} elementy`,
|
|
522
530
|
many: () => `${localizeNumber(count)} elementów`,
|
|
523
531
|
other: () => `${localizeNumber(count)} elementu`
|
|
524
|
-
})}
|
|
532
|
+
})}`,
|
|
533
|
+
selectAll: "Zaznacz wszystko"
|
|
525
534
|
},
|
|
526
535
|
notification: {
|
|
527
536
|
close: "Zamknij",
|
|
@@ -465,10 +465,19 @@ const MONA_PT_BR_LOCALE = {
|
|
|
465
465
|
transferTo: "Mover para a outra lista",
|
|
466
466
|
transferToList: (list) => `Mover para ${list}`
|
|
467
467
|
},
|
|
468
|
+
maskedTextBox: {
|
|
469
|
+
characterNotAllowed: "Esse caractere não cabe aqui",
|
|
470
|
+
clear: "Limpar",
|
|
471
|
+
digitOnly: "Aqui só cabe um dígito",
|
|
472
|
+
digitOrSignOnly: "Aqui só cabe um dígito, mais ou menos",
|
|
473
|
+
letterOnly: "Aqui só cabe uma letra",
|
|
474
|
+
letterOrDigitOnly: "Aqui só cabe uma letra ou um dígito"
|
|
475
|
+
},
|
|
468
476
|
multiSelect: {
|
|
469
477
|
clear: "Limpar",
|
|
470
478
|
itemsCount: (count) => count === 1 ? "+ 1 item" : `+ ${localizeNumber(count)} itens`,
|
|
471
|
-
removeMoreItems: (count) => count === 1 ? "Remover mais 1 item" : `Remover mais ${localizeNumber(count)} itens
|
|
479
|
+
removeMoreItems: (count) => count === 1 ? "Remover mais 1 item" : `Remover mais ${localizeNumber(count)} itens`,
|
|
480
|
+
selectAll: "Selecionar tudo"
|
|
472
481
|
},
|
|
473
482
|
notification: {
|
|
474
483
|
close: "Fechar",
|
|
@@ -498,6 +498,14 @@ const MONA_RU_RU_LOCALE = {
|
|
|
498
498
|
transferTo: "Перенести в другой список",
|
|
499
499
|
transferToList: (list) => `Перенести в список «${list}»`
|
|
500
500
|
},
|
|
501
|
+
maskedTextBox: {
|
|
502
|
+
characterNotAllowed: "Этот символ здесь не подходит",
|
|
503
|
+
clear: "Очистить",
|
|
504
|
+
digitOnly: "Здесь можно ввести только цифру",
|
|
505
|
+
digitOrSignOnly: "Здесь можно ввести только цифру, плюс или минус",
|
|
506
|
+
letterOnly: "Здесь можно ввести только букву",
|
|
507
|
+
letterOrDigitOnly: "Здесь можно ввести только букву или цифру"
|
|
508
|
+
},
|
|
501
509
|
multiSelect: {
|
|
502
510
|
clear: "Очистить",
|
|
503
511
|
itemsCount: (count) => `+ ${plural(PLURAL_RULES.select(count), {
|
|
@@ -511,7 +519,8 @@ const MONA_RU_RU_LOCALE = {
|
|
|
511
519
|
few: () => `${localizeNumber(count)} элемента`,
|
|
512
520
|
many: () => `${localizeNumber(count)} элементов`,
|
|
513
521
|
other: () => `${localizeNumber(count)} элемента`
|
|
514
|
-
})}
|
|
522
|
+
})}`,
|
|
523
|
+
selectAll: "Выбрать все"
|
|
515
524
|
},
|
|
516
525
|
notification: {
|
|
517
526
|
close: "Закрыть",
|
|
@@ -450,10 +450,19 @@ const MONA_TR_TR_LOCALE = {
|
|
|
450
450
|
transferTo: "Diğer listeye taşı",
|
|
451
451
|
transferToList: (list) => `${list} listesine taşı`
|
|
452
452
|
},
|
|
453
|
+
maskedTextBox: {
|
|
454
|
+
characterNotAllowed: "Bu karakter buraya girilemez",
|
|
455
|
+
clear: "Temizle",
|
|
456
|
+
digitOnly: "Buraya yalnızca rakam girilebilir",
|
|
457
|
+
digitOrSignOnly: "Buraya yalnızca rakam, artı veya eksi girilebilir",
|
|
458
|
+
letterOnly: "Buraya yalnızca harf girilebilir",
|
|
459
|
+
letterOrDigitOnly: "Buraya yalnızca harf veya rakam girilebilir"
|
|
460
|
+
},
|
|
453
461
|
multiSelect: {
|
|
454
462
|
clear: "Temizle",
|
|
455
463
|
itemsCount: (count) => `+ ${localizeNumber(count)} öğe`,
|
|
456
|
-
removeMoreItems: (count) => `Diğer ${localizeNumber(count)} öğeyi kaldır
|
|
464
|
+
removeMoreItems: (count) => `Diğer ${localizeNumber(count)} öğeyi kaldır`,
|
|
465
|
+
selectAll: "Tümünü seç"
|
|
457
466
|
},
|
|
458
467
|
notification: {
|
|
459
468
|
close: "Kapat",
|
|
@@ -434,10 +434,19 @@ const MONA_ZH_CN_LOCALE = {
|
|
|
434
434
|
transferTo: "移至另一列表",
|
|
435
435
|
transferToList: (list) => `移至${list}`
|
|
436
436
|
},
|
|
437
|
+
maskedTextBox: {
|
|
438
|
+
characterNotAllowed: "此处不能输入该字符",
|
|
439
|
+
clear: "清除",
|
|
440
|
+
digitOnly: "此处只能输入数字",
|
|
441
|
+
digitOrSignOnly: "此处只能输入数字、加号或减号",
|
|
442
|
+
letterOnly: "此处只能输入字母",
|
|
443
|
+
letterOrDigitOnly: "此处只能输入字母或数字"
|
|
444
|
+
},
|
|
437
445
|
multiSelect: {
|
|
438
446
|
clear: "清除",
|
|
439
447
|
itemsCount: (count) => `+ ${localizeNumber(count)} 项`,
|
|
440
|
-
removeMoreItems: (count) => `删除其余 ${localizeNumber(count)}
|
|
448
|
+
removeMoreItems: (count) => `删除其余 ${localizeNumber(count)} 项`,
|
|
449
|
+
selectAll: "全选"
|
|
441
450
|
},
|
|
442
451
|
notification: {
|
|
443
452
|
close: "关闭",
|
|
@@ -434,10 +434,19 @@ const MONA_ZH_TW_LOCALE = {
|
|
|
434
434
|
transferTo: "移至另一清單",
|
|
435
435
|
transferToList: (list) => `移至${list}`
|
|
436
436
|
},
|
|
437
|
+
maskedTextBox: {
|
|
438
|
+
characterNotAllowed: "此處不能輸入該字元",
|
|
439
|
+
clear: "清除",
|
|
440
|
+
digitOnly: "此處只能輸入數字",
|
|
441
|
+
digitOrSignOnly: "此處只能輸入數字、加號或減號",
|
|
442
|
+
letterOnly: "此處只能輸入字母",
|
|
443
|
+
letterOrDigitOnly: "此處只能輸入字母或數字"
|
|
444
|
+
},
|
|
437
445
|
multiSelect: {
|
|
438
446
|
clear: "清除",
|
|
439
447
|
itemsCount: (count) => `+ ${localizeNumber(count)} 項`,
|
|
440
|
-
removeMoreItems: (count) => `移除其餘 ${localizeNumber(count)}
|
|
448
|
+
removeMoreItems: (count) => `移除其餘 ${localizeNumber(count)} 項`,
|
|
449
|
+
selectAll: "全選"
|
|
441
450
|
},
|
|
442
451
|
notification: {
|
|
443
452
|
close: "關閉",
|