@besaitech/ng-design-system-mcp 0.0.8 → 0.0.10
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/docs.json +218 -18
- package/package.json +1 -1
package/data/docs.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"libraryVersion": "0.0.
|
|
3
|
+
"libraryVersion": "0.0.40",
|
|
4
4
|
"packageName": "@besaitech/ng-design-system",
|
|
5
5
|
"devImport": "saitech-design-system",
|
|
6
|
-
"generatedAt": "2026-09-
|
|
6
|
+
"generatedAt": "2026-09-14T10:04:34.403Z",
|
|
7
7
|
"componentCount": 31,
|
|
8
8
|
"components": [
|
|
9
9
|
{
|
|
@@ -625,6 +625,60 @@
|
|
|
625
625
|
"alias": null,
|
|
626
626
|
"jsdoc": null
|
|
627
627
|
},
|
|
628
|
+
{
|
|
629
|
+
"name": "showTime",
|
|
630
|
+
"type": "boolean",
|
|
631
|
+
"default": "false",
|
|
632
|
+
"required": false,
|
|
633
|
+
"transform": "booleanAttribute",
|
|
634
|
+
"alias": null,
|
|
635
|
+
"jsdoc": "When true, a time editor (HH:mm, 24h) is shown and the value keeps its time-of-day."
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"name": "showDone",
|
|
639
|
+
"type": "boolean",
|
|
640
|
+
"default": "false",
|
|
641
|
+
"required": false,
|
|
642
|
+
"transform": "booleanAttribute",
|
|
643
|
+
"alias": null,
|
|
644
|
+
"jsdoc": "When true, a \"done\" action is shown (used by the overlay picker to close the panel)."
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "timeLabel",
|
|
648
|
+
"type": "string",
|
|
649
|
+
"default": "'Heure'",
|
|
650
|
+
"required": false,
|
|
651
|
+
"transform": null,
|
|
652
|
+
"alias": null,
|
|
653
|
+
"jsdoc": "Visible label of the time editor. Translate it in the consuming app."
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "hoursLabel",
|
|
657
|
+
"type": "string",
|
|
658
|
+
"default": "'Heures'",
|
|
659
|
+
"required": false,
|
|
660
|
+
"transform": null,
|
|
661
|
+
"alias": null,
|
|
662
|
+
"jsdoc": "Accessible name of the hours field (it is a bare numeric input)."
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "minutesLabel",
|
|
666
|
+
"type": "string",
|
|
667
|
+
"default": "'Minutes'",
|
|
668
|
+
"required": false,
|
|
669
|
+
"transform": null,
|
|
670
|
+
"alias": null,
|
|
671
|
+
"jsdoc": "Accessible name of the minutes field."
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "doneLabel",
|
|
675
|
+
"type": "string",
|
|
676
|
+
"default": "'Terminé'",
|
|
677
|
+
"required": false,
|
|
678
|
+
"transform": null,
|
|
679
|
+
"alias": null,
|
|
680
|
+
"jsdoc": "Visible text of the \"done\" action (shown when {@link showDone} is true)."
|
|
681
|
+
},
|
|
628
682
|
{
|
|
629
683
|
"name": "calendarLabel",
|
|
630
684
|
"type": "string",
|
|
@@ -681,6 +735,11 @@
|
|
|
681
735
|
"name": "dateSelect",
|
|
682
736
|
"type": "Date",
|
|
683
737
|
"fromModel": false
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "done",
|
|
741
|
+
"type": "void",
|
|
742
|
+
"fromModel": false
|
|
684
743
|
}
|
|
685
744
|
],
|
|
686
745
|
"exportedTypes": [],
|
|
@@ -973,6 +1032,15 @@
|
|
|
973
1032
|
"alias": null,
|
|
974
1033
|
"jsdoc": null
|
|
975
1034
|
},
|
|
1035
|
+
{
|
|
1036
|
+
"name": "showTime",
|
|
1037
|
+
"type": "boolean",
|
|
1038
|
+
"default": "false",
|
|
1039
|
+
"required": false,
|
|
1040
|
+
"transform": "booleanAttribute",
|
|
1041
|
+
"alias": null,
|
|
1042
|
+
"jsdoc": "When true, the calendar shows a time editor (HH:mm, 24h), the value keeps its time-of-day, and\nthe field displays date + time. The overlay stays open on day-select so the time can be set;\na \"done\" action (and click-away / Escape) closes it."
|
|
1043
|
+
},
|
|
976
1044
|
{
|
|
977
1045
|
"name": "format",
|
|
978
1046
|
"type": "(d: Date) => string",
|
|
@@ -980,7 +1048,43 @@
|
|
|
980
1048
|
"required": false,
|
|
981
1049
|
"transform": null,
|
|
982
1050
|
"alias": null,
|
|
983
|
-
"jsdoc": "Custom display formatter (default dd/MM/yyyy)."
|
|
1051
|
+
"jsdoc": "Custom display formatter for the DATE part (default dd/MM/yyyy). The time is appended as HH:mm."
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "timeLabel",
|
|
1055
|
+
"type": "string",
|
|
1056
|
+
"default": "'Heure'",
|
|
1057
|
+
"required": false,
|
|
1058
|
+
"transform": null,
|
|
1059
|
+
"alias": null,
|
|
1060
|
+
"jsdoc": "Visible label of the time editor (forwarded to the calendar). See {@link showTime}."
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"name": "hoursLabel",
|
|
1064
|
+
"type": "string",
|
|
1065
|
+
"default": "'Heures'",
|
|
1066
|
+
"required": false,
|
|
1067
|
+
"transform": null,
|
|
1068
|
+
"alias": null,
|
|
1069
|
+
"jsdoc": "Accessible name of the hours field (forwarded to the calendar)."
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"name": "minutesLabel",
|
|
1073
|
+
"type": "string",
|
|
1074
|
+
"default": "'Minutes'",
|
|
1075
|
+
"required": false,
|
|
1076
|
+
"transform": null,
|
|
1077
|
+
"alias": null,
|
|
1078
|
+
"jsdoc": "Accessible name of the minutes field (forwarded to the calendar)."
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"name": "doneLabel",
|
|
1082
|
+
"type": "string",
|
|
1083
|
+
"default": "'Terminé'",
|
|
1084
|
+
"required": false,
|
|
1085
|
+
"transform": null,
|
|
1086
|
+
"alias": null,
|
|
1087
|
+
"jsdoc": "Visible text of the calendar's \"done\" action, shown in the overlay when {@link showTime}."
|
|
984
1088
|
},
|
|
985
1089
|
{
|
|
986
1090
|
"name": "clearLabel",
|
|
@@ -1076,7 +1180,7 @@
|
|
|
1076
1180
|
"hostBindings": {
|
|
1077
1181
|
"class": "block",
|
|
1078
1182
|
"(document:click)": "onDocumentClick($event)",
|
|
1079
|
-
"(keydown.escape)": "
|
|
1183
|
+
"(keydown.escape)": "onEscape($event)"
|
|
1080
1184
|
},
|
|
1081
1185
|
"examples": [
|
|
1082
1186
|
{
|
|
@@ -1103,6 +1207,14 @@
|
|
|
1103
1207
|
"stack": true,
|
|
1104
1208
|
"dark": false
|
|
1105
1209
|
},
|
|
1210
|
+
{
|
|
1211
|
+
"sectionTitle": "Date et heure (showTime)",
|
|
1212
|
+
"sectionDescription": "Ajoute un éditeur d'heure (HH:mm, 24h) ; la valeur conserve son heure. La surimpression reste ouverte après le choix du jour pour régler l'heure.",
|
|
1213
|
+
"code": "<sds-date-picker label=\"Ouverture des inscriptions\" showTime [(ngModel)]=\"dateTime\" />\n<p>Sélection : {{ dateTime ? displayTime(dateTime) : '—' }}</p>\n\n// dateTime: Date | null = null;",
|
|
1214
|
+
"runnableExample": "<sds-date-picker label=\"Ouverture des inscriptions\" showTime [(ngModel)]=\"dateTime\" />\n <p class=\"text-sm text-ink-soft\">\n Sélection :\n <span class=\"font-medium text-ink\">{{ dateTime ? displayTime(dateTime) : '—' }}</span>\n </p>",
|
|
1215
|
+
"stack": true,
|
|
1216
|
+
"dark": false
|
|
1217
|
+
},
|
|
1106
1218
|
{
|
|
1107
1219
|
"sectionTitle": "Calendrier en ligne (inline)",
|
|
1108
1220
|
"sectionDescription": null,
|
|
@@ -2125,7 +2237,7 @@
|
|
|
2125
2237
|
{
|
|
2126
2238
|
"name": "currentPageReportTemplate",
|
|
2127
2239
|
"type": "string",
|
|
2128
|
-
"default": "'{first} – {last}
|
|
2240
|
+
"default": "'{first} – {last} of {totalRecords}'",
|
|
2129
2241
|
"required": false,
|
|
2130
2242
|
"transform": null,
|
|
2131
2243
|
"alias": null,
|
|
@@ -2143,7 +2255,7 @@
|
|
|
2143
2255
|
{
|
|
2144
2256
|
"name": "rowsPerPageLabel",
|
|
2145
2257
|
"type": "string",
|
|
2146
|
-
"default": "'
|
|
2258
|
+
"default": "'Rows per page'",
|
|
2147
2259
|
"required": false,
|
|
2148
2260
|
"transform": null,
|
|
2149
2261
|
"alias": null,
|
|
@@ -2152,7 +2264,7 @@
|
|
|
2152
2264
|
{
|
|
2153
2265
|
"name": "jumpToPageLabel",
|
|
2154
2266
|
"type": "string",
|
|
2155
|
-
"default": "'
|
|
2267
|
+
"default": "'Go to'",
|
|
2156
2268
|
"required": false,
|
|
2157
2269
|
"transform": null,
|
|
2158
2270
|
"alias": null,
|
|
@@ -2165,12 +2277,12 @@
|
|
|
2165
2277
|
"required": false,
|
|
2166
2278
|
"transform": null,
|
|
2167
2279
|
"alias": null,
|
|
2168
|
-
"jsdoc": "Accessible name for the <nav> wrapping the page controls, and for the four icon-only\nfirst/prev/next/last buttons. Those buttons have no text, so these strings are their ONLY\naccessible names — the
|
|
2280
|
+
"jsdoc": "Accessible name for the <nav> wrapping the page controls, and for the four icon-only\nfirst/prev/next/last buttons. Those buttons have no text, so these strings are their ONLY\naccessible names — the English defaults suit an English-first app, but an app serving more than\none language MUST pass translated values."
|
|
2169
2281
|
},
|
|
2170
2282
|
{
|
|
2171
2283
|
"name": "firstPageLabel",
|
|
2172
2284
|
"type": "string",
|
|
2173
|
-
"default": "'
|
|
2285
|
+
"default": "'First page'",
|
|
2174
2286
|
"required": false,
|
|
2175
2287
|
"transform": null,
|
|
2176
2288
|
"alias": null,
|
|
@@ -2179,7 +2291,7 @@
|
|
|
2179
2291
|
{
|
|
2180
2292
|
"name": "previousPageLabel",
|
|
2181
2293
|
"type": "string",
|
|
2182
|
-
"default": "'
|
|
2294
|
+
"default": "'Previous page'",
|
|
2183
2295
|
"required": false,
|
|
2184
2296
|
"transform": null,
|
|
2185
2297
|
"alias": null,
|
|
@@ -2188,7 +2300,7 @@
|
|
|
2188
2300
|
{
|
|
2189
2301
|
"name": "nextPageLabel",
|
|
2190
2302
|
"type": "string",
|
|
2191
|
-
"default": "'
|
|
2303
|
+
"default": "'Next page'",
|
|
2192
2304
|
"required": false,
|
|
2193
2305
|
"transform": null,
|
|
2194
2306
|
"alias": null,
|
|
@@ -2197,7 +2309,7 @@
|
|
|
2197
2309
|
{
|
|
2198
2310
|
"name": "lastPageLabel",
|
|
2199
2311
|
"type": "string",
|
|
2200
|
-
"default": "'
|
|
2312
|
+
"default": "'Last page'",
|
|
2201
2313
|
"required": false,
|
|
2202
2314
|
"transform": null,
|
|
2203
2315
|
"alias": null,
|
|
@@ -2215,11 +2327,11 @@
|
|
|
2215
2327
|
{
|
|
2216
2328
|
"name": "jumpToPageAriaLabel",
|
|
2217
2329
|
"type": "string",
|
|
2218
|
-
"default": "'
|
|
2330
|
+
"default": "'Go to page'",
|
|
2219
2331
|
"required": false,
|
|
2220
2332
|
"transform": null,
|
|
2221
2333
|
"alias": null,
|
|
2222
|
-
"jsdoc": "Accessible name of the jump-to-page field. Separate from the visible {@link jumpToPageLabel}\n(\"
|
|
2334
|
+
"jsdoc": "Accessible name of the jump-to-page field. Separate from the visible {@link jumpToPageLabel}\n(\"Go to\") on purpose: the visible text is terse because it sits next to the field, while the\naccessible name has to stand alone."
|
|
2223
2335
|
},
|
|
2224
2336
|
{
|
|
2225
2337
|
"name": "size",
|
|
@@ -2722,6 +2834,15 @@
|
|
|
2722
2834
|
"alias": null,
|
|
2723
2835
|
"jsdoc": null
|
|
2724
2836
|
},
|
|
2837
|
+
{
|
|
2838
|
+
"name": "appearance",
|
|
2839
|
+
"type": "SdsSelectAppearance",
|
|
2840
|
+
"default": "'default'",
|
|
2841
|
+
"required": false,
|
|
2842
|
+
"transform": null,
|
|
2843
|
+
"alias": null,
|
|
2844
|
+
"jsdoc": null
|
|
2845
|
+
},
|
|
2725
2846
|
{
|
|
2726
2847
|
"name": "disabled",
|
|
2727
2848
|
"type": "boolean",
|
|
@@ -2774,6 +2895,11 @@
|
|
|
2774
2895
|
"name": "SdsSelectSize",
|
|
2775
2896
|
"kind": "union",
|
|
2776
2897
|
"body": "'sm' | 'md' | 'lg'"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"name": "SdsSelectAppearance",
|
|
2901
|
+
"kind": "union",
|
|
2902
|
+
"body": "'default' | 'filled' | 'on-brand'"
|
|
2777
2903
|
}
|
|
2778
2904
|
],
|
|
2779
2905
|
"projectionSlots": [],
|
|
@@ -3094,6 +3220,78 @@
|
|
|
3094
3220
|
"alias": null,
|
|
3095
3221
|
"jsdoc": null
|
|
3096
3222
|
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "currentPageReportTemplate",
|
|
3225
|
+
"type": "string",
|
|
3226
|
+
"default": "'{first} – {last} of {totalRecords}'",
|
|
3227
|
+
"required": false,
|
|
3228
|
+
"transform": null,
|
|
3229
|
+
"alias": null,
|
|
3230
|
+
"jsdoc": "Paginator labels, forwarded to the inner <sds-paginator>. English defaults suit an English-first\napp; an app serving more than one language MUST pass translated values (the four nav labels and\n{@link pageLinkLabel} name icon-only controls, so they are their ONLY accessible name).\n{@link currentPageReportTemplate} tokens: {first} {last} {totalRecords} {currentPage} {totalPages} {rows}."
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"name": "rowsPerPageLabel",
|
|
3234
|
+
"type": "string",
|
|
3235
|
+
"default": "'Rows per page'",
|
|
3236
|
+
"required": false,
|
|
3237
|
+
"transform": null,
|
|
3238
|
+
"alias": null,
|
|
3239
|
+
"jsdoc": null
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"name": "paginationLabel",
|
|
3243
|
+
"type": "string",
|
|
3244
|
+
"default": "'Pagination'",
|
|
3245
|
+
"required": false,
|
|
3246
|
+
"transform": null,
|
|
3247
|
+
"alias": null,
|
|
3248
|
+
"jsdoc": null
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"name": "firstPageLabel",
|
|
3252
|
+
"type": "string",
|
|
3253
|
+
"default": "'First page'",
|
|
3254
|
+
"required": false,
|
|
3255
|
+
"transform": null,
|
|
3256
|
+
"alias": null,
|
|
3257
|
+
"jsdoc": null
|
|
3258
|
+
},
|
|
3259
|
+
{
|
|
3260
|
+
"name": "previousPageLabel",
|
|
3261
|
+
"type": "string",
|
|
3262
|
+
"default": "'Previous page'",
|
|
3263
|
+
"required": false,
|
|
3264
|
+
"transform": null,
|
|
3265
|
+
"alias": null,
|
|
3266
|
+
"jsdoc": null
|
|
3267
|
+
},
|
|
3268
|
+
{
|
|
3269
|
+
"name": "nextPageLabel",
|
|
3270
|
+
"type": "string",
|
|
3271
|
+
"default": "'Next page'",
|
|
3272
|
+
"required": false,
|
|
3273
|
+
"transform": null,
|
|
3274
|
+
"alias": null,
|
|
3275
|
+
"jsdoc": null
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
"name": "lastPageLabel",
|
|
3279
|
+
"type": "string",
|
|
3280
|
+
"default": "'Last page'",
|
|
3281
|
+
"required": false,
|
|
3282
|
+
"transform": null,
|
|
3283
|
+
"alias": null,
|
|
3284
|
+
"jsdoc": null
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"name": "pageLinkLabel",
|
|
3288
|
+
"type": "string",
|
|
3289
|
+
"default": "'Page {page}'",
|
|
3290
|
+
"required": false,
|
|
3291
|
+
"transform": null,
|
|
3292
|
+
"alias": null,
|
|
3293
|
+
"jsdoc": "Accessible name of a numbered page link; `{page}` is the 1-based page number."
|
|
3294
|
+
},
|
|
3097
3295
|
{
|
|
3098
3296
|
"name": "globalFilter",
|
|
3099
3297
|
"type": "boolean",
|
|
@@ -3106,7 +3304,7 @@
|
|
|
3106
3304
|
{
|
|
3107
3305
|
"name": "globalFilterPlaceholder",
|
|
3108
3306
|
"type": "string",
|
|
3109
|
-
"default": "'
|
|
3307
|
+
"default": "'Search…'",
|
|
3110
3308
|
"required": false,
|
|
3111
3309
|
"transform": null,
|
|
3112
3310
|
"alias": null,
|
|
@@ -3115,7 +3313,7 @@
|
|
|
3115
3313
|
{
|
|
3116
3314
|
"name": "globalFilterAriaLabel",
|
|
3117
3315
|
"type": "string",
|
|
3118
|
-
"default": "'
|
|
3316
|
+
"default": "'Search the table'",
|
|
3119
3317
|
"required": false,
|
|
3120
3318
|
"transform": null,
|
|
3121
3319
|
"alias": null,
|
|
@@ -3160,7 +3358,7 @@
|
|
|
3160
3358
|
{
|
|
3161
3359
|
"name": "emptyMessage",
|
|
3162
3360
|
"type": "string",
|
|
3163
|
-
"default": "'
|
|
3361
|
+
"default": "'No data'",
|
|
3164
3362
|
"required": false,
|
|
3165
3363
|
"transform": null,
|
|
3166
3364
|
"alias": null,
|
|
@@ -3178,7 +3376,7 @@
|
|
|
3178
3376
|
{
|
|
3179
3377
|
"name": "ariaLabel",
|
|
3180
3378
|
"type": "string",
|
|
3181
|
-
"default": "'
|
|
3379
|
+
"default": "'Data table'",
|
|
3182
3380
|
"required": false,
|
|
3183
3381
|
"transform": null,
|
|
3184
3382
|
"alias": null,
|
|
@@ -4224,6 +4422,7 @@
|
|
|
4224
4422
|
"bell",
|
|
4225
4423
|
"bike",
|
|
4226
4424
|
"book-open",
|
|
4425
|
+
"bug",
|
|
4227
4426
|
"building-2",
|
|
4228
4427
|
"calendar",
|
|
4229
4428
|
"chart-column",
|
|
@@ -4270,6 +4469,7 @@
|
|
|
4270
4469
|
"refresh-cw",
|
|
4271
4470
|
"rotate-ccw",
|
|
4272
4471
|
"rows-3",
|
|
4472
|
+
"scroll-text",
|
|
4273
4473
|
"search",
|
|
4274
4474
|
"settings",
|
|
4275
4475
|
"square",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@besaitech/ng-design-system-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "MCP server that exposes the @besaitech/ng-design-system Angular component library documentation (API, examples, tokens, icons, setup) to AI coding tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|