@next-bricks/basic-bricks 1.214.1 → 1.215.0
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/deploy/contract.yaml +81 -81
- package/dist/bricks.json +24 -24
- package/dist/{index.92cb9708.js → index.7392d49e.js} +2 -2
- package/dist/{index.92cb9708.js.map → index.7392d49e.js.map} +1 -1
- package/dist/stories-asserts/basic-bricks.general-modal[basic].bff5b3421378c236.svg +43 -0
- package/dist/stories.json +75 -12
- package/package.json +2 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="105px" height="55px" viewBox="0 0 105 55" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>basic-bricks-widgets.general-modal-base</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<rect id="path-1" x="0" y="0" width="105" height="55" rx="4"></rect>
|
|
6
|
+
<rect id="path-3" x="0" y="0" width="80" height="46" rx="1"></rect>
|
|
7
|
+
<filter x="-17.5%" y="-21.7%" width="135.0%" height="160.9%" filterUnits="objectBoundingBox" id="filter-4">
|
|
8
|
+
<feOffset dx="0" dy="4" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
|
9
|
+
<feGaussianBlur stdDeviation="4" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
|
10
|
+
<feColorMatrix values="0 0 0 0 0.6 0 0 0 0 0.6 0 0 0 0 0.6 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
|
|
11
|
+
</filter>
|
|
12
|
+
</defs>
|
|
13
|
+
<g id="nora" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
14
|
+
<g id="-构件概览图七" transform="translate(-573.000000, -103.000000)">
|
|
15
|
+
<g id="basic-bricks-widgets.general-modal-base" transform="translate(573.000000, 103.000000)">
|
|
16
|
+
<mask id="mask-2" fill="white">
|
|
17
|
+
<use xlink:href="#path-1"></use>
|
|
18
|
+
</mask>
|
|
19
|
+
<g id="矩形备份-46"></g>
|
|
20
|
+
<g id="编组-2备份" mask="url(#mask-2)">
|
|
21
|
+
<g transform="translate(12.000000, 4.000000)">
|
|
22
|
+
<g id="矩形" stroke="none" fill="none">
|
|
23
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-3"></use>
|
|
24
|
+
<use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-3"></use>
|
|
25
|
+
</g>
|
|
26
|
+
<g id="编组-13" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(73.500000, 5.242641) rotate(-315.000000) translate(-73.500000, -5.242641) translate(70.500000, 2.242641)">
|
|
27
|
+
<rect id="矩形" fill="#D6DBEC" x="2.5" y="0" width="1" height="6"></rect>
|
|
28
|
+
<rect id="矩形" fill="#D6DBEC" transform="translate(3.000000, 3.000000) rotate(-90.000000) translate(-3.000000, -3.000000) " x="2.5" y="0" width="1" height="6"></rect>
|
|
29
|
+
</g>
|
|
30
|
+
<rect id="矩形备份-28" stroke="none" fill="#F4F5F9" fill-rule="evenodd" x="6" y="14.2426407" width="70" height="3" rx="1"></rect>
|
|
31
|
+
<rect id="矩形备份-37" stroke="none" fill="#F4F5F9" fill-rule="evenodd" x="6" y="21.2426407" width="70" height="3" rx="1"></rect>
|
|
32
|
+
<rect id="矩形备份-38" stroke="none" fill="#F4F5F9" fill-rule="evenodd" x="6" y="28.2426407" width="35" height="3" rx="1"></rect>
|
|
33
|
+
<path d="M0,37 L80,37 L80,45 C80,45.5522847 79.5522847,46 79,46 L1,46 C0.44771525,46 9.55813795e-16,45.5522847 0,45 L0,37 L0,37 Z" id="矩形备份-39" stroke="none" fill="#F4F5F9" fill-rule="evenodd"></path>
|
|
34
|
+
<rect id="矩形" stroke="none" fill="#4886F6" fill-rule="evenodd" x="6" y="3.24264069" width="16" height="4" rx="1"></rect>
|
|
35
|
+
<rect id="矩形备份-4" stroke="none" fill="#4886F6" fill-rule="evenodd" x="68" y="40" width="8" height="4" rx="1"></rect>
|
|
36
|
+
<rect id="矩形备份-5" stroke="none" fill="#D6DBEC" fill-rule="evenodd" x="58" y="40" width="8" height="4" rx="1"></rect>
|
|
37
|
+
<line x1="0" y1="10.2426407" x2="80" y2="10.2426407" id="路径" stroke="#F4F5F9" stroke-width="1" fill="none"></line>
|
|
38
|
+
</g>
|
|
39
|
+
</g>
|
|
40
|
+
</g>
|
|
41
|
+
</g>
|
|
42
|
+
</g>
|
|
43
|
+
</svg>
|
package/dist/stories.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"storyId": "basic-bricks.advance-list-container",
|
|
4
|
-
"category": "layout",
|
|
4
|
+
"category": "container-layout",
|
|
5
5
|
"type": "brick",
|
|
6
6
|
"author": "momo",
|
|
7
7
|
"deprecated": true,
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
},
|
|
743
743
|
"actions": [
|
|
744
744
|
{
|
|
745
|
-
"text": "
|
|
745
|
+
"text": "Export JSON File",
|
|
746
746
|
"method": "export"
|
|
747
747
|
}
|
|
748
748
|
]
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
},
|
|
803
803
|
{
|
|
804
804
|
"storyId": "basic-bricks.fold-brick",
|
|
805
|
-
"category": "
|
|
805
|
+
"category": "container-layout",
|
|
806
806
|
"type": "brick",
|
|
807
807
|
"author": "momo",
|
|
808
808
|
"text": {
|
|
@@ -3655,7 +3655,7 @@
|
|
|
3655
3655
|
"thumbnail": "bricks/basic-bricks/dist/stories-asserts/basic-bricks.general-drawer[basic].0d1a0a62a78311fb.svg",
|
|
3656
3656
|
"actions": [
|
|
3657
3657
|
{
|
|
3658
|
-
"text": "
|
|
3658
|
+
"text": "Open Drawer",
|
|
3659
3659
|
"method": "open"
|
|
3660
3660
|
}
|
|
3661
3661
|
]
|
|
@@ -4296,6 +4296,69 @@
|
|
|
4296
4296
|
}
|
|
4297
4297
|
}
|
|
4298
4298
|
},
|
|
4299
|
+
{
|
|
4300
|
+
"bricks": [
|
|
4301
|
+
{
|
|
4302
|
+
"brick": "basic-bricks.general-modal",
|
|
4303
|
+
"events": {
|
|
4304
|
+
"basic-bricks.general-modal.cancel": {
|
|
4305
|
+
"action": "message.info",
|
|
4306
|
+
"args": [
|
|
4307
|
+
"cancel modal"
|
|
4308
|
+
]
|
|
4309
|
+
},
|
|
4310
|
+
"basic-bricks.general-modal.confirm": {
|
|
4311
|
+
"action": "message.info",
|
|
4312
|
+
"args": [
|
|
4313
|
+
"confirm modal"
|
|
4314
|
+
]
|
|
4315
|
+
},
|
|
4316
|
+
"modal.close": {
|
|
4317
|
+
"action": "message.info",
|
|
4318
|
+
"args": [
|
|
4319
|
+
"close modal"
|
|
4320
|
+
]
|
|
4321
|
+
},
|
|
4322
|
+
"modal.open": {
|
|
4323
|
+
"action": "message.info",
|
|
4324
|
+
"args": [
|
|
4325
|
+
"open modal"
|
|
4326
|
+
]
|
|
4327
|
+
}
|
|
4328
|
+
},
|
|
4329
|
+
"properties": {
|
|
4330
|
+
"id": "origin",
|
|
4331
|
+
"modalTitle": "Modal Title",
|
|
4332
|
+
"okText": "Save"
|
|
4333
|
+
},
|
|
4334
|
+
"slots": {
|
|
4335
|
+
"content": {
|
|
4336
|
+
"bricks": [
|
|
4337
|
+
{
|
|
4338
|
+
"brick": "h3",
|
|
4339
|
+
"properties": {
|
|
4340
|
+
"textContent": "modal content"
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
],
|
|
4344
|
+
"type": "bricks"
|
|
4345
|
+
}
|
|
4346
|
+
}
|
|
4347
|
+
}
|
|
4348
|
+
],
|
|
4349
|
+
"snippetId": "basic-bricks.general-modal[basic]",
|
|
4350
|
+
"title": {
|
|
4351
|
+
"en": "Basic General Modal",
|
|
4352
|
+
"zh": "基础模态框"
|
|
4353
|
+
},
|
|
4354
|
+
"actions": [
|
|
4355
|
+
{
|
|
4356
|
+
"text": "Open Modal",
|
|
4357
|
+
"method": "open"
|
|
4358
|
+
}
|
|
4359
|
+
],
|
|
4360
|
+
"thumbnail": "bricks/basic-bricks/dist/stories-asserts/basic-bricks.general-modal[basic].bff5b3421378c236.svg"
|
|
4361
|
+
},
|
|
4299
4362
|
{
|
|
4300
4363
|
"bricks": [
|
|
4301
4364
|
{
|
|
@@ -4380,7 +4443,7 @@
|
|
|
4380
4443
|
},
|
|
4381
4444
|
"actions": [
|
|
4382
4445
|
{
|
|
4383
|
-
"text": "
|
|
4446
|
+
"text": "Open Modal",
|
|
4384
4447
|
"method": "open"
|
|
4385
4448
|
}
|
|
4386
4449
|
]
|
|
@@ -4471,7 +4534,7 @@
|
|
|
4471
4534
|
},
|
|
4472
4535
|
"actions": [
|
|
4473
4536
|
{
|
|
4474
|
-
"text": "
|
|
4537
|
+
"text": "Open Modal",
|
|
4475
4538
|
"method": "open"
|
|
4476
4539
|
}
|
|
4477
4540
|
]
|
|
@@ -4555,7 +4618,7 @@
|
|
|
4555
4618
|
},
|
|
4556
4619
|
"actions": [
|
|
4557
4620
|
{
|
|
4558
|
-
"text": "
|
|
4621
|
+
"text": "Open Modal",
|
|
4559
4622
|
"method": "open"
|
|
4560
4623
|
}
|
|
4561
4624
|
]
|
|
@@ -4952,7 +5015,7 @@
|
|
|
4952
5015
|
},
|
|
4953
5016
|
"actions": [
|
|
4954
5017
|
{
|
|
4955
|
-
"text": "
|
|
5018
|
+
"text": "Open Notification",
|
|
4956
5019
|
"method": "open"
|
|
4957
5020
|
}
|
|
4958
5021
|
]
|
|
@@ -5870,7 +5933,7 @@
|
|
|
5870
5933
|
},
|
|
5871
5934
|
{
|
|
5872
5935
|
"storyId": "basic-bricks.micro-app",
|
|
5873
|
-
"category": "layout",
|
|
5936
|
+
"category": "container-layout",
|
|
5874
5937
|
"type": "brick",
|
|
5875
5938
|
"author": "steve",
|
|
5876
5939
|
"deprecated": true,
|
|
@@ -7260,7 +7323,7 @@
|
|
|
7260
7323
|
},
|
|
7261
7324
|
"actions": [
|
|
7262
7325
|
{
|
|
7263
|
-
"text": "
|
|
7326
|
+
"text": "Execute Script",
|
|
7264
7327
|
"method": "execute"
|
|
7265
7328
|
}
|
|
7266
7329
|
]
|
|
@@ -8325,7 +8388,7 @@
|
|
|
8325
8388
|
},
|
|
8326
8389
|
{
|
|
8327
8390
|
"storyId": "basic-bricks.header-bar",
|
|
8328
|
-
"category": "
|
|
8391
|
+
"category": "navigation",
|
|
8329
8392
|
"type": "brick",
|
|
8330
8393
|
"author": "zekunpan",
|
|
8331
8394
|
"text": {
|
|
@@ -9039,7 +9102,7 @@
|
|
|
9039
9102
|
},
|
|
9040
9103
|
"actions": [
|
|
9041
9104
|
{
|
|
9042
|
-
"text": "
|
|
9105
|
+
"text": "Trigger Event",
|
|
9043
9106
|
"method": "trigger",
|
|
9044
9107
|
"args": [
|
|
9045
9108
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.215.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/basic-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"immutability-helper": "^3.1.1"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": true,
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "b43a2951bd66193860239fad1d5edf0fc0b120b9"
|
|
44
44
|
}
|