@neutron.co.id/operasional-interfaces 1.16.1-beta.1 → 1.16.1-beta.2
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.
|
@@ -82,14 +82,17 @@ export function useImportShift() {
|
|
|
82
82
|
formData.append("file", upload.file, upload.file.name || "shift.csv");
|
|
83
83
|
try {
|
|
84
84
|
isLoading.value = true;
|
|
85
|
-
const response = await ofetch(
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
const response = await ofetch(
|
|
86
|
+
`${store.officeApiUrl}/importDataShift`,
|
|
87
|
+
{
|
|
88
|
+
method: "POST",
|
|
89
|
+
headers: {
|
|
90
|
+
"X-Neon-Key": "CH7JLKT6MW",
|
|
91
|
+
Authorization: `Bearer ${authStore.accessToken}`
|
|
92
|
+
},
|
|
93
|
+
body: formData
|
|
94
|
+
}
|
|
95
|
+
);
|
|
93
96
|
console.log("response:", response);
|
|
94
97
|
toast.push({
|
|
95
98
|
content: "Data shifting berhasil diimport.",
|
package/build/mock/index.cjs
CHANGED
|
@@ -12860,14 +12860,17 @@ function useImportShift() {
|
|
|
12860
12860
|
formData.append("file", upload.file, upload.file.name || "shift.csv");
|
|
12861
12861
|
try {
|
|
12862
12862
|
isLoading.value = true;
|
|
12863
|
-
const response = await ofetch(
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12863
|
+
const response = await ofetch(
|
|
12864
|
+
`${store.officeApiUrl}/importDataShift`,
|
|
12865
|
+
{
|
|
12866
|
+
method: "POST",
|
|
12867
|
+
headers: {
|
|
12868
|
+
"X-Neon-Key": "CH7JLKT6MW",
|
|
12869
|
+
Authorization: `Bearer ${authStore.accessToken}`
|
|
12870
|
+
},
|
|
12871
|
+
body: formData
|
|
12872
|
+
}
|
|
12873
|
+
);
|
|
12871
12874
|
console.log("response:", response);
|
|
12872
12875
|
toast.push({
|
|
12873
12876
|
content: "Data shifting berhasil diimport.",
|
package/build/mock/index.mjs
CHANGED
|
@@ -12841,14 +12841,17 @@ function useImportShift() {
|
|
|
12841
12841
|
formData.append("file", upload.file, upload.file.name || "shift.csv");
|
|
12842
12842
|
try {
|
|
12843
12843
|
isLoading.value = true;
|
|
12844
|
-
const response = await ofetch(
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
12844
|
+
const response = await ofetch(
|
|
12845
|
+
`${store.officeApiUrl}/importDataShift`,
|
|
12846
|
+
{
|
|
12847
|
+
method: "POST",
|
|
12848
|
+
headers: {
|
|
12849
|
+
"X-Neon-Key": "CH7JLKT6MW",
|
|
12850
|
+
Authorization: `Bearer ${authStore.accessToken}`
|
|
12851
|
+
},
|
|
12852
|
+
body: formData
|
|
12853
|
+
}
|
|
12854
|
+
);
|
|
12852
12855
|
console.log("response:", response);
|
|
12853
12856
|
toast.push({
|
|
12854
12857
|
content: "Data shifting berhasil diimport.",
|
package/build/module.json
CHANGED
package/build/nuxt.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.16.1-beta.
|
|
3
|
+
"version": "1.16.1-beta.2",
|
|
4
4
|
"description": "Interface library of Neutron Operasional.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"@neon.id/nuxt": "^1.5.0",
|
|
79
79
|
"@neon.id/office": "1.46.0",
|
|
80
80
|
"@neon.id/utils": "^1.51.0",
|
|
81
|
-
"@neutron.co.id/operasional-modules": "1.12.
|
|
82
|
-
"@neutron.co.id/personalia-models": "1.13.
|
|
81
|
+
"@neutron.co.id/operasional-modules": "1.12.13-beta.1",
|
|
82
|
+
"@neutron.co.id/personalia-models": "1.13.8-beta.1",
|
|
83
83
|
"@nuxt/kit": "^3.12.3",
|
|
84
84
|
"file-saver": "^2.0.5",
|
|
85
85
|
"papaparse": "5.4.1",
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
"@neon.id/nuxt": "^1.5.0",
|
|
154
154
|
"@neon.id/office": "1.46.0",
|
|
155
155
|
"@neon.id/utils": "^1.51.0",
|
|
156
|
-
"@neutron.co.id/operasional-modules": "1.12.
|
|
157
|
-
"@neutron.co.id/personalia-models": "1.13.
|
|
156
|
+
"@neutron.co.id/operasional-modules": "1.12.13-beta.1",
|
|
157
|
+
"@neutron.co.id/personalia-models": "1.13.8-beta.1",
|
|
158
158
|
"@nuxt/kit": "^3.12.3",
|
|
159
159
|
"file-saver": "^2.0.5",
|
|
160
160
|
"qr-scanner": "^1.4.2",
|
|
@@ -164,5 +164,5 @@
|
|
|
164
164
|
"publishConfig": {
|
|
165
165
|
"access": "public"
|
|
166
166
|
},
|
|
167
|
-
"build":
|
|
167
|
+
"build": 172
|
|
168
168
|
}
|