@next-bricks/presentational-bricks 1.254.0 → 1.255.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/CHANGELOG.md +11 -0
- package/deploy/contract.yaml +121 -121
- package/dist/bricks.json +37 -37
- package/dist/{index.efeefaa0.js → index.6b9c934d.js} +2 -2
- package/dist/{index.efeefaa0.js.map → index.6b9c934d.js.map} +1 -1
- package/dist/lazy-bricks/{~bricks-use-form-and-markdown.dd92.f52e6797.js → ~bricks-use-form-and-markdown.dd92.6d5949c4.js} +2 -2
- package/dist/lazy-bricks/{~bricks-use-form-and-markdown.dd92.f52e6797.js.map → ~bricks-use-form-and-markdown.dd92.6d5949c4.js.map} +1 -1
- package/dist/stories.json +11 -5
- package/package.json +2 -2
package/dist/stories.json
CHANGED
|
@@ -11634,10 +11634,13 @@
|
|
|
11634
11634
|
},
|
|
11635
11635
|
"conf": [
|
|
11636
11636
|
{
|
|
11637
|
+
"description": {
|
|
11638
|
+
"title": "默认时间范围选项"
|
|
11639
|
+
},
|
|
11637
11640
|
"brick": "presentational-bricks.datetime-selector",
|
|
11638
11641
|
"properties": {
|
|
11639
|
-
"from": "
|
|
11640
|
-
"to": "
|
|
11642
|
+
"from": "<% QUERY.from || 'now/d' %>",
|
|
11643
|
+
"to": "<% QUERY.to %>"
|
|
11641
11644
|
},
|
|
11642
11645
|
"events": {
|
|
11643
11646
|
"datetime.selected.v2": {
|
|
@@ -11649,11 +11652,14 @@
|
|
|
11649
11652
|
}
|
|
11650
11653
|
},
|
|
11651
11654
|
{
|
|
11655
|
+
"description": {
|
|
11656
|
+
"title": "自定义时间范围选项"
|
|
11657
|
+
},
|
|
11652
11658
|
"brick": "presentational-bricks.datetime-selector",
|
|
11653
11659
|
"properties": {
|
|
11654
11660
|
"shouldUpdateUrlParams": false,
|
|
11655
|
-
"from": "
|
|
11656
|
-
"to": "
|
|
11661
|
+
"from": "<% QUERY.from || 'now/d' %>",
|
|
11662
|
+
"to": "<% QUERY.to %>",
|
|
11657
11663
|
"type": "custom",
|
|
11658
11664
|
"customTimeRange": [
|
|
11659
11665
|
{
|
|
@@ -11712,7 +11718,7 @@
|
|
|
11712
11718
|
"type": "string",
|
|
11713
11719
|
"required": "true",
|
|
11714
11720
|
"default": "\"now-1d\"",
|
|
11715
|
-
"description": "默认起始时间,支持任意时间范围,相关规则请按下列规则书写(\"now-1h\", \"now-1d\", \"now/d\", \"now-7d\", \"now-30d\") [正则表达式](https://github.com/easyops-cn/next-libs/blob/207fe7ee3ac010ab860c23cd062216c8ca612f0c/libs/datetime-components/src/processor/parseDatetimeRange.ts#L18) 注意当通过 \\${query.from=now/d} 赋默认值给 form 属性时,由于 [placeholder 占位符语法](
|
|
11721
|
+
"description": "默认起始时间,支持任意时间范围,相关规则请按下列规则书写(\"now-1h\", \"now-1d\", \"now/d\", \"now-7d\", \"now-30d\") [正则表达式](https://github.com/easyops-cn/next-libs/blob/207fe7ee3ac010ab860c23cd062216c8ca612f0c/libs/datetime-components/src/processor/parseDatetimeRange.ts#L18) 注意当通过 \\${query.from=now/d} 赋默认值给 form 属性时,由于 [placeholder 占位符语法](https://admin.easyops.local/next-docs/docs/brick-next/evaluate-placeholders) 不支持 `/` 的特殊字符解析,所以该值需要用字符串的形式来书写(如 demo 所示)。",
|
|
11716
11722
|
"group": "basic"
|
|
11717
11723
|
},
|
|
11718
11724
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.255.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": "
|
|
58
|
+
"gitHead": "d528e5fe6f82aed0db9e186c12e1a53838478730"
|
|
59
59
|
}
|