@wssto2/vue-core 0.20.0 → 0.22.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/CHANGELOG.md +28 -0
- package/README.md +2 -1
- package/dist/{AccountMenuItem.vue_vue_type_script_setup_true_lang-rmH1XbU9.js → AccountMenuItem.vue_vue_type_script_setup_true_lang-C2TmmH38.js} +1 -1
- package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-_TDoIg53.js → ActionRow.vue_vue_type_script_setup_true_lang-BEV0drwF.js} +2 -2
- package/dist/{Activity-BDVYmNgy.js → Activity-COtW_n6d.js} +8 -8
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-DryXyklZ.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-BkZzuICH.js} +3 -3
- package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-QYvbly_-.js → AlertDialog.vue_vue_type_script_setup_true_lang-B0UvzCoE.js} +1 -1
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-DRP4BnMb.js → AsyncSection.vue_vue_type_script_setup_true_lang-DuPS_zMX.js} +4 -4
- package/dist/{Banner.vue_vue_type_script_setup_true_lang-ukLpznql.js → Banner.vue_vue_type_script_setup_true_lang-BXZVOhfH.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-DkRuLqQK.js → Button.vue_vue_type_script_setup_true_lang-CZkTqGtE.js} +1 -1
- package/dist/{Changes-DRij0rEQ.js → Changes-DGjV18aQ.js} +4 -4
- package/dist/CharacteristicsPage-fGnahf62.js +4 -0
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-Aoof1prZ.js → CollectionPage.vue_vue_type_script_setup_true_lang-Bf5WXVFZ.js} +11 -11
- package/dist/CollectionTree.vue_vue_type_script_setup_true_lang-DV0OhquO.js +345 -0
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-DGcNcRkO.js → DataTable.vue_vue_type_script_setup_true_lang-Cw_E8w48.js} +1 -1
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-J04KjxmR.js → DateField.vue_vue_type_script_setup_true_lang-Cn8CNAwM.js} +4 -4
- package/dist/{DeadLetters-Dpm4UY__.js → DeadLetters--js7aeC6.js} +3 -3
- package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-CxNVKoYI.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-lnFUie1d.js} +1 -1
- package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-ByKvrNSg.js → EmptyState.vue_vue_type_script_setup_true_lang-DHmu-UG-.js} +1 -1
- package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-7bIssY9f.js → FormGroup.vue_vue_type_script_setup_true_lang-BUhKKybf.js} +3 -3
- package/dist/{FormRow.vue_vue_type_script_setup_true_lang-okuxbKyI.js → FormRow.vue_vue_type_script_setup_true_lang-B-uth5RB.js} +1 -1
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-CiYprNRr.js → FormView.vue_vue_type_script_setup_true_lang-CoQZG-hB.js} +2 -2
- package/dist/{General-BmVEbYqv.js → General-xayJ3Y-j.js} +7 -7
- package/dist/{HeaderAction.vue_vue_type_script_setup_true_lang-DVfkuOy-.js → HeaderAction.vue_vue_type_script_setup_true_lang-Uw0vwV-o.js} +2 -2
- package/dist/{Icon.vue_vue_type_script_lang-0pW1XBaE.js → Icon.vue_vue_type_script_lang-BIzh8LF1.js} +41 -37
- package/dist/{IconTile.vue_vue_type_script_setup_true_lang-BWHQiA7d.js → IconTile.vue_vue_type_script_setup_true_lang-DRirnJvd.js} +1 -1
- package/dist/{IncidentRecord-DWY6Bws1.js → IncidentRecord-BETFfXbI.js} +15 -15
- package/dist/{IncidentsList-C21UNIhT.js → IncidentsList-BIr3a2To.js} +5 -5
- package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CpEd_Psg.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-DjXYh-p0.js} +1 -1
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-DobycRxf.js → Menu.vue_vue_type_script_setup_true_lang-D2FsOVYA.js} +1 -1
- package/dist/{MenuButton.vue_vue_type_script_setup_true_lang-qDKt6gX9.js → MenuButton.vue_vue_type_script_setup_true_lang-BNzrYIzR.js} +1 -1
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-C0tQAYQ4.js → Modal.vue_vue_type_script_setup_true_lang-BRRMKXOV.js} +2 -2
- package/dist/{NewRolePage-K5zts3e_.js → NewRolePage-B2qo3_Ht.js} +4 -4
- package/dist/{NoAccess.vue_vue_type_script_setup_true_lang-BYnTQCtW.js → NoAccess.vue_vue_type_script_setup_true_lang-CnfE_AEl.js} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-CxgVJrdv.js → NumberField.vue_vue_type_script_setup_true_lang-BDZ_0TH7.js} +2 -2
- package/dist/{Panel.vue_vue_type_script_setup_true_lang-DTCmFSwg.js → Panel.vue_vue_type_script_setup_true_lang-CwcJadT7.js} +1 -1
- package/dist/{PersonAccess.vue_vue_type_script_setup_true_lang-Kp9g93wE.js → PersonAccess.vue_vue_type_script_setup_true_lang-DrD0Y-Zm.js} +11 -11
- package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-D2-uQbSV.js → PhotoViewer.vue_vue_type_script_setup_true_lang-BL485L63.js} +1 -1
- package/dist/{ProfilePage-C3mLBer6.js → ProfilePage-KK6lV4Yd.js} +15 -15
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-Dz5Qw8II.js → RecordHeader.vue_vue_type_script_setup_true_lang-D4PcZnbo.js} +2 -2
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-R3eJKPq5.js → ResourcePage.vue_vue_type_script_setup_true_lang-CpGwm2tv.js} +4 -4
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-CGMpBpnK.js → RoleEditor.vue_vue_type_script_setup_true_lang-DbyVIoj9.js} +12 -12
- package/dist/{RolePage-C62_sGxx.js → RolePage-QLKrhjd_.js} +12 -12
- package/dist/{RolesPage-CS8ryIQq.js → RolesPage-UHWfuxiU.js} +8 -8
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-C6eOVjpa.js → SectionList.vue_vue_type_script_setup_true_lang-BdJ11lZo.js} +2 -2
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-DqDcFvS0.js → SectionNavigator.vue_vue_type_script_setup_true_lang-CnzECivO.js} +4 -4
- package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-Du4YUcw9.js → SegmentedField.vue_vue_type_script_setup_true_lang-D3IZil4q.js} +2 -2
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-BA5YMCXA.js → SelectField.vue_vue_type_script_setup_true_lang-DxCEwED6.js} +6 -6
- package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-BoeV2_MN.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-qKkn3XrU.js} +7 -7
- package/dist/{ServiceAccountRecord-BDkaaOte.js → ServiceAccountRecord-04tOH3XA.js} +17 -17
- package/dist/{ServiceAccountsList-KaZwNlK5.js → ServiceAccountsList-CDtwLH3o.js} +9 -9
- package/dist/{Sessions-DhOpUlRc.js → Sessions-BClXu0cg.js} +5 -5
- package/dist/{SettingsPage-DPzg7zwX.js → SettingsPage-4Dolsr0t.js} +17 -17
- package/dist/{Sheet.vue_vue_type_script_setup_true_lang-C1jpmLYN.js → Sheet.vue_vue_type_script_setup_true_lang-BVU5yzXe.js} +1 -1
- package/dist/{SignIn-4aUxE2LU.js → SignIn-BVQtcHZv.js} +6 -6
- package/dist/{SignInPage-B80pQ8tG.js → SignInPage-2ocu1_7y.js} +5 -5
- package/dist/{SignIns-CLX8Puf1.js → SignIns-CdUgFZ1e.js} +4 -4
- package/dist/SortableList.vue_vue_type_script_setup_true_lang-D2-5Z_jO.js +112 -0
- package/dist/{StatusLine.vue_vue_type_script_setup_true_lang-BN8nG1CW.js → StatusLine.vue_vue_type_script_setup_true_lang-DBkQueB0.js} +1 -1
- package/dist/{SwipeActions.vue_vue_type_script_setup_true_lang-BBqcW3MR.js → SwipeActions.vue_vue_type_script_setup_true_lang-DUjUWq3G.js} +1 -1
- package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-Dw7BbBU4.js → SwitchField.vue_vue_type_script_setup_true_lang-CTMjlNid.js} +2 -2
- package/dist/{Tabs.vue_vue_type_script_setup_true_lang-Cma_ma6V.js → Tabs.vue_vue_type_script_setup_true_lang-7CJto6Mp.js} +1 -1
- package/dist/{TextField.vue_vue_type_script_setup_true_lang-DS6RPR-h.js → TextField.vue_vue_type_script_setup_true_lang-B6Q65aQA.js} +4 -4
- package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-BqpZt1Hv.js → TextareaField.vue_vue_type_script_setup_true_lang-Cj0LKDdo.js} +2 -2
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-BeS1cfqL.js → TimeField.vue_vue_type_script_setup_true_lang-TSnnjMn1.js} +4 -4
- package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-XbbupD9A.js → Timestamp.vue_vue_type_script_setup_true_lang-0WL7PP0j.js} +1 -1
- package/dist/{UserRecord-BFqw2Pi8.js → UserRecord-Ces8OW7J.js} +7 -7
- package/dist/{UsersList-C52C1lN1.js → UsersList-Ad4zHRYa.js} +2 -2
- package/dist/{ViewTabs.vue_vue_type_script_setup_true_lang-CBYrLPL4.js → ViewTabs.vue_vue_type_script_setup_true_lang-BKI5DGuS.js} +1 -1
- package/dist/access/index.js +7 -7
- package/dist/app/index.js +1 -1
- package/dist/{application-cTqMhmFf.js → application-C5fZyCB9.js} +4 -4
- package/dist/button/index.js +1 -1
- package/dist/characteristics/CharacteristicsPage.vue.d.ts +2 -0
- package/dist/characteristics/DeleteDialog.vue.d.ts +22 -0
- package/dist/characteristics/ItemSheet.vue.d.ts +25 -0
- package/dist/characteristics/access.d.ts +3 -0
- package/dist/characteristics/api.d.ts +23 -0
- package/dist/characteristics/context.d.ts +12 -0
- package/dist/characteristics/feature.d.ts +27 -0
- package/dist/characteristics/index.d.ts +10 -0
- package/dist/characteristics/index.js +617 -0
- package/dist/characteristics/model.d.ts +34 -0
- package/dist/characteristics/routes.d.ts +13 -0
- package/dist/collection/CollectionTree.vue.d.ts +51 -0
- package/dist/collection/CollectionTreeBranch.vue.d.ts +12 -0
- package/dist/collection/FileExplorer.vue.d.ts +53 -0
- package/dist/collection/RowMore.vue.d.ts +11 -0
- package/dist/collection/explorer.d.ts +11 -0
- package/dist/collection/index.d.ts +5 -0
- package/dist/collection/index.js +431 -158
- package/dist/collection/tree.d.ts +64 -0
- package/dist/content/index.js +4 -4
- package/dist/controls/SortableList.vue.d.ts +1 -0
- package/dist/controls/index.js +35 -132
- package/dist/form/CharacteristicField.vue.d.ts +36 -0
- package/dist/form/dynamic/schema.d.ts +4 -0
- package/dist/form/index.d.ts +1 -0
- package/dist/form/index.js +1774 -1930
- package/dist/i18n/index.js +39 -39
- package/dist/icon/core.d.ts +4 -0
- package/dist/icon/index.js +1 -1
- package/dist/identity/index.js +2 -2
- package/dist/incidents/index.js +1 -1
- package/dist/{index-DLkQwWt9.js → index-4wyfEeIw.js} +8 -8
- package/dist/{index-CMx77x5P.js → index-DlD5ZlZq.js} +24 -24
- package/dist/{index-CxUfs3Xz.js → index-OVbtHAtG.js} +9 -9
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/modal/index.js +5 -5
- package/dist/modules/characteristics/entities.d.ts +67 -0
- package/dist/modules/characteristics/routes.d.ts +55 -0
- package/dist/modules/characteristics/schemas.d.ts +50 -0
- package/dist/modules/identity/entities.d.ts +1 -0
- package/dist/notifications/index.js +1 -1
- package/dist/onboarding/index.js +1 -1
- package/dist/{options-DIp_lVAj.js → options-DDCG86OV.js} +2 -2
- package/dist/overlay/index.js +4 -4
- package/dist/page/index.js +7 -7
- package/dist/phone/index.js +3 -3
- package/dist/pwa/index.js +3 -3
- package/dist/resource/index.js +1 -1
- package/dist/{resources-BAxfEEv1.js → resources-DkI60fHL.js} +1 -1
- package/dist/router/index.js +1 -1
- package/dist/routes-DC8BWFz8.js +251 -0
- package/dist/{rowLayout-3W9TvFNt.js → rowLayout-zd3Yw6fO.js} +34 -33
- package/dist/shell/index.js +8 -8
- package/dist/state/index.js +8 -8
- package/dist/styles.css +1 -1
- package/dist/{suggestions-D0-qmRFy.js → suggestions-DZ3B5RVH.js} +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/{useCommand-D6K6o6dx.js → useCommand-DerEnzIW.js} +4 -4
- package/dist/{useGroupSheet-Daxi2mzi.js → useGroupSheet-B9TCHIKH.js} +5 -5
- package/dist/{useRecordDialog-CfBp0kuP.js → useRecordDialog-DX97ivZD.js} +1 -1
- package/dist/{useResourceForm-Ddxk7mc0.js → useResourceForm-D8T1snBQ.js} +1 -1
- package/dist/{useTypedEntry-r4AqWlV7.js → useTypedEntry-CTkgM29Y.js} +2 -2
- package/package.json +8 -3
- package/src/styles/base.css +6 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { RowAction } from "./columns";
|
|
2
|
+
import { type TreeColumn, type TreeNode, type TreeReorder } from "./tree";
|
|
3
|
+
declare const _default: <Node extends TreeNode<Node>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onToggle?: ((node: Node, active: boolean) => any) | undefined;
|
|
6
|
+
readonly onAdd?: ((parent: Node | null) => any) | undefined;
|
|
7
|
+
readonly onOpen?: ((node: Node) => any) | undefined;
|
|
8
|
+
readonly onReorder?: ((change: TreeReorder) => any) | undefined;
|
|
9
|
+
readonly "onUpdate:expanded"?: ((value: readonly (string | number)[]) => any) | undefined;
|
|
10
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onToggle" | "onAdd" | "onOpen" | "onReorder" | "onUpdate:expanded"> & ({
|
|
11
|
+
nodes: readonly Node[];
|
|
12
|
+
columns?: readonly TreeColumn<Node>[];
|
|
13
|
+
/** The accessible name of the tree. */
|
|
14
|
+
label: string;
|
|
15
|
+
reorderable?: boolean;
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
search?: string;
|
|
18
|
+
/** Rows to leave out, besides the search's. */
|
|
19
|
+
filter?: (node: Node) => boolean;
|
|
20
|
+
activeLabel?: string;
|
|
21
|
+
addLabel?: (parent: Node | null, level: number) => string | null;
|
|
22
|
+
rowActions?: (node: Node, depth: number) => RowAction[];
|
|
23
|
+
/** The header of the name column. */
|
|
24
|
+
nameLabel?: string;
|
|
25
|
+
} & {
|
|
26
|
+
/** The ids of the open groups. */
|
|
27
|
+
expanded?: readonly (string | number)[];
|
|
28
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
29
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
30
|
+
attrs: any;
|
|
31
|
+
slots: {
|
|
32
|
+
[name: `cell-${string}`]: (scope: {
|
|
33
|
+
node: Node;
|
|
34
|
+
depth: number;
|
|
35
|
+
}) => unknown;
|
|
36
|
+
/** A row's icon; by default a folder for a group and a tag for an item. */
|
|
37
|
+
icon?: (scope: {
|
|
38
|
+
node: Node;
|
|
39
|
+
depth: number;
|
|
40
|
+
}) => unknown;
|
|
41
|
+
/** What shows when there are no rows. */
|
|
42
|
+
empty?: () => unknown;
|
|
43
|
+
};
|
|
44
|
+
emit: (((evt: "toggle", node: Node, active: boolean) => void) & ((evt: "add", parent: Node | null) => void) & ((evt: "open", node: Node) => void) & ((evt: "reorder", change: TreeReorder) => void)) & ((evt: "update:expanded", value: readonly (string | number)[]) => void);
|
|
45
|
+
}>) => import("vue").VNode & {
|
|
46
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_PrettifyLocal<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type LooseNode } from "./tree";
|
|
2
|
+
/**
|
|
3
|
+
* The children of one parent (internal to `CollectionTree`): a sortable list of rows, each with its own branch below it while it is open,
|
|
4
|
+
* and the "add" row at the end of an open branch. Rows can only be reordered among their siblings because each branch is its own list.
|
|
5
|
+
*/
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
nodes: readonly LooseNode[];
|
|
8
|
+
parent: LooseNode | null;
|
|
9
|
+
depth: number;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { PageAction } from "../page/types";
|
|
2
|
+
import { type Column, type RowAction } from "./columns";
|
|
3
|
+
import type { ExplorerCrumb, ExplorerRow } from "./explorer";
|
|
4
|
+
import type { CellSlots } from "./slots";
|
|
5
|
+
declare const _default: <Row extends ExplorerRow, const Col extends Column<Row, never>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
7
|
+
readonly onOpen?: ((row: Row) => any) | undefined;
|
|
8
|
+
readonly "onUpdate:selected"?: ((value: readonly (string | number)[]) => any) | undefined;
|
|
9
|
+
readonly "onUpdate:folder"?: ((value: string | null) => any) | undefined;
|
|
10
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onOpen" | "onUpdate:selected" | "onUpdate:folder"> & ({
|
|
11
|
+
rows: readonly Row[];
|
|
12
|
+
columns: readonly Col[];
|
|
13
|
+
/** The accessible name of the table ("Pages and directories"). */
|
|
14
|
+
label: string;
|
|
15
|
+
/** Root first, the open folder last. Without it no breadcrumb shows. */
|
|
16
|
+
breadcrumb?: readonly ExplorerCrumb[];
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
/** The row's menu: More at its end. */
|
|
19
|
+
rowActions?: (row: Row) => RowAction[];
|
|
20
|
+
/** The bar of buttons over the ticked rows. */
|
|
21
|
+
selectionActions?: (rows: readonly Row[]) => readonly PageAction[];
|
|
22
|
+
/** The query parameter that holds the open folder; `null` keeps the folder out of the URL. */
|
|
23
|
+
param?: string | null;
|
|
24
|
+
/** The header of the name column. */
|
|
25
|
+
nameLabel?: string;
|
|
26
|
+
} & {
|
|
27
|
+
/** The ids of the ticked rows. */
|
|
28
|
+
selected?: readonly (string | number)[];
|
|
29
|
+
/** The id of the open folder, `null` at the root. */
|
|
30
|
+
folder?: string | null;
|
|
31
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
32
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
33
|
+
attrs: any;
|
|
34
|
+
slots: CellSlots<Row, Col> & {
|
|
35
|
+
/** Before the breadcrumb: the host picker. */
|
|
36
|
+
switch?: () => unknown;
|
|
37
|
+
/** The page's own buttons at the end of the header (upload, new folder, New). */
|
|
38
|
+
toolbar?: () => unknown;
|
|
39
|
+
/** A row's icon; by default the kind's. */
|
|
40
|
+
icon?: (scope: {
|
|
41
|
+
item: Row;
|
|
42
|
+
}) => unknown;
|
|
43
|
+
/** What an empty folder shows. */
|
|
44
|
+
empty?: () => unknown;
|
|
45
|
+
};
|
|
46
|
+
emit: ((evt: "open", row: Row) => void) & (((evt: "update:selected", value: readonly (string | number)[]) => void) & ((evt: "update:folder", value: string | null) => void));
|
|
47
|
+
}>) => import("vue").VNode & {
|
|
48
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_PrettifyLocal<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RowAction } from "./columns";
|
|
2
|
+
/**
|
|
3
|
+
* The More button of a row and the menu of its actions, for the explorer and the tree (internal). A row without actions shows nothing.
|
|
4
|
+
* `label` names the row ("More actions: Kontakt"), so the buttons of a list are told apart.
|
|
5
|
+
*/
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
actions: readonly RowAction[];
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** What a `FileExplorer` row is: a folder, a page, a link or a file; the app's rows carry whatever else the columns show. */
|
|
2
|
+
export interface ExplorerRow {
|
|
3
|
+
readonly id: string | number;
|
|
4
|
+
readonly kind: "folder" | "page" | "link" | "file";
|
|
5
|
+
readonly name: string;
|
|
6
|
+
}
|
|
7
|
+
/** One step of a `FileExplorer` breadcrumb: the folder's id (`null`: the root) and its name. */
|
|
8
|
+
export interface ExplorerCrumb {
|
|
9
|
+
readonly id: string | null;
|
|
10
|
+
readonly label: string;
|
|
11
|
+
}
|
|
@@ -29,3 +29,8 @@ export { createPicker } from "./picker";
|
|
|
29
29
|
export type { Picker, PickerOptions } from "./picker";
|
|
30
30
|
export { default as PickerModal } from "./PickerModal.vue";
|
|
31
31
|
export { default as DynamicCollection } from "./DynamicCollection.vue";
|
|
32
|
+
export { default as FileExplorer } from "./FileExplorer.vue";
|
|
33
|
+
export type { ExplorerCrumb, ExplorerRow } from "./explorer";
|
|
34
|
+
export { default as CollectionTree } from "./CollectionTree.vue";
|
|
35
|
+
export { matchesText, visibleNodes } from "./tree";
|
|
36
|
+
export type { TreeColumn, TreeNode, TreeReorder } from "./tree";
|