@next-bricks/basic-bricks 1.252.0 → 1.254.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 +78 -78
- package/dist/bricks.json +24 -20
- package/dist/{index.17243d19.js → index.60c55d48.js} +3 -3
- package/dist/index.60c55d48.js.map +1 -0
- package/dist/property-editors/property-editors.d8960668.js +2 -0
- package/dist/property-editors/property-editors.d8960668.js.map +1 -0
- package/dist/stories.json +91 -3
- package/package.json +5 -4
- package/dist/index.17243d19.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){e.exports=n(2)("tYg3")},function(e,t,n){var o;n.p="".concat(null!==(o=window.PUBLIC_ROOT)&&void 0!==o?o:"","bricks/basic-bricks/dist/property-editors/")},function(e,t){e.exports=dll},function(e,t,n){"use strict";n.r(t);n(1);var o=n(0),r={name:"layout",type:"void",component:{name:"FormLayout",props:{layout:"vertical"}},children:[{name:"categoryTitle_basic",type:"void",decorator:{name:"CategoryTitle",props:{text:"基础"}}},{name:"buttonName",title:"文本",type:"string"},{name:"disabled",title:"禁用",type:"boolean"},{name:"buttonUrl",title:"内链地址",type:"string"},{name:"buttonHref",title:"外链地址",type:"string"},{name:"target",title:"链接类型",type:"string",descorator:"FormItem",component:{name:"Select",props:{options:[{label:"当前页面加载",value:"_self"},{label:"新标签打开",value:"_blank"}]}}},{name:"tooltip",title:"按钮提示",type:"string"},{name:"categoryTitle_style",decorator:{name:"CategoryTitle",props:{text:"外观"}}},{type:"string",name:"buttonType",title:"按钮类型",component:{name:"Select",props:{placeholder:"请选择按钮类型",allowClear:!0,options:["primary","default","dashed","ghost","link","text","icon"].map(e=>({label:e,value:e}))}}},{name:"buttonSize",title:"大小",type:"string",decorator:{name:"FormItem",props:{layout:"horizontal"}},enum:[{label:"大",value:"large"},{label:"标准",value:"medium"},{label:"小",value:"small"},{label:"超小",value:"xs"}],component:{name:"Radio.Group",props:{size:"small",optionType:"button"}}},{name:"buttonDanger",title:"危险模式",type:"boolean"},{name:"buttonIcon",title:"图标",type:"string",component:"IconSelect"},{name:"buttonShape",title:"形状",type:"string",component:{name:"Select",props:{placeholder:"请选择按钮形状",allowClear:!0,options:[{label:"圆形",value:"circle"},{label:"圆弧形",value:"round"},{label:"默认",value:"default"}]}}}]};Object(o.getRuntime)().customEditors.define("basic-bricks.general-button",(function(e){return function(t){var{SchemaFieldComponent:n,formilySchemaFormatter:o,advancedMode:l,scope:a}=t;return e.createElement(n,{schema:o(r,l),scope:a})}}))}]);
|
|
2
|
+
//# sourceMappingURL=property-editors.d8960668.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///delegated ./node_modules/@next-core/brick-kit/dist/index.esm.js from dll-reference dll","webpack:///./bricks/basic-bricks/src/property-editors/_/public-path.js","webpack:///external \"dll\"","webpack:///./bricks/basic-bricks/src/property-editors/general-button/general-button.schema.ts","webpack:///./bricks/basic-bricks/src/property-editors/general-button/index.tsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__webpack_public_path__","window","PUBLIC_ROOT","dll","generalButtonSchema","type","component","props","layout","children","decorator","text","title","descorator","options","label","placeholder","allowClear","map","item","enum","size","optionType","getRuntime","customEditors","define","React","SchemaFieldComponent","formilySchemaFormatter","advancedMode","scope","createElement","schema"],"mappings":"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","file":"property-editors.d8960668.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n","module.exports = (__webpack_require__(2))(\"tYg3\");","__webpack_public_path__ = `${window.PUBLIC_ROOT ?? \"\"}bricks/basic-bricks/dist/property-editors/`;","module.exports = dll;","const generalButtonSchema = {\n name: \"layout\",\n type: \"void\",\n component: {\n name: \"FormLayout\",\n props: {\n layout: \"vertical\",\n },\n },\n children: [\n {\n name: \"categoryTitle_basic\",\n type: \"void\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"基础\",\n },\n },\n },\n {\n name: \"buttonName\",\n title: \"文本\",\n type: \"string\",\n },\n {\n name: \"disabled\",\n title: \"禁用\",\n type: \"boolean\",\n },\n {\n name: \"buttonUrl\",\n title: \"内链地址\",\n type: \"string\",\n },\n {\n name: \"buttonHref\",\n title: \"外链地址\",\n type: \"string\",\n },\n {\n name: \"target\",\n title: \"链接类型\",\n type: \"string\",\n descorator: \"FormItem\",\n component: {\n name: \"Select\",\n props: {\n options: [\n {\n label: \"当前页面加载\",\n value: \"_self\",\n },\n {\n label: \"新标签打开\",\n value: \"_blank\",\n },\n ],\n },\n },\n },\n {\n name: \"tooltip\",\n title: \"按钮提示\",\n type: \"string\",\n },\n {\n name: \"categoryTitle_style\",\n decorator: {\n name: \"CategoryTitle\",\n props: {\n text: \"外观\",\n },\n },\n },\n {\n type: \"string\",\n name: \"buttonType\",\n title: \"按钮类型\",\n component: {\n name: \"Select\",\n props: {\n placeholder: \"请选择按钮类型\",\n allowClear: true,\n options: [\n \"primary\",\n \"default\",\n \"dashed\",\n \"ghost\",\n \"link\",\n \"text\",\n \"icon\",\n ].map((item) => ({\n label: item,\n value: item,\n })),\n },\n },\n },\n {\n name: \"buttonSize\",\n title: \"大小\",\n type: \"string\",\n decorator: {\n name: \"FormItem\",\n props: {\n layout: \"horizontal\",\n },\n },\n enum: [\n {\n label: \"大\",\n value: \"large\",\n },\n {\n label: \"标准\",\n value: \"medium\",\n },\n {\n label: \"小\",\n value: \"small\",\n },\n {\n label: \"超小\",\n value: \"xs\",\n },\n ],\n component: {\n name: \"Radio.Group\",\n props: {\n size: \"small\",\n optionType: \"button\",\n },\n },\n },\n {\n name: \"buttonDanger\",\n title: \"危险模式\",\n type: \"boolean\",\n },\n {\n name: \"buttonIcon\",\n title: \"图标\",\n type: \"string\",\n component: \"IconSelect\",\n },\n {\n name: \"buttonShape\",\n title: \"形状\",\n type: \"string\",\n component: {\n name: \"Select\",\n props: {\n placeholder: \"请选择按钮形状\",\n allowClear: true,\n options: [\n { label: \"圆形\", value: \"circle\" },\n { label: \"圆弧形\", value: \"round\" },\n { label: \"默认\", value: \"default\" },\n ],\n },\n },\n },\n ],\n};\n\nexport { generalButtonSchema };\n","import type _React from \"react\";\nimport { getRuntime } from \"@next-core/brick-kit\";\nimport { generalButtonSchema } from \"./general-button.schema\";\n\nfunction GeneralButtonComponentFactory(React: typeof _React) {\n return function GeneralButtonComponent(props: any): React.ReactElement {\n const {\n SchemaFieldComponent,\n formilySchemaFormatter,\n advancedMode,\n scope,\n } = props;\n\n return React.createElement(SchemaFieldComponent, {\n schema: formilySchemaFormatter(generalButtonSchema as any, advancedMode!),\n scope,\n });\n };\n}\n\n(getRuntime() as any).customEditors.define(\n \"basic-bricks.general-button\",\n GeneralButtonComponentFactory\n);\n"],"sourceRoot":""}
|
package/dist/stories.json
CHANGED
|
@@ -5047,15 +5047,18 @@
|
|
|
5047
5047
|
"content": {
|
|
5048
5048
|
"bricks": [
|
|
5049
5049
|
{
|
|
5050
|
-
"brick": "presentational-bricks.
|
|
5050
|
+
"brick": "presentational-bricks.general-image",
|
|
5051
5051
|
"properties": {
|
|
5052
|
-
"
|
|
5053
|
-
"
|
|
5052
|
+
"preview": false,
|
|
5053
|
+
"imgSrc": "https://z1.wzznft.com/i/2024/06/17/h1atxi.png"
|
|
5054
5054
|
}
|
|
5055
5055
|
},
|
|
5056
5056
|
{
|
|
5057
5057
|
"brick": "presentational-bricks.rank-table",
|
|
5058
5058
|
"properties": {
|
|
5059
|
+
"style": {
|
|
5060
|
+
"marginBottom": "8px"
|
|
5061
|
+
},
|
|
5059
5062
|
"columns": [
|
|
5060
5063
|
{
|
|
5061
5064
|
"dataIndex": "name",
|
|
@@ -5619,6 +5622,91 @@
|
|
|
5619
5622
|
}
|
|
5620
5623
|
],
|
|
5621
5624
|
"thumbnail": "bricks/basic-bricks/dist/stories-asserts/basic-bricks.general-notification[basic].fe56eb6857a74801.svg"
|
|
5625
|
+
},
|
|
5626
|
+
{
|
|
5627
|
+
"description": {
|
|
5628
|
+
"title": "带底部按钮的提醒框"
|
|
5629
|
+
},
|
|
5630
|
+
"brick": "span",
|
|
5631
|
+
"slots": {
|
|
5632
|
+
"content": {
|
|
5633
|
+
"bricks": [
|
|
5634
|
+
{
|
|
5635
|
+
"brick": "basic-bricks.general-button",
|
|
5636
|
+
"events": {
|
|
5637
|
+
"general.button.click": {
|
|
5638
|
+
"method": "open",
|
|
5639
|
+
"target": "basic-bricks\\.general-notification"
|
|
5640
|
+
}
|
|
5641
|
+
},
|
|
5642
|
+
"properties": {
|
|
5643
|
+
"buttonName": "open notification"
|
|
5644
|
+
}
|
|
5645
|
+
},
|
|
5646
|
+
{
|
|
5647
|
+
"brick": "basic-bricks.general-notification",
|
|
5648
|
+
"events": {
|
|
5649
|
+
"general.notification.click": {
|
|
5650
|
+
"action": "console.log"
|
|
5651
|
+
},
|
|
5652
|
+
"general.notification.close": {
|
|
5653
|
+
"action": "console.log"
|
|
5654
|
+
}
|
|
5655
|
+
},
|
|
5656
|
+
"properties": {
|
|
5657
|
+
"btnBrick": {
|
|
5658
|
+
"useBrick": [
|
|
5659
|
+
{
|
|
5660
|
+
"brick": "div",
|
|
5661
|
+
"properties": {
|
|
5662
|
+
"style": {
|
|
5663
|
+
"display": "flex",
|
|
5664
|
+
"gap": "20px"
|
|
5665
|
+
}
|
|
5666
|
+
},
|
|
5667
|
+
"slots": {
|
|
5668
|
+
"content": {
|
|
5669
|
+
"type": "bricks",
|
|
5670
|
+
"bricks": [
|
|
5671
|
+
{
|
|
5672
|
+
"brick": "presentational-bricks.brick-link",
|
|
5673
|
+
"properties": {
|
|
5674
|
+
"label": "查看详情"
|
|
5675
|
+
}
|
|
5676
|
+
},
|
|
5677
|
+
{
|
|
5678
|
+
"brick": "presentational-bricks.brick-link",
|
|
5679
|
+
"properties": {
|
|
5680
|
+
"label": "忽略",
|
|
5681
|
+
"type": "text"
|
|
5682
|
+
}
|
|
5683
|
+
}
|
|
5684
|
+
]
|
|
5685
|
+
}
|
|
5686
|
+
}
|
|
5687
|
+
}
|
|
5688
|
+
]
|
|
5689
|
+
},
|
|
5690
|
+
"description": "Notification Description.Notification Description.Notification Description.Notification Description.Notification Description.",
|
|
5691
|
+
"duration": 3000,
|
|
5692
|
+
"icon": {
|
|
5693
|
+
"lib": "easyops",
|
|
5694
|
+
"category": "app",
|
|
5695
|
+
"icon": "announcement-app",
|
|
5696
|
+
"color": "orange"
|
|
5697
|
+
},
|
|
5698
|
+
"iconStyle": {
|
|
5699
|
+
"color": "orange",
|
|
5700
|
+
"textAlign": "center"
|
|
5701
|
+
},
|
|
5702
|
+
"message": "A Long Notification Title.A Long Notification Title.A Long Notification Title.",
|
|
5703
|
+
"placement": "topRight"
|
|
5704
|
+
}
|
|
5705
|
+
}
|
|
5706
|
+
],
|
|
5707
|
+
"type": "bricks"
|
|
5708
|
+
}
|
|
5709
|
+
}
|
|
5622
5710
|
}
|
|
5623
5711
|
],
|
|
5624
5712
|
"previewColumns": 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.254.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",
|
|
@@ -31,10 +31,11 @@
|
|
|
31
31
|
"start:snippets": "cross-env NODE_ENV='development' rollup --config rollup.snippets.js --watch",
|
|
32
32
|
"start:all": "concurrently -k -n main,editors,snippets \"npm run start\" \"npm run start:editors\" \"npm run start:snippets\"",
|
|
33
33
|
"prebuild": "node scripts/pre-build.js",
|
|
34
|
-
"build": "cross-env NODE_ENV='production' npm run build:webpack && npm run build:stories && npm run build:snippets",
|
|
34
|
+
"build": "cross-env NODE_ENV='production' npm run build:webpack && npm run build:stories && npm run build:snippets && npm run build:webpack:property-editors",
|
|
35
35
|
"build:webpack": "npm run build:webpack:main && npm run build:webpack:editors",
|
|
36
36
|
"build:webpack:main": "webpack --config webpack.config.js",
|
|
37
37
|
"build:webpack:editors": "webpack --config webpack.editors.js",
|
|
38
|
+
"build:webpack:property-editors": "webpack --config webpack.property-editors.js",
|
|
38
39
|
"build:stories": "if [ -d stories ];then rollup --config rollup.stories.js; else echo \" no stories \"; fi",
|
|
39
40
|
"build:snippets": "if [ -d snippets ]; then rollup --config rollup.snippets.js; else echo \"no snippets.\"; fi",
|
|
40
41
|
"postbuild": "ENABLE_GENERATE_DOC=true node scripts/post-build.js",
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"test:ci": "cross-env NODE_ENV='test' CI=true jest"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
|
-
"@next-core/custom-antd-styles": "^1.
|
|
46
|
+
"@next-core/custom-antd-styles": "^1.27.1",
|
|
46
47
|
"@next-libs/basic-components": "^5.4.0",
|
|
47
48
|
"@next-libs/storage": "^2.0.4",
|
|
48
49
|
"@next-sdk/air-admin-service-sdk": "^2.1.12",
|
|
@@ -52,5 +53,5 @@
|
|
|
52
53
|
"immutability-helper": "^3.1.1"
|
|
53
54
|
},
|
|
54
55
|
"sideEffects": true,
|
|
55
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "db0646a2aabf1835677e4ed578eadcacb2012c77"
|
|
56
57
|
}
|