@neutron.co.id/operasional-interfaces 1.11.0 → 1.11.2-beta.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.
@@ -1,2 +1,2 @@
1
- export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "branches" | "detail" | "condition" | "lastProgress" | "responsibilityType" | "result" | "score" | "staffSupervises" | "staffWorks" | "title" | "virtualStaffWorks">;
1
+ export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "branches" | "detail" | "condition" | "score" | "lastProgress" | "responsibilityType" | "result" | "staffSupervises" | "staffWorks" | "title" | "virtualStaffWorks">;
2
2
  export type TResponsibilityModel = typeof ResponsibilityModel;
@@ -1,2 +1,2 @@
1
- export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "status" | "branch" | "name" | "user" | "image" | "note" | "birthDate" | "birthPlace" | "branches" | "nik">;
1
+ export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "status" | "branch" | "name" | "user" | "point" | "image" | "note" | "birthDate" | "birthPlace" | "branches" | "nik">;
2
2
  export type TStaffModel = typeof StaffModel;
package/build/index.cjs CHANGED
@@ -13589,6 +13589,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
13589
13589
  var _a;
13590
13590
  return (_a = route.name) == null ? void 0 : _a.includes("rapor");
13591
13591
  });
13592
+ const { coords } = core.useGeolocation();
13592
13593
  vue.watch(isNew, setDefaultValues, { immediate: true });
13593
13594
  async function setDefaultValues() {
13594
13595
  var _a, _b, _c;
@@ -13599,7 +13600,9 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
13599
13600
  staffId: (_a = staff.value) == null ? void 0 : _a.id,
13600
13601
  staff: { id: (_b = staff.value) == null ? void 0 : _b.id, flag: (_c = staff.value) == null ? void 0 : _c.flag },
13601
13602
  checkInAt: (/* @__PURE__ */ new Date()).toISOString(),
13602
- type: "checkpoint"
13603
+ type: "checkpoint",
13604
+ latitude: coords.value.latitude.toString(),
13605
+ longitude: coords.value.longitude.toString()
13603
13606
  };
13604
13607
  values.value = defaultValues;
13605
13608
  }
@@ -13677,8 +13680,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
13677
13680
  };
13678
13681
  }
13679
13682
  });
13680
- const CheckInExternal_vue_vue_type_style_index_0_scoped_aeda12b0_lang = "";
13681
- const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-aeda12b0"]]);
13683
+ const CheckInExternal_vue_vue_type_style_index_0_scoped_942d2d80_lang = "";
13684
+ const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-942d2d80"]]);
13682
13685
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d6ac1ebc"), n = n(), vue.popScopeId(), n);
13683
13686
  const _hoisted_1$h = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
13684
13687
  "h4",
@@ -18431,6 +18434,22 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18431
18434
  id: "6454a6c2d760fc7b529d4f4f",
18432
18435
  name: "Karyawan Marketing Cabang"
18433
18436
  },
18437
+ {
18438
+ id: "652ce8e6b487f9f108733873",
18439
+ name: "Cabang FO"
18440
+ },
18441
+ {
18442
+ id: "652ceb48b487f9f108733896",
18443
+ name: "Cabang Pemasaran"
18444
+ },
18445
+ {
18446
+ id: "652ceb79b487f9f1087338bc",
18447
+ name: "Pengelola Penyebaran"
18448
+ },
18449
+ {
18450
+ id: "652ceba2b487f9f1087338d9",
18451
+ name: "Pengelola Publikasi"
18452
+ },
18434
18453
  // INVENTORI
18435
18454
  {
18436
18455
  id: "64e7f2089103ea42a4f7d512",
package/build/index.mjs CHANGED
@@ -13587,6 +13587,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13587
13587
  var _a;
13588
13588
  return (_a = route.name) == null ? void 0 : _a.includes("rapor");
13589
13589
  });
13590
+ const { coords } = useGeolocation();
13590
13591
  watch(isNew, setDefaultValues, { immediate: true });
