@next-bricks/presentational-bricks 1.229.4 → 1.232.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/dist/stories.json CHANGED
@@ -6171,6 +6171,10 @@
6171
6171
  "author": "lynette",
6172
6172
  "slots": null,
6173
6173
  "history": [
6174
+ {
6175
+ "version": "1.230.0",
6176
+ "change": "新增属性 `exactSearch` 在开启前端搜索的情况下可以配置精确搜索"
6177
+ },
6174
6178
  {
6175
6179
  "version": "1.168.0",
6176
6180
  "change": "新增属性 `optimizedColumns`"
@@ -6473,6 +6477,13 @@
6473
6477
  "default": "-",
6474
6478
  "description": "前端搜索参数"
6475
6479
  },
6480
+ {
6481
+ "name": "exactSearch",
6482
+ "type": "boolean",
6483
+ "required": "false",
6484
+ "default": "false",
6485
+ "description": "是否精确搜索"
6486
+ },
6476
6487
  {
6477
6488
  "name": "frontSearchFilterKeys",
6478
6489
  "type": "string[]",
@@ -12487,11 +12498,50 @@
12487
12498
  },
12488
12499
  "conf": [
12489
12500
  {
12501
+ "description": {
12502
+ "title": "基本用法"
12503
+ },
12490
12504
  "brick": "presentational-bricks.general-image",
12491
12505
  "properties": {
12492
12506
  "imgSrc": "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",
12493
12507
  "imgWidth": 200
12494
12508
  }
12509
+ },
12510
+ {
12511
+ "description": {
12512
+ "title": "调用 open() 打开预览"
12513
+ },
12514
+ "brick": "div",
12515
+ "slots": {
12516
+ "": {
12517
+ "type": "bricks",
12518
+ "bricks": [
12519
+ {
12520
+ "brick": "basic-bricks.general-button",
12521
+ "properties": {
12522
+ "buttonName": "open()"
12523
+ },
12524
+ "events": {
12525
+ "general.button.click": [
12526
+ {
12527
+ "target": "#image-to-preview",
12528
+ "method": "open"
12529
+ }
12530
+ ]
12531
+ }
12532
+ },
12533
+ {
12534
+ "brick": "presentational-bricks.general-image",
12535
+ "properties": {
12536
+ "id": "image-to-preview",
12537
+ "hidden": true,
12538
+ "imgSrc": "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",
12539
+ "imgWidth": 200
12540
+ }
12541
+ }
12542
+ ]
12543
+ }
12544
+ }
12495
12545
  }
12496
12546
  ],
12497
12547
  "doc": {
@@ -12579,6 +12629,31 @@
12579
12629
  "required": "-",
12580
12630
  "description": "包裹自定义构件容器的样式",
12581
12631
  "group": "advanced"
12632
+ },
12633
+ {
12634
+ "name": "visible",
12635
+ "type": "boolean",
12636
+ "default": "-",
12637
+ "required": "",
12638
+ "description": "是否显示预览",
12639
+ "group": "advanced"
12640
+ }
12641
+ ],
12642
+ "events": [
12643
+ {
12644
+ "type": "general-image.visible-change",
12645
+ "detail": "boolean",
12646
+ "description": "是否显示预览改变事件"
12647
+ }
12648
+ ],
12649
+ "methods": [
12650
+ {
12651
+ "name": "close",
12652
+ "description": "关闭预览"
12653
+ },
12654
+ {
12655
+ "name": "open",
12656
+ "description": "打开预览"
12582
12657
  }
12583
12658
  ],
12584
12659
  "interface": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational-bricks",
3
- "version": "1.229.4",
3
+ "version": "1.232.0",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/presentational-bricks",
6
6
  "license": "GPL-3.0",
@@ -55,5 +55,5 @@
55
55
  "@next-dll/ace": "*",
56
56
  "@next-dll/react-dnd": "*"
57
57
  },
58
- "gitHead": "d42b0c72fefb1def359412f288a56bf39f6f9e3c"
58
+ "gitHead": "99b2949b01688fa564e3ad0b3eaa5ad8a45e2d99"
59
59
  }