tsv2-library 1.0.61-alpha.36 → 1.0.61-alpha.38

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
  *
@@ -55473,20 +55473,6 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
55473
55473
  return image2;
55474
55474
  };
55475
55475
  watch(() => props.galleries, resolveGallerySrcs, { immediate: true });
55476
- watch(
55477
- usePreview,
55478
- (val) => {
55479
- console.log("👽👽:", val, thumbnailString.value);
55480
- },
55481
- { immediate: true }
55482
- );
55483
- watch(
55484
- imagePreview,
55485
- (val) => {
55486
- console.log("🤖🤖:", val);
55487
- },
55488
- { immediate: true }
55489
- );
55490
55476
  return (_ctx, _cache) => {
55491
55477
  return openBlock(), createBlock(unref(script$h), mergeProps(_ctx.$props, {
55492
55478
  class: [
@@ -55618,6 +55604,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
55618
55604
  selectedAssets: {},
55619
55605
  filterLists: {},
55620
55606
  excludedKey: {},
55607
+ excludeId: {},
55621
55608
  header: {},
55622
55609
  description: {},
55623
55610
  size: {},
@@ -56006,7 +55993,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
56006
55993
  return data30.data;
56007
55994
  } else if (props.type === "assetName") {
56008
55995
  params.tagType = typeof props.tagType === "string" ? JSON.stringify([props.tagType]) : void 0;
56009
- 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;
56010
55998
  const { data: data30 } = props.unpaired ? await AssetNameAPIs.getUnpairedAssetName(params) : await AssetNameAPIs.getAssetNameList(params);
56011
55999
  if (props.unpaired) {
56012
56000
  filterOption.value.nameOptions = (_c = (_b = data30.data) == null ? void 0 : _b.data) == null ? void 0 : _c.map(