13591
13592
  async function setDefaultValues() {
13592
13593
  var _a, _b, _c;
@@ -13597,7 +13598,9 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13597
13598
  staffId: (_a = staff.value) == null ? void 0 : _a.id,
13598
13599
  staff: { id: (_b = staff.value) == null ? void 0 : _b.id, flag: (_c = staff.value) == null ? void 0 : _c.flag },
13599
13600
  checkInAt: (/* @__PURE__ */ new Date()).toISOString(),
13600
- type: "checkpoint"
13601
+ type: "checkpoint",
13602
+ latitude: coords.value.latitude.toString(),
13603
+ longitude: coords.value.longitude.toString()
13601
13604
  };
13602
13605
  values.value = defaultValues;
13603
13606
  }
@@ -13675,8 +13678,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13675
13678
  };
13676
13679
  }
13677
13680
  });
13678
- const CheckInExternal_vue_vue_type_style_index_0_scoped_aeda12b0_lang = "";
13679
- const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-aeda12b0"]]);
13681
+ const CheckInExternal_vue_vue_type_style_index_0_scoped_942d2d80_lang = "";
13682
+ const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-942d2d80"]]);
13680
13683
  const _withScopeId$1 = (n) => (pushScopeId("data-v-d6ac1ebc"), n = n(), popScopeId(), n);
13681
13684
  const _hoisted_1$h = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
13682
13685
  "h4",
@@ -18429,6 +18432,22 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18429
18432
  id: "6454a6c2d760fc7b529d4f4f",
18430
18433
  name: "Karyawan Marketing Cabang"
18431
18434
  },
18435
+ {
18436
+ id: "652ce8e6b487f9f108733873",
18437
+ name: "Cabang FO"
18438
+ },
18439
+ {
18440
+ id: "652ceb48b487f9f108733896",
18441
+ name: "Cabang Pemasaran"
18442
+ },
18443
+ {
18444
+ id: "652ceb79b487f9f1087338bc",
18445
+ name: "Pengelola Penyebaran"
18446
+ },
18447
+ {
18448
+ id: "652ceba2b487f9f1087338d9",
18449
+ name: "Pengelola Publikasi"
18450
+ },
18432
18451
  // INVENTORI
18433
18452
  {
18434
18453
  id: "64e7f2089103ea42a4f7d512",
package/build/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.11.0"
7
+ "version": "1.11.2-beta.1"
8
8
  }
package/build/nuxt.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.11.0"
7
+ "version": "1.11.2-beta.1"
8
8
  }
package/build/style.css CHANGED
@@ -148,7 +148,7 @@
148
148
  display: block
149
149
  }
150
150
 
151
- .neu-checkIn-single[data-v-aeda12b0] {
151
+ .neu-checkIn-single[data-v-942d2d80] {
152
152
  display: block
153
153
  }
154
154
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.11.0",
3
+ "version": "1.11.2-beta.1",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -74,7 +74,7 @@
74
74
  "@neon.id/nuxt": "^0.9.0",
75
75
  "@neon.id/office": "^1.17.0",
76
76
  "@neon.id/utils": "^1.19.0",
77
- "@neutron.co.id/personalia-models": "^1.10.0",
77
+ "@neutron.co.id/personalia-models": "^1.10.2-beta.1",
78
78
  "@nuxt/kit": "^3.7.4",
79
79
  "file-saver": "^2.0.5",
80
80
  "qr-scanner": "^1.4.2",
@@ -144,7 +144,7 @@
144
144
  "@neon.id/nuxt": "^0.9.0",
145
145
  "@neon.id/office": "^1.17.0",
146
146
  "@neon.id/utils": "^1.19.0",
147
- "@neutron.co.id/personalia-models": "^1.10.0",
147
+ "@neutron.co.id/personalia-models": "^1.10.2-beta.1",
148
148
  "@nuxt/kit": "^3.7.4",
149
149
  "file-saver": "^2.0.5",
150
150
  "qr-scanner": "^1.4.2",
@@ -154,5 +154,5 @@
154
154
  "publishConfig": {
155
155
  "access": "public"
156
156
  },
157
- "build": 130
157
+ "build": 132
158
158
  }