@frplm/ui 0.1.0-alpha.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 +20 -0
- package/dist/index.js +2034 -0
- package/dist/style.css +1 -0
- package/dist/types/sdk/src/HostSdkBindings.d.ts +45 -0
- package/dist/types/sdk/src/HostSdkBindings.d.ts.map +1 -0
- package/dist/types/sdk/src/components.d.ts +15 -0
- package/dist/types/sdk/src/components.d.ts.map +1 -0
- package/dist/types/src/App.vue.d.ts +4 -0
- package/dist/types/src/App.vue.d.ts.map +1 -0
- package/dist/types/src/app/router.d.ts +4 -0
- package/dist/types/src/app/router.d.ts.map +1 -0
- package/dist/types/src/components/char/CharacterEditor.vue.d.ts +18 -0
- package/dist/types/src/components/char/CharacterEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/char/CharacterLanding.vue.d.ts +4 -0
- package/dist/types/src/components/char/CharacterLanding.vue.d.ts.map +1 -0
- package/dist/types/src/components/char/StartingLocation.vue.d.ts +12 -0
- package/dist/types/src/components/char/StartingLocation.vue.d.ts.map +1 -0
- package/dist/types/src/components/chat/Chat.vue.d.ts +15 -0
- package/dist/types/src/components/chat/Chat.vue.d.ts.map +1 -0
- package/dist/types/src/components/chat/ChatBar.vue.d.ts +12 -0
- package/dist/types/src/components/chat/ChatBar.vue.d.ts.map +1 -0
- package/dist/types/src/components/chat/ChatMessage.vue.d.ts +15 -0
- package/dist/types/src/components/chat/ChatMessage.vue.d.ts.map +1 -0
- package/dist/types/src/components/chat/ConfigSidebar.vue.d.ts +12 -0
- package/dist/types/src/components/chat/ConfigSidebar.vue.d.ts.map +1 -0
- package/dist/types/src/components/chat/PromptDebug.vue.d.ts +8 -0
- package/dist/types/src/components/chat/PromptDebug.vue.d.ts.map +1 -0
- package/dist/types/src/components/connections/APIKeysPopup.vue.d.ts +8 -0
- package/dist/types/src/components/connections/APIKeysPopup.vue.d.ts.map +1 -0
- package/dist/types/src/components/connections/ConnectionLanding.vue.d.ts +4 -0
- package/dist/types/src/components/connections/ConnectionLanding.vue.d.ts.map +1 -0
- package/dist/types/src/components/connections/LLMEditor.vue.d.ts +12 -0
- package/dist/types/src/components/connections/LLMEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/errors/GlobalError.vue.d.ts +4 -0
- package/dist/types/src/components/errors/GlobalError.vue.d.ts.map +1 -0
- package/dist/types/src/components/extension/ExtensionConfigs.vue.d.ts +4 -0
- package/dist/types/src/components/extension/ExtensionConfigs.vue.d.ts.map +1 -0
- package/dist/types/src/components/layout/EmptyView.vue.d.ts +4 -0
- package/dist/types/src/components/layout/EmptyView.vue.d.ts.map +1 -0
- package/dist/types/src/components/lorebooks/EntryEditor.vue.d.ts +19 -0
- package/dist/types/src/components/lorebooks/EntryEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/lorebooks/LorebookEditor.vue.d.ts +18 -0
- package/dist/types/src/components/lorebooks/LorebookEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/lorebooks/LorebookLanding.vue.d.ts +4 -0
- package/dist/types/src/components/lorebooks/LorebookLanding.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/AutoCompleteBox.vue.d.ts +22 -0
- package/dist/types/src/components/primitive-editors/AutoCompleteBox.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/BooleanTickBox.vue.d.ts +22 -0
- package/dist/types/src/components/primitive-editors/BooleanTickBox.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/BooleanToggle.vue.d.ts +22 -0
- package/dist/types/src/components/primitive-editors/BooleanToggle.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/LongTextBox.vue.d.ts +22 -0
- package/dist/types/src/components/primitive-editors/LongTextBox.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/NumberInput.vue.d.ts +36 -0
- package/dist/types/src/components/primitive-editors/NumberInput.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/NumberSlider.vue.d.ts +28 -0
- package/dist/types/src/components/primitive-editors/NumberSlider.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/ShortTextBox.vue.d.ts +20 -0
- package/dist/types/src/components/primitive-editors/ShortTextBox.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/SingleAutoComplete.vue.d.ts +26 -0
- package/dist/types/src/components/primitive-editors/SingleAutoComplete.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/SingleEnumInput.vue.d.ts +26 -0
- package/dist/types/src/components/primitive-editors/SingleEnumInput.vue.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/components.d.ts +10 -0
- package/dist/types/src/components/primitive-editors/components.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/index.d.ts +3 -0
- package/dist/types/src/components/primitive-editors/index.d.ts.map +1 -0
- package/dist/types/src/components/primitive-editors/plugin.d.ts +3 -0
- package/dist/types/src/components/primitive-editors/plugin.d.ts.map +1 -0
- package/dist/types/src/components/prompts/PromptSectionEditor.vue.d.ts +17 -0
- package/dist/types/src/components/prompts/PromptSectionEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/prompts/PromptTemplateEditor.vue.d.ts +12 -0
- package/dist/types/src/components/prompts/PromptTemplateEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/prompts/PromptTemplatePicker.vue.d.ts +8 -0
- package/dist/types/src/components/prompts/PromptTemplatePicker.vue.d.ts.map +1 -0
- package/dist/types/src/components/session/NewSessionPopUp.vue.d.ts +26 -0
- package/dist/types/src/components/session/NewSessionPopUp.vue.d.ts.map +1 -0
- package/dist/types/src/components/session/SessionList.vue.d.ts +4 -0
- package/dist/types/src/components/session/SessionList.vue.d.ts.map +1 -0
- package/dist/types/src/components/session/SessionTease.vue.d.ts +17 -0
- package/dist/types/src/components/session/SessionTease.vue.d.ts.map +1 -0
- package/dist/types/src/components/settings/Settings.vue.d.ts +4 -0
- package/dist/types/src/components/settings/Settings.vue.d.ts.map +1 -0
- package/dist/types/src/components/settings/ThemeSettings.vue.d.ts +4 -0
- package/dist/types/src/components/settings/ThemeSettings.vue.d.ts.map +1 -0
- package/dist/types/src/components/space/ConnectLocationPrompt.vue.d.ts +16 -0
- package/dist/types/src/components/space/ConnectLocationPrompt.vue.d.ts.map +1 -0
- package/dist/types/src/components/space/EdgeEditor.vue.d.ts +20 -0
- package/dist/types/src/components/space/EdgeEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/space/LocationEdgesEditor.vue.d.ts +21 -0
- package/dist/types/src/components/space/LocationEdgesEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/space/LocationEditor.vue.d.ts +21 -0
- package/dist/types/src/components/space/LocationEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/space/RegionEditor.vue.d.ts +12 -0
- package/dist/types/src/components/space/RegionEditor.vue.d.ts.map +1 -0
- package/dist/types/src/components/space/WorldEdit.vue.d.ts +12 -0
- package/dist/types/src/components/space/WorldEdit.vue.d.ts.map +1 -0
- package/dist/types/src/components/space/WorldLanding.vue.d.ts +4 -0
- package/dist/types/src/components/space/WorldLanding.vue.d.ts.map +1 -0
- package/dist/types/src/components/space/WorldLocationGraph.vue.d.ts +8 -0
- package/dist/types/src/components/space/WorldLocationGraph.vue.d.ts.map +1 -0
- package/dist/types/src/components/tags/TagAutocomplete.vue.d.ts +19 -0
- package/dist/types/src/components/tags/TagAutocomplete.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/FieldEditorWrapper.vue.d.ts +22 -0
- package/dist/types/src/components/utils/FieldEditorWrapper.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/PrologValidator.vue.d.ts +11 -0
- package/dist/types/src/components/utils/PrologValidator.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/SearchBar.vue.d.ts +19 -0
- package/dist/types/src/components/utils/SearchBar.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/buttons/IconButton.vue.d.ts +30 -0
- package/dist/types/src/components/utils/buttons/IconButton.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/img/AvatarDisplay.vue.d.ts +4 -0
- package/dist/types/src/components/utils/img/AvatarDisplay.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/list/Card.vue.d.ts +36 -0
- package/dist/types/src/components/utils/list/Card.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/list/List.vue.d.ts +28 -0
- package/dist/types/src/components/utils/list/List.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/list/SimpleList.vue.d.ts +26 -0
- package/dist/types/src/components/utils/list/SimpleList.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/panels/Expandable.vue.d.ts +57 -0
- package/dist/types/src/components/utils/panels/Expandable.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/panels/ExpandableSplitPanel.vue.d.ts +58 -0
- package/dist/types/src/components/utils/panels/ExpandableSplitPanel.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/panels/SplitPanel.vue.d.ts +24 -0
- package/dist/types/src/components/utils/panels/SplitPanel.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/prompts/EnumPrompt.vue.d.ts +29 -0
- package/dist/types/src/components/utils/prompts/EnumPrompt.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/prompts/InlinePopover.vue.d.ts +50 -0
- package/dist/types/src/components/utils/prompts/InlinePopover.vue.d.ts.map +1 -0
- package/dist/types/src/components/utils/prompts/WindowPrompt.vue.d.ts +53 -0
- package/dist/types/src/components/utils/prompts/WindowPrompt.vue.d.ts.map +1 -0
- package/dist/types/src/config.d.ts +2 -0
- package/dist/types/src/config.d.ts.map +1 -0
- package/dist/types/src/core/ABSEntity.d.ts +63 -0
- package/dist/types/src/core/ABSEntity.d.ts.map +1 -0
- package/dist/types/src/core/FieldMetadata.d.ts +38 -0
- package/dist/types/src/core/FieldMetadata.d.ts.map +1 -0
- package/dist/types/src/core/GlobalError.d.ts +10 -0
- package/dist/types/src/core/GlobalError.d.ts.map +1 -0
- package/dist/types/src/core/interfaces.d.ts +11 -0
- package/dist/types/src/core/interfaces.d.ts.map +1 -0
- package/dist/types/src/core/queries.d.ts +13 -0
- package/dist/types/src/core/queries.d.ts.map +1 -0
- package/dist/types/src/core/theme.d.ts +45 -0
- package/dist/types/src/core/theme.d.ts.map +1 -0
- package/dist/types/src/domain/Characters.d.ts +52 -0
- package/dist/types/src/domain/Characters.d.ts.map +1 -0
- package/dist/types/src/domain/Connection.d.ts +66 -0
- package/dist/types/src/domain/Connection.d.ts.map +1 -0
- package/dist/types/src/domain/EntityTypes.d.ts +23 -0
- package/dist/types/src/domain/EntityTypes.d.ts.map +1 -0
- package/dist/types/src/domain/Lorebook.d.ts +84 -0
- package/dist/types/src/domain/Lorebook.d.ts.map +1 -0
- package/dist/types/src/domain/Prompts.d.ts +85 -0
- package/dist/types/src/domain/Prompts.d.ts.map +1 -0
- package/dist/types/src/domain/Session.d.ts +61 -0
- package/dist/types/src/domain/Session.d.ts.map +1 -0
- package/dist/types/src/domain/Tag.d.ts +18 -0
- package/dist/types/src/domain/Tag.d.ts.map +1 -0
- package/dist/types/src/domain/World.d.ts +87 -0
- package/dist/types/src/domain/World.d.ts.map +1 -0
- package/dist/types/src/extensions/HostBindings.d.ts +2 -0
- package/dist/types/src/extensions/HostBindings.d.ts.map +1 -0
- package/dist/types/src/extensions/extensions.d.ts +18 -0
- package/dist/types/src/extensions/extensions.d.ts.map +1 -0
- package/dist/types/src/extensions/registerPrimitiveEditors.d.ts +2 -0
- package/dist/types/src/extensions/registerPrimitiveEditors.d.ts.map +1 -0
- package/dist/types/src/services/apiClient.d.ts +34 -0
- package/dist/types/src/services/apiClient.d.ts.map +1 -0
- package/dist/types/src/services/tokenizer.d.ts +30 -0
- package/dist/types/src/services/tokenizer.d.ts.map +1 -0
- package/dist/types/src/types/ChatCompletions.d.ts +14 -0
- package/dist/types/src/types/ChatCompletions.d.ts.map +1 -0
- package/dist/types/src/types/DTOs.d.ts +19 -0
- package/dist/types/src/types/DTOs.d.ts.map +1 -0
- package/dist/types/src/types/Equatable.d.ts +9 -0
- package/dist/types/src/types/Equatable.d.ts.map +1 -0
- package/dist/types/src/utils/CommonFields.d.ts +6 -0
- package/dist/types/src/utils/CommonFields.d.ts.map +1 -0
- package/dist/types/src/utils/CustomSet.d.ts +12 -0
- package/dist/types/src/utils/CustomSet.d.ts.map +1 -0
- package/dist/types/src/utils/PromptThings.d.ts +10 -0
- package/dist/types/src/utils/PromptThings.d.ts.map +1 -0
- package/dist/types/src/utils/ReferenceCodec.d.ts +17 -0
- package/dist/types/src/utils/ReferenceCodec.d.ts.map +1 -0
- package/dist/types/ui/src/index.d.ts +10 -0
- package/dist/types/ui/src/index.d.ts.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
type?: "button" | "submit" | "reset";
|
|
6
|
+
variant?: "default" | "accent" | "danger";
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
click: (event: MouseEvent) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
type: "button" | "submit" | "reset";
|
|
19
|
+
loading: boolean;
|
|
20
|
+
variant: "default" | "accent" | "danger";
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=IconButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/buttons/IconButton.vue"],"names":[],"mappings":"AAkLA,KAAK,WAAW,GAAG;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;CAC3C,CAAC;AAsFN,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;cAjGC,OAAO;UAEX,QAAQ,GAAG,QAAQ,GAAG,OAAO;aAD1B,OAAO;aAEP,SAAS,GAAG,QAAQ,GAAG,QAAQ;6EAkG7C,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=AvatarDisplay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarDisplay.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/img/AvatarDisplay.vue"],"names":[],"mappings":"AA+IA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ABSEntity } from "@/core/ABSEntity";
|
|
2
|
+
import type { DataRecord } from "@/types/DTOs";
|
|
3
|
+
declare const __VLS_export: <Data extends DataRecord, EntityType extends ABSEntity<any, Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
5
|
+
/**
|
|
6
|
+
* Retained as `character` for compatibility with existing
|
|
7
|
+
* consumers. This component supports any ABSEntity.
|
|
8
|
+
*/
|
|
9
|
+
character: EntityType;
|
|
10
|
+
hasDescription?: boolean;
|
|
11
|
+
} & {
|
|
12
|
+
onRemove?: ((element: EntityType) => any) | undefined;
|
|
13
|
+
onOpen?: ((element: EntityType) => any) | undefined;
|
|
14
|
+
onEdit?: ((element: EntityType) => any) | undefined;
|
|
15
|
+
}> & (typeof globalThis extends {
|
|
16
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
17
|
+
} ? P : {});
|
|
18
|
+
expose: (exposed: {}) => void;
|
|
19
|
+
attrs: any;
|
|
20
|
+
slots: {};
|
|
21
|
+
emit: {
|
|
22
|
+
(event: "open", element: EntityType): void;
|
|
23
|
+
(event: "edit", element: EntityType): void;
|
|
24
|
+
(event: "remove", element: EntityType): void;
|
|
25
|
+
};
|
|
26
|
+
}>) => import("vue").VNode & {
|
|
27
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
28
|
+
};
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|
|
36
|
+
//# sourceMappingURL=Card.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/list/Card.vue"],"names":[],"mappings":"AAsbA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,QAAA,MAAM,YAAY,GACd,IAAI,SAAS,UAAU,EACvB,UAAU,SAAS,SAAS,CAAC,GAAG,EAAE,IAAI,CAAC,EAE1C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA6QO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;QA3QlD;;;WAGG;mBACQ,UAAU;yBACJ,OAAO;;;;;KAsQ6D,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;WACH,EAAE;;gBA/PA,MAAM,WAAW,UAAU,GAAG,IAAI;gBAClC,MAAM,WAAW,UAAU,GAAG,IAAI;gBAClC,QAAQ,WAAW,UAAU,GAAG,IAAI;;EAgQ1C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ABSEntity } from "@/core/ABSEntity";
|
|
2
|
+
declare const __VLS_export: <Ent extends ABSEntity<any, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
elements: Ent[];
|
|
5
|
+
} & {
|
|
6
|
+
onRemove?: ((element: Ent) => any) | undefined;
|
|
7
|
+
onOpen?: ((element: Ent) => any) | undefined;
|
|
8
|
+
onEdit?: ((element: Ent) => any) | undefined;
|
|
9
|
+
onCreate?: (() => any) | undefined;
|
|
10
|
+
"onUpdate:elements"?: ((value: Ent[]) => any) | undefined;
|
|
11
|
+
}> & (typeof globalThis extends {
|
|
12
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
13
|
+
} ? P : {});
|
|
14
|
+
expose: (exposed: {}) => void;
|
|
15
|
+
attrs: any;
|
|
16
|
+
slots: {};
|
|
17
|
+
emit: (((event: "remove", element: Ent) => void) & ((event: "open", element: Ent) => void) & ((event: "edit", element: Ent) => void) & ((event: "create") => void)) & ((event: "update:elements", value: Ent[]) => void);
|
|
18
|
+
}>) => import("vue").VNode & {
|
|
19
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} : {
|
|
26
|
+
[K in keyof T as K]: T[K];
|
|
27
|
+
}) & {};
|
|
28
|
+
//# sourceMappingURL=List.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/list/List.vue"],"names":[],"mappings":"AAiHA,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAI3C,QAAA,MAAM,YAAY,GAAK,GAAG,SAAS,SAAS,CAAC,GAAG,EAAC,GAAG,CAAC,EACpD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA0KO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;kBA1H5C,GAAG,EAAE;;;;;;;KA0H0E,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;WACH,EAAE;UACH,kNAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DataRecord, ABSEntity, KeyRecord } from "@/core/ABSEntity";
|
|
2
|
+
declare const __VLS_export: <Key extends KeyRecord, Data extends DataRecord, T extends ABSEntity<Key, Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
elements: T[];
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
preSelected?: T | null;
|
|
7
|
+
} & {
|
|
8
|
+
onSelect?: ((element: T) => any) | undefined;
|
|
9
|
+
}> & (typeof globalThis extends {
|
|
10
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
11
|
+
} ? P : {});
|
|
12
|
+
expose: (exposed: {}) => void;
|
|
13
|
+
attrs: any;
|
|
14
|
+
slots: {};
|
|
15
|
+
emit: (e: "select", element: T) => void;
|
|
16
|
+
}>) => import("vue").VNode & {
|
|
17
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} : {
|
|
24
|
+
[K in keyof T as K]: T[K];
|
|
25
|
+
}) & {};
|
|
26
|
+
//# sourceMappingURL=SimpleList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleList.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/list/SimpleList.vue"],"names":[],"mappings":"AAkJA,OAAO,EAAC,UAAU,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAGlE,QAAA,MAAM,YAAY,GAAK,GAAG,SAAS,SAAS,EAAE,IAAI,SAAS,UAAU,EAAE,CAAC,SAAS,SAAS,CAAC,GAAG,EAAC,IAAI,CAAC,EACnG,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAsWO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;kBAnW5C,CAAC,EAAE;sBACC,MAAM;sBACL,CAAC,GAAG,IAAI;;;KAiWkE,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;WACH,EAAE;cA/VJ,QAAQ,WAAW,CAAC,KAAG,IAAI;EAkW7B,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export type ExpandableVariant = "default" | "compact" | "card";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
info?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
initiallyOpen?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
variant?: ExpandableVariant;
|
|
9
|
+
showEnabledToggle?: boolean;
|
|
10
|
+
enabled?: boolean;
|
|
11
|
+
enabledLabel?: string;
|
|
12
|
+
};
|
|
13
|
+
declare function toggle(): void;
|
|
14
|
+
declare var __VLS_6: {
|
|
15
|
+
open: boolean;
|
|
16
|
+
enabled: boolean;
|
|
17
|
+
toggle: typeof toggle;
|
|
18
|
+
}, __VLS_21: {
|
|
19
|
+
open: true;
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Slots = {} & {
|
|
23
|
+
actions?: (props: typeof __VLS_6) => any;
|
|
24
|
+
} & {
|
|
25
|
+
default?: (props: typeof __VLS_21) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
28
|
+
open: () => void;
|
|
29
|
+
close: () => void;
|
|
30
|
+
toggle: typeof toggle;
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
|
+
statusChange: (isOpen: boolean) => any;
|
|
33
|
+
enabledChange: (enabled: boolean) => any;
|
|
34
|
+
"update:enabled": (enabled: boolean) => any;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
+
onStatusChange?: ((isOpen: boolean) => any) | undefined;
|
|
37
|
+
onEnabledChange?: ((enabled: boolean) => any) | undefined;
|
|
38
|
+
"onUpdate:enabled"?: ((enabled: boolean) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
description: string;
|
|
43
|
+
info: string;
|
|
44
|
+
variant: ExpandableVariant;
|
|
45
|
+
initiallyOpen: boolean;
|
|
46
|
+
showEnabledToggle: boolean;
|
|
47
|
+
enabledLabel: string;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=Expandable.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Expandable.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/panels/Expandable.vue"],"names":[],"mappings":"AAuyBA,MAAM,MAAM,iBAAiB,GACvB,S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5
|
+
initialLeftWidth?: number;
|
|
6
|
+
minLeftWidth?: number;
|
|
7
|
+
maxLeftWidth?: number;
|
|
8
|
+
collapsedLeftWidth?: number;
|
|
9
|
+
collapseToZero?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function toggleLeft(): void;
|
|
12
|
+
declare function expandLeft(): void;
|
|
13
|
+
declare function collapseLeft(): void;
|
|
14
|
+
declare var __VLS_1: {
|
|
15
|
+
expanded: boolean;
|
|
16
|
+
toggle: typeof toggleLeft;
|
|
17
|
+
expand: typeof expandLeft;
|
|
18
|
+
collapse: typeof collapseLeft;
|
|
19
|
+
}, __VLS_3: {
|
|
20
|
+
expanded: boolean;
|
|
21
|
+
toggle: typeof toggleLeft;
|
|
22
|
+
expand: typeof expandLeft;
|
|
23
|
+
collapse: typeof collapseLeft;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Slots = {} & {
|
|
26
|
+
left?: (props: typeof __VLS_1) => any;
|
|
27
|
+
} & {
|
|
28
|
+
right?: (props: typeof __VLS_3) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
31
|
+
toggleLeft: typeof toggleLeft;
|
|
32
|
+
expandLeft: typeof expandLeft;
|
|
33
|
+
collapseLeft: typeof collapseLeft;
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
resize: (width: number) => any;
|
|
36
|
+
toggle: (expanded: boolean) => any;
|
|
37
|
+
"update:expanded": (value: boolean) => any;
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
+
onResize?: ((width: number) => any) | undefined;
|
|
40
|
+
onToggle?: ((expanded: boolean) => any) | undefined;
|
|
41
|
+
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
initialLeftWidth: number;
|
|
44
|
+
minLeftWidth: number;
|
|
45
|
+
defaultExpanded: boolean;
|
|
46
|
+
maxLeftWidth: number;
|
|
47
|
+
collapsedLeftWidth: number;
|
|
48
|
+
collapseToZero: boolean;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
51
|
+
declare const _default: typeof __VLS_export;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=ExpandableSplitPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpandableSplitPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/panels/ExpandableSplitPanel.vue"],"names":[],"mappings":"AAuTA,KAAK,WAAW,GAAG;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AA2GN,iBAAS,UAAU,IAAI,IAAI,CAE1B;AAED,iBAAS,UAAU,IAAI,IAAI,CAE1B;AAED,iBAAS,YAAY,IAAI,IAAI,CAE5B;AAwHD,QAAA,IAAI,OAAO;;;;;CAAU,EAAE,OAAO;;;;;CAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO7C,QAAA,MAAM,UAAU;;;;;;;;;;;;;sBA7PS,MAAM;kBACV,MAAM;qBAHH,OAAO;kBAIV,MAAM;wBAEA,MAAM;oBACV,OAAO;6EA6P5B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure UI split panel with persistent width.
|
|
3
|
+
*/
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
initialLeftWidth?: number;
|
|
6
|
+
minLeftWidth?: number;
|
|
7
|
+
storageKey: string;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
left?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
right?: (props: typeof __VLS_3) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: 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>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=SplitPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/panels/SplitPanel.vue"],"names":[],"mappings":"AA4HA;;GAEG;AAEH,KAAK,WAAW,GAAG;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAoGF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO7C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const __VLS_export: <T extends string | number | symbol>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
3
|
+
message: string;
|
|
4
|
+
options: T[];
|
|
5
|
+
labels?: Record<T, string>;
|
|
6
|
+
} & {
|
|
7
|
+
onSelect?: ((option: T) => any) | undefined;
|
|
8
|
+
onClose?: (() => any) | undefined;
|
|
9
|
+
}> & (typeof globalThis extends {
|
|
10
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
11
|
+
} ? P : {});
|
|
12
|
+
expose: (exposed: {}) => void;
|
|
13
|
+
attrs: any;
|
|
14
|
+
slots: {};
|
|
15
|
+
emit: {
|
|
16
|
+
(e: "select", option: T): void;
|
|
17
|
+
(e: "close"): void;
|
|
18
|
+
};
|
|
19
|
+
}>) => import("vue").VNode & {
|
|
20
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} : {
|
|
27
|
+
[K in keyof T as K]: T[K];
|
|
28
|
+
}) & {};
|
|
29
|
+
//# sourceMappingURL=EnumPrompt.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnumPrompt.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/prompts/EnumPrompt.vue"],"names":[],"mappings":"AA+JA,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EACxD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAuIO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBArI7C,MAAM;iBACN,CAAC,EAAE;iBACH,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC;;;;KAmI+D,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;WACH,EAAE;;YAjIJ,QAAQ,UAAU,CAAC,GAAG,IAAI;YAC1B,OAAO,GAAG,IAAI;;EAmIhB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
type PopoverPlacement = "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
buttonLabel?: string;
|
|
5
|
+
placement?: PopoverPlacement;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function openPopover(): Promise<void>;
|
|
9
|
+
declare function closePopover(): void;
|
|
10
|
+
declare function togglePopover(): void;
|
|
11
|
+
declare var __VLS_1: {
|
|
12
|
+
open: boolean;
|
|
13
|
+
toggle: typeof togglePopover;
|
|
14
|
+
}, __VLS_15: {
|
|
15
|
+
close: typeof closePopover;
|
|
16
|
+
}, __VLS_17: {
|
|
17
|
+
close: typeof closePopover;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
trigger?: (props: typeof __VLS_1) => any;
|
|
21
|
+
} & {
|
|
22
|
+
header?: (props: typeof __VLS_15) => any;
|
|
23
|
+
} & {
|
|
24
|
+
default?: (props: typeof __VLS_17) => any;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
27
|
+
open: typeof openPopover;
|
|
28
|
+
close: typeof closePopover;
|
|
29
|
+
toggle: typeof togglePopover;
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
|
+
open: () => any;
|
|
32
|
+
close: () => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
onOpen?: (() => any) | undefined;
|
|
35
|
+
onClose?: (() => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
title: string;
|
|
39
|
+
buttonLabel: string;
|
|
40
|
+
placement: PopoverPlacement;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
|
+
declare const _default: typeof __VLS_export;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=InlinePopover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlinePopover.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/prompts/InlinePopover.vue"],"names":[],"mappings":"AAkrBA,KAAK,gBAAgB,GACf,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,CAAC;AAEnB,KAAK,WAAW,GAAG;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAiJN,iBAAe,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAc1C;AAED,iBAAS,YAAY,IAAI,IAAI,CAS5B;AAED,iBAAS,aAAa,IAAI,IAAI,CAO7B;AA8VD,QAAA,IAAI,OAAO;;;CAAU,EAAE,QAAQ;;CAAW,EAAE,QAAQ;;CAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAShD,QAAA,MAAM,UAAU;;;;;;;;;;;cA/hBC,OAAO;WAHV,MAAM;iBACA,MAAM;eACR,gBAAgB;6EAqiBhC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
4
|
+
title?: string;
|
|
5
|
+
info?: string;
|
|
6
|
+
closeOnBackdrop?: boolean;
|
|
7
|
+
closeOnEscape?: boolean;
|
|
8
|
+
showCloseButton?: boolean;
|
|
9
|
+
resizable?: boolean;
|
|
10
|
+
minWidth?: number;
|
|
11
|
+
minHeight?: number;
|
|
12
|
+
zIndex?: number;
|
|
13
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
close: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
16
|
+
title?: string;
|
|
17
|
+
info?: string;
|
|
18
|
+
closeOnBackdrop?: boolean;
|
|
19
|
+
closeOnEscape?: boolean;
|
|
20
|
+
showCloseButton?: boolean;
|
|
21
|
+
resizable?: boolean;
|
|
22
|
+
minWidth?: number;
|
|
23
|
+
minHeight?: number;
|
|
24
|
+
zIndex?: number;
|
|
25
|
+
}> & Readonly<{
|
|
26
|
+
onClose?: (() => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
minHeight: number;
|
|
29
|
+
minWidth: number;
|
|
30
|
+
zIndex: number;
|
|
31
|
+
closeOnBackdrop: boolean;
|
|
32
|
+
closeOnEscape: boolean;
|
|
33
|
+
showCloseButton: boolean;
|
|
34
|
+
resizable: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
36
|
+
header?: (props: {
|
|
37
|
+
close: () => void;
|
|
38
|
+
}) => any;
|
|
39
|
+
} & {
|
|
40
|
+
default?: (props: {
|
|
41
|
+
close: () => void;
|
|
42
|
+
}) => any;
|
|
43
|
+
} & {
|
|
44
|
+
footer?: (props: {
|
|
45
|
+
close: () => void;
|
|
46
|
+
}) => any;
|
|
47
|
+
}>;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=WindowPrompt.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WindowPrompt.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/utils/prompts/WindowPrompt.vue"],"names":[],"mappings":"wBAkyCqB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;YAsBJ,MAAM;WACP,MAAM;sBACK,OAAO;oBACT,OAAO;sBACL,OAAO;gBACb,OAAO;eACR,MAAM;gBACL,MAAM;aACT,MAAM;;;;YARP,MAAM;WACP,MAAM;sBACK,OAAO;oBACT,OAAO;sBACL,OAAO;gBACb,OAAO;eACR,MAAM;gBACL,MAAM;aACT,MAAM;;;;eADH,MAAM;cADP,MAAM;YAER,MAAM;qBANG,OAAO;mBACT,OAAO;qBACL,OAAO;eACb,OAAO;;aA+hCZ,CAAC,KAAK;qBAv9BD,IAAI;KAu9Bc,KAAK,GAAG;;cAC9B,CAAC,KAAK;qBAx9BF,IAAI;KAw9Be,KAAK,GAAG;;aAChC,CAAC,KAAK;qBAz9BD,IAAI;KAy9Bc,KAAK,GAAG;EAcxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,KAA2C,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { FieldInfo } from "@/core/FieldMetadata";
|
|
2
|
+
import { CommonFields } from "@/utils/CommonFields";
|
|
3
|
+
import { ValueComparable } from "@/types/Equatable";
|
|
4
|
+
import { EntityTypes } from "@/domain/EntityTypes";
|
|
5
|
+
import { DTO } from "@/types/DTOs";
|
|
6
|
+
import { ReferenceParsers } from "@/utils/ReferenceCodec";
|
|
7
|
+
/** JSON-safe primitives typically received from backend SQL row payloads */
|
|
8
|
+
export type Primitives = string | number | boolean | null;
|
|
9
|
+
/** See backend's fields for declaring correct ones */
|
|
10
|
+
export type KeyRecord = Record<string, Primitives>;
|
|
11
|
+
/** See backend's fields for declaring correct ones */
|
|
12
|
+
export type DataRecord = Record<string, Primitives>;
|
|
13
|
+
/** Combination Key-Data fields of an entity type */
|
|
14
|
+
export type EntityField<keys extends KeyRecord, data extends DataRecord> = keyof keys | keyof data;
|
|
15
|
+
export type EntityFieldsMap<keys extends KeyRecord, data extends DataRecord> = Map<EntityField<keys, data>, FieldInfo>;
|
|
16
|
+
export declare abstract class ABSEntity<Key extends KeyRecord, Data extends DataRecord> implements ValueComparable {
|
|
17
|
+
private static registered;
|
|
18
|
+
static initialise(): Promise<void>;
|
|
19
|
+
/** Key attributes of entity (composite identity) */
|
|
20
|
+
readonly key: Readonly<Key>;
|
|
21
|
+
/** Other attributes. Must not collide with KeyMap */
|
|
22
|
+
dataMap: Data;
|
|
23
|
+
constructor(dto: DTO, expected_type?: EntityTypes);
|
|
24
|
+
/** Method used for avoiding duplication of entity type string */
|
|
25
|
+
abstract getEntityType(): EntityTypes;
|
|
26
|
+
protected abstract getReferenceKeyOrder(): readonly (keyof Key & string)[];
|
|
27
|
+
asReference(): string;
|
|
28
|
+
/**
|
|
29
|
+
* Get a value by field name.
|
|
30
|
+
* - Prefers data fields, then key fields.
|
|
31
|
+
* - Overloads provide type-safety when passing known keys at compile time.
|
|
32
|
+
*/
|
|
33
|
+
get<K extends keyof Data>(key: K): Data[K];
|
|
34
|
+
get<K extends keyof Key>(key: K): Key[K];
|
|
35
|
+
getCommon(field: CommonFields): Primitives | null;
|
|
36
|
+
hasAttribute(name: string): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Updates a field of this entity, instantly triggering a patch to the backend.
|
|
39
|
+
* Field names are restricted to Data keys, and values are restricted to the field's type.
|
|
40
|
+
*/
|
|
41
|
+
update<F extends keyof Data>(field: F, value: Data[F]): Promise<boolean>;
|
|
42
|
+
protected throw_if_collision(keys: Key, data: Data): void;
|
|
43
|
+
/** @return true if class types match and all key values are equal */
|
|
44
|
+
equals(other: unknown): boolean;
|
|
45
|
+
toString(): string;
|
|
46
|
+
hashKey(): string;
|
|
47
|
+
private encodePrimitive;
|
|
48
|
+
}
|
|
49
|
+
export declare function getEntityController(objectType: EntityTypes): URL;
|
|
50
|
+
/**
|
|
51
|
+
* @param url mutates, will append params
|
|
52
|
+
* @param key to append
|
|
53
|
+
*/
|
|
54
|
+
export declare function appendIDParams<Key extends KeyRecord>(url: URL, key: Partial<Key>): void;
|
|
55
|
+
export type EntityConstructor<Key extends KeyRecord, Data extends DataRecord, T extends ABSEntity<Key, Data>> = new (dto: DTO, objectType: EntityTypes) => T;
|
|
56
|
+
export declare function fetchFromReference<Key extends KeyRecord, Data extends DataRecord, T extends ABSEntity<Key, Data>>(reference: string, objectType: EntityTypes, keyOrder: readonly (keyof Key & string)[], parsers: ReferenceParsers<Key>, ctor: EntityConstructor<Key, Data, T>): Promise<T>;
|
|
57
|
+
export declare function fetch_all<Key extends KeyRecord, Data extends DataRecord, T extends ABSEntity<Key, Data>>(object_type: EntityTypes, ctor: new (dto: DTO, object_type: EntityTypes) => T): Promise<T[]>;
|
|
58
|
+
export declare function fetchMatching<Key extends KeyRecord, Data extends DataRecord, T extends ABSEntity<Key, Data>>(key: Partial<Key>, object_type: EntityTypes, ctor: new (dto: DTO, object_type: EntityTypes) => T): Promise<T[]>;
|
|
59
|
+
export declare function fetchOne<Key extends KeyRecord, Data extends DataRecord, T extends ABSEntity<Key, Data>>(key: Key, object_type: EntityTypes, ctor: new (dto: DTO, object_type: EntityTypes) => T): Promise<T>;
|
|
60
|
+
export declare function deleteEntity<Key extends KeyRecord>(key: Key, object_type: EntityTypes): Promise<boolean>;
|
|
61
|
+
export declare function createEntity<Key extends KeyRecord, Data extends DataRecord, T extends ABSEntity<Key, Data>>(initial_key: Partial<Key> | null, initial_data: Partial<Data> | null, object_type: EntityTypes, ctor: new (dto: DTO, object_type: EntityTypes) => T): Promise<T>;
|
|
62
|
+
export declare function UpdateEntityField<Data extends DataRecord, Key extends KeyRecord, Field extends keyof Data>(key: Key, field: Field, value: Data[Field], object_type: EntityTypes): Promise<boolean>;
|
|
63
|
+
//# sourceMappingURL=ABSEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ABSEntity.d.ts","sourceRoot":"","sources":["../../../../../src/core/ABSEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAC,GAAG,EAAC,MAAM,cAAc,CAAC;AAEjC,OAAO,EAAiB,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AAIxE,4EAA4E;AAC5E,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAE1D,sDAAsD;AACtD,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AACnD,sDAAsD;AACtD,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AACpD,oDAAoD;AACpD,MAAM,MAAM,WAAW,CAAC,IAAI,SAAS,SAAS,EAAE,IAAI,SAAS,UAAU,IAAK,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC;AACpG,MAAM,MAAM,eAAe,CAAC,IAAI,SAAS,SAAS,EAAE,IAAI,SAAS,UAAU,IAAI,GAAG,CAAC,WAAW,CAAC,IAAI,EAAC,IAAI,CAAC,EAAE,SAAS,CAAC,CAAA;AAErH,8BAAsB,SAAS,CAAC,GAAG,SAAS,SAAS,EAAE,IAAI,SAAS,UAAU,CAAE,YAAW,eAAe;IACtG,OAAO,CAAC,MAAM,CAAC,UAAU,CAA4B;WAExC,UAAU,IAAI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"ENUM"
|
|
7
|
+
}
|
|
8
|
+
export declare enum FormatTypes {
|
|
9
|
+
SHORT_TEXT = "SHORT_TEXT",
|
|
10
|
+
PLAIN = "PLAIN",
|
|
11
|
+
LONG_TEXT = "LONG_TEXT",
|
|
12
|
+
MARKDOWN = "MARKDOWN"
|
|
13
|
+
}
|
|
14
|
+
export declare enum PlaceHolder {
|
|
15
|
+
USER = "{{user}}",
|
|
16
|
+
CHARACTER = "{{char}}"
|
|
17
|
+
}
|
|
18
|
+
export interface Constraints {
|
|
19
|
+
min: number;
|
|
20
|
+
max: number;
|
|
21
|
+
read_only: boolean;
|
|
22
|
+
allowed_placeholders: PlaceHolder[];
|
|
23
|
+
}
|
|
24
|
+
export interface FieldPresentation {
|
|
25
|
+
type: FieldTypes;
|
|
26
|
+
format: FormatTypes;
|
|
27
|
+
placeholder: string;
|
|
28
|
+
}
|
|
29
|
+
export interface DB_Metadata {
|
|
30
|
+
is_key: boolean;
|
|
31
|
+
needed_for_instance: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface FieldInfo {
|
|
34
|
+
presentation: FieldPresentation | null;
|
|
35
|
+
constraints: Constraints | null;
|
|
36
|
+
db_metadata: DB_Metadata | null;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=FieldMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/core/FieldMetadata.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU;IAClB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;CAChB;AACD,oBAAY,WAAW;IACnB,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,QAAQ,aAAa;CACxB;AACD,oBAAY,WAAW;IACnB,IAAI,aAAa;IACjB,SAAS,aAAa;CACzB;AAED,MAAM,WAAW,WAAW;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,OAAO,CAAC;IACnB,oBAAoB,EAAE,WAAW,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,mBAAmB,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,WAAW,SAAS;IACtB,YAAY,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACvC,WAAW,EAAG,WAAW,GAAG,IAAI,CAAC;IACjC,WAAW,EAAG,WAAW,GAAG,IAAI,CAAC;CACpC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ErrorResponse } from "@/services/apiClient";
|
|
2
|
+
export type GlobalErrorEntry = ErrorResponse & {
|
|
3
|
+
id: string;
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const currentGlobalError: import("vue").ComputedRef<GlobalErrorEntry | null>;
|
|
7
|
+
export declare function setGlobalError(error: ErrorResponse): void;
|
|
8
|
+
export declare function dismissGlobalError(id?: string): void;
|
|
9
|
+
export declare function clearGlobalErrors(): void;
|
|
10
|
+
//# sourceMappingURL=GlobalError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalError.d.ts","sourceRoot":"","sources":["../../../../../src/core/GlobalError.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAEnD,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAIF,eAAO,MAAM,kBAAkB,oDAE9B,CAAC;AAUF,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAYzD;AAED,wBAAgB,kBAAkB,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CASpD;AAED,wBAAgB,iBAAiB,IAAI,IAAI,CAExC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/core/interfaces.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAClB,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACf;AACD,iBAAiB;AACjB,MAAM,WAAW,WAAY,SAAQ,aAAa;IAC9C,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DataRecord, EntityField, EntityFieldValue, KeyRecord } from "@/types/DTOs";
|
|
2
|
+
export interface QueryAction<Keys extends KeyRecord, Data extends DataRecord> {
|
|
3
|
+
fieldName: EntityField<Keys, Data>;
|
|
4
|
+
action: QueryActionType;
|
|
5
|
+
value: EntityFieldValue<Keys, Data, any>;
|
|
6
|
+
}
|
|
7
|
+
export declare enum QueryActionType {
|
|
8
|
+
EQUALS = "EQUALS",
|
|
9
|
+
LIKE = "LIKE",
|
|
10
|
+
GREATER_THAN = "GREATER_THAN",
|
|
11
|
+
LESS_THAN = "LESS_THAN"
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=queries.d.ts.map
|