@soton.ac.uk/cape3 3.5.0 → 3.7.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.
@@ -2,8 +2,17 @@ import { FieldValuePair } from '../../model/processed/FieldValuePair';
2
2
  type __VLS_Props = {
3
3
  fieldValue: FieldValuePair | undefined;
4
4
  link?: Boolean;
5
+ externalLink?: Boolean;
5
6
  hideIfEmpty?: Boolean;
7
+ valueIfUndefined?: string;
6
8
  };
7
- declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: __VLS_WithTemplateSlots<import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>, {
10
+ default?(_: {}): any;
11
+ }>;
8
12
  export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
9
18
  //# sourceMappingURL=CapeLabelledValue.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CapeLabelledValue.vue.d.ts","sourceRoot":"","sources":["../../../src/components/user/CapeLabelledValue.vue"],"names":[],"mappings":"AAKA;AA6BA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAGtE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,cAAc,GAAG,SAAS,CAAA;IACtC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAuEF,wBAMG"}
1
+ {"version":3,"file":"CapeLabelledValue.vue.d.ts","sourceRoot":"","sources":["../../../src/components/user/CapeLabelledValue.vue"],"names":[],"mappings":"AAOA;AAiCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAGtE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,cAAc,GAAG,SAAS,CAAA;IACtC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAC;;;;AAuFF,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,21 @@
1
1
  declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
2
- value: StringConstructor;
2
+ value: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ digits: {
7
+ type: NumberConstructor;
8
+ required: false;
9
+ };
3
10
  }>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
4
- value: StringConstructor;
11
+ value: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ digits: {
16
+ type: NumberConstructor;
17
+ required: false;
18
+ };
5
19
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
6
20
  export default _default;
7
21
  //# sourceMappingURL=CapePercentageValue.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CapePercentageValue.vue.d.ts","sourceRoot":"","sources":["../../../src/components/user/CapePercentageValue.vue"],"names":[],"mappings":"AAIA;;;;;;AA2EA,wBAMG"}
1
+ {"version":3,"file":"CapePercentageValue.vue.d.ts","sourceRoot":"","sources":["../../../src/components/user/CapePercentageValue.vue"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;AA4GA,wBAeG"}
@@ -0,0 +1,12 @@
1
+ import { default as L } from 'leaflet';
2
+ type __VLS_Props = {
3
+ lat: number;
4
+ long: number;
5
+ zoom: number;
6
+ icon?: L.Icon;
7
+ };
8
+ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
9
+ mapRef: HTMLDivElement;
10
+ }, HTMLDivElement>;
11
+ export default _default;
12
+ //# sourceMappingURL=CapeRecordMap.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CapeRecordMap.vue.d.ts","sourceRoot":"","sources":["../../../src/components/user/CapeRecordMap.vue"],"names":[],"mappings":"AAGA;AAsEA,OAAO,CAAC,MAAM,SAAS,CAAA;AACvB,OAAO,0BAA0B,CAAA;AAEjC,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAA;CACd,CAAC;;;;AAyFF,wBAQG"}
@@ -2,8 +2,17 @@ import { FieldValuePair } from '../../model/processed/FieldValuePair';
2
2
  type __VLS_Props = {
3
3
  fieldValue: FieldValuePair | undefined;
4
4
  link?: Boolean;
5
+ externalLink?: Boolean;
5
6
  hideIfEmpty?: Boolean;
7
+ valueIfUndefined?: string;
6
8
  };
7
- declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: __VLS_WithTemplateSlots<import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>, {
10
+ default?(_: {}): any;
11
+ }>;
8
12
  export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
9
18
  //# sourceMappingURL=CapeValue.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CapeValue.vue.d.ts","sourceRoot":"","sources":["../../../src/components/user/CapeValue.vue"],"names":[],"mappings":"AAmBA;AAmEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAGtE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,cAAc,GAAG,SAAS,CAAA;IACtC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AA0GF,wBAMG"}
1
+ {"version":3,"file":"CapeValue.vue.d.ts","sourceRoot":"","sources":["../../../src/components/user/CapeValue.vue"],"names":[],"mappings":"AAwBA;AAgFA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAGtE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,cAAc,GAAG,SAAS,CAAA;IACtC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAC;;;;AAqIF,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CapePlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/cape/CapePlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,SAAS,EAAS,MAAM,KAAK,CAAA;AAkBrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAQ7D,OAAO,qBAAqB,CAAA;AAkB5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;;mBAoClC,GAAG,WAAW,WAAW;0BAsClB,GAAG,mBAAmB,cAAc,EAAE,GAAG,SAAS,kBAAkB,GAAG,KAAG,IAAI;8BA8B1E,GAAG,gBAAgB,OAAO,MAAM,EAAE,SAAS,CAAC;8BAQrD,WAAW,GAAG,OAAO,MAAM,EAAE,SAAS,CAAC;4BAsBzC,OAAO,MAAM,EAAE,SAAS,CAAC;;AApGnD,wBAuKC"}
1
+ {"version":3,"file":"CapePlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/cape/CapePlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,SAAS,EAAS,MAAM,KAAK,CAAA;AAkBrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAQ7D,OAAO,qBAAqB,CAAA;AAmB5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;;mBAoClC,GAAG,WAAW,WAAW;0BAsClB,GAAG,mBAAmB,cAAc,EAAE,GAAG,SAAS,kBAAkB,GAAG,KAAG,IAAI;8BA8B1E,GAAG,gBAAgB,OAAO,MAAM,EAAE,SAAS,CAAC;8BAQrD,WAAW,GAAG,OAAO,MAAM,EAAE,SAAS,CAAC;4BAsBzC,OAAO,MAAM,EAAE,SAAS,CAAC;;AApGnD,wBAwKC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soton.ac.uk/cape3",
3
- "version": "3.5.0",
3
+ "version": "3.7.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/cape3.umd.js",
@@ -45,6 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@microsoft/applicationinsights-web": "^3.3.1",
48
+ "leaflet": "^1.9.4",
48
49
  "moment": "^2.30.1",
49
50
  "pinia": "^2.1.7",
50
51
  "uuid": "^9.0.1",
@@ -58,6 +59,7 @@
58
59
  "@rushstack/eslint-patch": "^1.3.3",
59
60
  "@tsconfig/node18": "^18.2.2",
60
61
  "@types/jsdom": "^21.1.6",
62
+ "@types/leaflet": "^1.9.20",
61
63
  "@types/node": "^18.19.3",
62
64
  "@types/uuid": "^9.0.8",
63
65
  "@vitejs/plugin-vue": "^5.2.4",