@knitify/vue 2.1.0 → 2.2.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/README.md +4 -1
- package/dist/index.es.js +5533 -4141
- package/dist/index.umd.js +1 -1
- package/dist/types/components/ArticleList/types.d.ts +9 -2
- package/dist/types/components/ButtonGroup/KButtonGroup.vue.d.ts +11 -0
- package/dist/types/components/ButtonGroup/types.d.ts +7 -0
- package/dist/types/components/Chat/KChatPrompt.vue.d.ts +2 -2
- package/dist/types/components/ChatDock/KChatDock.vue.d.ts +2 -2
- package/dist/types/components/DataTable/KDataTable.vue.d.ts +71 -0
- package/dist/types/components/DataTable/KDataTableLinkCell.vue.d.ts +21 -0
- package/dist/types/components/DataTable/KDataTableSettings.vue.d.ts +32 -0
- package/dist/types/components/DataTable/KDataTableSort.vue.d.ts +17 -0
- package/dist/types/components/DataTable/columnTypes.d.ts +19 -0
- package/dist/types/components/DataTable/keys.d.ts +9 -0
- package/dist/types/components/DataTable/types.d.ts +269 -0
- package/dist/types/components/Dialog/KDialogHost.vue.d.ts +3 -0
- package/dist/types/components/Dialog/KDialogItem.vue.d.ts +16 -0
- package/dist/types/components/Dialog/types.d.ts +61 -0
- package/dist/types/components/Dialog/useDialog.d.ts +41 -0
- package/dist/types/components/Dropzone/KDropzone.vue.d.ts +39 -0
- package/dist/types/components/Dropzone/types.d.ts +89 -0
- package/dist/types/components/FileTree/KFileTree.vue.d.ts +2 -2
- package/dist/types/components/Modal/types.d.ts +4 -0
- package/dist/types/components/Table/types.d.ts +4 -2
- package/dist/types/components/Tabs/KTabs.vue.d.ts +1 -1
- package/dist/types/components/Tabs/types.d.ts +17 -0
- package/dist/types/components/TagsInput/KTagsInput.vue.d.ts +2 -2
- package/dist/types/components/Toast/types.d.ts +22 -0
- package/dist/types/components/Toast/useToast.d.ts +14 -2
- package/dist/types/components/Workspace/KWorkspace.vue.d.ts +2 -2
- package/dist/types/components/index.d.ts +7 -0
- package/dist/types/components/types.d.ts +5 -0
- package/dist/types/index.d.ts +11 -2
- package/dist/types/utils/useTopmost.d.ts +3 -1
- package/dist/web-types.json +781 -40
- package/package.json +3 -3
package/dist/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@knitify/vue",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.1.0",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"description-markup": "markdown",
|
|
8
8
|
"contributions": {
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"kind": "expression",
|
|
280
280
|
"type": "boolean | undefined"
|
|
281
281
|
},
|
|
282
|
-
"description": "Forces the hover fill, for previews.",
|
|
282
|
+
"description": "Forces the hover fill and the actions slot open, for previews.",
|
|
283
283
|
"default": "false"
|
|
284
284
|
},
|
|
285
285
|
{
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
"kind": "expression",
|
|
298
298
|
"type": "string | undefined"
|
|
299
299
|
},
|
|
300
|
-
"description": "Sprite id of the trailing
|
|
300
|
+
"description": "Sprite id of the trailing chevron, shown when there is no actions slot.",
|
|
301
301
|
"default": "\"#kt-caretRight\""
|
|
302
302
|
},
|
|
303
303
|
{
|
|
@@ -327,6 +327,16 @@
|
|
|
327
327
|
]
|
|
328
328
|
},
|
|
329
329
|
"slots": [
|
|
330
|
+
{
|
|
331
|
+
"name": "actions",
|
|
332
|
+
"description": "The overflow trigger, typically a `KDropdown` around a meatball\n`KButton`. Replaces the chevron. Core fades it in on hover or focus, and\nkeeps it shown while the dropdown is open. Not rendered on a disabled row.",
|
|
333
|
+
"vue-properties": [
|
|
334
|
+
{
|
|
335
|
+
"name": "scope",
|
|
336
|
+
"type": "any"
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
},
|
|
330
340
|
{
|
|
331
341
|
"name": "date",
|
|
332
342
|
"vue-properties": [
|
|
@@ -348,6 +358,7 @@
|
|
|
348
358
|
},
|
|
349
359
|
{
|
|
350
360
|
"name": "icon",
|
|
361
|
+
"description": "The trailing chevron. Ignored when the actions slot is filled.",
|
|
351
362
|
"vue-properties": [
|
|
352
363
|
{
|
|
353
364
|
"name": "scope",
|
|
@@ -1251,6 +1262,25 @@
|
|
|
1251
1262
|
}
|
|
1252
1263
|
]
|
|
1253
1264
|
},
|
|
1265
|
+
{
|
|
1266
|
+
"name": "KButtonGroup",
|
|
1267
|
+
"source": {
|
|
1268
|
+
"module": "@knitify/vue",
|
|
1269
|
+
"symbol": "KButtonGroup"
|
|
1270
|
+
},
|
|
1271
|
+
"slots": [
|
|
1272
|
+
{
|
|
1273
|
+
"name": "default",
|
|
1274
|
+
"description": "`KButton`s, or wrappers around one — a `KDropdown` whose toggle is a\n`KButton` makes a split button.",
|
|
1275
|
+
"vue-properties": [
|
|
1276
|
+
{
|
|
1277
|
+
"name": "scope",
|
|
1278
|
+
"type": "any"
|
|
1279
|
+
}
|
|
1280
|
+
]
|
|
1281
|
+
}
|
|
1282
|
+
]
|
|
1283
|
+
},
|
|
1254
1284
|
{
|
|
1255
1285
|
"name": "KCalendar",
|
|
1256
1286
|
"source": {
|
|
@@ -2534,8 +2564,488 @@
|
|
|
2534
2564
|
},
|
|
2535
2565
|
"slots": [
|
|
2536
2566
|
{
|
|
2537
|
-
"name": "default",
|
|
2538
|
-
"description": "The panel that opens and closes.",
|
|
2567
|
+
"name": "default",
|
|
2568
|
+
"description": "The panel that opens and closes.",
|
|
2569
|
+
"vue-properties": [
|
|
2570
|
+
{
|
|
2571
|
+
"name": "scope",
|
|
2572
|
+
"type": "any"
|
|
2573
|
+
}
|
|
2574
|
+
]
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"name": "toggle",
|
|
2578
|
+
"description": "Anything here sits outside the collapsing region. A\n`data-kt-collapse-toggle` element inside it is driven by core directly.",
|
|
2579
|
+
"vue-properties": [
|
|
2580
|
+
{
|
|
2581
|
+
"name": "scope",
|
|
2582
|
+
"type": "{ toggle: () => void; expanded: boolean; }"
|
|
2583
|
+
}
|
|
2584
|
+
]
|
|
2585
|
+
}
|
|
2586
|
+
]
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"name": "KContainer",
|
|
2590
|
+
"source": {
|
|
2591
|
+
"module": "@knitify/vue",
|
|
2592
|
+
"symbol": "KContainer"
|
|
2593
|
+
},
|
|
2594
|
+
"attributes": [
|
|
2595
|
+
{
|
|
2596
|
+
"name": "glassy",
|
|
2597
|
+
"required": false,
|
|
2598
|
+
"value": {
|
|
2599
|
+
"kind": "expression",
|
|
2600
|
+
"type": "boolean | undefined"
|
|
2601
|
+
}
|
|
2602
|
+
}
|
|
2603
|
+
],
|
|
2604
|
+
"slots": [
|
|
2605
|
+
{
|
|
2606
|
+
"name": "default"
|
|
2607
|
+
}
|
|
2608
|
+
]
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"name": "KDataTable",
|
|
2612
|
+
"source": {
|
|
2613
|
+
"module": "@knitify/vue",
|
|
2614
|
+
"symbol": "KDataTable"
|
|
2615
|
+
},
|
|
2616
|
+
"attributes": [
|
|
2617
|
+
{
|
|
2618
|
+
"name": "hoverable",
|
|
2619
|
+
"required": false,
|
|
2620
|
+
"value": {
|
|
2621
|
+
"kind": "expression",
|
|
2622
|
+
"type": "boolean | undefined"
|
|
2623
|
+
},
|
|
2624
|
+
"default": "false"
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"name": "pinStart",
|
|
2628
|
+
"required": false,
|
|
2629
|
+
"value": {
|
|
2630
|
+
"kind": "expression",
|
|
2631
|
+
"type": "number | undefined"
|
|
2632
|
+
},
|
|
2633
|
+
"description": "How many leading columns stay put while the table scrolls sideways, up to\n5. Wrap the table in an `overflow-x: auto` container.\nHow many leading data columns stay put while the table scrolls sideways,\nup to 4. The checkbox column is pinned along with them and isn't counted."
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"name": "pinEnd",
|
|
2637
|
+
"required": false,
|
|
2638
|
+
"value": {
|
|
2639
|
+
"kind": "expression",
|
|
2640
|
+
"type": "number | undefined"
|
|
2641
|
+
},
|
|
2642
|
+
"description": "How many trailing columns stay put, up to 5 — e.g. an actions column."
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"name": "stickyHeader",
|
|
2646
|
+
"required": false,
|
|
2647
|
+
"value": {
|
|
2648
|
+
"kind": "expression",
|
|
2649
|
+
"type": "boolean | undefined"
|
|
2650
|
+
},
|
|
2651
|
+
"description": "Pins the header to the top of the nearest scrolling ancestor — a\nheight-capped `overflow: auto` wrapper, or the page. Offset it with the\n`--kt-table-sticky-top` CSS variable, e.g. below a fixed navbar.",
|
|
2652
|
+
"default": "false"
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"name": "actionLabels",
|
|
2656
|
+
"required": false,
|
|
2657
|
+
"value": {
|
|
2658
|
+
"kind": "expression",
|
|
2659
|
+
"type": "Partial<KDataTableActionLabels> | undefined"
|
|
2660
|
+
},
|
|
2661
|
+
"description": "Overrides any of a `link` column's menu text."
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"name": "columns",
|
|
2665
|
+
"required": false,
|
|
2666
|
+
"value": {
|
|
2667
|
+
"kind": "expression",
|
|
2668
|
+
"type": "KDataTableColumn<T>[] | undefined"
|
|
2669
|
+
},
|
|
2670
|
+
"description": "Generates the header and a row per entry of `rows`. Leave it out and put\nyour own `<thead>`/`<tbody>` in the default slot instead — that markup\ngets no checkbox column."
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"name": "emptyLabel",
|
|
2674
|
+
"required": false,
|
|
2675
|
+
"value": {
|
|
2676
|
+
"kind": "expression",
|
|
2677
|
+
"type": "string | undefined"
|
|
2678
|
+
},
|
|
2679
|
+
"description": "Shown in place of the rows when `rows` is empty.",
|
|
2680
|
+
"default": "\"No results\""
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"name": "filterLabel",
|
|
2684
|
+
"required": false,
|
|
2685
|
+
"value": {
|
|
2686
|
+
"kind": "expression",
|
|
2687
|
+
"type": "string | undefined"
|
|
2688
|
+
},
|
|
2689
|
+
"description": "Text of the filter button. Defaults to `Filter`.",
|
|
2690
|
+
"default": "\"Filter\""
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"name": "loading",
|
|
2694
|
+
"required": false,
|
|
2695
|
+
"value": {
|
|
2696
|
+
"kind": "expression",
|
|
2697
|
+
"type": "boolean | undefined"
|
|
2698
|
+
},
|
|
2699
|
+
"description": "Shows a skeleton in every cell in place of the rows — as many rows as\nare currently shown, or a full page when there are none. Applies to\n`columns` and `rows`; custom markup in the default slot is left as is.",
|
|
2700
|
+
"default": "false"
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"name": "maxHeight",
|
|
2704
|
+
"required": false,
|
|
2705
|
+
"value": {
|
|
2706
|
+
"kind": "expression",
|
|
2707
|
+
"type": "string | undefined"
|
|
2708
|
+
},
|
|
2709
|
+
"description": "Caps the table's height and scrolls it inside the frame — what a\n`stickyHeader` sticks to. Any CSS length, e.g. `480px`."
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"name": "nextLabel",
|
|
2713
|
+
"required": false,
|
|
2714
|
+
"value": {
|
|
2715
|
+
"kind": "expression",
|
|
2716
|
+
"type": "string | undefined"
|
|
2717
|
+
},
|
|
2718
|
+
"description": "Accessible name of the next-page buttons.",
|
|
2719
|
+
"default": "\"Next page\""
|
|
2720
|
+
},
|
|
2721
|
+
{
|
|
2722
|
+
"name": "pageSize",
|
|
2723
|
+
"required": false,
|
|
2724
|
+
"value": {
|
|
2725
|
+
"kind": "expression",
|
|
2726
|
+
"type": "number | undefined"
|
|
2727
|
+
},
|
|
2728
|
+
"description": "Rows per page. Defaults to 10.",
|
|
2729
|
+
"default": "10"
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"name": "prevLabel",
|
|
2733
|
+
"required": false,
|
|
2734
|
+
"value": {
|
|
2735
|
+
"kind": "expression",
|
|
2736
|
+
"type": "string | undefined"
|
|
2737
|
+
},
|
|
2738
|
+
"description": "Accessible name of the previous-page buttons.",
|
|
2739
|
+
"default": "\"Previous page\""
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"name": "rowKey",
|
|
2743
|
+
"required": false,
|
|
2744
|
+
"value": {
|
|
2745
|
+
"kind": "expression",
|
|
2746
|
+
"type": "string | ((row: T) => KDataTableRowKey) | undefined"
|
|
2747
|
+
},
|
|
2748
|
+
"description": "The field — or a function — giving each row a unique key. Defaults to `id`.",
|
|
2749
|
+
"default": "\"id\""
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"name": "rows",
|
|
2753
|
+
"required": false,
|
|
2754
|
+
"value": {
|
|
2755
|
+
"kind": "expression",
|
|
2756
|
+
"type": "T[] | undefined"
|
|
2757
|
+
},
|
|
2758
|
+
"description": "The current page's rows, shown as given.",
|
|
2759
|
+
"default": "[]"
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"name": "searchPlaceholder",
|
|
2763
|
+
"required": false,
|
|
2764
|
+
"value": {
|
|
2765
|
+
"kind": "expression",
|
|
2766
|
+
"type": "string | undefined"
|
|
2767
|
+
},
|
|
2768
|
+
"description": "Defaults to `Search`.",
|
|
2769
|
+
"default": "\"Search\""
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
"name": "selectable",
|
|
2773
|
+
"required": false,
|
|
2774
|
+
"value": {
|
|
2775
|
+
"kind": "expression",
|
|
2776
|
+
"type": "boolean | undefined"
|
|
2777
|
+
},
|
|
2778
|
+
"description": "Leads each generated row with a checkbox, plus a select-all in the\nheader, bound to `v-model:selected`. Defaults to `true`.",
|
|
2779
|
+
"default": "true"
|
|
2780
|
+
},
|
|
2781
|
+
{
|
|
2782
|
+
"name": "settingsLabel",
|
|
2783
|
+
"required": false,
|
|
2784
|
+
"value": {
|
|
2785
|
+
"kind": "expression",
|
|
2786
|
+
"type": "string | undefined"
|
|
2787
|
+
},
|
|
2788
|
+
"description": "Text of the settings button. Defaults to `Settings`.",
|
|
2789
|
+
"default": "\"Settings\""
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"name": "settingsLabels",
|
|
2793
|
+
"required": false,
|
|
2794
|
+
"value": {
|
|
2795
|
+
"kind": "expression",
|
|
2796
|
+
"type": "Partial<KDataTableSettingsLabels> | undefined"
|
|
2797
|
+
},
|
|
2798
|
+
"description": "Overrides any of the settings menu's text."
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"name": "sortLabel",
|
|
2802
|
+
"required": false,
|
|
2803
|
+
"value": {
|
|
2804
|
+
"kind": "expression",
|
|
2805
|
+
"type": "string | undefined"
|
|
2806
|
+
},
|
|
2807
|
+
"description": "Text of the sort button. Defaults to `Sort`.",
|
|
2808
|
+
"default": "\"Sort\""
|
|
2809
|
+
},
|
|
2810
|
+
{
|
|
2811
|
+
"name": "sortLabels",
|
|
2812
|
+
"required": false,
|
|
2813
|
+
"value": {
|
|
2814
|
+
"kind": "expression",
|
|
2815
|
+
"type": "Partial<KDataTableSortLabels> | undefined"
|
|
2816
|
+
},
|
|
2817
|
+
"description": "Overrides any of the sort popover's text."
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"name": "sortOptions",
|
|
2821
|
+
"required": false,
|
|
2822
|
+
"value": {
|
|
2823
|
+
"kind": "expression",
|
|
2824
|
+
"type": "KSelectOption[] | undefined"
|
|
2825
|
+
},
|
|
2826
|
+
"description": "What \"Sort by\" offers. Defaults to the sortable `columns`; pass it to\noffer fields that aren't shown, e.g. \"Updated at\"."
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "total",
|
|
2830
|
+
"required": true,
|
|
2831
|
+
"value": {
|
|
2832
|
+
"kind": "expression",
|
|
2833
|
+
"type": "number"
|
|
2834
|
+
},
|
|
2835
|
+
"description": "Number of rows across every page. Drives the pager and pagination."
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"name": "page",
|
|
2839
|
+
"required": false,
|
|
2840
|
+
"value": {
|
|
2841
|
+
"kind": "expression",
|
|
2842
|
+
"type": "number | undefined"
|
|
2843
|
+
},
|
|
2844
|
+
"default": "1"
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"name": "search",
|
|
2848
|
+
"required": false,
|
|
2849
|
+
"value": {
|
|
2850
|
+
"kind": "expression",
|
|
2851
|
+
"type": "string | undefined"
|
|
2852
|
+
},
|
|
2853
|
+
"default": "\"\""
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"name": "selected",
|
|
2857
|
+
"required": false,
|
|
2858
|
+
"value": {
|
|
2859
|
+
"kind": "expression",
|
|
2860
|
+
"type": "KDataTableRowKey[] | undefined"
|
|
2861
|
+
},
|
|
2862
|
+
"default": "[]"
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
"name": "sort",
|
|
2866
|
+
"required": false,
|
|
2867
|
+
"value": {
|
|
2868
|
+
"kind": "expression",
|
|
2869
|
+
"type": "KDataTableSortRule[] | undefined"
|
|
2870
|
+
},
|
|
2871
|
+
"default": "[]"
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"name": "hiddenColumns",
|
|
2875
|
+
"required": false,
|
|
2876
|
+
"value": {
|
|
2877
|
+
"kind": "expression",
|
|
2878
|
+
"type": "string[] | undefined"
|
|
2879
|
+
},
|
|
2880
|
+
"default": "[]"
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"name": "size",
|
|
2884
|
+
"required": false,
|
|
2885
|
+
"value": {
|
|
2886
|
+
"kind": "expression",
|
|
2887
|
+
"type": "string"
|
|
2888
|
+
},
|
|
2889
|
+
"default": "\"md\"",
|
|
2890
|
+
"values": [
|
|
2891
|
+
{
|
|
2892
|
+
"name": "md"
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"name": "lg"
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"name": "xl"
|
|
2899
|
+
}
|
|
2900
|
+
]
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"name": "striped",
|
|
2904
|
+
"required": false,
|
|
2905
|
+
"value": {
|
|
2906
|
+
"kind": "expression",
|
|
2907
|
+
"type": "boolean | undefined"
|
|
2908
|
+
},
|
|
2909
|
+
"default": "false"
|
|
2910
|
+
}
|
|
2911
|
+
],
|
|
2912
|
+
"js": {
|
|
2913
|
+
"events": [
|
|
2914
|
+
{
|
|
2915
|
+
"name": "resize",
|
|
2916
|
+
"description": "A column was resized. Carries every column's width in px."
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"name": "action",
|
|
2920
|
+
"description": "A column type's component reported an action on its row. For `link`,\n`view` fires once the router has moved — from the link itself or the\nmenu's View — and not when a guard cancels it, nor for a click that\nopens a new tab or window instead; `delete` does nothing\nelse, so confirm and remove the row here. `payload` is whatever the cell\nsent along, if anything."
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"name": "update:page"
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"name": "update:search"
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
"name": "update:selected"
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
"name": "update:sort"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "update:hiddenColumns"
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"name": "update:size"
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"name": "update:striped"
|
|
2942
|
+
}
|
|
2943
|
+
]
|
|
2944
|
+
},
|
|
2945
|
+
"slots": [
|
|
2946
|
+
{
|
|
2947
|
+
"name": "default",
|
|
2948
|
+
"description": "Your own `<thead>`/`<tbody>`, used instead of `columns` and `rows`.",
|
|
2949
|
+
"vue-properties": [
|
|
2950
|
+
{
|
|
2951
|
+
"name": "scope",
|
|
2952
|
+
"type": "any"
|
|
2953
|
+
}
|
|
2954
|
+
]
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
"name": "empty",
|
|
2958
|
+
"description": "Replaces the `emptyLabel` text.",
|
|
2959
|
+
"vue-properties": [
|
|
2960
|
+
{
|
|
2961
|
+
"name": "scope",
|
|
2962
|
+
"type": "any"
|
|
2963
|
+
}
|
|
2964
|
+
]
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"name": "toolbar-start",
|
|
2968
|
+
"description": "Leads the toolbar, e.g. an \"Add Task\" `KButtonGroup`.",
|
|
2969
|
+
"vue-properties": [
|
|
2970
|
+
{
|
|
2971
|
+
"name": "scope",
|
|
2972
|
+
"type": "any"
|
|
2973
|
+
}
|
|
2974
|
+
]
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"name": "search",
|
|
2978
|
+
"description": "Replaces the search field.",
|
|
2979
|
+
"vue-properties": [
|
|
2980
|
+
{
|
|
2981
|
+
"name": "scope",
|
|
2982
|
+
"type": "{ search: string; update: (value: string) => void; }"
|
|
2983
|
+
}
|
|
2984
|
+
]
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"name": "filter-content",
|
|
2988
|
+
"description": "The filter button's popover panel.",
|
|
2989
|
+
"vue-properties": [
|
|
2990
|
+
{
|
|
2991
|
+
"name": "scope",
|
|
2992
|
+
"type": "any"
|
|
2993
|
+
}
|
|
2994
|
+
]
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"name": "filter",
|
|
2998
|
+
"description": "Replaces the filter button and its popover.",
|
|
2999
|
+
"vue-properties": [
|
|
3000
|
+
{
|
|
3001
|
+
"name": "scope",
|
|
3002
|
+
"type": "any"
|
|
3003
|
+
}
|
|
3004
|
+
]
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "sort-content",
|
|
3008
|
+
"description": "Replaces the sort popover's panel. Defaults to the sort rules.",
|
|
3009
|
+
"vue-properties": [
|
|
3010
|
+
{
|
|
3011
|
+
"name": "scope",
|
|
3012
|
+
"type": "any"
|
|
3013
|
+
}
|
|
3014
|
+
]
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "sort",
|
|
3018
|
+
"description": "Replaces the sort button and its popover.",
|
|
3019
|
+
"vue-properties": [
|
|
3020
|
+
{
|
|
3021
|
+
"name": "scope",
|
|
3022
|
+
"type": "any"
|
|
3023
|
+
}
|
|
3024
|
+
]
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
"name": "settings-content",
|
|
3028
|
+
"description": "Replaces the settings menu — columns, row height and row style. Pass a\n`KDropdownMenu`.",
|
|
3029
|
+
"vue-properties": [
|
|
3030
|
+
{
|
|
3031
|
+
"name": "scope",
|
|
3032
|
+
"type": "any"
|
|
3033
|
+
}
|
|
3034
|
+
]
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"name": "settings-items",
|
|
3038
|
+
"description": "`KDropdownItem`s added below the settings menu's own.",
|
|
3039
|
+
"vue-properties": [
|
|
3040
|
+
{
|
|
3041
|
+
"name": "scope",
|
|
3042
|
+
"type": "any"
|
|
3043
|
+
}
|
|
3044
|
+
]
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
"name": "settings",
|
|
3048
|
+
"description": "Replaces the settings button and its menu.",
|
|
2539
3049
|
"vue-properties": [
|
|
2540
3050
|
{
|
|
2541
3051
|
"name": "scope",
|
|
@@ -2544,36 +3054,54 @@
|
|
|
2544
3054
|
]
|
|
2545
3055
|
},
|
|
2546
3056
|
{
|
|
2547
|
-
"name": "
|
|
2548
|
-
"description": "
|
|
3057
|
+
"name": "toolbar-end",
|
|
3058
|
+
"description": "Follows the settings button.",
|
|
2549
3059
|
"vue-properties": [
|
|
2550
3060
|
{
|
|
2551
3061
|
"name": "scope",
|
|
2552
|
-
"type": "
|
|
3062
|
+
"type": "any"
|
|
2553
3063
|
}
|
|
2554
3064
|
]
|
|
2555
|
-
}
|
|
2556
|
-
]
|
|
2557
|
-
},
|
|
2558
|
-
{
|
|
2559
|
-
"name": "KContainer",
|
|
2560
|
-
"source": {
|
|
2561
|
-
"module": "@knitify/vue",
|
|
2562
|
-
"symbol": "KContainer"
|
|
2563
|
-
},
|
|
2564
|
-
"attributes": [
|
|
3065
|
+
},
|
|
2565
3066
|
{
|
|
2566
|
-
"name": "
|
|
2567
|
-
"
|
|
2568
|
-
"
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
3067
|
+
"name": "pager",
|
|
3068
|
+
"description": "Replaces the \"1–10 of 325\" pager on the toolbar's right.",
|
|
3069
|
+
"vue-properties": [
|
|
3070
|
+
{
|
|
3071
|
+
"name": "scope",
|
|
3072
|
+
"type": "KDataTablePageState"
|
|
3073
|
+
}
|
|
3074
|
+
]
|
|
3075
|
+
},
|
|
2575
3076
|
{
|
|
2576
|
-
"name": "
|
|
3077
|
+
"name": "summary",
|
|
3078
|
+
"description": "`<tr>`s placed in the `<tfoot>` above the pagination row.",
|
|
3079
|
+
"vue-properties": [
|
|
3080
|
+
{
|
|
3081
|
+
"name": "scope",
|
|
3082
|
+
"type": "any"
|
|
3083
|
+
}
|
|
3084
|
+
]
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
"name": "footer-start",
|
|
3088
|
+
"description": "The footer's left side, e.g. an \"Add Task\" button.",
|
|
3089
|
+
"vue-properties": [
|
|
3090
|
+
{
|
|
3091
|
+
"name": "scope",
|
|
3092
|
+
"type": "any"
|
|
3093
|
+
}
|
|
3094
|
+
]
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
"name": "pagination",
|
|
3098
|
+
"description": "Replaces the pagination on the footer's right.",
|
|
3099
|
+
"vue-properties": [
|
|
3100
|
+
{
|
|
3101
|
+
"name": "scope",
|
|
3102
|
+
"type": "KDataTablePageState"
|
|
3103
|
+
}
|
|
3104
|
+
]
|
|
2577
3105
|
}
|
|
2578
3106
|
]
|
|
2579
3107
|
},
|
|
@@ -3183,6 +3711,13 @@
|
|
|
3183
3711
|
]
|
|
3184
3712
|
}
|
|
3185
3713
|
},
|
|
3714
|
+
{
|
|
3715
|
+
"name": "KDialogHost",
|
|
3716
|
+
"source": {
|
|
3717
|
+
"module": "@knitify/vue",
|
|
3718
|
+
"symbol": "KDialogHost"
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3186
3721
|
{
|
|
3187
3722
|
"name": "KDivider",
|
|
3188
3723
|
"source": {
|
|
@@ -3738,6 +4273,171 @@
|
|
|
3738
4273
|
}
|
|
3739
4274
|
]
|
|
3740
4275
|
},
|
|
4276
|
+
{
|
|
4277
|
+
"name": "KDropzone",
|
|
4278
|
+
"source": {
|
|
4279
|
+
"module": "@knitify/vue",
|
|
4280
|
+
"symbol": "KDropzone"
|
|
4281
|
+
},
|
|
4282
|
+
"attributes": [
|
|
4283
|
+
{
|
|
4284
|
+
"name": "accept",
|
|
4285
|
+
"required": false,
|
|
4286
|
+
"value": {
|
|
4287
|
+
"kind": "expression",
|
|
4288
|
+
"type": "string | undefined"
|
|
4289
|
+
},
|
|
4290
|
+
"description": "Same syntax as the native `accept`; drops are checked against it too."
|
|
4291
|
+
},
|
|
4292
|
+
{
|
|
4293
|
+
"name": "autoUpload",
|
|
4294
|
+
"required": false,
|
|
4295
|
+
"value": {
|
|
4296
|
+
"kind": "expression",
|
|
4297
|
+
"type": "boolean | undefined"
|
|
4298
|
+
},
|
|
4299
|
+
"description": "Start `upload` as soon as a file is added. Defaults to `true`; turn it off\nto collect files first and send them with the exposed `upload()`.",
|
|
4300
|
+
"default": "true"
|
|
4301
|
+
},
|
|
4302
|
+
{
|
|
4303
|
+
"name": "disabled",
|
|
4304
|
+
"required": false,
|
|
4305
|
+
"value": {
|
|
4306
|
+
"kind": "expression",
|
|
4307
|
+
"type": "boolean | undefined"
|
|
4308
|
+
},
|
|
4309
|
+
"default": "false"
|
|
4310
|
+
},
|
|
4311
|
+
{
|
|
4312
|
+
"name": "hint",
|
|
4313
|
+
"required": false,
|
|
4314
|
+
"value": {
|
|
4315
|
+
"kind": "expression",
|
|
4316
|
+
"type": "string | undefined"
|
|
4317
|
+
},
|
|
4318
|
+
"description": "Small print under the title, e.g. \"PNG or JPG, up to 5 MB\"."
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
"name": "invalid",
|
|
4322
|
+
"required": false,
|
|
4323
|
+
"value": {
|
|
4324
|
+
"kind": "expression",
|
|
4325
|
+
"type": "boolean | undefined"
|
|
4326
|
+
},
|
|
4327
|
+
"default": "false"
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"name": "maxFiles",
|
|
4331
|
+
"required": false,
|
|
4332
|
+
"value": {
|
|
4333
|
+
"kind": "expression",
|
|
4334
|
+
"type": "number | undefined"
|
|
4335
|
+
},
|
|
4336
|
+
"description": "Upper limit on the number of files in the model."
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
"name": "maxSize",
|
|
4340
|
+
"required": false,
|
|
4341
|
+
"value": {
|
|
4342
|
+
"kind": "expression",
|
|
4343
|
+
"type": "number | undefined"
|
|
4344
|
+
},
|
|
4345
|
+
"description": "Upper limit per file, in bytes."
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"name": "multiple",
|
|
4349
|
+
"required": false,
|
|
4350
|
+
"value": {
|
|
4351
|
+
"kind": "expression",
|
|
4352
|
+
"type": "boolean | undefined"
|
|
4353
|
+
},
|
|
4354
|
+
"description": "Allow more than one file. Without it, a new file replaces the old one.",
|
|
4355
|
+
"default": "false"
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
"name": "title",
|
|
4359
|
+
"required": false,
|
|
4360
|
+
"value": {
|
|
4361
|
+
"kind": "expression",
|
|
4362
|
+
"type": "string | undefined"
|
|
4363
|
+
},
|
|
4364
|
+
"description": "Replaces \"Click to upload\" — the underlined part of the title.",
|
|
4365
|
+
"default": "\"Click to upload\""
|
|
4366
|
+
},
|
|
4367
|
+
{
|
|
4368
|
+
"name": "upload",
|
|
4369
|
+
"required": false,
|
|
4370
|
+
"value": {
|
|
4371
|
+
"kind": "expression",
|
|
4372
|
+
"type": "KDropzoneUploadHandler | undefined"
|
|
4373
|
+
},
|
|
4374
|
+
"description": "Uploads each file as it is added. Without one, files simply collect in\nthe model as `pending` for the parent to send."
|
|
4375
|
+
},
|
|
4376
|
+
{
|
|
4377
|
+
"name": "modelValue",
|
|
4378
|
+
"required": false,
|
|
4379
|
+
"value": {
|
|
4380
|
+
"kind": "expression",
|
|
4381
|
+
"type": "KDropzoneFile[] | undefined"
|
|
4382
|
+
},
|
|
4383
|
+
"default": "[]"
|
|
4384
|
+
}
|
|
4385
|
+
],
|
|
4386
|
+
"js": {
|
|
4387
|
+
"events": [
|
|
4388
|
+
{
|
|
4389
|
+
"name": "remove"
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
"name": "success"
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
"name": "update:modelValue"
|
|
4396
|
+
},
|
|
4397
|
+
{
|
|
4398
|
+
"name": "add"
|
|
4399
|
+
},
|
|
4400
|
+
{
|
|
4401
|
+
"name": "reject"
|
|
4402
|
+
},
|
|
4403
|
+
{
|
|
4404
|
+
"name": "error"
|
|
4405
|
+
}
|
|
4406
|
+
]
|
|
4407
|
+
},
|
|
4408
|
+
"slots": [
|
|
4409
|
+
{
|
|
4410
|
+
"name": "default",
|
|
4411
|
+
"description": "Replaces the whole inside of the drop area.",
|
|
4412
|
+
"vue-properties": [
|
|
4413
|
+
{
|
|
4414
|
+
"name": "scope",
|
|
4415
|
+
"type": "{ dragging: boolean; open: () => void; }"
|
|
4416
|
+
}
|
|
4417
|
+
]
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
"name": "icon",
|
|
4421
|
+
"description": "Replaces the upload icon.",
|
|
4422
|
+
"vue-properties": [
|
|
4423
|
+
{
|
|
4424
|
+
"name": "scope",
|
|
4425
|
+
"type": "any"
|
|
4426
|
+
}
|
|
4427
|
+
]
|
|
4428
|
+
},
|
|
4429
|
+
{
|
|
4430
|
+
"name": "hint",
|
|
4431
|
+
"description": "Replaces the hint line.",
|
|
4432
|
+
"vue-properties": [
|
|
4433
|
+
{
|
|
4434
|
+
"name": "scope",
|
|
4435
|
+
"type": "any"
|
|
4436
|
+
}
|
|
4437
|
+
]
|
|
4438
|
+
}
|
|
4439
|
+
]
|
|
4440
|
+
},
|
|
3741
4441
|
{
|
|
3742
4442
|
"name": "KField",
|
|
3743
4443
|
"source": {
|
|
@@ -5266,6 +5966,7 @@
|
|
|
5266
5966
|
"slots": [
|
|
5267
5967
|
{
|
|
5268
5968
|
"name": "close",
|
|
5969
|
+
"description": "The close button's content. The default is the sprite's `kt-cross`, so it\nneeds core's icon sprite on the page — imported with `@knitify/core`.",
|
|
5269
5970
|
"vue-properties": [
|
|
5270
5971
|
{
|
|
5271
5972
|
"name": "scope",
|
|
@@ -6152,31 +6853,31 @@
|
|
|
6152
6853
|
"default": "\"Search\""
|
|
6153
6854
|
},
|
|
6154
6855
|
{
|
|
6155
|
-
"name": "
|
|
6856
|
+
"name": "loading",
|
|
6156
6857
|
"required": false,
|
|
6157
6858
|
"value": {
|
|
6158
6859
|
"kind": "expression",
|
|
6159
6860
|
"type": "boolean | undefined"
|
|
6160
6861
|
},
|
|
6161
|
-
"description": "Shows a
|
|
6862
|
+
"description": "Shows a spinner as the last addon and marks the field busy. It stays editable."
|
|
6162
6863
|
},
|
|
6163
6864
|
{
|
|
6164
|
-
"name": "
|
|
6865
|
+
"name": "clearable",
|
|
6165
6866
|
"required": false,
|
|
6166
6867
|
"value": {
|
|
6167
6868
|
"kind": "expression",
|
|
6168
|
-
"type": "
|
|
6869
|
+
"type": "boolean | undefined"
|
|
6169
6870
|
},
|
|
6170
|
-
"description": "
|
|
6871
|
+
"description": "Shows a × that clears the value while there is one. Not for textareas."
|
|
6171
6872
|
},
|
|
6172
6873
|
{
|
|
6173
|
-
"name": "
|
|
6874
|
+
"name": "clearLabel",
|
|
6174
6875
|
"required": false,
|
|
6175
6876
|
"value": {
|
|
6176
6877
|
"kind": "expression",
|
|
6177
|
-
"type": "
|
|
6878
|
+
"type": "string | undefined"
|
|
6178
6879
|
},
|
|
6179
|
-
"description": "
|
|
6880
|
+
"description": "The × button's accessible name. Default `'Clear'`."
|
|
6180
6881
|
},
|
|
6181
6882
|
{
|
|
6182
6883
|
"name": "readonly",
|
|
@@ -6706,7 +7407,7 @@
|
|
|
6706
7407
|
"kind": "expression",
|
|
6707
7408
|
"type": "number | undefined"
|
|
6708
7409
|
},
|
|
6709
|
-
"description": "How many leading columns stay put while the table scrolls sideways, up to\
|
|
7410
|
+
"description": "How many leading columns stay put while the table scrolls sideways, up to\n5. Wrap the table in an `overflow-x: auto` container."
|
|
6710
7411
|
},
|
|
6711
7412
|
{
|
|
6712
7413
|
"name": "pinEnd",
|
|
@@ -6715,7 +7416,7 @@
|
|
|
6715
7416
|
"kind": "expression",
|
|
6716
7417
|
"type": "number | undefined"
|
|
6717
7418
|
},
|
|
6718
|
-
"description": "How many trailing columns stay put, up to
|
|
7419
|
+
"description": "How many trailing columns stay put, up to 5 — e.g. an actions column."
|
|
6719
7420
|
},
|
|
6720
7421
|
{
|
|
6721
7422
|
"name": "size",
|
|
@@ -6745,6 +7446,16 @@
|
|
|
6745
7446
|
},
|
|
6746
7447
|
"description": "Pins the header to the top of the nearest scrolling ancestor — a\nheight-capped `overflow: auto` wrapper, or the page. Offset it with the\n`--kt-table-sticky-top` CSS variable, e.g. below a fixed navbar.",
|
|
6747
7448
|
"default": "false"
|
|
7449
|
+
},
|
|
7450
|
+
{
|
|
7451
|
+
"name": "striped",
|
|
7452
|
+
"required": false,
|
|
7453
|
+
"value": {
|
|
7454
|
+
"kind": "expression",
|
|
7455
|
+
"type": "boolean | undefined"
|
|
7456
|
+
},
|
|
7457
|
+
"description": "Tints every other body row.",
|
|
7458
|
+
"default": "false"
|
|
6748
7459
|
}
|
|
6749
7460
|
],
|
|
6750
7461
|
"js": {
|
|
@@ -6861,6 +7572,16 @@
|
|
|
6861
7572
|
"description": "Disables every tab. The active panel stays visible, and `v-model` can\nstill switch it.",
|
|
6862
7573
|
"default": "false"
|
|
6863
7574
|
},
|
|
7575
|
+
{
|
|
7576
|
+
"name": "filled",
|
|
7577
|
+
"required": false,
|
|
7578
|
+
"value": {
|
|
7579
|
+
"kind": "expression",
|
|
7580
|
+
"type": "boolean | undefined"
|
|
7581
|
+
},
|
|
7582
|
+
"description": "Gives inactive tabs a surface background instead of a transparent one.\nCombines with any variant and with `merged`.",
|
|
7583
|
+
"default": "false"
|
|
7584
|
+
},
|
|
6864
7585
|
{
|
|
6865
7586
|
"name": "listClass",
|
|
6866
7587
|
"required": false,
|
|
@@ -6870,6 +7591,16 @@
|
|
|
6870
7591
|
},
|
|
6871
7592
|
"description": "Classes for the tablist, where the variant class also goes."
|
|
6872
7593
|
},
|
|
7594
|
+
{
|
|
7595
|
+
"name": "merged",
|
|
7596
|
+
"required": false,
|
|
7597
|
+
"value": {
|
|
7598
|
+
"kind": "expression",
|
|
7599
|
+
"type": "boolean | undefined"
|
|
7600
|
+
},
|
|
7601
|
+
"description": "Joins the tab buttons into one control: no gap between them, and only the\nouter corners rounded. Combines with the `pills` variant; not meant for\n`underline`.",
|
|
7602
|
+
"default": "false"
|
|
7603
|
+
},
|
|
6873
7604
|
{
|
|
6874
7605
|
"name": "noContent",
|
|
6875
7606
|
"required": false,
|
|
@@ -6880,6 +7611,16 @@
|
|
|
6880
7611
|
"description": "Renders the tablist alone, without the panels' wrapper — for tabs that\ndrive content elsewhere through `v-model`. The default slot is ignored.",
|
|
6881
7612
|
"default": "false"
|
|
6882
7613
|
},
|
|
7614
|
+
{
|
|
7615
|
+
"name": "secondary",
|
|
7616
|
+
"required": false,
|
|
7617
|
+
"value": {
|
|
7618
|
+
"kind": "expression",
|
|
7619
|
+
"type": "boolean | undefined"
|
|
7620
|
+
},
|
|
7621
|
+
"description": "A light active tab, matching `KButton`'s `secondary`: the subtler brand\nfill with base text. Combines with `pills`, `filled` and `merged`; has no\neffect on `underline`.",
|
|
7622
|
+
"default": "false"
|
|
7623
|
+
},
|
|
6883
7624
|
{
|
|
6884
7625
|
"name": "variant",
|
|
6885
7626
|
"required": false,
|
|
@@ -7131,10 +7872,10 @@
|
|
|
7131
7872
|
"name": "update:modelValue"
|
|
7132
7873
|
},
|
|
7133
7874
|
{
|
|
7134
|
-
"name": "
|
|
7875
|
+
"name": "add"
|
|
7135
7876
|
},
|
|
7136
7877
|
{
|
|
7137
|
-
"name": "
|
|
7878
|
+
"name": "invalid"
|
|
7138
7879
|
},
|
|
7139
7880
|
{
|
|
7140
7881
|
"name": "loadError"
|