@mk-kit/mcp 0.55.1 → 0.56.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/data/api.json +141 -1
- package/data/llms-full.txt +80 -1
- package/data/llms.txt +1 -1
- package/package.json +1 -1
package/data/api.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@mk-kit/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"site": "https://mk-kit.dev",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
@@ -1507,6 +1507,46 @@
|
|
|
1507
1507
|
"type": "string",
|
|
1508
1508
|
"description": "Empty data table / list."
|
|
1509
1509
|
},
|
|
1510
|
+
{
|
|
1511
|
+
"name": "translationEditorSearch",
|
|
1512
|
+
"type": "string",
|
|
1513
|
+
"description": "Translation editor (`@mk-kit/ui/translate/editor`)."
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"name": "translationEditorAll",
|
|
1517
|
+
"type": "string",
|
|
1518
|
+
"description": ""
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "translationEditorOverridden",
|
|
1522
|
+
"type": "string",
|
|
1523
|
+
"description": ""
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"name": "translationEditorMissing",
|
|
1527
|
+
"type": "string",
|
|
1528
|
+
"description": ""
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"name": "translationEditorKey",
|
|
1532
|
+
"type": "string",
|
|
1533
|
+
"description": ""
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "translationEditorReset",
|
|
1537
|
+
"type": "string",
|
|
1538
|
+
"description": ""
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "translationEditorExport",
|
|
1542
|
+
"type": "string",
|
|
1543
|
+
"description": ""
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "translationEditorKeys",
|
|
1547
|
+
"type": "string",
|
|
1548
|
+
"description": ""
|
|
1549
|
+
},
|
|
1510
1550
|
{
|
|
1511
1551
|
"name": "resultsCount",
|
|
1512
1552
|
"type": "(count: number) => string",
|
|
@@ -24759,6 +24799,106 @@
|
|
|
24759
24799
|
}
|
|
24760
24800
|
]
|
|
24761
24801
|
},
|
|
24802
|
+
{
|
|
24803
|
+
"name": "translate/editor",
|
|
24804
|
+
"import": "@mk-kit/ui/translate/editor",
|
|
24805
|
+
"exports": [
|
|
24806
|
+
{
|
|
24807
|
+
"name": "MkTranslationEditor",
|
|
24808
|
+
"description": "Translation editor — keys as rows, locales as columns, click a cell to\nedit. The base strings are your bundled files; edits are **overrides**\nkept apart from them, so a rebuild never loses them and a cell can be\nrestored to the file text. Search by key or text, filter to the keys a\nlocale is missing or the ones already edited, export the grid as CSV.\nPersistence is yours: every edit is emitted as `changed`, feed the result\nback through `overrides`.\n\n```html\n<mk-translation-editor\n [locales]=\"['pl', 'en', 'ru']\"\n [base]=\"base()\"\n [overrides]=\"overrides()\"\n (changed)=\"save($event)\" />\n```",
|
|
24809
|
+
"file": "projects/mk-kit/translate/editor/translation-editor.ts",
|
|
24810
|
+
"kind": "component",
|
|
24811
|
+
"selector": "mk-translation-editor",
|
|
24812
|
+
"selectors": [
|
|
24813
|
+
"mk-translation-editor"
|
|
24814
|
+
],
|
|
24815
|
+
"inputs": [
|
|
24816
|
+
{
|
|
24817
|
+
"name": "locales",
|
|
24818
|
+
"type": "string[]",
|
|
24819
|
+
"description": "Locale codes, in column order. The first one is the reference language.",
|
|
24820
|
+
"required": true
|
|
24821
|
+
},
|
|
24822
|
+
{
|
|
24823
|
+
"name": "base",
|
|
24824
|
+
"type": "Record<string, MkFlatTranslations>",
|
|
24825
|
+
"description": "Bundled strings per locale, flat (`'a.b.c': 'text'`) or nested.",
|
|
24826
|
+
"required": true
|
|
24827
|
+
},
|
|
24828
|
+
{
|
|
24829
|
+
"name": "overrides",
|
|
24830
|
+
"type": "Record<string, MkFlatTranslations>",
|
|
24831
|
+
"description": "Edits per locale, flat. Missing locales are fine.",
|
|
24832
|
+
"default": "{}"
|
|
24833
|
+
},
|
|
24834
|
+
{
|
|
24835
|
+
"name": "readonly",
|
|
24836
|
+
"type": "boolean",
|
|
24837
|
+
"description": "Show but do not edit.",
|
|
24838
|
+
"default": "false"
|
|
24839
|
+
},
|
|
24840
|
+
{
|
|
24841
|
+
"name": "exportFilename",
|
|
24842
|
+
"type": "string",
|
|
24843
|
+
"description": "File name of the CSV export.",
|
|
24844
|
+
"default": "'translations.csv'"
|
|
24845
|
+
}
|
|
24846
|
+
],
|
|
24847
|
+
"outputs": [
|
|
24848
|
+
{
|
|
24849
|
+
"name": "changed",
|
|
24850
|
+
"type": "MkTranslationChange",
|
|
24851
|
+
"description": "An edit or a restore; persist it and update `overrides`."
|
|
24852
|
+
}
|
|
24853
|
+
],
|
|
24854
|
+
"methods": [],
|
|
24855
|
+
"properties": [],
|
|
24856
|
+
"queries": [],
|
|
24857
|
+
"docs": "/components/translate"
|
|
24858
|
+
},
|
|
24859
|
+
{
|
|
24860
|
+
"name": "MkTranslationChange",
|
|
24861
|
+
"description": "One edit made in the editor. `value: null` clears the override.",
|
|
24862
|
+
"file": "projects/mk-kit/translate/editor/translation-editor.ts",
|
|
24863
|
+
"kind": "interface",
|
|
24864
|
+
"members": [
|
|
24865
|
+
{
|
|
24866
|
+
"name": "locale",
|
|
24867
|
+
"type": "string",
|
|
24868
|
+
"description": ""
|
|
24869
|
+
},
|
|
24870
|
+
{
|
|
24871
|
+
"name": "key",
|
|
24872
|
+
"type": "string",
|
|
24873
|
+
"description": ""
|
|
24874
|
+
},
|
|
24875
|
+
{
|
|
24876
|
+
"name": "value",
|
|
24877
|
+
"type": "string | null",
|
|
24878
|
+
"description": ""
|
|
24879
|
+
},
|
|
24880
|
+
{
|
|
24881
|
+
"name": "previous",
|
|
24882
|
+
"type": "string | null",
|
|
24883
|
+
"description": "The text shown before the edit (override, or the base string)."
|
|
24884
|
+
}
|
|
24885
|
+
]
|
|
24886
|
+
},
|
|
24887
|
+
{
|
|
24888
|
+
"name": "MkTranslationRow",
|
|
24889
|
+
"description": "A row of the editor: the key plus the effective text per locale.",
|
|
24890
|
+
"file": "projects/mk-kit/translate/editor/translation-editor.ts",
|
|
24891
|
+
"kind": "interface",
|
|
24892
|
+
"members": [
|
|
24893
|
+
{
|
|
24894
|
+
"name": "key",
|
|
24895
|
+
"type": "string",
|
|
24896
|
+
"description": ""
|
|
24897
|
+
}
|
|
24898
|
+
]
|
|
24899
|
+
}
|
|
24900
|
+
]
|
|
24901
|
+
},
|
|
24762
24902
|
{
|
|
24763
24903
|
"name": "translate/server",
|
|
24764
24904
|
"import": "@mk-kit/ui/translate/server",
|
package/data/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @mk-kit/ui 0.
|
|
1
|
+
# @mk-kit/ui 0.56.0 — full API reference
|
|
2
2
|
|
|
3
3
|
Generated from the library sources. Browsable version: https://mk-kit.dev/api · JSON: https://mk-kit.dev/api.json · Guides: https://mk-kit.dev/llms.txt
|
|
4
4
|
|
|
@@ -903,6 +903,14 @@ Members:
|
|
|
903
903
|
| `noOptions` | `string` | Empty listbox with no options (select, time picker). |
|
|
904
904
|
| `noResults` | `string` | Empty async/filtered results (autocomplete, multi-select, command palette). |
|
|
905
905
|
| `noData` | `string` | Empty data table / list. |
|
|
906
|
+
| `translationEditorSearch` | `string` | Translation editor (`@mk-kit/ui/translate/editor`). |
|
|
907
|
+
| `translationEditorAll` | `string` | |
|
|
908
|
+
| `translationEditorOverridden` | `string` | |
|
|
909
|
+
| `translationEditorMissing` | `string` | |
|
|
910
|
+
| `translationEditorKey` | `string` | |
|
|
911
|
+
| `translationEditorReset` | `string` | |
|
|
912
|
+
| `translationEditorExport` | `string` | |
|
|
913
|
+
| `translationEditorKeys` | `string` | |
|
|
906
914
|
| `resultsCount` | `(count: number) => string` | Announced when a filterable list updates (autocomplete, multi-select, command palette). |
|
|
907
915
|
| `previousPage` | `string` | Pagination: previous page control. |
|
|
908
916
|
| `nextPage` | `string` | Pagination: next page control. |
|
|
@@ -16644,6 +16652,77 @@ Keys accepted by `MkTestElement.sendKeys` besides printable characters.
|
|
|
16644
16652
|
type MkTestKey = | 'Enter' | 'Escape' | 'Tab' | 'Backspace' | 'Delete' | ' ' | 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight' | 'Home' | 'End' | 'PageUp' | 'PageDown';
|
|
16645
16653
|
```
|
|
16646
16654
|
|
|
16655
|
+
## @mk-kit/ui/translate/editor
|
|
16656
|
+
|
|
16657
|
+
3 exports. `import { … } from '@mk-kit/ui/translate/editor';`
|
|
16658
|
+
|
|
16659
|
+
### MkTranslationEditor (component)
|
|
16660
|
+
|
|
16661
|
+
Selector: `mk-translation-editor`
|
|
16662
|
+
|
|
16663
|
+
Docs: https://mk-kit.dev/components/translate
|
|
16664
|
+
|
|
16665
|
+
Import: `import { MkTranslationEditor } from '@mk-kit/ui/translate/editor';`
|
|
16666
|
+
|
|
16667
|
+
Translation editor — keys as rows, locales as columns, click a cell to
|
|
16668
|
+
edit. The base strings are your bundled files; edits are **overrides**
|
|
16669
|
+
kept apart from them, so a rebuild never loses them and a cell can be
|
|
16670
|
+
restored to the file text. Search by key or text, filter to the keys a
|
|
16671
|
+
locale is missing or the ones already edited, export the grid as CSV.
|
|
16672
|
+
Persistence is yours: every edit is emitted as `changed`, feed the result
|
|
16673
|
+
back through `overrides`.
|
|
16674
|
+
|
|
16675
|
+
```html
|
|
16676
|
+
<mk-translation-editor
|
|
16677
|
+
[locales]="['pl', 'en', 'ru']"
|
|
16678
|
+
[base]="base()"
|
|
16679
|
+
[overrides]="overrides()"
|
|
16680
|
+
(changed)="save($event)" />
|
|
16681
|
+
```
|
|
16682
|
+
|
|
16683
|
+
Inputs:
|
|
16684
|
+
|
|
16685
|
+
| Name | Type | Default | Description |
|
|
16686
|
+
| --- | --- | --- | --- |
|
|
16687
|
+
| `locales` (required) | `string[]` | | Locale codes, in column order. The first one is the reference language. |
|
|
16688
|
+
| `base` (required) | `Record<string, MkFlatTranslations>` | | Bundled strings per locale, flat (`'a.b.c': 'text'`) or nested. |
|
|
16689
|
+
| `overrides` | `Record<string, MkFlatTranslations>` | `{}` | Edits per locale, flat. Missing locales are fine. |
|
|
16690
|
+
| `readonly` | `boolean` | `false` | Show but do not edit. |
|
|
16691
|
+
| `exportFilename` | `string` | `'translations.csv'` | File name of the CSV export. |
|
|
16692
|
+
|
|
16693
|
+
Outputs:
|
|
16694
|
+
|
|
16695
|
+
| Name | Type | Description |
|
|
16696
|
+
| --- | --- | --- |
|
|
16697
|
+
| `changed` | `MkTranslationChange` | An edit or a restore; persist it and update `overrides`. |
|
|
16698
|
+
|
|
16699
|
+
### MkTranslationChange (interface)
|
|
16700
|
+
|
|
16701
|
+
Import: `import { MkTranslationChange } from '@mk-kit/ui/translate/editor';`
|
|
16702
|
+
|
|
16703
|
+
One edit made in the editor. `value: null` clears the override.
|
|
16704
|
+
|
|
16705
|
+
Members:
|
|
16706
|
+
|
|
16707
|
+
| Name | Type | Description |
|
|
16708
|
+
| --- | --- | --- |
|
|
16709
|
+
| `locale` | `string` | |
|
|
16710
|
+
| `key` | `string` | |
|
|
16711
|
+
| `value` | `string \| null` | |
|
|
16712
|
+
| `previous` | `string \| null` | The text shown before the edit (override, or the base string). |
|
|
16713
|
+
|
|
16714
|
+
### MkTranslationRow (interface)
|
|
16715
|
+
|
|
16716
|
+
Import: `import { MkTranslationRow } from '@mk-kit/ui/translate/editor';`
|
|
16717
|
+
|
|
16718
|
+
A row of the editor: the key plus the effective text per locale.
|
|
16719
|
+
|
|
16720
|
+
Members:
|
|
16721
|
+
|
|
16722
|
+
| Name | Type | Description |
|
|
16723
|
+
| --- | --- | --- |
|
|
16724
|
+
| `key` | `string` | |
|
|
16725
|
+
|
|
16647
16726
|
## @mk-kit/ui/translate/server
|
|
16648
16727
|
|
|
16649
16728
|
2 exports. `import { … } from '@mk-kit/ui/translate/server';`
|
package/data/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# mk-kit
|
|
2
2
|
|
|
3
|
-
> Themable, accessible Angular 22 component library for admin dashboards and UIs. Signals-based, WCAG 2.1 AA, controlled entirely through CSS variables with light/dark out of the box. — `@mk-kit/ui` 0.
|
|
3
|
+
> Themable, accessible Angular 22 component library for admin dashboards and UIs. Signals-based, WCAG 2.1 AA, controlled entirely through CSS variables with light/dark out of the box. — `@mk-kit/ui` 0.56.0. 174 components, 45 directives, 17 services and 152 helper functions across 35 tree-shakeable entry points. MIT licensed, zero runtime dependencies beyond Angular. Standalone components, signals, OnPush, zoneless-ready, SSR-safe, RTL and i18n via `provideMkI18n`.
|
|
4
4
|
|
|
5
5
|
Install with `ng add @mk-kit/ui` (or `npm i @mk-kit/ui` + import `@mk-kit/ui/styles/mk-kit.css`). Import from the group entry points (`@mk-kit/ui/forms`, `@mk-kit/ui/table`, …) so each lazy chunk only carries what it uses; the root `@mk-kit/ui` entry re-exports everything. Every component is standalone: add the class to a component's `imports`. Theme with `--mk-*` CSS custom properties; `MkThemeService` switches light/dark/system and density.
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mk-kit/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"description": "MCP server for @mk-kit/ui — lets AI coding assistants look up every component, directive, service and helper of the mk-kit Angular library (inputs, outputs, methods, import paths, docs links).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|