@pisell/materials 6.11.103 → 6.11.105

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.
Files changed (41) hide show
  1. package/build/lowcode/3.js +1 -1
  2. package/build/lowcode/assets-daily.json +11 -11
  3. package/build/lowcode/assets-dev.json +2 -2
  4. package/build/lowcode/assets-prod.json +11 -11
  5. package/build/lowcode/index.js +1 -1
  6. package/build/lowcode/meta.js +1 -1
  7. package/build/lowcode/preview.js +6 -6
  8. package/build/lowcode/render/default/1.js +1 -1
  9. package/build/lowcode/render/default/view.css +1 -1
  10. package/build/lowcode/render/default/view.js +9 -9
  11. package/build/lowcode/view.css +1 -1
  12. package/build/lowcode/view.js +10 -10
  13. package/es/components/buttonGroupPreview/index.js +2 -1
  14. package/es/components/productCard/cartSkuCard/index.js +0 -3
  15. package/es/components/productCard/cartSkuCard/index.less +2 -0
  16. package/lib/components/buttonGroupPreview/index.js +1 -1
  17. package/lib/components/productCard/cartSkuCard/index.js +0 -3
  18. package/lib/components/productCard/cartSkuCard/index.less +2 -0
  19. package/package.json +3 -3
  20. package/es/components/pisellFind/index.d.ts +0 -40
  21. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  22. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  23. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
  24. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
  25. package/es/components/productCard/cartSkuCard/hooks/useCompensatedPhysicalTextStyle.js +0 -66
  26. package/es/components/productCard/lineItem/BookingLineItem.d.ts +0 -18
  27. package/es/components/productCard/lineItem/components/Resources/index.d.ts +0 -7
  28. package/es/components/productCard/lineItem/index.d.ts +0 -66
  29. package/es/components/productCard/lineItem/types.d.ts +0 -9
  30. package/es/components/productCard/types.d.ts +0 -95
  31. package/lib/components/pisellFind/index.d.ts +0 -40
  32. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  33. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  34. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
  35. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
  36. package/lib/components/productCard/cartSkuCard/hooks/useCompensatedPhysicalTextStyle.js +0 -82
  37. package/lib/components/productCard/lineItem/BookingLineItem.d.ts +0 -18
  38. package/lib/components/productCard/lineItem/components/Resources/index.d.ts +0 -7
  39. package/lib/components/productCard/lineItem/index.d.ts +0 -66
  40. package/lib/components/productCard/lineItem/types.d.ts +0 -9
  41. package/lib/components/productCard/types.d.ts +0 -95
