@next-bricks/presentational 0.18.1 → 0.18.3
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/bricks.json +1 -1
- package/dist/chunks/{9359.bf95f054.js → 9359.8b63121c.js} +2 -2
- package/dist/chunks/{9359.bf95f054.js.map → 9359.8b63121c.js.map} +1 -1
- package/dist/chunks/eo-alert.4b6b7169.js +3 -0
- package/dist/chunks/{eo-alert.a0bd869e.js.map → eo-alert.4b6b7169.js.map} +1 -1
- package/dist/chunks/eo-descriptions.5f3f82fc.js +3 -0
- package/dist/chunks/{eo-descriptions.325f803e.js.map → eo-descriptions.5f3f82fc.js.map} +1 -1
- package/dist/chunks/eo-info-card-item.59500f42.js +3 -0
- package/dist/chunks/{eo-info-card-item.8f43aba4.js.map → eo-info-card-item.59500f42.js.map} +1 -1
- package/dist/chunks/{eo-pagination.b3823288.js → eo-pagination.9c48acbf.js} +2 -2
- package/dist/chunks/{eo-pagination.b3823288.js.map → eo-pagination.9c48acbf.js.map} +1 -1
- package/dist/chunks/{main.28910d79.js → main.dfa3ebd2.js} +2 -2
- package/dist/chunks/{main.28910d79.js.map → main.dfa3ebd2.js.map} +1 -1
- package/dist/examples.json +1 -1
- package/dist/{index.7950c858.js → index.e6219660.js} +2 -2
- package/dist/{index.7950c858.js.map → index.e6219660.js.map} +1 -1
- package/docs/eo-info-card-item.md +102 -8
- package/package.json +3 -3
- package/dist/chunks/eo-alert.a0bd869e.js +0 -3
- package/dist/chunks/eo-descriptions.325f803e.js +0 -3
- package/dist/chunks/eo-info-card-item.8f43aba4.js +0 -3
- /package/dist/chunks/{eo-alert.a0bd869e.js.LICENSE.txt → eo-alert.4b6b7169.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.325f803e.js.LICENSE.txt → eo-descriptions.5f3f82fc.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.8f43aba4.js.LICENSE.txt → eo-info-card-item.59500f42.js.LICENSE.txt} +0 -0
|
@@ -5,6 +5,99 @@
|
|
|
5
5
|
### Basic
|
|
6
6
|
|
|
7
7
|
```yaml preview
|
|
8
|
+
- brick: eo-info-card-item
|
|
9
|
+
properties:
|
|
10
|
+
style:
|
|
11
|
+
width: 100%
|
|
12
|
+
cardTitle: 持续集成
|
|
13
|
+
cardIcon:
|
|
14
|
+
color: green
|
|
15
|
+
icon:
|
|
16
|
+
icon: object-topology
|
|
17
|
+
lib: easyops
|
|
18
|
+
category: app
|
|
19
|
+
bgColor: var(--theme-green-background)
|
|
20
|
+
description: 支持展客户两会话健康和空间和健康和健康和健康几节课或军扩过过过过科技股科技股就开始刚开始搞是接口关键时刻哥萨克伽伽司空见惯撒十多个数据库高升控股撒奥会计噶会计师公开撒娇鬼萨科技馆萨科技会计师干撒冈萨加国盛金控hhhhhhhhhhhhh
|
|
21
|
+
detailList:
|
|
22
|
+
- useBrick:
|
|
23
|
+
brick: eo-tag
|
|
24
|
+
properties:
|
|
25
|
+
textContent: IT资源管理
|
|
26
|
+
tagStyle:
|
|
27
|
+
borderRadius: 3px
|
|
28
|
+
height: 32px
|
|
29
|
+
lineHeight: 32px
|
|
30
|
+
- useBrick:
|
|
31
|
+
brick: eo-tag
|
|
32
|
+
properties:
|
|
33
|
+
textContent: 存储设备
|
|
34
|
+
tagStyle:
|
|
35
|
+
borderRadius: 3px
|
|
36
|
+
height: 32px
|
|
37
|
+
lineHeight: 32px
|
|
38
|
+
- useBrick:
|
|
39
|
+
brick: eo-tag
|
|
40
|
+
properties:
|
|
41
|
+
textContent: 资源套餐
|
|
42
|
+
tagStyle:
|
|
43
|
+
borderRadius: 3px
|
|
44
|
+
height: 32px
|
|
45
|
+
lineHeight: 32px
|
|
46
|
+
slots:
|
|
47
|
+
action:
|
|
48
|
+
type: bricks
|
|
49
|
+
bricks:
|
|
50
|
+
- brick: eo-dropdown-actions
|
|
51
|
+
events:
|
|
52
|
+
advanced.setting:
|
|
53
|
+
- action: message.success
|
|
54
|
+
args:
|
|
55
|
+
- click advanced button
|
|
56
|
+
button.delete:
|
|
57
|
+
- useProvider: basic.show-dialog
|
|
58
|
+
args:
|
|
59
|
+
- type: confirm
|
|
60
|
+
title: Please Confirm
|
|
61
|
+
content: Are you sure?
|
|
62
|
+
callback:
|
|
63
|
+
success:
|
|
64
|
+
action: message.success
|
|
65
|
+
args:
|
|
66
|
+
- You just confirmed!
|
|
67
|
+
error:
|
|
68
|
+
action: message.warn
|
|
69
|
+
args:
|
|
70
|
+
- You just canceled.
|
|
71
|
+
children:
|
|
72
|
+
- brick: eo-button
|
|
73
|
+
properties:
|
|
74
|
+
type: text
|
|
75
|
+
icon:
|
|
76
|
+
lib: fa
|
|
77
|
+
icon: ellipsis-h
|
|
78
|
+
color: red
|
|
79
|
+
size: small
|
|
80
|
+
properties:
|
|
81
|
+
actions:
|
|
82
|
+
- text: 高级设置
|
|
83
|
+
color: red
|
|
84
|
+
icon:
|
|
85
|
+
icon: setting
|
|
86
|
+
lib: antd
|
|
87
|
+
event: advanced.setting
|
|
88
|
+
- text: 删除
|
|
89
|
+
icon:
|
|
90
|
+
lib: antd
|
|
91
|
+
icon: delete
|
|
92
|
+
event: button.delete
|
|
93
|
+
tooltip: 删除
|
|
94
|
+
tooltipPlacement: right
|
|
95
|
+
danger: true
|
|
96
|
+
color: var(--theme-red-color)
|
|
97
|
+
- brick: div
|
|
98
|
+
properties:
|
|
99
|
+
style:
|
|
100
|
+
height: 20px
|
|
8
101
|
- brick: eo-info-card-item
|
|
9
102
|
properties:
|
|
10
103
|
style:
|
|
@@ -61,10 +154,11 @@
|
|
|
61
154
|
children:
|
|
62
155
|
- brick: eo-button
|
|
63
156
|
properties:
|
|
64
|
-
type:
|
|
157
|
+
type: text
|
|
65
158
|
icon:
|
|
66
159
|
lib: fa
|
|
67
|
-
icon: ellipsis-
|
|
160
|
+
icon: ellipsis-h
|
|
161
|
+
color: red
|
|
68
162
|
size: small
|
|
69
163
|
properties:
|
|
70
164
|
actions:
|
|
@@ -75,13 +169,13 @@
|
|
|
75
169
|
event: advanced.setting
|
|
76
170
|
- text: 删除
|
|
77
171
|
icon:
|
|
78
|
-
lib:
|
|
79
|
-
category: default
|
|
172
|
+
lib: antd
|
|
80
173
|
icon: delete
|
|
81
174
|
event: button.delete
|
|
82
175
|
tooltip: 删除
|
|
83
176
|
tooltipPlacement: right
|
|
84
177
|
color: var(--theme-red-color)
|
|
178
|
+
danger: true
|
|
85
179
|
- brick: div
|
|
86
180
|
properties:
|
|
87
181
|
style:
|
|
@@ -148,10 +242,10 @@
|
|
|
148
242
|
children:
|
|
149
243
|
- brick: eo-button
|
|
150
244
|
properties:
|
|
151
|
-
type:
|
|
245
|
+
type: text
|
|
152
246
|
icon:
|
|
153
247
|
lib: fa
|
|
154
|
-
icon: ellipsis-
|
|
248
|
+
icon: ellipsis-h
|
|
155
249
|
size: small
|
|
156
250
|
properties:
|
|
157
251
|
actions:
|
|
@@ -162,12 +256,12 @@
|
|
|
162
256
|
event: advanced.setting
|
|
163
257
|
- text: 删除
|
|
164
258
|
icon:
|
|
165
|
-
lib:
|
|
166
|
-
category: default
|
|
259
|
+
lib: antd
|
|
167
260
|
icon: delete
|
|
168
261
|
event: button.delete
|
|
169
262
|
tooltip: 删除
|
|
170
263
|
tooltipPlacement: right
|
|
264
|
+
danger: true
|
|
171
265
|
color: var(--theme-red-color)
|
|
172
266
|
- brick: div
|
|
173
267
|
properties:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.3",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"postpublish": "mv package.json.bak package.json"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@next-core/build-next-bricks": "^1.
|
|
37
|
+
"@next-core/build-next-bricks": "^1.19.0",
|
|
38
38
|
"@next-core/test-next": "^1.0.12",
|
|
39
39
|
"babel-plugin-prismjs": "^2.1.0"
|
|
40
40
|
},
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@next-bricks/containers": "*",
|
|
44
44
|
"@next-bricks/icons": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "95d825e556c4ccba595899198bfcbdf94e75acdd"
|
|
47
47
|
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-alert.a0bd869e.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[9628,5628,533],{19369:(e,t,r)=>{"use strict";r.d(t,{hk:()=>a,tJ:()=>o});var n=function(e){return e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.ERROR="error",e}({}),o={[n.SUCCESS]:{outlinedIcon:{lib:"antd",icon:"check-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"check-circle",theme:"filled"},color:"var(--theme-green-color)",bgColor:"var(--theme-green-background)"},[n.INFO]:{outlinedIcon:{lib:"antd",icon:"info-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"info-circle",theme:"filled"},color:"var(--theme-blue-color)",bgColor:"var(--theme-blue-background)"},[n.WARNING]:{outlinedIcon:{lib:"antd",icon:"exclamation-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"exclamation-circle",theme:"filled"},color:"var(--theme-orange-color)",bgColor:"var(--theme-orange-background)"},[n.ERROR]:{outlinedIcon:{lib:"antd",icon:"close-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"close-circle",theme:"filled"},color:"var(--theme-red-color)",bgColor:"var(--theme-red-background)"}},a="presentational.general-alert-hidden"},87478:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GeneralAlert:()=>m,GeneralAlertComponent:()=>J});var n,o,a,i,l,c,s,u,p,f,d,h,v,g,m,b=r(7896),y=r(53395),w=r(40381),x=r(70687),Z=r(72604),S=r(48657),k=r.n(S),E=r(92462),I=r(32354),N=r(53622),O=r(52890),j=(r(31800),r(52297)),T=r(19369),C=r(72779),A=r.n(C),{defineElement:z,property:M}=(0,E.createDecorators)(),R=(0,I.wrapBrick)("eo-icon");o=z("eo-alert",{styleTexts:[j.Z],alias:["presentational.general-alert"]}),a=M({attribute:!1}),l=M({type:Boolean}),s=M({type:Boolean}),p=M(),d=M({type:Boolean});var _=new WeakMap,U=new WeakMap,W=new WeakMap,K=new WeakMap,P=new WeakMap,B=new WeakMap;class G extends I.ReactNextElement{constructor(){super(...arguments),(0,y.Z)(this,_,{writable:!0,value:(v(this),i(this))}),(0,y.Z)(this,U,{writable:!0,value:c(this)}),(0,y.Z)(this,W,{writable:!0,value:u(this)}),(0,y.Z)(this,K,{writable:!0,value:f(this)}),(0,y.Z)(this,P,{writable:!0,value:h(this)}),(0,y.Z)(this,B,{writable:!0,value:()=>{this.remove()}})}get type(){return(0,x.Z)(this,_)}set type(e){(0,w.Z)(this,_,e)}get hasTitle(){return(0,x.Z)(this,U)}set hasTitle(e){(0,w.Z)(this,U,e)}get closable(){return(0,x.Z)(this,W)}set closable(e){(0,w.Z)(this,W,e)}get localStorageKey(){return(0,x.Z)(this,K)}set localStorageKey(e){(0,w.Z)(this,K,e)}get disableUrlNamespace(){return(0,x.Z)(this,P)}set disableUrlNamespace(e){(0,w.Z)(this,P,e)}render(){return k().createElement(J,{type:this.type,hasTitle:this.hasTitle,closable:this.closable,localStorageKey:this.localStorageKey,disableUrlNamespace:this.disableUrlNamespace,removeHostNode:(0,x.Z)(this,B)})}}function J(e){var{type:t,hasTitle:r,closable:n,localStorageKey:o,disableUrlNamespace:a,removeHostNode:i}=e,l=(0,S.useMemo)((()=>new O.o(localStorage)),[]),c=(0,S.useMemo)((()=>{if(o){var e=(0,N.getHistory)().location.pathname;return a?"".concat(T.hk,"_").concat(o):"".concat(T.hk,"_").concat(o,"_").concat(e)}return null}),[a,o]),s=(0,S.useMemo)((()=>T.tJ[t]),[t]),[u,p]=(0,S.useState)((()=>!(!n||!c||!l.getItem(c))));return u?null:k().createElement("div",{className:A()("alert-wrapper",r?"alert-wrapper-has-title":"alert-wrapper-no-title"),style:{background:null==s?void 0:s.bgColor}},k().createElement(R,(0,b.Z)({},r?null==s?void 0:s.outlinedIcon:null==s?void 0:s.filledIcon,{className:"alert-icon",style:{color:null==s?void 0:s.color}})),k().createElement("div",{className:"alert-container"},r&&k().createElement("div",{className:"alert-title"},k().createElement("slot",{name:"title"})),k().createElement("div",{className:"alert-content"},k().createElement("slot",null))),n&&k().createElement(R,{lib:"antd",theme:"outlined",icon:"close",className:"close-icon",onClick:()=>{p(!0),l.setItem(c,!0),null==i||i()}}))}g=G,({e:[i,c,u,f,h,v],c:[m,n]}=(0,Z.Z)(g,[[a,1,"type"],[l,1,"hasTitle"],[s,1,"closable"],[p,1,"localStorageKey"],[d,1,"disableUrlNamespace"]],[o],0,void 0,I.ReactNextElement)),n()},72779:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},52297:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(39601),o=r.n(n),a=r(82609),i=r.n(a)()(o());i.push([e.id,":host{display:block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.alert-wrapper{display:flex;border-radius:var(--larger-border-radius)}.alert-container{flex:1;display:flex;flex-direction:column}.close-icon{font-size:12px;color:var(--palette-gray-10);cursor:pointer}.alert-wrapper-no-title.alert-wrapper{gap:10px;padding:10px 16px}.alert-wrapper-no-title .alert-icon{font-size:14px;margin-top:5px}.alert-wrapper-no-title .alert-content{font-size:14px;color:var(--text-color-default);line-height:24px}.alert-wrapper-no-title .close-icon{margin-top:6px}.alert-wrapper-has-title.alert-wrapper{gap:16px;padding:16px 16px 16px 24px}.alert-wrapper-has-title .alert-icon{font-size:24px}.alert-wrapper-has-title .alert-title{margin-bottom:6px;font-size:16px;font-weight:var(--font-weight-500);color:var(--text-color-default);line-height:24px}.alert-wrapper-has-title .alert-content{font-size:12px;color:var(--text-color-default);line-height:20px}",""]);const l=i.toString()},82609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(i[c]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);n&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},39601:e=>{"use strict";e.exports=function(e){return e[1]}},72604:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(86522),o=r(31815);function a(e,t){return function(r,n){return e[t].call(r,n)}}function i(e,t){return function(r){if(t.v)throw new Error("attempted to call addInitializer after decoration was finished");c(r,"An initializer",!0),e.push(r)}}function l(e,t,r,n,o,l,c,s,u,p,f){function d(e){return function(t,r){if(!p(t))throw new TypeError("Attempted to access private element on non-instance");return e(t,r)}}var h,v,g={v:!1},m={kind:["field","accessor","method","getter","setter","field"][l],name:s?"#"+r:r,static:c,private:s,metadata:f,addInitializer:i(o,g)};if(s||0!==l&&2!==l)if(2===l)h=d((function(){return n.value}));else{var b=0===l||1===l;(b||3===l)&&(h=a(n,"get"),s&&(h=d(h))),(b||4===l)&&(v=a(n,"set"),s&&(v=d(v)))}else h=function(e){return e[r]},0===l&&(v=function(e,t){e[r]=t});var y=s?p.bind():function(e){return r in e},w=m.access={has:y};h&&(w.get=h),v&&(w.set=v);try{return e.call(t,u,m)}finally{g.v=!0}}function c(e,t,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must be a function")}function s(e,t){var r=(0,n.Z)(t);if(1===e){if("object"!==r||!t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");c(t.get,"accessor.get"),c(t.set,"accessor.set"),c(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function u(e,t,r,n,o,i,c,u,p,f,d){var h,v,g,m,b=r[0],y=r[3];n||Array.isArray(b)||(b=[b]),u?h=0===i||1===i?{get:function(){return y(this)},set:function(e){r[4](this,e)}}:3===i?{get:y}:4===i?{set:y}:{value:y}:0!==i&&(h=Object.getOwnPropertyDescriptor(t,o)),1===i?g={get:h.get,set:h.set}:2===i?g=h.value:3===i?g=h.get:4===i&&(g=h.set);for(var w=n?2:1,x=b.length-1;x>=0;x-=w){var Z;void 0!==(m=l(b[x],n?b[x-1]:void 0,o,h,p,i,c,u,g,f,d))&&(s(i,m),0===i?Z=m:1===i?(Z=m.init,g={get:m.get||g.get,set:m.set||g.set}):g=m,void 0!==Z&&(void 0===v?v=Z:"function"==typeof v?v=[v,Z]:v.push(Z)))}if(0===i||1===i){if(void 0===v)v=function(e,t){return t};else if("function"!=typeof v){var S=v;v=function(e,t){for(var r=t,n=S.length-1;n>=0;n--)r=S[n].call(e,r);return r}}else{var k=v;v=v.call.bind(k)}e.push(v)}0!==i&&(1===i?(h.get=g.get,h.set=g.set):2===i?h.value=g:3===i?h.get=g:4===i&&(h.set=g),u?1===i?e.push(a(h,"get"),a(h,"set")):e.push(2===i?g:Function.call.bind(g)):Object.defineProperty(t,o,h))}function p(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}function f(e,t,r,n,a,l){if(arguments.length>=6)var c=l[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(void 0===c?null:c),d=function(e,t,r,n){var a,i,l,c=[],s=new Map,p=new Map;function f(e){e&&c.push((function(t){for(var r=0;r<e.length;r++)e[r].call(t);return t}))}for(var d=0;d<t.length;d++){var h=t[d];if(Array.isArray(h)){var v,g,m=h[1],b=h[2],y=h.length>3,w=16&m,x=!!(8&m),Z=r;if(m&=7,x?(v=e,g=i=i||[],y&&!l&&(l=function(t){return(0,o.Z)(t)===e}),Z=l):(v=e.prototype,g=a=a||[]),0!==m&&!y){var S=x?p:s,k=S.get(b)||0;if(!0===k||3===k&&4!==m||4===k&&3!==m)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+b);S.set(b,!(!k&&m>2)||m)}u(c,v,h,w,b,m,x,y,g,Z,n)}}return f(a),f(i),c}(e,t,a,f);return r.length||p(e,f),{e:d,get c(){return function(e,t,r,n){if(t.length){for(var o=[],a=e,l=e.name,c=r?2:1,u=t.length-1;u>=0;u-=c){var f={v:!1};try{var d=t[u].call(r?t[u-1]:void 0,a,{kind:"class",name:l,addInitializer:i(o,f),metadata:n})}finally{f.v=!0}void 0!==d&&(s(5,d),a=d)}return[p(a,n),function(){for(var e=0;e<o.length;e++)o[e].call(a)}]}}(e,r,n,f)}}}},31815:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(86522);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,n.Z)(e):"null"));return e}},85863:(e,t,r)=>{"use strict";function n(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>n})},70175:(e,t,r)=>{"use strict";function n(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>n})},70687:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(70175);function o(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,n.Z)(e,t,"get"))}},53395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(85863);function o(e,t,r){(0,n.Z)(e,t),t.set(e,r)}},40381:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(70175);function o(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,n.Z)(e,t,"set"),r),r}},7896:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},86522:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})},52890:(e,t,r)=>{"use strict";r.d(t,{o:()=>n});class n{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){return JSON.parse(this.storage.getItem(this.prefix+e))}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}}}]);
|
|
3
|
-
//# sourceMappingURL=eo-alert.a0bd869e.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-descriptions.325f803e.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[8293,5628,533],{82049:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Descriptions:()=>S,DescriptionsComponent:()=>V});var n,i,o,a,s,c,l,u,d,p,f,h,v,m,b,g,y,w,Z,x,S,k=r(33028),E=r(53395),j=r(40381),O=r(70687),T=r(72604),C=r(48657),M=r.n(C),P=r(92462),A=r(32354),z=r(58803),N=(r(31800),r(72779)),B=r.n(N),D=r(75468),I=(r(14122),(0,A.wrapBrick)("containers.general-card")),W=(0,A.wrapBrick)("containers.grid-layout"),{defineElement:G,property:_}=(0,P.createDecorators)();i=G("eo-descriptions",{styleTexts:[z.Z],alias:["presentational.general-descriptions"]}),o=_(),s=_({attribute:!1}),l=_({type:Boolean}),d=_({attribute:!0}),f=_(),v=_({type:Boolean}),b=_({attribute:!1}),y=_({attribute:!1});var R=new WeakMap,F=new WeakMap,H=new WeakMap,L=new WeakMap,U=new WeakMap,q=new WeakMap,J=new WeakMap,K=new WeakMap;class Q extends A.ReactNextElement{constructor(){super(...arguments),(0,E.Z)(this,R,{writable:!0,value:(Z(this),a(this))}),(0,E.Z)(this,F,{writable:!0,value:c(this)}),(0,E.Z)(this,H,{writable:!0,value:u(this)}),(0,E.Z)(this,L,{writable:!0,value:p(this)}),(0,E.Z)(this,U,{writable:!0,value:h(this)}),(0,E.Z)(this,q,{writable:!0,value:m(this)}),(0,E.Z)(this,J,{writable:!0,value:g(this)}),(0,E.Z)(this,K,{writable:!0,value:w(this)})}get descriptionTitle(){return(0,O.Z)(this,R)}set descriptionTitle(t){(0,j.Z)(this,R,t)}get list(){return(0,O.Z)(this,F)}set list(t){(0,j.Z)(this,F,t)}get showCard(){return(0,O.Z)(this,H)}set showCard(t){(0,j.Z)(this,H,t)}get column(){return(0,O.Z)(this,L)}set column(t){(0,j.Z)(this,L,t)}get layout(){return(0,O.Z)(this,U)}set layout(t){(0,j.Z)(this,U,t)}get bordered(){return(0,O.Z)(this,q)}set bordered(t){(0,j.Z)(this,q,t)}get hideGroups(){return(0,O.Z)(this,J)}set hideGroups(t){(0,j.Z)(this,J,t)}get dataSource(){return(0,O.Z)(this,K)}set dataSource(t){(0,j.Z)(this,K,t)}render(){return M().createElement(V,{descriptionTitle:this.descriptionTitle,list:this.list,showCard:this.showCard,column:this.column,layout:this.layout,bordered:this.bordered,hideGroups:this.hideGroups,dataSource:this.dataSource})}}function V(t){var e,{descriptionTitle:r,list:n,showCard:i=!0,column:o=3,layout:a="horizontal",bordered:s=!1,hideGroups:c,dataSource:l}=t,[u,d]=(0,C.useState)();return(0,C.useEffect)((()=>{if(c){var t=new Set([].concat(c).filter(Boolean));d(t)}}),[c]),M().createElement(I,{cardTitle:r,headerStyle:{border:"none",padding:"var(--description-header-padding)",color:"var(--antd-description-title-color)",fontSize:"14px",lineHeight:"20px"},background:i},M().createElement(W,{gap:"vertical"===a||s?"0":"10px",columns:o,className:B()("description-content",{bordered:s})},null==n||null===(e=n.filter((t=>!t.group||!(null!=u&&u.has(t.group)))))||void 0===e?void 0:e.map(((t,e)=>M().createElement("div",{key:e,className:B()("description-item",a,{bordered:s}),style:(0,k.Z)({},e===n.length-1?{gridColumnStart:n.length%o,gridColumnEnd:+o+1}:{})},M().createElement("span",{className:"description-item-label"},t.label,s?"":": "),M().createElement("span",{className:"description-item-content"},(t=>t.useBrick?M().createElement(D.ReactUseMultipleBricks,{useBrick:t.useBrick,data:null!=l?l:{}}):t.text)(t)))))))}x=Q,({e:[a,c,u,p,h,m,g,w,Z],c:[S,n]}=(0,T.Z)(x,[[o,1,"descriptionTitle"],[s,1,"list"],[l,1,"showCard"],[d,1,"column"],[f,1,"layout"],[v,1,"bordered"],[b,1,"hideGroups"],[y,1,"dataSource"]],[i],0,void 0,A.ReactNextElement)),n()},72779:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&t.push(a)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},82923:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});var n=r(39601),i=r.n(n),o=r(82609),a=r.n(o)()(i());a.push([t.id,':root{--eo-descriptions-label-background:#fafafa}html[data-theme="dark"],\nhtml[data-theme="dark-v2"]{--eo-descriptions-label-background:rgba(255,255,255,0.04)}',""]);const s=a},58803:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});var n=r(39601),i=r.n(n),o=r(82609),a=r.n(o)()(i());a.push([t.id,":host{display:block}:host([hidden]){display:none}.description-content{padding:var(--description-content-padding)}.description-item{display:flex}.description-item-label{color:var(--antd-description-item-label-color)}.description-item-content{color:var(--antd-description-item-content-color)}.description-item.horizontal{flex-direction:inherit}.description-item.vertical{flex-direction:column;margin-bottom:10px}.description-item.horizontal > span:first-child{margin-right:12px}.description-item.vertical > span:first-child{margin-bottom:8px}.description-content.bordered{border-top:1px solid var(--antd-border-color-split)}.description-item.bordered{box-sizing:border-box;border-left:1px solid var(--antd-border-color-split);border-bottom:1px solid var(--antd-border-color-split)}.description-item.horizontal.bordered > span:first-child{margin-right:0;padding:10px;min-width:150px}.description-item.horizontal.bordered > span:last-child{padding:10px}.description-item.vertical.bordered{margin-bottom:0}.description-item.vertical.bordered > span:first-child{margin-bottom:0;padding:10px}.description-item.vertical.bordered > span:last-child{padding:10px}.description-item.bordered > span:first-child{background-color:var(--eo-descriptions-label-background)}",""]);const s=a.toString()},82609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},39601:t=>{"use strict";t.exports=function(t){return t[1]}},14122:(t,e,r)=>{"use strict";var n=r(46062),i=r.n(n),o=r(44036),a=r.n(o),s=r(96793),c=r.n(s),l=r(17892),u=r.n(l),d=r(11173),p=r.n(d),f=r(42464),h=r.n(f),v=r(82923),m={};m.styleTagTransform=h(),m.setAttributes=u(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(v.Z,m),v.Z&&v.Z.locals&&v.Z.locals},46062:t=>{"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var o={},a=[],s=0;s<t.length;s++){var c=t[s],l=n.base?c[0]+n.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var p=r(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)e[p].references++,e[p].updater(f);else{var h=i(f,n);n.byIndex=s,e.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function i(t,e){var r=e.domAPI(e);return r.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,i){var o=n(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=r(o[a]);e[s].references--}for(var c=n(t,i),l=0;l<o.length;l++){var u=r(o[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}o=c}}},96793:t=>{"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},11173:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},17892:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},44036:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},42464:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},72604:(t,e,r)=>{"use strict";r.d(e,{Z:()=>p});var n=r(86522),i=r(31815);function o(t,e){return function(r,n){return t[e].call(r,n)}}function a(t,e){return function(r){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished");c(r,"An initializer",!0),t.push(r)}}function s(t,e,r,n,i,s,c,l,u,d,p){function f(t){return function(e,r){if(!d(e))throw new TypeError("Attempted to access private element on non-instance");return t(e,r)}}var h,v,m={v:!1},b={kind:["field","accessor","method","getter","setter","field"][s],name:l?"#"+r:r,static:c,private:l,metadata:p,addInitializer:a(i,m)};if(l||0!==s&&2!==s)if(2===s)h=f((function(){return n.value}));else{var g=0===s||1===s;(g||3===s)&&(h=o(n,"get"),l&&(h=f(h))),(g||4===s)&&(v=o(n,"set"),l&&(v=f(v)))}else h=function(t){return t[r]},0===s&&(v=function(t,e){t[r]=e});var y=l?d.bind():function(t){return r in t},w=b.access={has:y};h&&(w.get=h),v&&(w.set=v);try{return t.call(e,u,b)}finally{m.v=!0}}function c(t,e,r){if("function"!=typeof t&&(r||void 0!==t))throw new TypeError(e+" must be a function")}function l(t,e){var r=(0,n.Z)(e);if(1===t){if("object"!==r||!e)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");c(e.get,"accessor.get"),c(e.set,"accessor.set"),c(e.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===t?"field":5===t?"class":"method")+" decorators must return a function or void 0")}function u(t,e,r,n,i,a,c,u,d,p,f){var h,v,m,b,g=r[0],y=r[3];n||Array.isArray(g)||(g=[g]),u?h=0===a||1===a?{get:function(){return y(this)},set:function(t){r[4](this,t)}}:3===a?{get:y}:4===a?{set:y}:{value:y}:0!==a&&(h=Object.getOwnPropertyDescriptor(e,i)),1===a?m={get:h.get,set:h.set}:2===a?m=h.value:3===a?m=h.get:4===a&&(m=h.set);for(var w=n?2:1,Z=g.length-1;Z>=0;Z-=w){var x;void 0!==(b=s(g[Z],n?g[Z-1]:void 0,i,h,d,a,c,u,m,p,f))&&(l(a,b),0===a?x=b:1===a?(x=b.init,m={get:b.get||m.get,set:b.set||m.set}):m=b,void 0!==x&&(void 0===v?v=x:"function"==typeof v?v=[v,x]:v.push(x)))}if(0===a||1===a){if(void 0===v)v=function(t,e){return e};else if("function"!=typeof v){var S=v;v=function(t,e){for(var r=e,n=S.length-1;n>=0;n--)r=S[n].call(t,r);return r}}else{var k=v;v=v.call.bind(k)}t.push(v)}0!==a&&(1===a?(h.get=m.get,h.set=m.set):2===a?h.value=m:3===a?h.get=m:4===a&&(h.set=m),u?1===a?t.push(o(h,"get"),o(h,"set")):t.push(2===a?m:Function.call.bind(m)):Object.defineProperty(e,i,h))}function d(t,e){return Object.defineProperty(t,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:e})}function p(t,e,r,n,o,s){if(arguments.length>=6)var c=s[Symbol.metadata||Symbol.for("Symbol.metadata")];var p=Object.create(void 0===c?null:c),f=function(t,e,r,n){var o,a,s,c=[],l=new Map,d=new Map;function p(t){t&&c.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}for(var f=0;f<e.length;f++){var h=e[f];if(Array.isArray(h)){var v,m,b=h[1],g=h[2],y=h.length>3,w=16&b,Z=!!(8&b),x=r;if(b&=7,Z?(v=t,m=a=a||[],y&&!s&&(s=function(e){return(0,i.Z)(e)===t}),x=s):(v=t.prototype,m=o=o||[]),0!==b&&!y){var S=Z?d:l,k=S.get(g)||0;if(!0===k||3===k&&4!==b||4===k&&3!==b)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+g);S.set(g,!(!k&&b>2)||b)}u(c,v,h,w,g,b,Z,y,m,x,n)}}return p(o),p(a),c}(t,e,o,p);return r.length||d(t,p),{e:f,get c(){return function(t,e,r,n){if(e.length){for(var i=[],o=t,s=t.name,c=r?2:1,u=e.length-1;u>=0;u-=c){var p={v:!1};try{var f=e[u].call(r?e[u-1]:void 0,o,{kind:"class",name:s,addInitializer:a(i,p),metadata:n})}finally{p.v=!0}void 0!==f&&(l(5,f),o=f)}return[d(o,n),function(){for(var t=0;t<i.length;t++)i[t].call(o)}]}}(t,r,n,p)}}}},31815:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(86522);function i(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,n.Z)(t):"null"));return t}},85863:(t,e,r)=>{"use strict";function n(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{Z:()=>n})},70175:(t,e,r)=>{"use strict";function n(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r.d(e,{Z:()=>n})},70687:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(70175);function i(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,(0,n.Z)(t,e,"get"))}},53395:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(85863);function i(t,e,r){(0,n.Z)(t,e),e.set(t,r)}},40381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(70175);function i(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,(0,n.Z)(t,e,"set"),r),r}},56666:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(45850);function i(t,e,r){return(e=(0,n.Z)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},33028:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});var n=r(56666);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},45850:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(86522);function i(t){var e=function(t,e){if("object"!==(0,n.Z)(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,"string");if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===(0,n.Z)(e)?e:String(e)}},86522:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{Z:()=>n})}}]);
|
|
3
|
-
//# sourceMappingURL=eo-descriptions.325f803e.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-info-card-item.8f43aba4.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[1545,5628,533],{26571:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EoInfoCardItem:()=>k,EoInfoCardItemComponent:()=>re});var a,n,i,o,c,s,l,d,u,p,h,f,v,m,g,w,b,y,x,Z,k,E=r(7896),S=r(65866),j=r(53395),I=r(86171),T=r(40381),N=r(70687),z=r(72604),C=r(48657),O=r.n(C),M=r(92462),W=r(75468),A=r(32354),B=(r(31800),r(19589)),L=r(72779),P=r.n(L),_=r(53622),{defineElement:R,property:q}=(0,M.createDecorators)(),D=(0,A.wrapBrick)("eo-icon"),F=(0,A.wrapBrick)("eo-tooltip");n=R("eo-info-card-item",{styleTexts:[B.Z]}),i=q(),c=q(),l=q(),u=q({attribute:!1}),h=q({attribute:!1}),v=q(),g=q({type:Boolean}),b=q({type:Boolean});var H=new WeakMap,U=new WeakMap,G=new WeakMap,J=new WeakMap,K=new WeakMap,Q=new WeakMap,V=new WeakMap,X=new WeakMap,Y=new WeakSet,$=new WeakMap;class ee extends A.ReactNextElement{constructor(){super(...arguments),(0,S.Z)(this,Y),(0,j.Z)(this,H,{writable:!0,value:(x(this),o(this))}),(0,j.Z)(this,U,{writable:!0,value:s(this)}),(0,j.Z)(this,G,{writable:!0,value:d(this)}),(0,j.Z)(this,J,{writable:!0,value:p(this)}),(0,j.Z)(this,K,{writable:!0,value:f(this)}),(0,j.Z)(this,Q,{writable:!0,value:m(this)}),(0,j.Z)(this,V,{writable:!0,value:w(this)}),(0,j.Z)(this,X,{writable:!0,value:y(this)}),(0,j.Z)(this,$,{writable:!0,value:()=>{var e=(0,I.Z)(this,Y,te).call(this,"slot[name='icon']"),t=(0,I.Z)(this,Y,te).call(this,"slot[name='action']");this.hasIcon=e.childNodes.length>0,null==e||e.addEventListener("slotchange",(()=>{this.hasIcon=e.assignedElements().length>0})),null==t||t.addEventListener("click",(e=>{e.stopImmediatePropagation()}))}})}get cardTitle(){return(0,N.Z)(this,H)}set cardTitle(e){(0,T.Z)(this,H,e)}get description(){return(0,N.Z)(this,U)}set description(e){(0,T.Z)(this,U,e)}get url(){return(0,N.Z)(this,G)}set url(e){(0,T.Z)(this,G,e)}get cardIcon(){return(0,N.Z)(this,J)}set cardIcon(e){(0,T.Z)(this,J,e)}get detailList(){return(0,N.Z)(this,K)}set detailList(e){(0,T.Z)(this,K,e)}get target(){return(0,N.Z)(this,Q)}set target(e){(0,T.Z)(this,Q,e)}get hasIcon(){return(0,N.Z)(this,V)}set hasIcon(e){(0,T.Z)(this,V,e)}get hoverable(){return(0,N.Z)(this,X)}set hoverable(e){(0,T.Z)(this,X,e)}render(){return O().createElement(re,{url:this.url,target:this.target,cardTitle:this.cardTitle,description:this.description,cardIcon:this.cardIcon,detailList:this.detailList,callback:(0,N.Z)(this,$),hoverable:this.hoverable})}}function te(e){var t;return null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(e)}function re(e){var t,r,a,n,{url:i,target:o,cardTitle:c,description:s,cardIcon:l,detailList:d,callback:u,hoverable:p=!0}=e;return O().createElement("div",{className:P()("card-wrapper",{hoverable:p}),ref:u,onClick:()=>{if(i){var e=(0,_.getHistory)();o?window.open(i,o):e.push(i)}}},O().createElement("div",{className:"card-content"},O().createElement("div",{className:"card-icon"},O().createElement("slot",{name:"icon"},l&&O().createElement("div",{className:P()("card-avatar",l.shape&&"card-avatar-".concat(null!==(t=l.shape)&&void 0!==t?t:"round-square")),style:{background:null!==(r=l.bgColor)&&void 0!==r?r:"var(--theme-blue-background)"}},O().createElement(D,(0,E.Z)({},l.icon,{style:{color:null!==(a=l.color)&&void 0!==a?a:"var(--theme-blue-color)",fontSize:null!==(n=l.size)&&void 0!==n?n:"20px"}}))))),O().createElement("div",{className:"card-content-container"},O().createElement("div",{className:"card-title"},O().createElement("span",null,c)," ",O().createElement("slot",{name:"title"})),O().createElement("div",{className:"card-description"},s))),O().createElement("div",{className:"card-right-section"},O().createElement("div",{className:"card-detail-list-wrapper",style:(null==d?void 0:d.length)>=4?{gridTemplateColumns:"repeat(".concat(null==d?void 0:d.length,", minmax(0, 1fr))")}:{display:"flex",justifyContent:"flex-end"}},null==d?void 0:d.map(((e,t)=>O().createElement("div",{className:"card-detail-wrapper",key:t,onClick:e=>e.stopPropagation()},e.title&&O().createElement("h5",null,e.title),e.useBrick&&O().createElement(W.ReactUseBrick,{useBrick:e.useBrick,data:e}),!e.useBrick&&e.desc&&O().createElement(F,{content:e.desc,hoist:!0,placement:"top"},O().createElement("div",{className:"card-detail-desc"},e.desc)))))),O().createElement("div",{className:"card-action-wrapper"},O().createElement("slot",{name:"action"}))))}Z=ee,({e:[o,s,d,p,f,m,w,y,x],c:[k,a]}=(0,z.Z)(Z,[[i,1,"cardTitle"],[c,1,"description"],[l,1,"url"],[u,1,"cardIcon"],[h,1,"detailList"],[v,1,"target"],[g,1,"hasIcon"],[b,1,"hoverable"]],[n],0,void 0,A.ReactNextElement)),a()},72779:(e,t)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&e.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var c in r)a.call(r,c)&&r[c]&&e.push(c)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},19589:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var a=r(39601),n=r.n(a),i=r(82609),o=r.n(i)()(n());o.push([e.id,":host{display:inline-block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.card-wrapper{background:var(--card-item-bg);border:1px solid var(--card-item-border-color);border-radius:var(--larger-border-radius);transition:var(--card-transition);overflow:hidden;cursor:pointer;width:100%;padding:20px;display:grid;align-items:center;color:var(--text-color-secondary);box-sizing:border-box;grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.card-wrapper.hoverable:hover{box-shadow:var(--card-item-hover-shadow);background:var(--card-item-hover-bg);border-color:transparent}.card-header{display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 16px;height:32px}.auxiliary-text{font-size:11px;color:var(--text-color-disabled);line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-content{display:flex;align-items:center;height:40px;max-width:90%;gap:var(--card-content-gap)}.card-description{text-overflow:ellipsis;word-break:break-word;overflow:hidden;white-space:nowrap;margin:0;padding:0}.card-avatar{display:flex;justify-content:center;align-items:center;width:40px;height:40px;overflow:hidden}.card-avatar-circle{border-radius:50%}.card-avatar-round-square{border-radius:var(--larger-border-radius)}.card-content-container{min-width:0;flex:1}.card-title{display:flex;align-items:flex-end;margin-bottom:3px;gap:10px}.card-title > span{display:inline-block;font-size:14px;font-weight:var(--font-weight-500);color:var(--text-color-title);line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-wrapper.hoverable:hover .card-title > span{color:var(--color-brand)}.card-description{font-size:12px;color:var(--text-color-secondary);line-height:17px;overflow:hidden;text-overflow:ellipsis}.card-right-section{display:flex;align-items:center;margin-left:20px;height:40px;justify-content:flex-end}.card-detail-list-wrapper{display:grid;align-items:center;width:90%;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.card-detail-wrapper{display:flex;flex-direction:column;max-width:80%;white-space:nowrap}.card-detail-wrapper .infoCardRightSection--2L-mnxFa > div:first-child div{max-width:80%;white-space:nowrap}.card-detail-wrapper > h5{color:var(--text-color-disabled);font-size:14px;font-weight:400;margin:0;padding:0}.card-detail-wrapper .card-detail-desc{color:var(--text-color-default);font-size:18px;font-weight:400;text-align:left;min-height:28px;overflow:hidden;text-overflow:ellipsis}:host([has-icon]) .card-content-container{margin-left:20px}",""]);const c=o.toString()},82609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(o[s]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);a&&o[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},39601:e=>{"use strict";e.exports=function(e){return e[1]}},72604:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var a=r(86522),n=r(31815);function i(e,t){return function(r,a){return e[t].call(r,a)}}function o(e,t){return function(r){if(t.v)throw new Error("attempted to call addInitializer after decoration was finished");s(r,"An initializer",!0),e.push(r)}}function c(e,t,r,a,n,c,s,l,d,u,p){function h(e){return function(t,r){if(!u(t))throw new TypeError("Attempted to access private element on non-instance");return e(t,r)}}var f,v,m={v:!1},g={kind:["field","accessor","method","getter","setter","field"][c],name:l?"#"+r:r,static:s,private:l,metadata:p,addInitializer:o(n,m)};if(l||0!==c&&2!==c)if(2===c)f=h((function(){return a.value}));else{var w=0===c||1===c;(w||3===c)&&(f=i(a,"get"),l&&(f=h(f))),(w||4===c)&&(v=i(a,"set"),l&&(v=h(v)))}else f=function(e){return e[r]},0===c&&(v=function(e,t){e[r]=t});var b=l?u.bind():function(e){return r in e},y=g.access={has:b};f&&(y.get=f),v&&(y.set=v);try{return e.call(t,d,g)}finally{m.v=!0}}function s(e,t,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must be a function")}function l(e,t){var r=(0,a.Z)(t);if(1===e){if("object"!==r||!t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");s(t.get,"accessor.get"),s(t.set,"accessor.set"),s(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function d(e,t,r,a,n,o,s,d,u,p,h){var f,v,m,g,w=r[0],b=r[3];a||Array.isArray(w)||(w=[w]),d?f=0===o||1===o?{get:function(){return b(this)},set:function(e){r[4](this,e)}}:3===o?{get:b}:4===o?{set:b}:{value:b}:0!==o&&(f=Object.getOwnPropertyDescriptor(t,n)),1===o?m={get:f.get,set:f.set}:2===o?m=f.value:3===o?m=f.get:4===o&&(m=f.set);for(var y=a?2:1,x=w.length-1;x>=0;x-=y){var Z;void 0!==(g=c(w[x],a?w[x-1]:void 0,n,f,u,o,s,d,m,p,h))&&(l(o,g),0===o?Z=g:1===o?(Z=g.init,m={get:g.get||m.get,set:g.set||m.set}):m=g,void 0!==Z&&(void 0===v?v=Z:"function"==typeof v?v=[v,Z]:v.push(Z)))}if(0===o||1===o){if(void 0===v)v=function(e,t){return t};else if("function"!=typeof v){var k=v;v=function(e,t){for(var r=t,a=k.length-1;a>=0;a--)r=k[a].call(e,r);return r}}else{var E=v;v=v.call.bind(E)}e.push(v)}0!==o&&(1===o?(f.get=m.get,f.set=m.set):2===o?f.value=m:3===o?f.get=m:4===o&&(f.set=m),d?1===o?e.push(i(f,"get"),i(f,"set")):e.push(2===o?m:Function.call.bind(m)):Object.defineProperty(t,n,f))}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}function p(e,t,r,a,i,c){if(arguments.length>=6)var s=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var p=Object.create(void 0===s?null:s),h=function(e,t,r,a){var i,o,c,s=[],l=new Map,u=new Map;function p(e){e&&s.push((function(t){for(var r=0;r<e.length;r++)e[r].call(t);return t}))}for(var h=0;h<t.length;h++){var f=t[h];if(Array.isArray(f)){var v,m,g=f[1],w=f[2],b=f.length>3,y=16&g,x=!!(8&g),Z=r;if(g&=7,x?(v=e,m=o=o||[],b&&!c&&(c=function(t){return(0,n.Z)(t)===e}),Z=c):(v=e.prototype,m=i=i||[]),0!==g&&!b){var k=x?u:l,E=k.get(w)||0;if(!0===E||3===E&&4!==g||4===E&&3!==g)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+w);k.set(w,!(!E&&g>2)||g)}d(s,v,f,y,w,g,x,b,m,Z,a)}}return p(i),p(o),s}(e,t,i,p);return r.length||u(e,p),{e:h,get c(){return function(e,t,r,a){if(t.length){for(var n=[],i=e,c=e.name,s=r?2:1,d=t.length-1;d>=0;d-=s){var p={v:!1};try{var h=t[d].call(r?t[d-1]:void 0,i,{kind:"class",name:c,addInitializer:o(n,p),metadata:a})}finally{p.v=!0}void 0!==h&&(l(5,h),i=h)}return[u(i,a),function(){for(var e=0;e<n.length;e++)n[e].call(i)}]}}(e,r,a,p)}}}},31815:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(86522);function n(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,a.Z)(e):"null"));return e}},85863:(e,t,r)=>{"use strict";function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},70175:(e,t,r)=>{"use strict";function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},70687:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(70175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},53395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(85863);function n(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},40381:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(70175);function n(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},86171:(e,t,r)=>{"use strict";function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}r.d(t,{Z:()=>a})},65866:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(85863);function n(e,t){(0,a.Z)(e,t),t.add(e)}},7896:(e,t,r)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},a.apply(this,arguments)}r.d(t,{Z:()=>a})},86522:(e,t,r)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
3
|
-
//# sourceMappingURL=eo-info-card-item.8f43aba4.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|