@airpower/web 0.2.57 → 0.2.60

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.
@@ -5,7 +5,7 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly response: QueryResponsePage<E>;
7
7
  readonly onChanged?: ((page: QueryPage) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "response" | "onChanged"> & {} & Partial<{}>> & import('vue').PublicProps;
8
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChanged" | "response"> & {} & Partial<{}>> & import('vue').PublicProps;
9
9
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
10
10
  attrs: any;
11
11
  slots: {};
package/dist/main.js CHANGED
@@ -17958,12 +17958,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
17958
17958
  return scope.row;
17959
17959
  }
17960
17960
  function getValue(scope, key) {
17961
- console.warn(getRowEntity(scope)[key]);
17962
17961
  return getRowEntity(scope)[key];
17963
17962
  }
17964
17963
  function getPayloadArray(scope, key) {
17965
- const value = getValue(scope, key)[key];
17966
- console.warn("payloadArray", value);
17964
+ const value = getValue(scope, key);
17967
17965
  return value;
17968
17966
  }
17969
17967
  function tableRowClassName({ row }) {
@@ -18264,12 +18262,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18264
18262
  key: 4,
18265
18263
  money: getValue(scope, item.key)
18266
18264
  }, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
18267
- item.array ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(getPayloadArray(scope, item.key), (payload) => {
18268
- return openBlock(), createBlock(unref(APayload), {
18269
- key: payload.id,
18270
- payload
18271
- }, null, 8, ["payload"]);
18272
- }), 128)) : (openBlock(), createBlock(unref(APayload), {
18265
+ item.array ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18266
+ createTextVNode(toDisplayString(getPayloadArray(scope, item.key)) + " ", 1),
18267
+ (openBlock(true), createElementBlock(Fragment, null, renderList(getPayloadArray(scope, item.key), (payload) => {
18268
+ return openBlock(), createBlock(unref(APayload), {
18269
+ key: payload.id,
18270
+ payload
18271
+ }, null, 8, ["payload"]);
18272
+ }), 128))
18273
+ ], 64)) : (openBlock(), createBlock(unref(APayload), {
18273
18274
  key: 1,
18274
18275
  payload: getValue(scope, item.key)
18275
18276
  }, null, 8, ["payload"]))
@@ -19572,7 +19573,6 @@ class AbstractService extends Transformer {
19572
19573
  }
19573
19574
  },
19574
19575
  error: (response) => {
19575
- console.warn("response", response);
19576
19576
  if (response.code === WebConfig.unAuthorizeCode) {
19577
19577
  window.location.replace(WebConfig.loginUrl);
19578
19578
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "0.2.57",
4
+ "version": "0.2.60",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",