@nanahoshi/mona-ui 0.24.6 → 0.24.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1 -1
  2. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +14 -4
  3. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1 -1
  4. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +1 -1
  5. package/fesm2022/nanahoshi-mona-ui-filter.mjs +233 -231
  6. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-CD_ODHpU.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs} +24 -12
  7. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-B6gq7Hu3.mjs +208 -0
  8. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-DdUY3I7P.mjs +1100 -0
  9. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-Sa1aAtJ-.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-DG8Bu4Dy.mjs} +34 -21
  10. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BvUM9nPt.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs} +2565 -928
  11. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  12. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +79 -11
  13. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +20 -4
  14. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +335 -45
  15. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +565 -197
  16. package/fesm2022/nanahoshi-mona-ui-internal.mjs +28 -2
  17. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +598 -208
  18. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +193 -74
  19. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +58 -11
  20. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +62 -11
  21. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +62 -11
  22. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +69 -11
  23. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +58 -11
  24. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +62 -11
  25. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +58 -11
  26. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +58 -11
  27. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +62 -11
  28. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +78 -11
  29. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +58 -11
  30. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +58 -11
  31. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +58 -11
  32. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1 -1
  33. package/fesm2022/nanahoshi-mona-ui-pager.mjs +367 -463
  34. package/fesm2022/nanahoshi-mona-ui-query.mjs +317 -122
  35. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +205 -140
  36. package/i18n/catalogs/en-US.messages.json +64 -17
  37. package/locales/ar-sa/ar-sa.messages.json +58 -11
  38. package/locales/de-de/de-de.messages.json +58 -11
  39. package/locales/es-es/es-es.messages.json +58 -11
  40. package/locales/fr-fr/fr-fr.messages.json +58 -11
  41. package/locales/id-id/id-id.messages.json +58 -11
  42. package/locales/it-it/it-it.messages.json +58 -11
  43. package/locales/ja-jp/ja-jp.messages.json +58 -11
  44. package/locales/ko-kr/ko-kr.messages.json +58 -11
  45. package/locales/pt-br/pt-br.messages.json +58 -11
  46. package/locales/ru-ru/ru-ru.messages.json +58 -11
  47. package/locales/tr-tr/tr-tr.messages.json +58 -11
  48. package/locales/zh-cn/zh-cn.messages.json +58 -11
  49. package/locales/zh-tw/zh-tw.messages.json +58 -11
  50. package/package.json +1 -1
  51. package/types/nanahoshi-mona-ui-check-box.d.ts +11 -1
  52. package/types/nanahoshi-mona-ui-filter.d.ts +54 -32
  53. package/types/nanahoshi-mona-ui-grid.d.ts +359 -110
  54. package/types/nanahoshi-mona-ui-i18n.d.ts +97 -6
  55. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +14 -2
  56. package/types/nanahoshi-mona-ui-internal-list.d.ts +89 -10
  57. package/types/nanahoshi-mona-ui-internal-tree.d.ts +155 -40
  58. package/types/nanahoshi-mona-ui-internal.d.ts +10 -2
  59. package/types/nanahoshi-mona-ui-list-box.d.ts +148 -47
  60. package/types/nanahoshi-mona-ui-list-view.d.ts +111 -21
  61. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +53 -6
  62. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +53 -6
  63. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +53 -6
  64. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +53 -6
  65. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +53 -6
  66. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +53 -6
  67. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +53 -6
  68. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +53 -6
  69. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +53 -6
  70. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +53 -6
  71. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +53 -6
  72. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +53 -6
  73. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +53 -6
  74. package/types/nanahoshi-mona-ui-pager.d.ts +159 -76
  75. package/types/nanahoshi-mona-ui-query.d.ts +45 -14
  76. package/types/nanahoshi-mona-ui-tree-view.d.ts +84 -40
  77. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-0jN7I1jo.mjs +0 -176
  78. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-BI_iE7pl.mjs +0 -946
