@feedmepos/mf-settings 0.0.75 → 0.0.77-dev.1

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.
@@ -0,0 +1,29 @@
1
+ import { ref as n } from "vue";
2
+ const a = n(null), e = () => a.value;
3
+ function r(o) {
4
+ a.value || (a.value = o);
5
+ }
6
+ const l = Object.freeze({
7
+ jb: {
8
+ lat: 1.492659,
9
+ lng: 103.7413591
10
+ }
11
+ });
12
+ function c(o) {
13
+ return [o.lng, o.lat];
14
+ }
15
+ function i(o) {
16
+ if (o.length !== 2)
17
+ throw Error("Invalid coordinate array");
18
+ return {
19
+ lat: o[1],
20
+ lng: o[0]
21
+ };
22
+ }
23
+ export {
24
+ i as a,
25
+ c as b,
26
+ l as c,
27
+ e as g,
28
+ r as s
29
+ };
@@ -6,11 +6,14 @@ interface Props {
6
6
  width?: number;
7
7
  height?: number;
8
8
  canDelete?: boolean;
9
+ /** Passed straight to the drop field and shown as the helper text. */
10
+ accept?: string;
9
11
  }
10
12
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
13
  width: number;
12
14
  height: number;
13
15
  canDelete: boolean;
16
+ accept: string;
14
17
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
18
  "update:model-value": (file: File) => void;
16
19
  "reset:model-value": () => void;
@@ -18,6 +21,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
18
21
  width: number;
19
22
  height: number;
20
23
  canDelete: boolean;
24
+ accept: string;
21
25
  }>>> & Readonly<{
22
26
  "onUpdate:model-value"?: ((file: File) => any) | undefined;
23
27
  "onReset:model-value"?: (() => any) | undefined;
@@ -25,6 +29,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
29
  height: number;
26
30
  width: number;
27
31
  canDelete: boolean;
32
+ accept: string;
28
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
34
  export default _default;
30
35
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-settings",
3
- "version": "0.0.75",
3
+ "version": "0.0.77-dev.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -14,7 +14,6 @@
14
14
  "./style.css": "./dist/style.css"
15
15
  },
16
16
  "dependencies": {
17
- "@aws-sdk/client-s3": "3.608.0",
18
17
  "@casl/ability": "^3.4.0",
19
18
  "@feedmepos/auth": "^1.1.14",
20
19
  "@feedmepos/core": "2.15.22",
@@ -46,7 +45,7 @@
46
45
  "vue-pdf-embed": "2.1.0",
47
46
  "vue-router": "^4.2.5",
48
47
  "vuedraggable": "^4.1.0",
49
- "@feedmepos/mf-common": "^1.29.25"
48
+ "@feedmepos/mf-common": "^1.29.30"
50
49
  },
51
50
  "devDependencies": {
52
51
  "@rushstack/eslint-patch": "^1.3.3",