@feedmepos/mf-kitchen 1.0.2 → 1.0.3

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,7 +1,170 @@
1
+ import { type PropType } from 'vue';
1
2
  import '@/styles/styles.css';
2
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ profile: {
5
+ type: PropType<{
6
+ code?: string | null | undefined;
7
+ url?: string | null | undefined;
8
+ description?: string | null | undefined;
9
+ _id?: string | null | undefined;
10
+ legalName?: string | null | undefined;
11
+ sstRegNo?: string | null | undefined;
12
+ discovery?: boolean | null | undefined;
13
+ coverPhoto?: string | null | undefined;
14
+ thumbnailPhoto?: string | null | undefined;
15
+ photos?: string[] | null | undefined;
16
+ operatingHours?: {
17
+ 0: {
18
+ hours: {
19
+ end: string;
20
+ start: string;
21
+ }[];
22
+ enable: boolean;
23
+ };
24
+ 2: {
25
+ hours: {
26
+ end: string;
27
+ start: string;
28
+ }[];
29
+ enable: boolean;
30
+ };
31
+ 1: {
32
+ hours: {
33
+ end: string;
34
+ start: string;
35
+ }[];
36
+ enable: boolean;
37
+ };
38
+ 3: {
39
+ hours: {
40
+ end: string;
41
+ start: string;
42
+ }[];
43
+ enable: boolean;
44
+ };
45
+ 4: {
46
+ hours: {
47
+ end: string;
48
+ start: string;
49
+ }[];
50
+ enable: boolean;
51
+ };
52
+ 5: {
53
+ hours: {
54
+ end: string;
55
+ start: string;
56
+ }[];
57
+ enable: boolean;
58
+ };
59
+ 6: {
60
+ hours: {
61
+ end: string;
62
+ start: string;
63
+ }[];
64
+ enable: boolean;
65
+ };
66
+ } | null | undefined;
67
+ tags?: string[] | null | undefined;
68
+ name: string;
69
+ address: {
70
+ coordinates?: number[] | null | undefined;
71
+ line2?: string | null | undefined;
72
+ state: string;
73
+ country: string;
74
+ line1: string;
75
+ city: string;
76
+ postcode: string;
77
+ };
78
+ email: string;
79
+ phoneNo: string;
80
+ regNo: string;
81
+ }>;
82
+ required: true;
83
+ };
84
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
85
  "change-mode": (...args: any[]) => void;
