@feedmepos/mf-financing 0.0.8 → 0.0.20-dev

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.
@@ -10,11 +10,11 @@ export type LayoutAction = {
10
10
  label: string;
11
11
  fn: () => void;
12
12
  } & Omit<FmPageHeadAction, 'value'>;
13
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
14
- default?(_: {}): any;
13
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
14
+ default?: ((props: {}) => any) | undefined;
15
15
  }>;
16
16
  export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
17
+ type __VLS_WithSlots<T, S> = T & {
18
18
  new (): {
19
19
  $slots: S;
20
20
  };
@@ -2,5 +2,5 @@ type __VLS_Props = {
2
2
  data: string;
3
3
  extra?: string;
4
4
  };
5
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ src: string;
4
+ isPdf?: boolean;
5
+ };
6
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
7
+ default?: ((props: {}) => any) | undefined;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -2,11 +2,11 @@ type __VLS_Props = {
2
2
  title: string;
3
3
  image: string;
4
4
  };
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
6
- default?(_: {}): any;
5
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
6
+ default?: ((props: {}) => any) | undefined;
7
7
  }>;
8
8
  export default _default;
9
- type __VLS_WithTemplateSlots<T, S> = T & {
9
+ type __VLS_WithSlots<T, S> = T & {
10
10
  new (): {
11
11
  $slots: S;
12
12
  };
@@ -10,11 +10,11 @@ export type LayoutAction = {
10
10
  label: string;
11
11
  fn: () => void;
12
12
  } & Omit<FmPageHeadAction, 'value'>;
13
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
14
- default?(_: {}): any;
13
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
14
+ default?: ((props: {}) => any) | undefined;
15
15
  }>;
16
16
  export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
17
+ type __VLS_WithSlots<T, S> = T & {
18
18
  new (): {
19
19
  $slots: S;
20
20
  };
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  pdf: {
3
3
  type: StringConstructor;
4
4
  required: true;
@@ -14,11 +14,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
14
14
  height: {
15
15
  type: NumberConstructor;
16
16
  };
17
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>, {
18
- "top-right"?(_: {}): any;
17
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
18
+ 'top-right'?: ((props: {}) => any) | undefined;
19
19
  }>;
20
20
  export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
22
22
  new (): {
23
23
  $slots: S;
24
24
  };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -3,5 +3,5 @@ type __VLS_Props = {
3
3
  data: string;
4
4
  route: RouteLocationRaw;
5
5
  };
6
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  export default _default;
package/dist/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-financing",
3
- "version": "0.0.8",
3
+ "version": "0.0.20-dev",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
+ "engines": {
9
+ "node": ">=24.5.0",
10
+ "pnpm": "10.29.2"
11
+ },
8
12
  "module": "./dist/app.js",
9
13
  "exports": {
10
14
  ".": {
@@ -23,8 +27,8 @@
23
27
  "build-types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false",
24
28
  "build:mf:dev": "vite build --mode fmmf:dev",
25
29
  "build:mf:prod": "vite build --mode fmmf:prod",
26
- "build-only:dev": "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist",
27
- "build-only:prod": "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist",
30
+ "build:dev": "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist",
31
+ "build:prod": "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist",
28
32
  "deploy:dev": "npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .",
29
33
  "deploy:prod": "npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks ."
30
34
  },
@@ -36,6 +40,7 @@
36
40
  "axios": "^0.27.2",
37
41
  "buffer": "^6.0.3",
38
42
  "change-case": "^4.1.2",
43
+ "dayjs": "^1.11.19",
39
44
  "dinero.js": "^1.9.1",
40
45
  "dotenv": "^16.0.3",
41
46
  "file-saver": "^2.0.5",
@@ -53,6 +58,7 @@
53
58
  "pinia": "^2.1.7",
54
59
  "qrcode.vue": "^3.6.0",
55
60
  "rasterizehtml": "^1.3.1",
61
+ "sentence-case": "^4.0.0",
56
62
  "uuid": "^9.0.0",
57
63
  "vue": "^3.2.25",
58
64
  "vue-advanced-cropper": "^2.8.6",
@@ -20,7 +20,7 @@ export declare const useAppStore: import("pinia").StoreDefinition<"mf-financing-
20
20
  readonly tenantId: string | null;
21
21
  delete: () => Promise<void>;
22
22
  getIdToken: (forceRefresh?: boolean | undefined) => Promise<string>;
23
- getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("@firebase/auth").IdTokenResult>;
23
+ getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("firebase/auth").IdTokenResult>;
24
24
  reload: () => Promise<void>;
25
25
  toJSON: () => object;
26
26
  readonly displayName: string | null;
@@ -48,7 +48,7 @@ export declare const useAppStore: import("pinia").StoreDefinition<"mf-financing-
48
48
  readonly tenantId: string | null;
49
49
  delete: () => Promise<void>;
50
50
  getIdToken: (forceRefresh?: boolean | undefined) => Promise<string>;
51
- getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("@firebase/auth").IdTokenResult>;
51
+ getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("firebase/auth").IdTokenResult>;
52
52
  reload: () => Promise<void>;
53
53
  toJSON: () => object;
54
54
  readonly displayName: string | null;
@@ -82,7 +82,7 @@ export declare const useAppStore: import("pinia").StoreDefinition<"mf-financing-
82
82
  readonly tenantId: string | null;
83
83
  delete: () => Promise<void>;
84
84
  getIdToken: (forceRefresh?: boolean | undefined) => Promise<string>;
85
- getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("@firebase/auth").IdTokenResult>;
85
+ getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("firebase/auth").IdTokenResult>;
86
86
  reload: () => Promise<void>;
87
87
  toJSON: () => object;
88
88
  readonly displayName: string | null;
@@ -110,7 +110,7 @@ export declare const useAppStore: import("pinia").StoreDefinition<"mf-financing-
110
110
  readonly tenantId: string | null;
111
111
  delete: () => Promise<void>;
112
112
  getIdToken: (forceRefresh?: boolean | undefined) => Promise<string>;
113
- getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("@firebase/auth").IdTokenResult>;
113
+ getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("firebase/auth").IdTokenResult>;
114
114
  reload: () => Promise<void>;
115
115
  toJSON: () => object;
116
116
  readonly displayName: string | null;
@@ -144,7 +144,7 @@ export declare const useAppStore: import("pinia").StoreDefinition<"mf-financing-
144
144
  readonly tenantId: string | null;
145
145
  delete: () => Promise<void>;
146
146
  getIdToken: (forceRefresh?: boolean | undefined) => Promise<string>;
147
- getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("@firebase/auth").IdTokenResult>;
147
+ getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("firebase/auth").IdTokenResult>;
148
148
  reload: () => Promise<void>;
149
149
  toJSON: () => object;
150
150
  readonly displayName: string | null;
@@ -172,7 +172,7 @@ export declare const useAppStore: import("pinia").StoreDefinition<"mf-financing-
172
172
  readonly tenantId: string | null;
173
173
  delete: () => Promise<void>;
174
174
  getIdToken: (forceRefresh?: boolean | undefined) => Promise<string>;
175
- getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("@firebase/auth").IdTokenResult>;
175
+ getIdTokenResult: (forceRefresh?: boolean | undefined) => Promise<import("firebase/auth").IdTokenResult>;
176
176
  reload: () => Promise<void>;
177
177
  toJSON: () => object;
178
178
  readonly displayName: string | null;
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ @charset "UTF-8";.pdf-wrapper[data-v-a165cea1]{position:relative}[data-v-a165cea1] canvas{pointer-events:none}.pdf-overlay[data-v-a165cea1]{position:absolute;top:16px;right:16px;display:flex;gap:8px;z-index:50;opacity:.35;transition:opacity .25s ease;pointer-events:auto}.pdf-wrapper:hover .pdf-overlay[data-v-a165cea1]{opacity:1}.pdf-overlay-btn[data-v-a165cea1]{background:#ffffffa6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:50%;box-shadow:0 2px 8px #00000026;transition:background .2s ease,box-shadow .2s ease}.pdf-overlay-btn[data-v-a165cea1]:hover{background:#fffffff2;box-shadow:0 4px 12px #00000040}.pdf-viewer-name[data-v-a165cea1]{position:absolute;bottom:0;width:100%;padding:8px 16px;border-top:1px solid rgba(0,0,0,.08);background:#ffffffbf;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}