tsv2-library 1.0.61-alpha.43 → 1.0.61-alpha.45
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.
- package/dist/src/components/v2/DialogAssetNameDetail/DialogAssetNameDetail.vue.d.ts +3 -1
- package/dist/src/dto/tagTransaction.dto.d.ts +9 -0
- package/dist/src/services/tagTransaction.service.d.ts +1 -1
- package/dist/tsv2-library.es.js +60 -55
- package/dist/tsv2-library.umd.js +7 -7
- package/package.json +1 -1
- package/src/components/v2/DialogAssetNameDetail/DialogAssetNameDetail.vue.d.ts +3 -1
- package/src/services/tagTransaction.service.ts +2 -2
|
@@ -12,10 +12,12 @@ export interface DialogAssetNameDetailProps {
|
|
|
12
12
|
header?: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* The ID of the asset.
|
|
15
|
+
* The ID of the asset name.
|
|
16
16
|
*/
|
|
17
17
|
id: string;
|
|
18
18
|
|
|
19
|
+
currentTagType?: 'RFID' | 'QR' | 'RFID & QR' | 'Non TAG';
|
|
20
|
+
|
|
19
21
|
/**
|
|
20
22
|
* The query params for fetching assets.
|
|
21
23
|
*/
|
|
@@ -6,6 +6,6 @@ export interface ServiceOptions {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const API: ({ headers, params, }?: ServiceOptions) => AxiosInstance;
|
|
8
8
|
declare const _default: {
|
|
9
|
-
reportTag: (
|
|
9
|
+
reportTag: (body: ReportTagBody) => Promise<AxiosResponse<any, any>>;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
package/dist/tsv2-library.es.js
CHANGED
|
@@ -26991,8 +26991,8 @@ const _hoisted_1$1$ = { class: "w-full flex items-center justify-between pr-4" }
|
|
|
26991
26991
|
const _hoisted_2$1B = { class: "flex gap-3 items-center" };
|
|
26992
26992
|
const _hoisted_3$G = /* @__PURE__ */ createElementVNode("span", { class: "text-sm font-bold" }, "Transfer Log", -1);
|
|
26993
26993
|
const _hoisted_4$t = { class: "flex gap-1 items-center" };
|
|
26994
|
-
const _hoisted_5$
|
|
26995
|
-
const _hoisted_6$
|
|
26994
|
+
const _hoisted_5$m = { class: "text-xs font-medium" };
|
|
26995
|
+
const _hoisted_6$h = { class: "flex items-center gap-2" };
|
|
26996
26996
|
const _hoisted_7$d = {
|
|
26997
26997
|
key: 0,
|
|
26998
26998
|
class: "flex flex-col gap-3 dark:text-general-100"
|
|
@@ -27185,13 +27185,13 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
27185
27185
|
createElementVNode("div", _hoisted_2$1B, [
|
|
27186
27186
|
_hoisted_3$G,
|
|
27187
27187
|
createElementVNode("div", _hoisted_4$t, [
|
|
27188
|
-
createElementVNode("span", _hoisted_5$
|
|
27188
|
+
createElementVNode("span", _hoisted_5$m, toDisplayString$1(((_a = detail.value) == null ? void 0 : _a.transactionId) ?? "-"), 1),
|
|
27189
27189
|
createVNode(unref(_sfc_main$1d), {
|
|
27190
27190
|
text: ((_b = detail.value) == null ? void 0 : _b.transactionId) ?? ""
|
|
27191
27191
|
}, null, 8, ["text"])
|
|
27192
27192
|
])
|
|
27193
27193
|
]),
|
|
27194
|
-
createElementVNode("div", _hoisted_6$
|
|
27194
|
+
createElementVNode("div", _hoisted_6$h, [
|
|
27195
27195
|
createVNode(unref(_sfc_main$1m), {
|
|
27196
27196
|
disabled: isFirst.value,
|
|
27197
27197
|
onClick: _cache[0] || (_cache[0] = ($event) => navigateData("prev")),
|
|
@@ -27321,8 +27321,8 @@ const _hoisted_1$1_ = { class: "w-full flex items-center justify-between" };
|
|
|
27321
27321
|
const _hoisted_2$1A = /* @__PURE__ */ createElementVNode("h1", { class: "text-sm font-bold" }, "Damage Log", -1);
|
|
27322
27322
|
const _hoisted_3$F = { class: "flex items-center gap-2" };
|
|
27323
27323
|
const _hoisted_4$s = ["disabled"];
|
|
27324
|
-
const _hoisted_5$
|
|
27325
|
-
const _hoisted_6$
|
|
27324
|
+
const _hoisted_5$l = ["disabled"];
|
|
27325
|
+
const _hoisted_6$g = { class: "flex items-start gap-[18px]" };
|
|
27326
27326
|
const _hoisted_7$c = { class: "flex flex-col w-full" };
|
|
27327
27327
|
const _hoisted_8$8 = { class: "w-full flex items-center justify-between" };
|
|
27328
27328
|
const _hoisted_9$5 = { class: "text-sm font-bold" };
|
|
@@ -27511,14 +27511,14 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
27511
27511
|
disabled: currentIdIndex.value === ids.value.length - 1 || ids.value.length === 1,
|
|
27512
27512
|
onClick: increaseIndex,
|
|
27513
27513
|
"data-ts-section": "next-button"
|
|
27514
|
-
}, " Next> ", 10, _hoisted_5$
|
|
27514
|
+
}, " Next> ", 10, _hoisted_5$l)
|
|
27515
27515
|
])
|
|
27516
27516
|
])
|
|
27517
27517
|
]),
|
|
27518
27518
|
default: withCtx(() => {
|
|
27519
27519
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t2, _u, _v;
|
|
27520
27520
|
return [
|
|
27521
|
-
createElementVNode("div", _hoisted_6$
|
|
27521
|
+
createElementVNode("div", _hoisted_6$g, [
|
|
27522
27522
|
createVNode(unref(_sfc_main$Q), {
|
|
27523
27523
|
thumbnail: (_b = (_a = damageDetail.value) == null ? void 0 : _a.request) == null ? void 0 : _b.assetImageMedium,
|
|
27524
27524
|
class: "w-[125px] h-[125px]"
|
|
@@ -27640,8 +27640,8 @@ const _hoisted_1$1Z = { class: "w-full flex items-center justify-between" };
|
|
|
27640
27640
|
const _hoisted_2$1z = /* @__PURE__ */ createElementVNode("h1", { class: "text-sm font-bold" }, "Missing Log", -1);
|
|
27641
27641
|
const _hoisted_3$E = { class: "flex items-center gap-2" };
|
|
27642
27642
|
const _hoisted_4$r = ["disabled"];
|
|
27643
|
-
const _hoisted_5$
|
|
27644
|
-
const _hoisted_6$
|
|
27643
|
+
const _hoisted_5$k = ["disabled"];
|
|
27644
|
+
const _hoisted_6$f = { class: "flex items-start gap-[18px]" };
|
|
27645
27645
|
const _hoisted_7$b = { class: "flex flex-col w-full" };
|
|
27646
27646
|
const _hoisted_8$7 = { class: "w-full flex items-center justify-between" };
|
|
27647
27647
|
const _hoisted_9$4 = { class: "text-sm font-bold" };
|
|
@@ -27820,14 +27820,14 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
27820
27820
|
disabled: currentIdIndex.value === ids.value.length - 1 || ids.value.length === 1,
|
|
27821
27821
|
onClick: increaseIndex,
|
|
27822
27822
|
"data-ts-section": "next-button"
|
|
27823
|
-
}, " Next> ", 10, _hoisted_5$
|
|
27823
|
+
}, " Next> ", 10, _hoisted_5$k)
|
|
27824
27824
|
])
|
|
27825
27825
|
])
|
|
27826
27826
|
]),
|
|
27827
27827
|
default: withCtx(() => {
|
|
27828
27828
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t2, _u, _v;
|
|
27829
27829
|
return [
|
|
27830
|
-
createElementVNode("div", _hoisted_6$
|
|
27830
|
+
createElementVNode("div", _hoisted_6$f, [
|
|
27831
27831
|
createVNode(unref(_sfc_main$Q), {
|
|
27832
27832
|
thumbnail: (_b = (_a = missingDetail.value) == null ? void 0 : _a.request) == null ? void 0 : _b.assetImageMedium,
|
|
27833
27833
|
class: "w-[125px] h-[125px]"
|
|
@@ -27903,8 +27903,8 @@ const _hoisted_1$1Y = { class: "flex justify-between gap-[18px] dark:text-genera
|
|
|
27903
27903
|
const _hoisted_2$1y = { class: "w-full flex flex-col gap-[6px]" };
|
|
27904
27904
|
const _hoisted_3$D = { class: "" };
|
|
27905
27905
|
const _hoisted_4$q = { class: "flex justify-between" };
|
|
27906
|
-
const _hoisted_5$
|
|
27907
|
-
const _hoisted_6$
|
|
27906
|
+
const _hoisted_5$j = { class: "text-[16px] font-bold leading-[19.12px]" };
|
|
27907
|
+
const _hoisted_6$e = ["href"];
|
|
27908
27908
|
const _hoisted_7$a = { class: "flex items-center gap-[6px]" };
|
|
27909
27909
|
const _hoisted_8$6 = { class: "text-general-400 leading-[16.39px]" };
|
|
27910
27910
|
const _hoisted_9$3 = /* @__PURE__ */ createElementVNode("div", { class: "w-[6px] h-[6px] rounded-full bg-general-100" }, null, -1);
|
|
@@ -28063,13 +28063,13 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
28063
28063
|
createElementVNode("div", _hoisted_2$1y, [
|
|
28064
28064
|
createElementVNode("div", _hoisted_3$D, [
|
|
28065
28065
|
createElementVNode("div", _hoisted_4$q, [
|
|
28066
|
-
createElementVNode("div", _hoisted_5$
|
|
28066
|
+
createElementVNode("div", _hoisted_5$j, toDisplayString$1(nameWithSequence.value), 1),
|
|
28067
28067
|
unref(user).userType !== "Basic" ? (openBlock(), createElementBlock("a", {
|
|
28068
28068
|
key: 0,
|
|
28069
28069
|
href: `/assets/detail/${((_a = asset.value) == null ? void 0 : _a.asset) ?? ((_b = asset.value) == null ? void 0 : _b._id)}`,
|
|
28070
28070
|
class: "text-primary-500",
|
|
28071
28071
|
target: "_blank"
|
|
28072
|
-
}, " Asset Detail > ", 8, _hoisted_6$
|
|
28072
|
+
}, " Asset Detail > ", 8, _hoisted_6$e)) : createCommentVNode("", true)
|
|
28073
28073
|
]),
|
|
28074
28074
|
createElementVNode("div", _hoisted_7$a, [
|
|
28075
28075
|
createElementVNode("span", _hoisted_8$6, toDisplayString$1(assetId.value) + " " + toDisplayString$1(aliasCode.value), 1),
|
|
@@ -35089,8 +35089,8 @@ var _hoisted_1$1y = ["id"];
|
|
|
35089
35089
|
var _hoisted_2$1c = ["id", "value", "placeholder", "tabindex", "disabled", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
|
|
35090
35090
|
var _hoisted_3$w = ["id", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-disabled"];
|
|
35091
35091
|
var _hoisted_4$m = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
|
|
35092
|
-
var _hoisted_5$
|
|
35093
|
-
var _hoisted_6$
|
|
35092
|
+
var _hoisted_5$i = ["id", "aria-label"];
|
|
35093
|
+
var _hoisted_6$d = ["id"];
|
|
35094
35094
|
var _hoisted_7$9 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
|
|
35095
35095
|
function render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35096
35096
|
var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
|
|
@@ -35329,7 +35329,7 @@ function render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35329
35329
|
return [createElementVNode("span", mergeProps({
|
|
35330
35330
|
"class": _ctx.cx("itemGroupLabel")
|
|
35331
35331
|
}, _ctx.ptm("itemGroupLabel")), toDisplayString$1($options.getOptionGroupLabel(option.optionGroup)), 17)];
|
|
35332
|
-
})], 16, _hoisted_6$
|
|
35332
|
+
})], 16, _hoisted_6$d)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
|
|
35333
35333
|
key: 1,
|
|
35334
35334
|
id: $data.id + "_" + $options.getOptionIndex(i, getItemOptions),
|
|
35335
35335
|
"class": _ctx.cx("item", {
|
|
@@ -35386,7 +35386,7 @@ function render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35386
35386
|
"data-p-hidden-accessible": true
|
|
35387
35387
|
}), [renderSlot(_ctx.$slots, "empty", {}, function() {
|
|
35388
35388
|
return [createTextVNode(toDisplayString$1($options.emptyMessageText), 1)];
|
|
35389
|
-
})], 16)) : createCommentVNode("", true)], 16, _hoisted_5$
|
|
35389
|
+
})], 16)) : createCommentVNode("", true)], 16, _hoisted_5$i)];
|
|
35390
35390
|
}),
|
|
35391
35391
|
_: 2
|
|
35392
35392
|
}, [_ctx.$slots.loader ? {
|
|
@@ -35883,7 +35883,7 @@ const _hoisted_3$v = {
|
|
|
35883
35883
|
"data-ts-section": "title"
|
|
35884
35884
|
};
|
|
35885
35885
|
const _hoisted_4$l = { "data-ts-section": "message" };
|
|
35886
|
-
const _hoisted_5$
|
|
35886
|
+
const _hoisted_5$h = {
|
|
35887
35887
|
key: 0,
|
|
35888
35888
|
class: "flex flex-col gap-3 overflow-auto max-h-[71px]",
|
|
35889
35889
|
"data-ts-section": "list"
|
|
@@ -35961,7 +35961,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
35961
35961
|
}, null, 8, ["severity"])) : createCommentVNode("", true)
|
|
35962
35962
|
])
|
|
35963
35963
|
]),
|
|
35964
|
-
props.lists ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
35964
|
+
props.lists ? (openBlock(), createElementBlock("div", _hoisted_5$h, [
|
|
35965
35965
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.lists, (item3, index2) => {
|
|
35966
35966
|
return openBlock(), createElementBlock("div", {
|
|
35967
35967
|
key: index2,
|
|
@@ -43214,7 +43214,7 @@ var _hoisted_4$j = /* @__PURE__ */ createElementVNode("path", {
|
|
|
43214
43214
|
d: "M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z",
|
|
43215
43215
|
fill: "currentColor"
|
|
43216
43216
|
}, null, -1);
|
|
43217
|
-
var _hoisted_5$
|
|
43217
|
+
var _hoisted_5$g = [_hoisted_1$$, _hoisted_2$L, _hoisted_3$r, _hoisted_4$j];
|
|
43218
43218
|
function render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
43219
43219
|
return openBlock(), createElementBlock("svg", mergeProps({
|
|
43220
43220
|
width: "14",
|
|
@@ -43222,7 +43222,7 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
43222
43222
|
viewBox: "0 0 14 14",
|
|
43223
43223
|
fill: "none",
|
|
43224
43224
|
xmlns: "http://www.w3.org/2000/svg"
|
|
43225
|
-
}, _ctx.pti()), _hoisted_5$
|
|
43225
|
+
}, _ctx.pti()), _hoisted_5$g, 16);
|
|
43226
43226
|
}
|
|
43227
43227
|
script$s.render = render$q;
|
|
43228
43228
|
var script$r = {
|
|
@@ -45058,8 +45058,8 @@ var _hoisted_1$3$1 = ["colspan"];
|
|
|
45058
45058
|
var _hoisted_2$1$1 = ["tabindex", "aria-selected", "data-p-index", "data-p-selectable-row", "data-p-highlight", "data-p-highlight-contextmenu"];
|
|
45059
45059
|
var _hoisted_3$1$1 = ["id"];
|
|
45060
45060
|
var _hoisted_4$i = ["colspan"];
|
|
45061
|
-
var _hoisted_5$
|
|
45062
|
-
var _hoisted_6$
|
|
45061
|
+
var _hoisted_5$f = ["colspan"];
|
|
45062
|
+
var _hoisted_6$c = ["colspan"];
|
|
45063
45063
|
function render$8$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
45064
45064
|
var _component_ChevronDownIcon = resolveComponent("ChevronDownIcon");
|
|
45065
45065
|
var _component_ChevronRightIcon = resolveComponent("ChevronRightIcon");
|
|
@@ -45197,7 +45197,7 @@ function render$8$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
45197
45197
|
}, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT("bodycell")), _ctx.ptm("rowGroupFooterCell"))), [(openBlock(), createBlock(resolveDynamicComponent($props.templates["groupfooter"]), {
|
|
45198
45198
|
data: $props.rowData,
|
|
45199
45199
|
index: $options.rowIndex
|
|
45200
|
-
}, null, 8, ["data", "index"]))], 16, _hoisted_5$
|
|
45200
|
+
}, null, 8, ["data", "index"]))], 16, _hoisted_5$f)], 16)) : createCommentVNode("", true)], 64)) : (openBlock(), createElementBlock("tr", mergeProps({
|
|
45201
45201
|
key: 1,
|
|
45202
45202
|
"class": _ctx.cx("emptyMessage"),
|
|
45203
45203
|
role: "row"
|
|
@@ -45205,7 +45205,7 @@ function render$8$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
45205
45205
|
colspan: $options.columnsLength
|
|
45206
45206
|
}, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT("bodycell")), _ctx.ptm("emptyMessageCell"))), [$props.templates.empty ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.empty), {
|
|
45207
45207
|
key: 0
|
|
45208
|
-
})) : createCommentVNode("", true)], 16, _hoisted_6$
|
|
45208
|
+
})) : createCommentVNode("", true)], 16, _hoisted_6$c)], 16));
|
|
45209
45209
|
}
|
|
45210
45210
|
script$8$1.render = render$8$1;
|
|
45211
45211
|
var script$7$1 = {
|
|
@@ -51796,7 +51796,7 @@ const _hoisted_4$h = {
|
|
|
51796
51796
|
class: "relative w-full h-full flex items-center justify-center",
|
|
51797
51797
|
"data-ts-section": "single-action-wrapper"
|
|
51798
51798
|
};
|
|
51799
|
-
const _hoisted_5$
|
|
51799
|
+
const _hoisted_5$e = ["id", "disabled", "onClick"];
|
|
51800
51800
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
51801
51801
|
__name: "DataTable",
|
|
51802
51802
|
props: {
|
|
@@ -52623,7 +52623,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
52623
52623
|
severity: "primary",
|
|
52624
52624
|
"tooltip-pos": "left"
|
|
52625
52625
|
}, null, 8, ["id"])
|
|
52626
|
-
], 10, _hoisted_5$
|
|
52626
|
+
], 10, _hoisted_5$e)
|
|
52627
52627
|
])
|
|
52628
52628
|
]),
|
|
52629
52629
|
key: "1"
|
|
@@ -54014,8 +54014,8 @@ var _hoisted_1$V = ["id", "disabled", "placeholder", "tabindex", "aria-label", "
|
|
|
54014
54014
|
var _hoisted_2$G = ["onClick"];
|
|
54015
54015
|
var _hoisted_3$o = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
|
|
54016
54016
|
var _hoisted_4$g = ["aria-label"];
|
|
54017
|
-
var _hoisted_5$
|
|
54018
|
-
var _hoisted_6$
|
|
54017
|
+
var _hoisted_5$d = ["id", "aria-label"];
|
|
54018
|
+
var _hoisted_6$b = ["id"];
|
|
54019
54019
|
var _hoisted_7$8 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
|
|
54020
54020
|
function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
54021
54021
|
var _component_TimesCircleIcon = resolveComponent("TimesCircleIcon");
|
|
@@ -54295,7 +54295,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
54295
54295
|
index: $options.getOptionIndex(i, getItemOptions)
|
|
54296
54296
|
}, function() {
|
|
54297
54297
|
return [createTextVNode(toDisplayString$1($options.getOptionGroupLabel(option.optionGroup)), 1)];
|
|
54298
|
-
})], 16, _hoisted_6$
|
|
54298
|
+
})], 16, _hoisted_6$b)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
|
|
54299
54299
|
key: 1,
|
|
54300
54300
|
id: $data.id + "_" + $options.getOptionIndex(i, getItemOptions),
|
|
54301
54301
|
style: {
|
|
@@ -54359,7 +54359,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
54359
54359
|
role: "option"
|
|
54360
54360
|
}, _ctx.ptm("emptyMessage")), [renderSlot(_ctx.$slots, "empty", {}, function() {
|
|
54361
54361
|
return [createTextVNode(toDisplayString$1($options.emptyMessageText), 1)];
|
|
54362
|
-
})], 16)) : createCommentVNode("", true)], 16, _hoisted_5$
|
|
54362
|
+
})], 16)) : createCommentVNode("", true)], 16, _hoisted_5$d)];
|
|
54363
54363
|
}),
|
|
54364
54364
|
_: 2
|
|
54365
54365
|
}, [_ctx.$slots.loader ? {
|
|
@@ -55129,8 +55129,8 @@ var _hoisted_1$M = ["aria-label"];
|
|
|
55129
55129
|
var _hoisted_2$z = ["aria-modal"];
|
|
55130
55130
|
var _hoisted_3$m = ["aria-label"];
|
|
55131
55131
|
var _hoisted_4$f = ["aria-label"];
|
|
55132
|
-
var _hoisted_5$
|
|
55133
|
-
var _hoisted_6$
|
|
55132
|
+
var _hoisted_5$c = ["disabled", "aria-label"];
|
|
55133
|
+
var _hoisted_6$a = ["disabled", "aria-label"];
|
|
55134
55134
|
var _hoisted_7$7 = ["aria-label"];
|
|
55135
55135
|
var _hoisted_8$5 = ["src"];
|
|
55136
55136
|
function render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -55218,7 +55218,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
55218
55218
|
"data-pc-group-section": "action"
|
|
55219
55219
|
}), [renderSlot(_ctx.$slots, "zoomout", {}, function() {
|
|
55220
55220
|
return [createVNode(_component_SearchMinusIcon, normalizeProps(guardReactiveProps(_ctx.ptm("zoomOutIcon"))), null, 16)];
|
|
55221
|
-
})], 16, _hoisted_5$
|
|
55221
|
+
})], 16, _hoisted_5$c), createElementVNode("button", mergeProps({
|
|
55222
55222
|
"class": _ctx.cx("zoomInButton"),
|
|
55223
55223
|
onClick: _cache[5] || (_cache[5] = function() {
|
|
55224
55224
|
return $options.zoomIn && $options.zoomIn.apply($options, arguments);
|
|
@@ -55230,7 +55230,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
55230
55230
|
"data-pc-group-section": "action"
|
|
55231
55231
|
}), [renderSlot(_ctx.$slots, "zoomin", {}, function() {
|
|
55232
55232
|
return [createVNode(_component_SearchPlusIcon, normalizeProps(guardReactiveProps(_ctx.ptm("zoomInIcon"))), null, 16)];
|
|
55233
|
-
})], 16, _hoisted_6$
|
|
55233
|
+
})], 16, _hoisted_6$a), createElementVNode("button", mergeProps({
|
|
55234
55234
|
"class": _ctx.cx("closeButton"),
|
|
55235
55235
|
type: "button",
|
|
55236
55236
|
onClick: _cache[6] || (_cache[6] = function() {
|
|
@@ -55593,8 +55593,8 @@ const _hoisted_4$d = {
|
|
|
55593
55593
|
class: "flex gap-1 w-full items-center justify-end",
|
|
55594
55594
|
"data-ts-section": "button-group"
|
|
55595
55595
|
};
|
|
55596
|
-
const _hoisted_5$
|
|
55597
|
-
const _hoisted_6$
|
|
55596
|
+
const _hoisted_5$b = { class: "flex flex-col gap-1" };
|
|
55597
|
+
const _hoisted_6$9 = {
|
|
55598
55598
|
class: "text-xs text-red-600",
|
|
55599
55599
|
"data-ts-section": "message-validator"
|
|
55600
55600
|
};
|
|
@@ -56089,8 +56089,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
56089
56089
|
modal: ""
|
|
56090
56090
|
}, {
|
|
56091
56091
|
footer: withCtx(() => [
|
|
56092
|
-
createElementVNode("div", _hoisted_5$
|
|
56093
|
-
withDirectives(createElementVNode("small", _hoisted_6$
|
|
56092
|
+
createElementVNode("div", _hoisted_5$b, [
|
|
56093
|
+
withDirectives(createElementVNode("small", _hoisted_6$9, " You must pick an asset ", 512), [
|
|
56094
56094
|
[vShow, showValidator.value]
|
|
56095
56095
|
]),
|
|
56096
56096
|
createElementVNode("div", _hoisted_7$6, [
|
|
@@ -56392,8 +56392,8 @@ const _hoisted_3$j = {
|
|
|
56392
56392
|
"data-ts-section": "dialog-asset-name-detail-action-group"
|
|
56393
56393
|
};
|
|
56394
56394
|
const _hoisted_4$c = { class: "" };
|
|
56395
|
-
const _hoisted_5$
|
|
56396
|
-
const _hoisted_6$
|
|
56395
|
+
const _hoisted_5$a = { class: "flex justify-end items-center gap-1" };
|
|
56396
|
+
const _hoisted_6$8 = { class: "flex flex-col justify-end gap-1" };
|
|
56397
56397
|
const _hoisted_7$5 = {
|
|
56398
56398
|
key: 0,
|
|
56399
56399
|
class: "text-danger-500 text-[12px] font-light",
|
|
@@ -56475,7 +56475,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
56475
56475
|
}, {
|
|
56476
56476
|
footer: withCtx(() => [
|
|
56477
56477
|
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
56478
|
-
createElementVNode("div", _hoisted_6$
|
|
56478
|
+
createElementVNode("div", _hoisted_6$8, [
|
|
56479
56479
|
showWarning.value ? (openBlock(), createElementBlock("span", _hoisted_7$5, " You must pick a user ")) : createCommentVNode("", true),
|
|
56480
56480
|
createElementVNode("div", null, [
|
|
56481
56481
|
createVNode(_sfc_main$1m, {
|
|
@@ -56503,7 +56503,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
56503
56503
|
])) : createCommentVNode("", true),
|
|
56504
56504
|
createElementVNode("div", _hoisted_3$j, [
|
|
56505
56505
|
createElementVNode("div", _hoisted_4$c, toDisplayString$1(_ctx.description), 1),
|
|
56506
|
-
createElementVNode("div", _hoisted_5$
|
|
56506
|
+
createElementVNode("div", _hoisted_5$a, [
|
|
56507
56507
|
createVNode(_sfc_main$11, {
|
|
56508
56508
|
onSearch: _cache[0] || (_cache[0] = ($event) => searchModel.value = $event)
|
|
56509
56509
|
}),
|
|
@@ -59692,8 +59692,8 @@ const _hoisted_1$D = ["id"];
|
|
|
59692
59692
|
const _hoisted_2$q = ["id", "aria-controls", "aria-expanded", "aria-invalid", "aria-label", "aria-labelledby", "disabled", "name", "placeholder", "readonly"];
|
|
59693
59693
|
const _hoisted_3$h = ["id", "aria-label", "aria-modal", "role"];
|
|
59694
59694
|
const _hoisted_4$b = ["aria-label", "disabled"];
|
|
59695
|
-
const _hoisted_5$
|
|
59696
|
-
const _hoisted_6$
|
|
59695
|
+
const _hoisted_5$9 = ["aria-label", "disabled"];
|
|
59696
|
+
const _hoisted_6$7 = ["aria-label", "disabled"];
|
|
59697
59697
|
const _hoisted_7$4 = ["aria-label", "disabled"];
|
|
59698
59698
|
const _hoisted_8$3 = ["aria-label", "disabled"];
|
|
59699
59699
|
const _hoisted_9$2 = ["aria-label", "disabled"];
|
|
@@ -59862,7 +59862,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59862
59862
|
}, _ctx.ptm("yearTitle"), {
|
|
59863
59863
|
"data-pc-group-section": "view",
|
|
59864
59864
|
type: "button"
|
|
59865
|
-
}), toDisplayString$1($options.getYear(month2)), 17, _hoisted_5$
|
|
59865
|
+
}), toDisplayString$1($options.getYear(month2)), 17, _hoisted_5$9)) : createCommentVNode("", true),
|
|
59866
59866
|
$data.currentView === "date" ? (openBlock(), createElementBlock("button", mergeProps({
|
|
59867
59867
|
key: 1,
|
|
59868
59868
|
"aria-label": _ctx.$primevue.config.locale.chooseMonth,
|
|
@@ -59874,7 +59874,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59874
59874
|
}, _ctx.ptm("monthTitle"), {
|
|
59875
59875
|
"data-pc-group-section": "view",
|
|
59876
59876
|
type: "button"
|
|
59877
|
-
}), toDisplayString$1($options.getMonthName(month2.month)), 17, _hoisted_6$
|
|
59877
|
+
}), toDisplayString$1($options.getMonthName(month2.month)), 17, _hoisted_6$7)) : createCommentVNode("", true)
|
|
59878
59878
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
59879
59879
|
$data.currentView === "date" ? (openBlock(), createElementBlock("button", mergeProps({
|
|
59880
59880
|
key: 0,
|
|
@@ -62013,11 +62013,14 @@ const _hoisted_2$m = {
|
|
|
62013
62013
|
};
|
|
62014
62014
|
const _hoisted_3$f = { class: "flex items-center gap-3 text-body-medium mr-auto" };
|
|
62015
62015
|
const _hoisted_4$a = { class: "font-bold" };
|
|
62016
|
+
const _hoisted_5$8 = { key: 0 };
|
|
62017
|
+
const _hoisted_6$6 = { key: 1 };
|
|
62016
62018
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
62017
62019
|
__name: "DialogAssetNameDetail",
|
|
62018
62020
|
props: {
|
|
62019
62021
|
header: { default: "Asset Name Detail" },
|
|
62020
62022
|
id: {},
|
|
62023
|
+
currentTagType: {},
|
|
62021
62024
|
params: {},
|
|
62022
62025
|
visible: { type: Boolean }
|
|
62023
62026
|
},
|
|
@@ -62087,13 +62090,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
62087
62090
|
modal: ""
|
|
62088
62091
|
}, {
|
|
62089
62092
|
default: withCtx(() => {
|
|
62090
|
-
var _a, _b;
|
|
62093
|
+
var _a, _b, _c;
|
|
62091
62094
|
return [
|
|
62092
62095
|
createElementVNode("div", _hoisted_1$x, [
|
|
62093
62096
|
createElementVNode("div", _hoisted_2$m, [
|
|
62094
62097
|
createElementVNode("div", _hoisted_3$f, [
|
|
62095
62098
|
createElementVNode("span", _hoisted_4$a, toDisplayString$1(((_a = assetName.value) == null ? void 0 : _a.name) ?? "-"), 1),
|
|
62096
|
-
|
|
62099
|
+
props.currentTagType ? (openBlock(), createElementBlock("span", _hoisted_5$8, " Current TAG: " + toDisplayString$1(((_b = props.currentTagType) == null ? void 0 : _b.includes("TAG")) ? props.currentTagType : `${props.currentTagType} TAG`), 1)) : (openBlock(), createElementBlock("span", _hoisted_6$6, "TAG: " + toDisplayString$1(((_c = assetName.value) == null ? void 0 : _c.tagType) ?? "-") + " TAG", 1))
|
|
62097
62100
|
]),
|
|
62098
62101
|
createVNode(_sfc_main$11, {
|
|
62099
62102
|
onSearch: _cache[0] || (_cache[0] = ($event) => searchModel.value = $event)
|
|
@@ -65947,8 +65950,8 @@ const API = ({
|
|
|
65947
65950
|
});
|
|
65948
65951
|
return instance;
|
|
65949
65952
|
};
|
|
65950
|
-
const reportTag = (
|
|
65951
|
-
return API().put(
|
|
65953
|
+
const reportTag = (body) => {
|
|
65954
|
+
return API().put("/report/bulk", body);
|
|
65952
65955
|
};
|
|
65953
65956
|
const TagTransactionAPIs = {
|
|
65954
65957
|
reportTag
|
|
@@ -66017,7 +66020,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
66017
66020
|
emit("update:visible", false);
|
|
66018
66021
|
}
|
|
66019
66022
|
} else {
|
|
66020
|
-
const { data: data30 } = await TagTransactionAPIs.reportTag(
|
|
66023
|
+
const { data: data30 } = await TagTransactionAPIs.reportTag({
|
|
66024
|
+
data: [{ asset: props.id, reportData: body }]
|
|
66025
|
+
});
|
|
66021
66026
|
if (data30) {
|
|
66022
66027
|
toast2.add({ message: props.successMessage ?? message2 });
|
|
66023
66028
|
emit("reported", body);
|