@opengis/filter 0.1.10 → 0.1.12

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.
@@ -1,9 +1,11 @@
1
1
  import type { IFilter, IActiveFilter } from "../../types/filter.ts";
2
2
  declare function clearFilter(key: string): void;
3
3
  declare function clearAllFilters(): void;
4
- declare var __VLS_13: {};
4
+ declare var __VLS_13: any, __VLS_15: {};
5
5
  type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_13) => any;
6
+ trigger?: (props: typeof __VLS_13) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_15) => any;
7
9
  };
8
10
  declare const __VLS_component: import("vue").DefineComponent<IFilter, {
9
11
  clearAllFilters: typeof clearAllFilters;
@@ -37,7 +39,8 @@ declare const __VLS_component: import("vue").DefineComponent<IFilter, {
37
39
  name: string;
38
40
  }) => any) | undefined;
39
41
  }>, {
40
- view: "inline" | "vertical" | "popover";
42
+ view: "inline" | "vertical" | "popover" | "popover-inline";
43
+ width: number | string;
41
44
  limit: number;
42
45
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
46
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1 +1 @@
1
- {"version":3,"file":"filter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter.vue"],"names":[],"mappings":"AAsMA,OAAO,KAAK,EACV,OAAO,EAAE,aAAa,EACvB,MAAM,uBAAuB,CAAC;AAqI/B,iBAAS,WAAW,CAAC,GAAG,EAAE,MAAM,QAG/B;AAED,iBAAS,eAAe,SAGvB;AAmFD,QAAA,IAAyB,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA4BhD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EASnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"filter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EACV,OAAO,EAAE,aAAa,EACvB,MAAM,uBAAuB,CAAC;AA0I/B,iBAAS,WAAW,CAAC,GAAG,EAAE,MAAM,QAG/B;AAED,iBAAS,eAAe,SAGvB;AA6FD,QAAA,IAAyB,QAAQ,KAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA6BhD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EASnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inline-filter-layout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter/layouts/inline-filter-layout.vue"],"names":[],"mappings":"AAqIA,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8QtE,wBASG"}
1
+ {"version":3,"file":"inline-filter-layout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter/layouts/inline-filter-layout.vue"],"names":[],"mappings":"AAoKA,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+StE,wBASG"}
@@ -1,5 +1,8 @@
1
1
  import type { IFilter } from "../../../types/filter.ts";
2
- declare const _default: import("vue").DefineComponent<IFilter, {
2
+ interface PopoverProps extends IFilter {
3
+ badgeCount?: number;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<PopoverProps, {
3
6
  clearFilter: (key: string) => void;
4
7
  clearAllFilters: (silent?: boolean) => void;
5
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -16,7 +19,7 @@ declare const _default: import("vue").DefineComponent<IFilter, {
16
19
  data: import("../../../types/filter.ts").IActiveFilter;
17
20
  name: string;
18
21
  }) => any;
19
- }, string, import("vue").PublicProps, Readonly<IFilter> & Readonly<{
22
+ }, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
20
23
  onChange?: ((value: {
21
24
  data: import("../../../types/filter.ts").IActiveFilter;
22
25
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"popover-filter-layout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter/layouts/popover-filter-layout.vue"],"names":[],"mappings":"AAsNA,OAAO,KAAK,EAAE,OAAO,EAAyB,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyb/E,wBASG"}
1
+ {"version":3,"file":"popover-filter-layout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter/layouts/popover-filter-layout.vue"],"names":[],"mappings":"AAmPA,OAAO,KAAK,EAAE,OAAO,EAAyB,MAAM,0BAA0B,CAAC;AAM/E,UAAU,YAAa,SAAQ,OAAO;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwdD,wBASG"}
@@ -0,0 +1,51 @@
1
+ import type { IFilter } from '../../../types/filter.ts';
2
+ declare function onTriggerClick(): void;
3
+ declare var __VLS_1: {
4
+ toggle: typeof onTriggerClick;
5
+ open: boolean;
6
+ disabled: boolean;
7
+ activeCount: number;
8
+ };
9
+ type __VLS_Slots = {} & {
10
+ trigger?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<IFilter, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ change: (value: {
14
+ data: import("../../../types/filter.ts").IActiveFilter;
15
+ name: string;
16
+ value: any;
17
+ }) => any;
18
+ clear: (value: {
19
+ data: import("../../../types/filter.ts").IActiveFilter;
20
+ name: string;
21
+ }) => any;
22
+ clearAll: (value: {
23
+ data: import("../../../types/filter.ts").IActiveFilter;
24
+ name: string;
25
+ }) => any;
26
+ }, string, import("vue").PublicProps, Readonly<IFilter> & Readonly<{
27
+ onChange?: ((value: {
28
+ data: import("../../../types/filter.ts").IActiveFilter;
29
+ name: string;
30
+ value: any;
31
+ }) => any) | undefined;
32
+ onClear?: ((value: {
33
+ data: import("../../../types/filter.ts").IActiveFilter;
34
+ name: string;
35
+ }) => any) | undefined;
36
+ onClearAll?: ((value: {
37
+ data: import("../../../types/filter.ts").IActiveFilter;
38
+ name: string;
39
+ }) => any) | undefined;
40
+ }>, {
41
+ width: number | string;
42
+ limit: number;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
45
+ export default _default;
46
+ type __VLS_WithSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
51
+ //# sourceMappingURL=popover-inline-filter-layout.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover-inline-filter-layout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter/layouts/popover-inline-filter-layout.vue"],"names":[],"mappings":"AAyQA,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,0BAA0B,CAAC;AAgFtE,iBAAS,cAAc,SAKtB;AAkTD,QAAA,IAAI,OAAO;;;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA4C/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { IFilterItem, IListItem } from "../../../types/filter.ts";
2
+ declare const _default: import("vue").DefineComponent<IFilterItem, {
3
+ clear: () => void;
4
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
+ change: (value: {
6
+ name: string;
7
+ value: any;
8
+ }) => any;
9
+ "update:modelValue": (value: any) => any;
10
+ clear: (name: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<IFilterItem> & Readonly<{
12
+ onChange?: ((value: {
13
+ name: string;
14
+ value: any;
15
+ }) => any) | undefined;
16
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
17
+ onClear?: ((name: string) => any) | undefined;
18
+ }>, {
19
+ layout: "inline" | "vertical" | "popover";
20
+ options: IListItem[];
21
+ disabled: boolean;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ export default _default;
24
+ //# sourceMappingURL=button-field.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-field.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter-field/fields/button-field.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,WAAW,EAAoB,SAAS,EAAE,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;AAoJzF,wBASG"}
@@ -1 +1 @@
1
- {"version":3,"file":"date-input-inline.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter-field/fields/date-input-inline.vue"],"names":[],"mappings":"AA2LA,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;AAggB9E,wBASG"}
1
+ {"version":3,"file":"date-input-inline.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter-field/fields/date-input-inline.vue"],"names":[],"mappings":"AA6LA,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;AAkgB9E,wBASG"}
@@ -1 +1 @@
1
- {"version":3,"file":"popover-field.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter-field/fields/popover-field.vue"],"names":[],"mappings":"AA0MA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;IACvC,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAyGD,iBAAS,KAAK,SAEb;AA+ID,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;AAgC/C,QAAA,MAAM,eAAe;;;cAzSR,OAAO;6EAiTlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"popover-field.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter-field/fields/popover-field.vue"],"names":[],"mappings":"AA2OA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;IACvC,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAsGD,iBAAS,KAAK,SAEb;AAqLD,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;AAiC/C,QAAA,MAAM,eAAe;;;cA7UR,OAAO;6EAqVlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"vertical-layout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter-field/layouts/vertical-layout.vue"],"names":[],"mappings":"AAyHA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;AA+PlC,wBAQG"}
1
+ {"version":3,"file":"vertical-layout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/filter-field/layouts/vertical-layout.vue"],"names":[],"mappings":"AAsHA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;AA4PlC,wBAQG"}
@@ -1 +1 @@
1
- {"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../src/composable/useLocale.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,UAAU,SAAS,QAGhC"}
1
+ {"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../src/composable/useLocale.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,OAAO,UAAU,SAAS,QAGhC"}
@@ -8,5 +8,5 @@ export default _default;
8
8
  export declare function useStyleText(style?: StyleConfig): import("vue").ComputedRef<string>;