@@ -1,2 +1,2 @@
1
- export { C as CellEditEvent, x as GRID_DEFAULT_MESSAGES, y as GridAddCommandDirective, z as GridAddEvent, A as GridCancelCommandDirective, B as GridCancelEvent, D as GridCellTemplateDirective, E as GridColumnComponent, F as GridColumnTitleTemplateDirective, H as GridCommandColumnComponent, I as GridComponent, J as GridContextMenuDirective, K as GridDetailTemplateDirective, L as GridEditCommandDirective, M as GridEditEvent, N as GridEditTemplateDirective, O as GridEditableDirective, P as GridExportDirective, Q as GridFilterableDirective, R as GridFooterTemplateDirective, S as GridGroupFooterTemplateDirective, T as GridGroupableDirective, U as GridHeaderTemplateDirective, V as GridNoDataTemplateDirective, W as GridRemoveCommandDirective, X as GridRemoveEvent, Y as GridReorderableDirective, Z as GridResizableDirective, _ as GridRowReorderableDirective, $ as GridSaveCommandDirective, a0 as GridSaveEvent, a1 as GridSelectableDirective, a2 as GridServerBindingDirective, a3 as GridSortableDirective, a4 as GridStatePersistenceDirective, a5 as GridToolbarTemplateDirective, a6 as GridVirtualScrollDirective, a7 as RowEditEvent, a8 as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BvUM9nPt.mjs';
1
+ export { C as CellEditEvent, y as GRID_DEFAULT_MESSAGES, z as GridAddCommandDirective, A as GridAddEvent, B as GridCancelCommandDirective, D as GridCancelEvent, E as GridCellTemplateDirective, F as GridColumnComponent, H as GridColumnTitleTemplateDirective, I as GridCommandColumnComponent, J as GridComponent, K as GridContextMenuDirective, L as GridDetailTemplateDirective, M as GridEditCommandDirective, N as GridEditEvent, O as GridEditTemplateDirective, P as GridEditableDirective, Q as GridExportDirective, R as GridFilterableDirective, S as GridFooterTemplateDirective, T as GridGroupFooterTemplateDirective, U as GridGroupableDirective, V as GridHeaderTemplateDirective, W as GridNoDataTemplateDirective, X as GridRemoveCommandDirective, Y as GridRemoveEvent, Z as GridReorderableDirective, _ as GridResizableDirective, $ as GridRowReorderableDirective, a0 as GridSaveCommandDirective, a1 as GridSaveEvent, a2 as GridSelectableDirective, a3 as GridServerBindingDirective, a4 as GridSortableDirective, a5 as GridStatePersistenceDirective, a6 as GridToolbarTemplateDirective, a7 as GridVirtualScrollDirective, a8 as RowEditEvent, a9 as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs';
2
2
  //# sourceMappingURL=nanahoshi-mona-ui-grid.mjs.map
@@ -220,34 +220,57 @@ const MONA_MESSAGE_PARAMETERS = {
220
220
  isNull: null,
221
221
  isNullOrEmpty: null,
222
222
  isTrue: null,
223
+ logic: null,
224
+ operator: null,
223
225
  or: null,
224
- startsWith: null
226
+ secondOperator: null,
227
+ secondValue: null,
228
+ startsWith: null,
229
+ value: null
225
230
  },
226
231
  grid: {
227
232
  all: null,
228
233
  apply: null,
229
234
  cancel: null,
230
- cancelRowEdit: null,
235
+ cancelNewRow: null,
236
+ cancelRowEdit: [{ name: "rowNumber", type: "number" }],
237
+ clearFilter: [{ name: "column", type: "string" }],
238
+ collapseDetail: [{ name: "rowNumber", type: "number" }],
239
+ columnGrouped: [{ name: "column", type: "string" }],
240
+ columnMoved: [
241
+ { name: "column", type: "string" },
242
+ { name: "position", type: "number" }
243
+ ],
231
244
  columns: null,
232
245
  columnsSelected: [{ name: "count", type: "number" }],
246
+ commandColumnTitle: null,
233
247
  delete: null,
234
- deleteRowConfirmation: null,
248
+ deleteRowConfirmation: [{ name: "rowNumber", type: "number" }],
235
249
  deleteRowTitle: null,
250
+ details: null,
236
251
  dragColumnHeaderToGroup: null,
237
252
  edit: null,
238
- editRow: null,
253
+ editRow: [{ name: "rowNumber", type: "number" }],
254
+ expandDetail: [{ name: "rowNumber", type: "number" }],
239
255
  fieldValidationError: null,
240
256
  filterByColumn: [{ name: "column", type: "string" }],
257
+ filterByColumnFiltered: [{ name: "column", type: "string" }],
258
+ filterOperator: [
259
+ { name: "column", type: "string" },
260
+ { name: "operator", type: "string" }
261
+ ],
241
262
  filterPlaceholder: null,
263
+ group: null,
264
+ loading: null,
242
265
  modified: null,
243
266
  moveAsNext: null,
244
267
  moveAsPrevious: null,
245
268
  moveRow: null,
246
269
  noData: null,
247
270
  remove: null,
248
- removeRow: null,
271
+ removeRow: [{ name: "rowNumber", type: "number" }],
249
272
  reorderRow: [{ name: "rowNumber", type: "number" }],
250
- resizeColumn: null,
273
+ resizeColumn: [{ name: "column", type: "string" }],
251
274
  rowReorder: null,
252
275
  rowReorderDisabled: null,
253
276
  rowReorderDisabledEditing: null,
@@ -269,23 +292,44 @@ const MONA_MESSAGE_PARAMETERS = {
269
292
  ],
270
293
  rowValidationError: null,
271
294
  save: null,
272
- saveRow: null,
295
+ saveNewRow: null,
296
+ saveRow: [{ name: "rowNumber", type: "number" }],
273
297
  selectAllRows: null,
274
- selectRow: [{ name: "rowNumber", type: "number" }]
298
+ selectRow: [{ name: "rowNumber", type: "number" }],
299
+ sortOrder: [{ name: "position", type: "number" }],
300
+ toolbar: null
275
301
  },
276
302
  list: {
277
303
  filterList: null,
278
- noData: null
304
+ loading: null,
305
+ noData: null,
306
+ pagerLabel: [{ name: "list", type: "string" }]
279
307
  },
280
308
  listBox: {
281
309
  clearSelection: null,
310
+ itemsMoved: [
311
+ { name: "position", type: "number" },
312
+ { name: "total", type: "number" }
313
+ ],
314
+ itemsRemoved: [{ name: "count", type: "number" }],
315
+ itemsTransferred: [
316
+ { name: "count", type: "number" },
317
+ { name: "list", type: "string" }
318
+ ],
319
+ itemsTransferredToOtherList: [{ name: "count", type: "number" }],
282
320
  moveDown: null,
283
321
  moveUp: null,
284
322
  remove: null,
323
+ selectionCleared: null,
324
+ toolbarLabel: [{ name: "list", type: "string" }],
285
325
  transferAllFrom: null,
326
+ transferAllFromList: [{ name: "list", type: "string" }],
286
327
  transferAllTo: null,
328
+ transferAllToList: [{ name: "list", type: "string" }],
287
329
  transferFrom: null,
288
- transferTo: null
330
+ transferFromList: [{ name: "list", type: "string" }],
331
+ transferTo: null,
332
+ transferToList: [{ name: "list", type: "string" }]
289
333
  },
290
334
  multiSelect: {
291
335
  clear: null,
@@ -308,18 +352,23 @@ const MONA_MESSAGE_PARAMETERS = {
308
352
  },
309
353
  pager: {
310
354
  firstPageLabel: null,
355
+ itemsPerPageLabel: null,
311
356
  jumpBackwardLabel: [{ name: "pages", type: "number" }],
312
357
  jumpForwardLabel: [{ name: "pages", type: "number" }],
313
358
  lastPageLabel: null,
314
359
  nextPageLabel: null,
315
360
  ofText: null,
361
+ pageInputPrefix: [{ name: "totalPages", type: "number" }],
362
+ pageInputSuffix: [{ name: "totalPages", type: "number" }],
316
363
  pageLabel: [{ name: "page", type: "number" }],
364
+ pageSelectLabel: null,
317
365
  pageSizeLabel: [{ name: "pageSize", type: "number" }],
318
366
  pageStatus: [
319
367
  { name: "page", type: "number" },
320
368
  { name: "totalPages", type: "number" }
321
369
  ],
322
370
  pageText: null,
371
+ pagerLabel: null,
323
372
  previousPageLabel: null,
324
373
  rangeStatus: [
325
374
  { name: "start", type: "number" },
@@ -404,7 +453,26 @@ const MONA_MESSAGE_PARAMETERS = {
404
453
  collapse: null,
405
454
  expand: null,
406
455
  filter: null,
407
- filterTree: null
456
+ filterLabel: [{ name: "tree", type: "string" }],
457
+ filterTree: null,
458
+ loadError: [{ name: "node", type: "string" }],
459
+ loadingNode: [{ name: "node", type: "string" }],
460
+ movedAfter: [
461
+ { name: "node", type: "string" },
462
+ { name: "target", type: "string" }
463
+ ],
464
+ movedBefore: [
465
+ { name: "node", type: "string" },
466
+ { name: "target", type: "string" }
467
+ ],
468
+ movedInto: [
469
+ { name: "node", type: "string" },
470
+ { name: "target", type: "string" }
471
+ ],
472
+ noData: null,
473
+ noMatches: null,
474
+ results: [{ name: "count", type: "number" }],
475
+ retryLoading: [{ name: "node", type: "string" }]
408
476
  },
409
477
  window: {
410
478
  close: null,
@@ -25,7 +25,7 @@ class FilterInputComponent {
25
25
  const controls = this.controls();
26
26
  const ariaLabel = this.ariaLabel() || null;
27
27
  if (!controls) {
28
- return { "aria-label": ariaLabel };
28
+ return { "aria-label": ariaLabel, "aria-controls": this.ariaControls() || null };
29
29
  }
30
30
  return {
31
31
  role: "combobox",
@@ -43,12 +43,26 @@ class FilterInputComponent {
43
43
  */
44
44
  this.activeDescendant = input("", /* @ts-ignore */
45
45
  ...(ngDevMode ? [{ debugName: "activeDescendant" }] : /* istanbul ignore next */ []));
46
+ /**
47
+ * @description Id of the element this input filters, exposed as `aria-controls`. Unlike `controls`, the input
48
+ * stays a text box: focus moves to the filtered element to navigate it.
49
+ * @default ""
50
+ */
51
+ this.ariaControls = input("", /* @ts-ignore */
52
+ ...(ngDevMode ? [{ debugName: "ariaControls" }] : /* istanbul ignore next */ []));
46
53
  /**
47
54
  * @description Accessible name of the input. The placeholder is not a reliable label, so set this whenever possible.
48
55
  * @default ""
49
56
  */
50
57
  this.ariaLabel = input("", /* @ts-ignore */
51
58
  ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
59
+ /**
60
+ * @description Focuses the input when it renders, as a popup's filter does. Turn it off for an input that is part
61
+ * of the page, so it doesn't take focus on load.
62
+ * @default true
63
+ */
64
+ this.autoFocus = input(true, /* @ts-ignore */
65
+ ...(ngDevMode ? [{ debugName: "autoFocus" }] : /* istanbul ignore next */ []));
52
66
  /**
53
67
  * @description Id of the list this input filters. When set, the input is exposed as a combobox controlling it.
54
68
  * @default ""
@@ -73,7 +87,9 @@ class FilterInputComponent {
73
87
  afterNextRender({
74
88
  read: () => {
75
89
  const input = this.#hostElementRef.nativeElement.querySelector("input");
76
- input.focus();
90
+ if (this.autoFocus()) {
91
+ input.focus();
92
+ }
77
93
  fromEvent(input, "keydown")
78
94
  .pipe(takeUntilDestroyed(this.#destroyRef))
79
95
  .subscribe((event) => {
@@ -109,12 +125,12 @@ class FilterInputComponent {
109
125
  });
110
126
  }
111
127
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: FilterInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
112
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.6", type: FilterInputComponent, isStandalone: true, selector: "mona-filter-input", inputs: { activeDescendant: { classPropertyName: "activeDescendant", publicName: "activeDescendant", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, debounce: { classPropertyName: "debounce", publicName: "debounce", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filterChange: "filterChange", inputBlur: "inputBlur", inputFocus: "inputFocus" }, ngImport: i0, template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [inputAttributes]=\"inputAttributes()\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n", dependencies: [{ kind: "component", type: LucideSearch, selector: "svg[lucideSearch]" }, { kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "clearButton", "disabled", "inputAttributes", "inputClass", "inputId", "inputStyle", "invalid", "maxLength", "minLength", "name", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "ng-template[monaTextBoxPrefixTemplate]" }] }); }
128
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.6", type: FilterInputComponent, isStandalone: true, selector: "mona-filter-input", inputs: { activeDescendant: { classPropertyName: "activeDescendant", publicName: "activeDescendant", isSignal: true, isRequired: false, transformFunction: null }, ariaControls: { classPropertyName: "ariaControls", publicName: "ariaControls", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, debounce: { classPropertyName: "debounce", publicName: "debounce", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filterChange: "filterChange", inputBlur: "inputBlur", inputFocus: "inputFocus" }, ngImport: i0, template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [inputAttributes]=\"inputAttributes()\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n", dependencies: [{ kind: "component", type: LucideSearch, selector: "svg[lucideSearch]" }, { kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "clearButton", "disabled", "inputAttributes", "inputClass", "inputId", "inputStyle", "invalid", "maxLength", "minLength", "name", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "ng-template[monaTextBoxPrefixTemplate]" }] }); }
113
129
  }
114
130
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: FilterInputComponent, decorators: [{
115
131
  type: Component,
116
132
  args: [{ selector: "mona-filter-input", imports: [LucideSearch, TextBoxComponent, FormsModule, TextBoxPrefixTemplateDirective], template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [inputAttributes]=\"inputAttributes()\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n" }]
117
- }], ctorParameters: () => [], propDecorators: { activeDescendant: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeDescendant", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], controls: [{ type: i0.Input, args: [{ isSignal: true, alias: "controls", required: false }] }], debounce: [{ type: i0.Input, args: [{ isSignal: true, alias: "debounce", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }], inputBlur: [{ type: i0.Output, args: ["inputBlur"] }], inputFocus: [{ type: i0.Output, args: ["inputFocus"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
133
+ }], ctorParameters: () => [], propDecorators: { activeDescendant: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeDescendant", required: false }] }], ariaControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaControls", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], controls: [{ type: i0.Input, args: [{ isSignal: true, alias: "controls", required: false }] }], debounce: [{ type: i0.Input, args: [{ isSignal: true, alias: "debounce", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }], inputBlur: [{ type: i0.Output, args: ["inputBlur"] }], inputFocus: [{ type: i0.Output, args: ["inputFocus"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
118
134
 
119
135
  /*
120
136
  * Public API Surface of @nanahoshi/mona-ui/filter-input