tsv2-library 1.0.61-alpha.37 → 1.0.61-alpha.39

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.
@@ -171,6 +171,11 @@ export interface DialogSelectAssetProps {
171
171
  * The list of asset name key to be excluded in fetch list
172
172
  */
173
173
  excludedKey?: string[];
174
+ /**
175
+ *
176
+ * The list of asset name key to be excluded in fetch list
177
+ */
178
+ excludeId?: string[];
174
179
  /**
175
180
  * The header of the dialog.
176
181
  *
@@ -55604,6 +55604,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
55604
55604
  selectedAssets: {},
55605
55605
  filterLists: {},
55606
55606
  excludedKey: {},
55607
+ excludeId: {},
55607
55608
  header: {},
55608
55609
  description: {},
55609
55610
  size: {},
@@ -55992,7 +55993,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
55992
55993
  return data30.data;
55993
55994
  } else if (props.type === "assetName") {
55994
55995
  params.tagType = typeof props.tagType === "string" ? JSON.stringify([props.tagType]) : void 0;
55995
- params.excludeKey = JSON.stringify(props.excludedKey);
55996
+ params.excludeKey = props.excludedKey ? JSON.stringify(props.excludedKey) : void 0;
55997
+ params.excludeId = props.excludeId ? JSON.stringify(props.excludeId) : void 0;
55996
55998
  const { data: data30 } = props.unpaired ? await AssetNameAPIs.getUnpairedAssetName(params) : await AssetNameAPIs.getAssetNameList(params);
55997
55999
  if (props.unpaired) {
55998
56000
  filterOption.value.nameOptions = (_c = (_b = data30.data) == null ? void 0 : _b.data) == null ? void 0 : _c.map(
@@ -65502,12 +65504,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
65502
65504
  const props = __props;
65503
65505
  const emit = __emit;
65504
65506
  const visibility = computed(() => props.visible);
65505
- const assetWithTag = computed(
65506
- () => {
65507
- var _a, _b, _c, _d;
65508
- return ((_b = (_a = assetInfo.value) == null ? void 0 : _a.asset) == null ? void 0 : _b.rfid) || ((_d = (_c = assetInfo.value) == null ? void 0 : _c.asset) == null ? void 0 : _d.qr);
65509
- }
65510
- );
65507
+ const assetWithTag = computed(() => {
65508
+ var _a;
65509
+ return ((_a = assetInfo.value) == null ? void 0 : _a.tagType) !== "Non TAG";
65510
+ });
65511
65511
  const dialogForm = ref();
65512
65512
  const assetInfo = ref();
65513
65513
  const reportTagDialog = shallowRef(false);