9
9
  export declare function useStyleButton(): string;
10
10
  export declare function useStyleQuick(): string;
11
- export declare function useStyleInline(mode?: string): "inline-flex relative py-2 px-4 items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent text-gray-600 hover:bg-blue-100 hover:text-gray-800 focus:outline-hidden focus:bg-gray-100 focus:text-gray-800 disabled:opacity-50 disabled:pointer-events-none dark:text-gray-500 dark:hover:bg-blue-800/30 dark:hover:text-blue-400 dark:focus:bg-blue-800/30 dark:focus:text-blue-400" | "inline-flex relative py-2 px-4 items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-gray-100 text-gray-800 hover:bg-gray-200 hover:bg-gray-200 focus:outline-hidden focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:text-blue-400 dark:hover:bg-blue-900 dark:focus:bg-blue-900" | "relative border-solid border-gray-200 focus-visible:outline-hidden focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-input hover:bg-gray-100 border px-4 py-2 gap-2 bg-transparent h-[38px]";
11
+ export declare function useStyleInline(mode?: string): "inline-flex relative py-2 px-4 items-center gap-x-2 text-sm font-medium rounded-sm border text-gray-600 hover:bg-blue-100 hover:text-gray-800 focus:outline-hidden focus:bg-gray-100 focus:text-gray-800 disabled:opacity-50 disabled:pointer-events-none dark:text-gray-500 dark:hover:bg-blue-800/30 dark:hover:text-blue-400 dark:focus:bg-blue-800/30 dark:focus:text-blue-400" | "inline-flex relative py-2 px-4 items-center gap-x-2 text-sm font-medium rounded-sm border bg-white-100 text-gray-800 hover:bg-gray-200 hover:bg-gray-200 focus:outline-hidden focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:text-blue-400 dark:hover:bg-blue-900 dark:focus:bg-blue-900" | "relative border-solid border-gray-200 focus-visible:outline-hidden focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-input hover:bg-gray-100 border px-4 py-2 gap-2 bg-transparent h-[38px]";
12
12
  //# sourceMappingURL=useStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useStyle.d.ts","sourceRoot":"","sources":["../../src/composable/useStyle.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAE,IAAI,GAAG,IAAI,CAAC;CAC/B;;AACD,wBAAoB;AAEpB,wBAAgB,YAAY,CAAC,KAAK,GAAE,WAA+B,qCASlE;AAED,wBAAgB,cAAc,WAE7B;AAED,wBAAgB,aAAa,WAE5B;AAED,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,wnCAgB3C"}
1
+ {"version":3,"file":"useStyle.d.ts","sourceRoot":"","sources":["../../src/composable/useStyle.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAE,IAAI,GAAG,IAAI,CAAC;CAC/B;;AACD,wBAAoB;AAEpB,wBAAgB,YAAY,CAAC,KAAK,GAAE,WAA+B,qCASlE;AAED,wBAAgB,cAAc,WAE7B;AAED,wBAAgB,aAAa,WAE5B;AAED,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,mlCAgB3C"}