4
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
86
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
87
+ profile: {
88
+ type: PropType<{
89
+ code?: string | null | undefined;
90
+ url?: string | null | undefined;
91
+ description?: string | null | undefined;
92
+ _id?: string | null | undefined;
93
+ legalName?: string | null | undefined;
94
+ sstRegNo?: string | null | undefined;
95
+ discovery?: boolean | null | undefined;
96
+ coverPhoto?: string | null | undefined;
97
+ thumbnailPhoto?: string | null | undefined;
98
+ photos?: string[] | null | undefined;
99
+ operatingHours?: {
100
+ 0: {
101
+ hours: {
102
+ end: string;
103
+ start: string;
104
+ }[];
105
+ enable: boolean;
106
+ };
107
+ 2: {
108
+ hours: {
109
+ end: string;
110
+ start: string;
111
+ }[];
112
+ enable: boolean;
113
+ };
114
+ 1: {
115
+ hours: {
116
+ end: string;
117
+ start: string;
118
+ }[];
119
+ enable: boolean;
120
+ };
121
+ 3: {
122
+ hours: {
123
+ end: string;
124
+ start: string;
125
+ }[];
126
+ enable: boolean;
127
+ };
128
+ 4: {
129
+ hours: {
130
+ end: string;
131
+ start: string;
132
+ }[];
133
+ enable: boolean;
134
+ };
135
+ 5: {
136
+ hours: {
137
+ end: string;
138
+ start: string;
139
+ }[];
140
+ enable: boolean;
141
+ };
142
+ 6: {
143
+ hours: {
144
+ end: string;
145
+ start: string;
146
+ }[];
147
+ enable: boolean;
148
+ };
149
+ } | null | undefined;
150
+ tags?: string[] | null | undefined;
151
+ name: string;
152
+ address: {
153
+ coordinates?: number[] | null | undefined;
154
+ line2?: string | null | undefined;
155
+ state: string;
156
+ country: string;
157
+ line1: string;
158
+ city: string;
159
+ postcode: string;
160
+ };
161
+ email: string;
162
+ phoneNo: string;
163
+ regNo: string;
164
+ }>;
165
+ required: true;
166
+ };
167
+ }>> & Readonly<{
5
168
  "onChange-mode"?: ((...args: any[]) => any) | undefined;
6
169
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
170
  export default _default;
@@ -1,7 +1,170 @@
1
+ import { type PropType } from 'vue';
1
2
  import '@/styles/styles.css';
2
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ profile: {
5
+ type: PropType<{
6
+ code?: string | null | undefined;
7
+ url?: string | null | undefined;
8
+ description?: string | null | undefined;
9
+ _id?: string | null | undefined;
10
+ legalName?: string | null | undefined;
11
+ sstRegNo?: string | null | undefined;
12
+ discovery?: boolean | null | undefined;
13
+ coverPhoto?: string | null | undefined;
14
+ thumbnailPhoto?: string | null | undefined;
15
+ photos?: string[] | null | undefined;
16
+ operatingHours?: {
17
+ 0: {
18
+ hours: {
19
+ end: string;
20
+ start: string;
21
+ }[];
22
+ enable: boolean;
23
+ };
24
+ 2: {
25
+ hours: {
26
+ end: string;
27
+ start: string;
28
+ }[];
29
+ enable: boolean;
30
+ };
31
+ 1: {
32
+ hours: {
33
+ end: string;
34
+ start: string;
35
+ }[];
36
+ enable: boolean;
37
+ };
38
+ 3: {
39
+ hours: {
40
+ end: string;
41
+ start: string;
42
+ }[];
43
+ enable: boolean;
44
+ };
45
+ 4: {
46
+ hours: {
47
+ end: string;
48
+ start: string;
49
+ }[];
50
+ enable: boolean;
51
+ };
52
+ 5: {
53
+ hours: {
54
+ end: string;
55
+ start: string;
56
+ }[];
57
+ enable: boolean;
58
+ };
59
+ 6: {
60
+ hours: {
61
+ end: string;
62
+ start: string;
63
+ }[];
64
+ enable: boolean;
65
+ };
66
+ } | null | undefined;
67
+ tags?: string[] | null | undefined;
68
+ name: string;
69
+ address: {
70
+ coordinates?: number[] | null | undefined;
71
+ line2?: string | null | undefined;
72
+ state: string;
73
+ country: string;
74
+ line1: string;
75
+ city: string;
76
+ postcode: string;
77
+ };
78
+ email: string;
79
+ phoneNo: string;
80
+ regNo: string;
81
+ }>;
82
+ required: true;
83
+ };
84
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
85
  "change-mode": (...args: any[]) => void;
4
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
86
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
87
+ profile: {
88
+ type: PropType<{
89
+ code?: string | null | undefined;
90
+ url?: string | null | undefined;
91
+ description?: string | null | undefined;
92
+ _id?: string | null | undefined;
93
+ legalName?: string | null | undefined;
94
+ sstRegNo?: string | null | undefined;
95
+ discovery?: boolean | null | undefined;
96
+ coverPhoto?: string | null | undefined;
97
+ thumbnailPhoto?: string | null | undefined;
98
+ photos?: string[] | null | undefined;
99
+ operatingHours?: {
100
+ 0: {
101
+ hours: {
102
+ end: string;
103
+ start: string;
104
+ }[];
105
+ enable: boolean;
106
+ };
107
+ 2: {
108
+ hours: {
109
+ end: string;
110
+ start: string;
111
+ }[];
112
+ enable: boolean;
113
+ };
114
+ 1: {
115
+ hours: {
116
+ end: string;
117
+ start: string;
118
+ }[];
119
+ enable: boolean;
120
+ };
121
+ 3: {
122
+ hours: {
123
+ end: string;
124
+ start: string;
125
+ }[];
126
+ enable: boolean;
127
+ };
128
+ 4: {
129
+ hours: {
130
+ end: string;
131
+ start: string;
132
+ }[];
133
+ enable: boolean;
134
+ };
135
+ 5: {
136
+ hours: {
137
+ end: string;
138
+ start: string;
139
+ }[];
140
+ enable: boolean;
141
+ };
142
+ 6: {
143
+ hours: {
144
+ end: string;
145
+ start: string;
146
+ }[];
147
+ enable: boolean;
148
+ };
149
+ } | null | undefined;
150
+ tags?: string[] | null | undefined;
151
+ name: string;
152
+ address: {
153
+ coordinates?: number[] | null | undefined;
154
+ line2?: string | null | undefined;
155
+ state: string;
156
+ country: string;
157
+ line1: string;
158
+ city: string;
159
+ postcode: string;
160
+ };
161
+ email: string;
162
+ phoneNo: string;
163
+ regNo: string;
164
+ }>;
165
+ required: true;
166
+ };
167
+ }>> & Readonly<{
5
168
  "onChange-mode"?: ((...args: any[]) => any) | undefined;
6
169
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
170
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-kitchen",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -10,7 +10,8 @@
10
10
  "exports": {
11
11
  ".": {
12
12
  "import": "./dist/app.js"
13
- }
13
+ },
14
+ "./style.css": "./dist/style.css"
14
15
  },
15
16
  "scripts": {
16
17
  "dev": "cross-env NODE_ENV=development vite --mode development",
@@ -59,4 +60,4 @@
59
60
  "vue-i18n": "10.0.5",
60
61
  "vue-tsc": "^1.8.11"
61
62
  }
62
- }
63
+ }
@@ -1,18 +0,0 @@
1
- import { defineComponent as m, defineAsyncComponent as n, computed as p, openBlock as s, createBlock as d, resolveDynamicComponent as i } from "vue";
2
- import { useRoute as l, useRouter as _ } from "vue-router";
3
- const M = /* @__PURE__ */ m({
4
- __name: "ReceiptTemplate",
5
- setup(f) {
6
- const t = l(), c = n(() => import("./NormalModeView-5ae53fb1.js")), r = n(() => import("./AdvanceModeView-e386f866.js")), a = p(() => t.query.mode === "advance" ? r : c), o = _();
7
- function u(e) {
8
- o.replace({
9
- name: o.currentRoute.value.name,
10
- query: { mode: e }
11
- });
12
- }
13
- return (e, v) => (s(), d(i(a.value), { onChangeMode: u }, null, 32));
14
- }
15
- });
16
- export {
17
- M as default
18
- };
@@ -1,2 +0,0 @@
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
- export default _default;