@opengis/widgets 0.0.13 → 0.0.15

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,20 +1,24 @@
1
1
  import type { CardItemProps } from '../../types';
2
2
  interface Props extends CardItemProps {
3
- name?: string;
4
- label?: string;
5
- component?: string;
6
- slot?: string;
3
+ items: {
4
+ name?: string;
5
+ label?: string;
6
+ component?: string;
7
+ slot?: string;
8
+ html?: string;
9
+ title?: string;
10
+ }[];
11
+ type?: 'container' | 'tabs' | 'vertical-tabs';
7
12
  col?: number;
13
+ data?: any;
8
14
  html?: string;
9
15
  title?: string;
10
16
  }
11
- declare var __VLS_5: {};
17
+ declare var __VLS_8: {};
12
18
  type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_5) => any;
19
+ default?: (props: typeof __VLS_8) => any;
14
20
  };
15
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
16
- col: number;
17
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
22
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
23
  export default _default;
20
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"CardItem.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/card/CardItem.vue"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,UAAU,KAAM,SAAQ,aAAa;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IAC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M,CAAA;CACf;AA4KD,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;AAwB/C,QAAA,MAAM,eAAe,sRAOnB,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,8 @@
1
+ import type { GalleryWidgetProps } from "../../types";
2
+ declare const _default: import("vue").DefineComponent<GalleryWidgetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ delete: (id: string) => any;
4
+ }, string, import("vue").PublicProps, Readonly<GalleryWidgetProps> & Readonly<{
5
+ onDelete?: ((id: string) => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
8
+ //# sourceMappingURL=GalleryContent.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GalleryContent.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/gallery/GalleryContent.vue"],"names":[],"mappings":"AAqJA,OAAO,KAAK,EAAE,kBAAkB,EAAY,MAAM,aAAa,CAAC;;;;;;AAqJhE,wBAOG"}
@@ -1,4 +1,18 @@
1
- import type { GalleryWidgetProps } from '../../types';
2
- declare const _default: import("vue").DefineComponent<GalleryWidgetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<GalleryWidgetProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1
+ import type { GalleryWidgetProps, FileItem } from "../../types";
2
+ type __VLS_Props = GalleryWidgetProps & {
3
+ onAddImage: (event: Event) => void;
4
+ onDelete: (id: string) => void;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
+ add: (event: Event) => any;
8
+ delete: (id: string) => any;
9
+ openLightbox: (event: Event) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onAdd?: ((event: Event) => any) | undefined;
12
+ onDelete?: ((id: string) => any) | undefined;
13
+ onOpenLightbox?: ((event: Event) => any) | undefined;
14
+ }>, {
15
+ items: FileItem[];
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
17
  export default _default;
4
18
  //# sourceMappingURL=GalleryWidget.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryWidget.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/gallery/GalleryWidget.vue"],"names":[],"mappings":"AA4FA,OAAO,KAAK,EAAE,kBAAkB,EAAY,MAAM,aAAa,CAAA;;AA6N/D,wBAMG"}
1
+ {"version":3,"file":"GalleryWidget.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/gallery/GalleryWidget.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKhE,KAAK,WAAW,GAAG,kBAAkB,GAAG;IAClC,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACnC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC;;;;;;;;;;;;AAsMN,wBAQG"}
@@ -1,11 +1,10 @@
1
- import type { FileItem } from '../../types';
2
1
  type __VLS_Props = {
3
- item: FileItem;
2
+ title?: string;
4
3
  };
5
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
- close: () => any;
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ onAddImage: (event: Event) => any;
7
6
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- onClose?: (() => any) | undefined;
7
+ onOnAddImage?: ((event: Event) => any) | undefined;
9
8
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
9
  export default _default;
11
- //# sourceMappingURL=GalleryModal.vue.d.ts.map
10
+ //# sourceMappingURL=widgetHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widgetHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/gallery/widgetHeader.vue"],"names":[],"mappings":"AAgCA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB,CAAC;;;;;;AA+GF,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"MapWidget.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/map/MapWidget.vue"],"names":[],"mappings":"AAmMA,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;;AAmU3C,wBAMG"}
1
+ {"version":3,"file":"MapWidget.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/map/MapWidget.vue"],"names":[],"mappings":"AAkMA,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;;AAoU3C,wBAMG"}
@@ -0,0 +1,4 @@
1
+ import type { ICardItem } from '../../types/index.ts';
2
+ declare const _default: import("vue").DefineComponent<ICardItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ICardItem> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
4
+ //# sourceMappingURL=TableWidget.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableWidget.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/table/TableWidget.vue"],"names":[],"mappings":"AAyIA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;;AAqUnD,wBAMG"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opengis/widgets",
3
3
  "private": false,
4
- "version": "0.0.13",
4
+ "version": "0.0.15",
5
5
  "type": "module",
6
6
  "description": "A collection of independent widgets for comments, history, files, and gallery",
7
7
  "types": "./dist/index.d.ts",
@@ -37,18 +37,18 @@
37
37
  "license": "MIT",
38
38
  "dependencies": {},
39
39
  "devDependencies": {
40
- "lucide-vue-next": "^0.535.0",
41
- "vue": "^3.0.0",
42
40
  "@tsconfig/node22": "^22.0.2",
43
41
  "@types/node": "^24.2.0",
44
42
  "@vitejs/plugin-vue": "^6.0.0",
45
43
  "@vue/tsconfig": "^0.7.0",
46
44
  "autoprefixer": "^10.4.16",
47
- "dts-bundle-generator": "^8.0.0",
45
+ "lucide-vue-next": "^0.535.0",
48
46
  "postcss": "^8.4.31",
47
+ "sass-embedded": "^1.92.1",
49
48
  "tailwindcss": "^3.4.0",
50
49
  "typescript": "~5.8.3",
51
50
  "vite": "^7.0.0",
51
+ "vue": "^3.0.0",
52
52
  "vue-tsc": "^2.2.12"
53
53
  },
54
54
  "peerDependencies": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"GalleryModal.vue.d.ts","sourceRoot":"","sources":["../../../src/widgets/gallery/GalleryModal.vue"],"names":[],"mappings":"AAAA,OAmGO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAK3C,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,QAAQ,CAAA;CACjB,CAAC;;;;;;AA0UF,wBAOG"}