@bagelink/vue 1.7.86 → 1.7.90
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/dist/components/Filter.vue.d.ts +5 -5
- package/dist/components/Filter.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts +21 -5
- package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/composables/useEditor.d.ts +1 -0
- package/dist/components/form/inputs/RichText/composables/useEditor.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts +1 -0
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +4 -4
- package/dist/components/form/inputs/Upload/useFileUpload.d.ts +4 -4
- package/dist/index.cjs +25 -25
- package/dist/index.mjs +4505 -4335
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/queryFilter.d.ts +16 -0
- package/dist/utils/queryFilter.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Filter.vue +330 -173
- package/src/utils/index.ts +1 -1
- package/src/utils/queryFilter.ts +132 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { QueryConditions } from '../utils/queryFilter';
|
|
2
1
|
import { Option } from '..';
|
|
3
2
|
declare const _default: <T extends Record<string, any>>(__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
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
6
|
-
readonly onChange?: ((value:
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: Record<string, any> & T) => any) | undefined;
|
|
5
|
+
readonly onChange?: ((value: Record<string, any> & T) => any) | undefined;
|
|
7
6
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & ({
|
|
8
|
-
modelValue?:
|
|
7
|
+
modelValue?: Record<string, any> & T;
|
|
9
8
|
} & {
|
|
10
9
|
fields: Array<{
|
|
11
10
|
label: string;
|
|
@@ -13,11 +12,12 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
13
12
|
type?: "string" | "number" | "boolean" | "date";
|
|
14
13
|
options?: Option[] | ((query: string) => Promise<Option[]>);
|
|
15
14
|
}>;
|
|
15
|
+
language?: "he" | "en";
|
|
16
16
|
}) & Partial<{}>> & import('vue').PublicProps;
|
|
17
17
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
18
18
|
attrs: any;
|
|
19
19
|
slots: {};
|
|
20
|
-
emit: ((evt: "change", value:
|
|
20
|
+
emit: ((evt: "change", value: Record<string, any> & T) => void) & ((evt: "update:modelValue", value: Record<string, any> & T) => void);
|
|
21
21
|
}>) => import('vue').VNode & {
|
|
22
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Filter.vue.d.ts","sourceRoot":"","sources":["../../src/components/Filter.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Filter.vue.d.ts","sourceRoot":"","sources":["../../src/components/Filter.vue"],"names":[],"mappings":"AA2aA,OAAO,EAA0D,KAAK,MAAM,EAAE,MAAM,eAAe,CAAA;yBAGlF,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7C,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,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAwqBO,mBAAmB,CAAC;;;;;;gBAppBnB,KAAK,CAAC;YACb,KAAK,EAAE,MAAM,CAAA;YACb,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;YAC/C,OAAO,CAAC,sBAvB+B,MAAM,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC,EAuB5C;SACvB,CAAC;;oBA+oB2F,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;UAEJ,gIAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAnrBzE,wBAmrB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -29,12 +29,28 @@ interface Props {
|
|
|
29
29
|
baseColumnIndex: number;
|
|
30
30
|
wrapText?: boolean;
|
|
31
31
|
}
|
|
32
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
33
|
+
sortColumn: (key: string) => any;
|
|
34
|
+
selectRow: (rowIndex: number) => any;
|
|
35
|
+
resizeStart: (event: MouseEvent, key: string) => any;
|
|
36
|
+
cellMouseDown: (rowIndex: number, colIndex: number) => any;
|
|
37
|
+
cellMouseOver: (rowIndex: number, colIndex: number) => any;
|
|
38
|
+
cellEditStart: (rowIndex: number, colIndex: number) => any;
|
|
39
|
+
cellKeyDown: (event: KeyboardEvent, rowIndex: number, colIndex: number) => any;
|
|
40
|
+
updateCell: (rowIndex: number, key: string, value: string | boolean) => any;
|
|
41
|
+
stopEditing: (cancelled: boolean) => any;
|
|
42
|
+
setInputRef: (el: any, key: string) => any;
|
|
36
43
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
37
|
-
|
|
44
|
+
onSortColumn?: ((key: string) => any) | undefined;
|
|
45
|
+
onSelectRow?: ((rowIndex: number) => any) | undefined;
|
|
46
|
+
onResizeStart?: ((event: MouseEvent, key: string) => any) | undefined;
|
|
47
|
+
onCellMouseDown?: ((rowIndex: number, colIndex: number) => any) | undefined;
|
|
48
|
+
onCellMouseOver?: ((rowIndex: number, colIndex: number) => any) | undefined;
|
|
49
|
+
onCellEditStart?: ((rowIndex: number, colIndex: number) => any) | undefined;
|
|
50
|
+
onCellKeyDown?: ((event: KeyboardEvent, rowIndex: number, colIndex: number) => any) | undefined;
|
|
51
|
+
onUpdateCell?: ((rowIndex: number, key: string, value: string | boolean) => any) | undefined;
|
|
52
|
+
onStopEditing?: ((cancelled: boolean) => any) | undefined;
|
|
53
|
+
onSetInputRef?: ((el: any, key: string) => any) | undefined;
|
|
38
54
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableElement>;
|
|
39
55
|
export default _default;
|
|
40
56
|
//# sourceMappingURL=SpreadsheetTable.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpreadsheetTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spreadsheet/SpreadsheetTable.vue"],"names":[],"mappings":"AA2WA,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACX;AAED,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,GAAG,CAAA;CAClB;AAED,UAAU,KAAK;IACd,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,IAAI,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAA;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,aAAa,EAAE,KAAK,GAAG,MAAM,CAAA;IAC7B,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,YAAY,EAAE,YAAY,GAAG,IAAI,CAAA;IACjC,WAAW,EAAE,YAAY,GAAG,IAAI,CAAA;IAChC,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB
|
|
1
|
+
{"version":3,"file":"SpreadsheetTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spreadsheet/SpreadsheetTable.vue"],"names":[],"mappings":"AA2WA,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACX;AAED,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,GAAG,CAAA;CAClB;AAED,UAAU,KAAK;IACd,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,IAAI,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAA;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,aAAa,EAAE,KAAK,GAAG,MAAM,CAAA;IAC7B,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,YAAY,EAAE,YAAY,GAAG,IAAI,CAAA;IACjC,WAAW,EAAE,YAAY,GAAG,IAAI,CAAA;IAChC,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB;;;;;;;;;;;;;;;;;;;;;;;;AAwSD,wBAQG"}
|
|
@@ -19,6 +19,7 @@ export declare function useEditor(): {
|
|
|
19
19
|
deleteFromDocument: () => void;
|
|
20
20
|
empty: () => void;
|
|
21
21
|
extend: (node: Node, offset?: number) => void;
|
|
22
|
+
getComposedRanges: (options?: GetComposedRangesOptions) => StaticRange[];
|
|
22
23
|
getRangeAt: (index: number) => Range;
|
|
23
24
|
modify: (alter?: string, direction?: string, granularity?: string) => void;
|
|
24
25
|
removeAllRanges: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/composables/useEditor.ts"],"names":[],"mappings":"AAkCA,wBAAgB,SAAS
|
|
1
|
+
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/composables/useEditor.ts"],"names":[],"mappings":"AAkCA,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAvBX,CAAC;;+CAEe,CAAC;;;;2CAGZ,CAAC;;;gBAsRA,QAAQ;;;0BA/MR,MAAM,GAAG,MAAM;;;;;;;;;EAsTlC"}
|
|
@@ -44,6 +44,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
44
44
|
deleteFromDocument: () => void;
|
|
45
45
|
empty: () => void;
|
|
46
46
|
extend: (node: Node, offset?: number) => void;
|
|
47
|
+
getComposedRanges: (options?: GetComposedRangesOptions) => StaticRange[];
|
|
47
48
|
getRangeAt: (index: number) => Range;
|
|
48
49
|
modify: (alter?: string, direction?: string, granularity?: string) => void;
|
|
49
50
|
removeAllRanges: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"AAg0HA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAiBpD,KAAK,WAAW,GAAG;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,KAAK,CAA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S,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAEf,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC1B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDA5CF,CAxzHsC;;mDAwzHtC,CArzHK;;;;+CAqzHL,CAlzHS;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAy4RT,wBASG"}
|
|
@@ -16,9 +16,9 @@ declare function __VLS_template(): {
|
|
|
16
16
|
readonly size: number;
|
|
17
17
|
readonly type: string;
|
|
18
18
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
19
|
-
bytes: () => Promise<Uint8Array
|
|
19
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
20
20
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
21
|
-
stream: () => ReadableStream<Uint8Array
|
|
21
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
22
22
|
text: () => Promise<string>;
|
|
23
23
|
};
|
|
24
24
|
url?: string | undefined;
|
|
@@ -39,9 +39,9 @@ declare function __VLS_template(): {
|
|
|
39
39
|
readonly size: number;
|
|
40
40
|
readonly type: string;
|
|
41
41
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
42
|
-
bytes: () => Promise<Uint8Array
|
|
42
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
43
43
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
44
|
-
stream: () => ReadableStream<Uint8Array
|
|
44
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
45
45
|
text: () => Promise<string>;
|
|
46
46
|
};
|
|
47
47
|
url?: string | undefined;
|
|
@@ -17,9 +17,9 @@ export declare function useFileUpload(props?: UseFileUploadProps): {
|
|
|
17
17
|
readonly size: number;
|
|
18
18
|
readonly type: string;
|
|
19
19
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
20
|
-
bytes: () => Promise<Uint8Array
|
|
20
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
21
21
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
22
|
-
stream: () => ReadableStream<Uint8Array
|
|
22
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
23
23
|
text: () => Promise<string>;
|
|
24
24
|
};
|
|
25
25
|
url?: string | undefined;
|
|
@@ -36,9 +36,9 @@ export declare function useFileUpload(props?: UseFileUploadProps): {
|
|
|
36
36
|
readonly size: number;
|
|
37
37
|
readonly type: string;
|
|
38
38
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
39
|
-
bytes: () => Promise<Uint8Array
|
|
39
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
40
40
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
41
|
-
stream: () => ReadableStream<Uint8Array
|
|
41
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
42
42
|
text: () => Promise<string>;
|
|
43
43
|
};
|
|
44
44
|
url?: string | undefined;
|