@@ -1 +1 @@
1
- (window.webpackJsonpBaseMaterials=window.webpackJsonpBaseMaterials||[]).push([[1],{2233:function(e,t,r){e.exports=r(2304)},2304:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=a(e,"string");return"symbol"==typeof t?t:t+""}function a(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function l(e){return new f(e,0)}function u(e){return function(){return new c(e.apply(this,arguments))}}function c(e){var t,r;function n(t,r){try{var o=e[t](r),s=o.value,a=s instanceof f;Promise.resolve(a?s.v:s).then((function(r){if(a){var l="return"===t&&s.k?t:"next";if(!s.k||r.done)return n(l,r);r=e[l](r).value}i(!!o.done,r)}),(function(e){n("throw",e)}))}catch(e){i(2,e)}}function i(e,i){2===e?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,i){return new Promise((function(o,s){var a={key:e,arg:i,resolve:o,reject:s,next:null};r?r=r.next=a:(t=r=a,n(e,i))}))},"function"!=typeof e.return&&(this.return=void 0)}function f(e,t){this.v=e,this.k=t}function y(e){var t,r,n,i=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new d(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function d(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return(d=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new d(e)}c.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(e){return this._invoke("next",e)},c.prototype.throw=function(e){return this._invoke("throw",e)},c.prototype.return=function(e){return this._invoke("return",e)};var v=r(125);class h{constructor({marshaller:e,serializer:t,deserializer:r,serdeContext:n,defaultContentType:i}){o(this,"marshaller",void 0),o(this,"serializer",void 0),o(this,"deserializer",void 0),o(this,"serdeContext",void 0),o(this,"defaultContentType",void 0),this.marshaller=e,this.serializer=t,this.deserializer=r,this.serdeContext=n,this.defaultContentType=i}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){const n=this.marshaller,o=t.getEventStreamMember(),s=t.getMemberSchema(o),a=this.serializer,c=this.defaultContentType,f=Symbol("initialRequestMarker"),d={[Symbol.asyncIterator]:()=>u((function*(){if(r){const e={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:c}};a.write(t,r);const n=a.flush();yield{[f]:!0,headers:e,body:n}}var n=!1,i=!1,o;try{for(var s=y(e),u;n=!(u=yield l(s.next())).done;n=!1){const e=u.value;yield e}}catch(e){i=!0,o=e}finally{try{n&&null!=s.return&&(yield l(s.return()))}finally{if(i)throw o}}}))()};return n.serialize(d,e=>{if(e[f])return{headers:e.headers,body:e.body};let t="";for(const r in e)if("__type"!==r){t=r;break}const{additionalHeaders:r,body:n,eventType:o,explicitPayloadContentType:a}=this.writeEventBody(t,s,e),l=undefined;return{headers:i({":event-type":{type:"string",value:o},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:null!=a?a:c}},r),body:n}})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r}){var n;const o=this.marshaller,s=t.getEventStreamMember(),a=undefined,c=t.getMemberSchema(s).getMemberSchemas(),f=Symbol("initialResponseMarker"),y=o.deserialize(e.body,async e=>{let r="";for(const t in e)if("__type"!==t){r=t;break}const n=e[r].body;if("initial-response"===r){const e=await this.deserializer.read(t,n);return delete e[s],i({[f]:!0},e)}if(r in c){const t=c[r];if(t.isStructSchema()){const i={};let s=!1;for(const[u,c]of t.structIterator()){const{eventHeader:t,eventPayload:f}=c.getMergedTraits();if(s=s||Boolean(t||f),f)if(c.isBlobSchema())i[u]=n;else if(c.isStringSchema()){var o,a;i[u]=(null!==(o=null===(a=this.serdeContext)||void 0===a?void 0:a.utf8Encoder)&&void 0!==o?o:v.toUtf8)(n)}else c.isStructSchema()&&(i[u]=await this.deserializer.read(c,n));else if(t){var l;const t=null===(l=e[r].headers[u])||void 0===l?void 0:l.value;null!=t&&(c.isNumericSchema()?i[u]=t&&"object"==typeof t&&"bytes"in t?BigInt(t.toString()):Number(t):i[u]=t)}}if(s)return{[r]:i};if(0===n.byteLength)return{[r]:{}}}return{[r]:await this.deserializer.read(t,n)}}return{$unknown:e}}),d=y[Symbol.asyncIterator](),h=await d.next();if(h.done)return y;if(null!==(n=h.value)&&void 0!==n&&n[f]){if(!t)throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(const e in h.value)r[e]=h.value[e]}return{[Symbol.asyncIterator]:()=>u((function*(){var e;for(null!=h&&null!==(e=h.value)&&void 0!==e&&e[f]||(yield h.value);;){const{done:e,value:t}=yield l(d.next());if(e)break;yield t}}))()}}writeEventBody(e,t,r){var n,i,o;const s=this.serializer;let a=e,l=null,u;const c=undefined,f={};if((()=>{const r=undefined;return t.getSchema()[4].includes(e)})()){const n=t.getMemberSchema(e);if(n.isStructSchema()){for(const[t,i]of n.structIterator()){const{eventHeader:n,eventPayload:o}=i.getMergedTraits();if(o)l=t;else if(n){const n=r[e][t];let o="binary";i.isNumericSchema()?o=(-2)**31<=n&&n<=2**31-1?"integer":"long":i.isTimestampSchema()?o="timestamp":i.isStringSchema()?o="string":i.isBooleanSchema()&&(o="boolean"),null!=n&&(f[t]={type:o,value:n},delete r[e][t])}}if(null!==l){const t=n.getMemberSchema(l);t.isBlobSchema()?u="application/octet-stream":t.isStringSchema()&&(u="text/plain"),s.write(t,r[e][l])}else s.write(n,r[e])}else{if(!n.isUnitSchema())throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");s.write(n,{})}}else{const[t,n]=r[e];a=t,s.write(15,n)}const y=null!==(n=s.flush())&&void 0!==n?n:new Uint8Array,d=undefined;return{body:"string"==typeof y?(null!==(i=null===(o=this.serdeContext)||void 0===o?void 0:o.utf8Decoder)&&void 0!==i?i:v.fromUtf8)(y):y,eventType:a,explicitPayloadContentType:u,additionalHeaders:f}}}t.EventStreamSerde=h}}]);
1
+ (window.webpackJsonpBaseMaterials=window.webpackJsonpBaseMaterials||[]).push([[1],{2232:function(e,t,r){e.exports=r(2303)},2303:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=a(e,"string");return"symbol"==typeof t?t:t+""}function a(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function l(e){return new f(e,0)}function u(e){return function(){return new c(e.apply(this,arguments))}}function c(e){var t,r;function n(t,r){try{var o=e[t](r),s=o.value,a=s instanceof f;Promise.resolve(a?s.v:s).then((function(r){if(a){var l="return"===t&&s.k?t:"next";if(!s.k||r.done)return n(l,r);r=e[l](r).value}i(!!o.done,r)}),(function(e){n("throw",e)}))}catch(e){i(2,e)}}function i(e,i){2===e?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,i){return new Promise((function(o,s){var a={key:e,arg:i,resolve:o,reject:s,next:null};r?r=r.next=a:(t=r=a,n(e,i))}))},"function"!=typeof e.return&&(this.return=void 0)}function f(e,t){this.v=e,this.k=t}function y(e){var t,r,n,i=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new d(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function d(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return(d=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new d(e)}c.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(e){return this._invoke("next",e)},c.prototype.throw=function(e){return this._invoke("throw",e)},c.prototype.return=function(e){return this._invoke("return",e)};var v=r(125);class h{constructor({marshaller:e,serializer:t,deserializer:r,serdeContext:n,defaultContentType:i}){o(this,"marshaller",void 0),o(this,"serializer",void 0),o(this,"deserializer",void 0),o(this,"serdeContext",void 0),o(this,"defaultContentType",void 0),this.marshaller=e,this.serializer=t,this.deserializer=r,this.serdeContext=n,this.defaultContentType=i}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){const n=this.marshaller,o=t.getEventStreamMember(),s=t.getMemberSchema(o),a=this.serializer,c=this.defaultContentType,f=Symbol("initialRequestMarker"),d={[Symbol.asyncIterator]:()=>u((function*(){if(r){const e={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:c}};a.write(t,r);const n=a.flush();yield{[f]:!0,headers:e,body:n}}var n=!1,i=!1,o;try{for(var s=y(e),u;n=!(u=yield l(s.next())).done;n=!1){const e=u.value;yield e}}catch(e){i=!0,o=e}finally{try{n&&null!=s.return&&(yield l(s.return()))}finally{if(i)throw o}}}))()};return n.serialize(d,e=>{if(e[f])return{headers:e.headers,body:e.body};let t="";for(const r in e)if("__type"!==r){t=r;break}const{additionalHeaders:r,body:n,eventType:o,explicitPayloadContentType:a}=this.writeEventBody(t,s,e),l=undefined;return{headers:i({":event-type":{type:"string",value:o},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:null!=a?a:c}},r),body:n}})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r}){var n;const o=this.marshaller,s=t.getEventStreamMember(),a=undefined,c=t.getMemberSchema(s).getMemberSchemas(),f=Symbol("initialResponseMarker"),y=o.deserialize(e.body,async e=>{let r="";for(const t in e)if("__type"!==t){r=t;break}const n=e[r].body;if("initial-response"===r){const e=await this.deserializer.read(t,n);return delete e[s],i({[f]:!0},e)}if(r in c){const t=c[r];if(t.isStructSchema()){const i={};let s=!1;for(const[u,c]of t.structIterator()){const{eventHeader:t,eventPayload:f}=c.getMergedTraits();if(s=s||Boolean(t||f),f)if(c.isBlobSchema())i[u]=n;else if(c.isStringSchema()){var o,a;i[u]=(null!==(o=null===(a=this.serdeContext)||void 0===a?void 0:a.utf8Encoder)&&void 0!==o?o:v.toUtf8)(n)}else c.isStructSchema()&&(i[u]=await this.deserializer.read(c,n));else if(t){var l;const t=null===(l=e[r].headers[u])||void 0===l?void 0:l.value;null!=t&&(c.isNumericSchema()?i[u]=t&&"object"==typeof t&&"bytes"in t?BigInt(t.toString()):Number(t):i[u]=t)}}if(s)return{[r]:i};if(0===n.byteLength)return{[r]:{}}}return{[r]:await this.deserializer.read(t,n)}}return{$unknown:e}}),d=y[Symbol.asyncIterator](),h=await d.next();if(h.done)return y;if(null!==(n=h.value)&&void 0!==n&&n[f]){if(!t)throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(const e in h.value)r[e]=h.value[e]}return{[Symbol.asyncIterator]:()=>u((function*(){var e;for(null!=h&&null!==(e=h.value)&&void 0!==e&&e[f]||(yield h.value);;){const{done:e,value:t}=yield l(d.next());if(e)break;yield t}}))()}}writeEventBody(e,t,r){var n,i,o;const s=this.serializer;let a=e,l=null,u;const c=undefined,f={};if((()=>{const r=undefined;return t.getSchema()[4].includes(e)})()){const n=t.getMemberSchema(e);if(n.isStructSchema()){for(const[t,i]of n.structIterator()){const{eventHeader:n,eventPayload:o}=i.getMergedTraits();if(o)l=t;else if(n){const n=r[e][t];let o="binary";i.isNumericSchema()?o=(-2)**31<=n&&n<=2**31-1?"integer":"long":i.isTimestampSchema()?o="timestamp":i.isStringSchema()?o="string":i.isBooleanSchema()&&(o="boolean"),null!=n&&(f[t]={type:o,value:n},delete r[e][t])}}if(null!==l){const t=n.getMemberSchema(l);t.isBlobSchema()?u="application/octet-stream":t.isStringSchema()&&(u="text/plain"),s.write(t,r[e][l])}else s.write(n,r[e])}else{if(!n.isUnitSchema())throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");s.write(n,{})}}else{const[t,n]=r[e];a=t,s.write(15,n)}const y=null!==(n=s.flush())&&void 0!==n?n:new Uint8Array,d=undefined;return{body:"string"==typeof y?(null!==(i=null===(o=this.serdeContext)||void 0===o?void 0:o.utf8Decoder)&&void 0!==i?i:v.fromUtf8)(y):y,eventType:a,explicitPayloadContentType:u,additionalHeaders:f}}}t.EventStreamSerde=h}}]);