@qikbar/qikbar 0.0.25 → 0.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/LICENSE +21 -0
- package/README.md +121 -0
- package/bin/qikbar.mjs +203 -0
- package/dist/ai/agent.d.ts +42 -0
- package/dist/ai/byok.d.ts +29 -0
- package/dist/ai/embeddings.d.ts +51 -0
- package/dist/ai/index.d.ts +12 -0
- package/dist/ai/mcp.d.ts +84 -0
- package/dist/ai/providers.d.ts +82 -0
- package/dist/ai/sse.d.ts +9 -0
- package/dist/ai.js +54 -0
- package/dist/ai.js.map +7 -0
- package/dist/chunks/bar-P3SCR4SJ.js +2555 -0
- package/dist/chunks/bar-P3SCR4SJ.js.map +7 -0
- package/dist/chunks/chunk-5FI7DNG7.js +271 -0
- package/dist/chunks/chunk-5FI7DNG7.js.map +7 -0
- package/dist/chunks/chunk-INTEVQYK.js +108 -0
- package/dist/chunks/chunk-INTEVQYK.js.map +7 -0
- package/dist/chunks/chunk-JHQAIXM7.js +458 -0
- package/dist/chunks/chunk-JHQAIXM7.js.map +7 -0
- package/dist/chunks/chunk-MPTP2EWW.js +8 -0
- package/dist/chunks/chunk-MPTP2EWW.js.map +7 -0
- package/dist/chunks/chunk-MRHKJ2FZ.js +419 -0
- package/dist/chunks/chunk-MRHKJ2FZ.js.map +7 -0
- package/dist/chunks/chunk-N4Y2Z6YD.js +69 -0
- package/dist/chunks/chunk-N4Y2Z6YD.js.map +7 -0
- package/dist/chunks/chunk-OLXZNYZ4.js +193 -0
- package/dist/chunks/chunk-OLXZNYZ4.js.map +7 -0
- package/dist/chunks/chunk-PQEHV3D4.js +124 -0
- package/dist/chunks/chunk-PQEHV3D4.js.map +7 -0
- package/dist/chunks/chunk-R2AY6LRL.js +575 -0
- package/dist/chunks/chunk-R2AY6LRL.js.map +7 -0
- package/dist/chunks/chunk-TIM4VBM4.js +98 -0
- package/dist/chunks/chunk-TIM4VBM4.js.map +7 -0
- package/dist/chunks/chunk-YCVJQ7U3.js +52 -0
- package/dist/chunks/chunk-YCVJQ7U3.js.map +7 -0
- package/dist/chunks/launcher-B5MGOPEQ.js +37 -0
- package/dist/chunks/launcher-B5MGOPEQ.js.map +7 -0
- package/dist/core/define.d.ts +40 -0
- package/dist/core/frecency.d.ts +16 -0
- package/dist/core/hotkeys.d.ts +39 -0
- package/dist/core/labels.d.ts +98 -0
- package/dist/core/launcher.d.ts +8 -0
- package/dist/core/lazy.d.ts +60 -0
- package/dist/core/search.d.ts +42 -0
- package/dist/core/storage.d.ts +5 -0
- package/dist/core/types.d.ts +737 -0
- package/dist/element/index.d.ts +56 -0
- package/dist/element.js +146 -0
- package/dist/element.js.map +7 -0
- package/dist/extensions/index.d.ts +30 -0
- package/dist/extensions/math.d.ts +14 -0
- package/dist/extensions.js +476 -0
- package/dist/extensions.js.map +7 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +85 -0
- package/dist/index.js.map +7 -0
- package/dist/locales/index.d.ts +24 -0
- package/dist/locales.js +810 -0
- package/dist/locales.js.map +7 -0
- package/dist/qikbar.global.js +302 -0
- package/dist/qikbar.global.js.map +7 -0
- package/dist/react/index.d.ts +66 -0
- package/dist/react.js +121 -0
- package/dist/react.js.map +7 -0
- package/dist/server/index.d.ts +66 -0
- package/dist/server.js +129 -0
- package/dist/server.js.map +7 -0
- package/dist/solid/index.d.ts +42 -0
- package/dist/solid.js +93 -0
- package/dist/solid.js.map +7 -0
- package/dist/styles.css +253 -0
- package/dist/svelte/index.d.ts +58 -0
- package/dist/svelte.js +55 -0
- package/dist/svelte.js.map +7 -0
- package/dist/theme.d.ts +5 -0
- package/dist/theme.js +20 -0
- package/dist/theme.js.map +7 -0
- package/dist/ui/bar.d.ts +338 -0
- package/dist/ui/dom.d.ts +21 -0
- package/dist/ui/icons.d.ts +93 -0
- package/dist/ui/markdown.d.ts +10 -0
- package/dist/ui/nav.d.ts +8 -0
- package/dist/ui/styles.d.ts +6 -0
- package/dist/ui/themes.d.ts +27 -0
- package/dist/ui/views.d.ts +156 -0
- package/dist/ui/webmcp.d.ts +33 -0
- package/dist/utils.d.ts +10 -0
- package/dist/utils.js +50 -0
- package/dist/utils.js.map +7 -0
- package/dist/vue/index.d.ts +74 -0
- package/dist/vue.js +122 -0
- package/dist/vue.js.map +7 -0
- package/package.json +129 -43
- package/dist/qikbar.es.js +0 -8748
- package/dist/qikbar.umd.js +0 -113
- package/dist/types/boot.d.ts +0 -72
- package/dist/types/index.d.ts +0 -1
- package/dist/types/init.d.ts +0 -2
- package/dist/types/main.d.ts +0 -4
- package/dist/types/shared/AsyncRoot.d.ts +0 -5
- package/dist/types/shared/CommandFooter.d.ts +0 -5
- package/dist/types/shared/Crumbs.d.ts +0 -6
- package/dist/types/shared/Details.d.ts +0 -3
- package/dist/types/shared/ErrorBoundary.d.ts +0 -15
- package/dist/types/shared/Icon.d.ts +0 -4
- package/dist/types/shared/List.d.ts +0 -30
- package/dist/types/shared/Qikbar.d.ts +0 -5
- package/dist/types/shared/Root.d.ts +0 -4
- package/dist/types/shared/Search.d.ts +0 -1
- package/dist/types/shared/commandContext.d.ts +0 -8
- package/dist/types/shared/useDebounce.d.ts +0 -1
- package/dist/types/utils/liquid.d.ts +0 -4
- package/dist/types/vite-env.d.ts +0 -1
package/dist/types/boot.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import type { iconName } from './shared/Icon';
|
|
2
|
-
declare type RootCommandType = 'STATIC' | 'DYNAMIC';
|
|
3
|
-
declare type CommandType = 'link' | 'action' | 'search' | 'menu';
|
|
4
|
-
declare type RootCommand = {
|
|
5
|
-
id: string;
|
|
6
|
-
path: string;
|
|
7
|
-
Element: any;
|
|
8
|
-
type: RootCommandType;
|
|
9
|
-
placeholderText?: string;
|
|
10
|
-
categories?: Category[];
|
|
11
|
-
dynamicOptions?: {
|
|
12
|
-
rootData?: string;
|
|
13
|
-
asyncUrl?: string;
|
|
14
|
-
transform?: any;
|
|
15
|
-
clientSideFilter?: boolean;
|
|
16
|
-
includeHeaders?: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
declare type Category = {
|
|
20
|
-
category?: string;
|
|
21
|
-
children?: Command[];
|
|
22
|
-
};
|
|
23
|
-
declare type Command = {
|
|
24
|
-
id: string;
|
|
25
|
-
title?: string;
|
|
26
|
-
description?: string;
|
|
27
|
-
type?: CommandType;
|
|
28
|
-
href?: string;
|
|
29
|
-
to?: string;
|
|
30
|
-
fields?: any;
|
|
31
|
-
actions?: any;
|
|
32
|
-
iconName?: iconName;
|
|
33
|
-
};
|
|
34
|
-
declare type RouterFunc = (arg0: any) => void;
|
|
35
|
-
declare type CommandState = {
|
|
36
|
-
id: string;
|
|
37
|
-
commands: RootCommand[];
|
|
38
|
-
router: RouterFunc | null;
|
|
39
|
-
headers: any;
|
|
40
|
-
theme: string;
|
|
41
|
-
setId: (theme: any) => void;
|
|
42
|
-
setTheme: (theme: any) => void;
|
|
43
|
-
addRouter: (routerFunc: RouterFunc) => void;
|
|
44
|
-
addHeaders: (headers: any) => void;
|
|
45
|
-
addCommand: (command: RootCommand) => void;
|
|
46
|
-
addCommands: (commands: RootCommand[]) => void;
|
|
47
|
-
updateCommand: (command: RootCommand) => void;
|
|
48
|
-
removeCommand: (command: RootCommand) => void;
|
|
49
|
-
};
|
|
50
|
-
export declare const useCommandsStore: import("zustand").UseBoundStore<import("zustand").StoreApi<CommandState>>;
|
|
51
|
-
export declare function DemoBar({ path, commands, theme }: {
|
|
52
|
-
path: any;
|
|
53
|
-
commands: any;
|
|
54
|
-
theme: any;
|
|
55
|
-
}): JSX.Element;
|
|
56
|
-
export declare const fetchSite: (id: any) => Promise<void>;
|
|
57
|
-
declare function Qikbar({ id }: {
|
|
58
|
-
id: string;
|
|
59
|
-
}): {
|
|
60
|
-
id: string;
|
|
61
|
-
boot: ({ elementId }: {
|
|
62
|
-
elementId: string;
|
|
63
|
-
}) => void;
|
|
64
|
-
setTheme: (theme: string) => void;
|
|
65
|
-
reloadSite: () => Promise<void>;
|
|
66
|
-
addCommand: (command: RootCommand) => void;
|
|
67
|
-
updateCommand: (command: RootCommand) => void;
|
|
68
|
-
removeCommand: (command: RootCommand) => void;
|
|
69
|
-
addRouter: (routerFunc: RouterFunc) => void;
|
|
70
|
-
addHeaders: (headers: any) => void;
|
|
71
|
-
};
|
|
72
|
-
export default Qikbar;
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'qikbar';
|
package/dist/types/init.d.ts
DELETED
package/dist/types/main.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { Component, ErrorInfo, ReactNode } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
interface State {
|
|
6
|
-
hasError: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare class ErrorBoundary extends Component<Props, State> {
|
|
9
|
-
state: State;
|
|
10
|
-
static getDerivedStateFromError(_: Error): State;
|
|
11
|
-
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
12
|
-
render(): string | number | boolean | React.ReactFragment | JSX.Element;
|
|
13
|
-
}
|
|
14
|
-
export default ErrorBoundary;
|
|
15
|
-
export declare function RouterErrorBoundary(): JSX.Element;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare type iconName = 'CalendarDaysIcon' | 'CalendarIcon' | 'FireIcon' | 'MegaphoneIcon' | 'WrenchIcon' | 'WrenchScrewdriverIcon' | 'ShareIcon' | 'ShoppingBagIcon' | 'ShoppingCartIcon' | 'StarIcon' | 'StopCircleIcon' | 'StopIcon' | 'LockClosedIcon' | 'LinkIcon' | 'UserGroupIcon' | 'BellAlertIcon';
|
|
2
|
-
export default function Icons({ iconName }: {
|
|
3
|
-
iconName: iconName;
|
|
4
|
-
}): JSX.Element;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export declare function Flex({ children }: {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export declare function List({ children }: {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
export declare function CategoryList({ item: { name, children, Icon } }: {
|
|
9
|
-
item: {
|
|
10
|
-
name: any;
|
|
11
|
-
children: any;
|
|
12
|
-
Icon: any;
|
|
13
|
-
};
|
|
14
|
-
}): JSX.Element;
|
|
15
|
-
export declare function ListItem({ item: { iconName, title, to, description, href, route, action, children, tag, }, }: {
|
|
16
|
-
item: {
|
|
17
|
-
iconName: any;
|
|
18
|
-
title: any;
|
|
19
|
-
to: any;
|
|
20
|
-
description: any;
|
|
21
|
-
href: any;
|
|
22
|
-
route: any;
|
|
23
|
-
action: any;
|
|
24
|
-
children: any;
|
|
25
|
-
tag: any;
|
|
26
|
-
};
|
|
27
|
-
}): JSX.Element;
|
|
28
|
-
export declare function Placeholder({ placeholder }: {
|
|
29
|
-
placeholder: any;
|
|
30
|
-
}): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function Search(): JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const CommandContext: React.Context<any>;
|
|
3
|
-
export default CommandContext;
|
|
4
|
-
export declare function CommandProvider({ demo, wrapperClass, defaultOpen, }: {
|
|
5
|
-
demo?: boolean;
|
|
6
|
-
wrapperClass?: string;
|
|
7
|
-
defaultOpen?: boolean;
|
|
8
|
-
}): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useDebounce<T>(value: T, delay: number): T;
|
package/dist/types/vite-env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|