aldehyde 0.2.279 → 0.2.282

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.
Files changed (145) hide show
  1. package/lib/controls/tree-select/tree-entity-select.d.ts.map +1 -1
  2. package/lib/controls/tree-select/tree-entity-select.js +23 -13
  3. package/lib/controls/tree-select/tree-entity-select.js.map +1 -1
  4. package/lib/form/dtmpl-form.d.ts.map +1 -1
  5. package/lib/form/dtmpl-form.js +2 -2
  6. package/lib/form/dtmpl-form.js.map +1 -1
  7. package/lib/form/form-Item-group.d.ts +1 -0
  8. package/lib/form/form-Item-group.d.ts.map +1 -1
  9. package/lib/form/form-Item-group.js +13 -10
  10. package/lib/form/form-Item-group.js.map +1 -1
  11. package/lib/lowcode-components/assets/china.json +99420 -0
  12. package/lib/lowcode-components/base-map/index.d.ts +22 -0
  13. package/lib/lowcode-components/base-map/index.d.ts.map +1 -0
  14. package/lib/lowcode-components/base-map/index.js +85 -0
  15. package/lib/lowcode-components/base-map/index.js.map +1 -0
  16. package/lib/lowcode-components/border/border1/index.d.ts +14 -0
  17. package/lib/lowcode-components/border/border1/index.d.ts.map +1 -0
  18. package/lib/lowcode-components/border/border1/index.js +39 -0
  19. package/lib/lowcode-components/border/border1/index.js.map +1 -0
  20. package/lib/lowcode-components/border/border10/index.d.ts +19 -0
  21. package/lib/lowcode-components/border/border10/index.d.ts.map +1 -0
  22. package/lib/lowcode-components/border/border10/index.js +16 -0
  23. package/lib/lowcode-components/border/border10/index.js.map +1 -0
  24. package/lib/lowcode-components/border/border10/index.less +27 -0
  25. package/lib/lowcode-components/border/border11/index.d.ts +25 -0
  26. package/lib/lowcode-components/border/border11/index.d.ts.map +1 -0
  27. package/lib/lowcode-components/border/border11/index.js +95 -0
  28. package/lib/lowcode-components/border/border11/index.js.map +1 -0
  29. package/lib/lowcode-components/border/border11/index.less +18 -0
  30. package/lib/lowcode-components/border/border12/index.d.ts +20 -0
  31. package/lib/lowcode-components/border/border12/index.d.ts.map +1 -0
  32. package/lib/lowcode-components/border/border12/index.js +49 -0
  33. package/lib/lowcode-components/border/border12/index.js.map +1 -0
  34. package/lib/lowcode-components/border/border12/index.less +14 -0
  35. package/lib/lowcode-components/border/border13/index.d.ts +19 -0
  36. package/lib/lowcode-components/border/border13/index.d.ts.map +1 -0
  37. package/lib/lowcode-components/border/border13/index.js +29 -0
  38. package/lib/lowcode-components/border/border13/index.js.map +1 -0
  39. package/lib/lowcode-components/border/border13/index.less +14 -0
  40. package/lib/lowcode-components/border/border2/index.d.ts +19 -0
  41. package/lib/lowcode-components/border/border2/index.d.ts.map +1 -0
  42. package/lib/lowcode-components/border/border2/index.js +27 -0
  43. package/lib/lowcode-components/border/border2/index.js.map +1 -0
  44. package/lib/lowcode-components/border/border2/index.less +18 -0
  45. package/lib/lowcode-components/border/border3/index.d.ts +19 -0
  46. package/lib/lowcode-components/border/border3/index.d.ts.map +1 -0
  47. package/lib/lowcode-components/border/border3/index.js +27 -0
  48. package/lib/lowcode-components/border/border3/index.js.map +1 -0
  49. package/lib/lowcode-components/border/border3/index.less +26 -0
  50. package/lib/lowcode-components/border/border4/index.d.ts +20 -0
  51. package/lib/lowcode-components/border/border4/index.d.ts.map +1 -0
  52. package/lib/lowcode-components/border/border4/index.js +32 -0
  53. package/lib/lowcode-components/border/border4/index.js.map +1 -0
  54. package/lib/lowcode-components/border/border4/index.less +73 -0
  55. package/lib/lowcode-components/border/border5/index.d.ts +20 -0
  56. package/lib/lowcode-components/border/border5/index.d.ts.map +1 -0
  57. package/lib/lowcode-components/border/border5/index.js +28 -0
  58. package/lib/lowcode-components/border/border5/index.js.map +1 -0
  59. package/lib/lowcode-components/border/border5/index.less +36 -0
  60. package/lib/lowcode-components/border/border6/index.d.ts +19 -0
  61. package/lib/lowcode-components/border/border6/index.d.ts.map +1 -0
  62. package/lib/lowcode-components/border/border6/index.js +36 -0
  63. package/lib/lowcode-components/border/border6/index.js.map +1 -0
  64. package/lib/lowcode-components/border/border6/index.less +18 -0
  65. package/lib/lowcode-components/border/border7/index.d.ts +19 -0
  66. package/lib/lowcode-components/border/border7/index.d.ts.map +1 -0
  67. package/lib/lowcode-components/border/border7/index.js +33 -0
  68. package/lib/lowcode-components/border/border7/index.js.map +1 -0
  69. package/lib/lowcode-components/border/border7/index.less +27 -0
  70. package/lib/lowcode-components/border/border8/index.d.ts +21 -0
  71. package/lib/lowcode-components/border/border8/index.d.ts.map +1 -0
  72. package/lib/lowcode-components/border/border8/index.js +43 -0
  73. package/lib/lowcode-components/border/border8/index.js.map +1 -0
  74. package/lib/lowcode-components/border/border8/index.less +14 -0
  75. package/lib/lowcode-components/border/border9/index.d.ts +20 -0
  76. package/lib/lowcode-components/border/border9/index.d.ts.map +1 -0
  77. package/lib/lowcode-components/border/border9/index.js +60 -0
  78. package/lib/lowcode-components/border/border9/index.js.map +1 -0
  79. package/lib/lowcode-components/border/border9/index.less +14 -0
  80. package/lib/lowcode-components/effectScatter-map/index.d.ts +25 -0
  81. package/lib/lowcode-components/effectScatter-map/index.d.ts.map +1 -0
  82. package/lib/lowcode-components/effectScatter-map/index.js +108 -0
  83. package/lib/lowcode-components/effectScatter-map/index.js.map +1 -0
  84. package/lib/lowcode-components/index.d.ts +28 -0
  85. package/lib/lowcode-components/index.d.ts.map +1 -1
  86. package/lib/lowcode-components/index.js +28 -0
  87. package/lib/lowcode-components/index.js.map +1 -1
  88. package/lib/lowcode-components/lowcode-view/component/assets.d.ts.map +1 -1
  89. package/lib/lowcode-components/lowcode-view/component/assets.js +120 -0
  90. package/lib/lowcode-components/lowcode-view/component/assets.js.map +1 -1
  91. package/lib/module/dtmpl-edit-page.d.ts +12 -12
  92. package/lib/module/dtmpl-edit-page.d.ts.map +1 -1
  93. package/lib/module/dtmpl-edit-page.js +4 -2
  94. package/lib/module/dtmpl-edit-page.js.map +1 -1
  95. package/lib/table/act-table.d.ts.map +1 -1
  96. package/lib/table/act-table.js +1 -2
  97. package/lib/table/act-table.js.map +1 -1
  98. package/lib/tmpl/hcservice-v3.d.ts +1 -0
  99. package/lib/tmpl/hcservice-v3.d.ts.map +1 -1
  100. package/lib/tmpl/hcservice-v3.js +8 -0
  101. package/lib/tmpl/hcservice-v3.js.map +1 -1
  102. package/lib/tmpl/interface.d.ts +1 -0
  103. package/lib/tmpl/interface.d.ts.map +1 -1
  104. package/lib/tree/block-menu-auth-tree.d.ts.map +1 -1
  105. package/lib/tree/block-menu-auth-tree.js +5 -5
  106. package/lib/tree/block-menu-auth-tree.js.map +1 -1
  107. package/package.json +1 -1
  108. package/src/aldehyde/controls/tree-select/tree-entity-select.tsx +13 -6
  109. package/src/aldehyde/form/dtmpl-form.tsx +3 -1
  110. package/src/aldehyde/form/form-Item-group.tsx +14 -12
  111. package/src/aldehyde/lowcode-components/assets/china.json +99420 -0
  112. package/src/aldehyde/lowcode-components/base-map/index.tsx +108 -0
  113. package/src/aldehyde/lowcode-components/border/border1/index.tsx +71 -0
  114. package/src/aldehyde/lowcode-components/border/border10/index.less +27 -0
  115. package/src/aldehyde/lowcode-components/border/border10/index.tsx +46 -0
  116. package/src/aldehyde/lowcode-components/border/border11/index.less +18 -0
  117. package/src/aldehyde/lowcode-components/border/border11/index.tsx +232 -0
  118. package/src/aldehyde/lowcode-components/border/border12/index.less +14 -0
  119. package/src/aldehyde/lowcode-components/border/border12/index.tsx +115 -0
  120. package/src/aldehyde/lowcode-components/border/border13/index.less +14 -0
  121. package/src/aldehyde/lowcode-components/border/border13/index.tsx +69 -0
  122. package/src/aldehyde/lowcode-components/border/border2/index.less +18 -0
  123. package/src/aldehyde/lowcode-components/border/border2/index.tsx +51 -0
  124. package/src/aldehyde/lowcode-components/border/border3/index.less +26 -0
  125. package/src/aldehyde/lowcode-components/border/border3/index.tsx +61 -0
  126. package/src/aldehyde/lowcode-components/border/border4/index.less +73 -0
  127. package/src/aldehyde/lowcode-components/border/border4/index.tsx +79 -0
  128. package/src/aldehyde/lowcode-components/border/border5/index.less +36 -0
  129. package/src/aldehyde/lowcode-components/border/border5/index.tsx +75 -0
  130. package/src/aldehyde/lowcode-components/border/border6/index.less +18 -0
  131. package/src/aldehyde/lowcode-components/border/border6/index.tsx +60 -0
  132. package/src/aldehyde/lowcode-components/border/border7/index.less +27 -0
  133. package/src/aldehyde/lowcode-components/border/border7/index.tsx +75 -0
  134. package/src/aldehyde/lowcode-components/border/border8/index.less +14 -0
  135. package/src/aldehyde/lowcode-components/border/border8/index.tsx +84 -0
  136. package/src/aldehyde/lowcode-components/border/border9/index.less +14 -0
  137. package/src/aldehyde/lowcode-components/border/border9/index.tsx +154 -0
  138. package/src/aldehyde/lowcode-components/effectScatter-map/index.tsx +133 -0
  139. package/src/aldehyde/lowcode-components/index.ts +42 -0
  140. package/src/aldehyde/lowcode-components/lowcode-view/component/assets.ts +120 -0
  141. package/src/aldehyde/module/dtmpl-edit-page.tsx +7 -3
  142. package/src/aldehyde/table/act-table.tsx +4 -5
  143. package/src/aldehyde/tmpl/hcservice-v3.tsx +8 -0
  144. package/src/aldehyde/tmpl/interface.tsx +1 -0
  145. package/src/aldehyde/tree/block-menu-auth-tree.tsx +2 -5
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface ComponentStyle {
4
+ mainColor?: string;
5
+ subColor?: string;
6
+ }
7
+ export interface ComponentProps {
8
+ style?: ComponentStyle;
9
+ base?: {
10
+ width?: number;
11
+ height?: number;
12
+ };
13
+ }
14
+ export interface ComponentRef {
15
+ updateConfig: (config: ComponentProps) => void;
16
+ }
17
+ declare const Index: React.ForwardRefExoticComponent<ComponentProps & React.RefAttributes<ComponentRef>>;
18
+ export default Index;
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAEtB,UAAU,cAAc;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7C;AAED,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD;AACD,QAAA,MAAM,KAAK,qFAgCT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,27 @@
1
+ import React, { forwardRef, useImperativeHandle, useState } from "react";
2
+ import "./index.less";
3
+ const Index = forwardRef((props, ref) => {
4
+ const [style, setStyle] = useState(Object.assign({}, props.style));
5
+ const [width, setWidth] = useState(320);
6
+ const [height, setHeight] = useState(200);
7
+ const { mainColor = "#83BFF6", subColor = "#00CED1" } = style || {};
8
+ useImperativeHandle(ref, () => ({
9
+ updateConfig: (newConfig) => {
10
+ setStyle(Object.assign({}, newConfig.style));
11
+ setWidth(newConfig.base.width);
12
+ setHeight(newConfig.base.height);
13
+ },
14
+ }));
15
+ return React.createElement("div", { className: "border-box-2" },
16
+ React.createElement("svg", { className: 'border-svg-container', width: width, height: height },
17
+ React.createElement("polyline", { stroke: mainColor, points: `2, 2 ${width - 2} ,2 ${width - 2}, ${height -
18
+ 2} 2, ${height - 2} 2, 2` }),
19
+ React.createElement("polyline", { stroke: subColor, points: `6, 6 ${width - 6}, 6 ${width - 6}, ${height -
20
+ 6} 6, ${height - 6} 6, 6` }),
21
+ React.createElement("circle", { fill: mainColor, cx: '11', cy: '11', r: '1' }),
22
+ React.createElement("circle", { fill: mainColor, cx: width - 11, cy: '11', r: '1' }),
23
+ React.createElement("circle", { fill: mainColor, cx: width - 11, cy: height - 11, r: '1' }),
24
+ React.createElement("circle", { fill: mainColor, cx: '11', cy: height - 11, r: '1' })));
25
+ });
26
+ export default Index;
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAgB,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAetB,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,KAAqB,EAAE,GAA+B,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,mBAAsB,KAAK,CAAC,KAAK,EAAG,CAAC;IACvE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,GAAG,CAAC,CAAC;IAChD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAS,GAAG,CAAC,CAAC;IAClD,MAAM,EAAE,SAAS,GAAG,SAAS,EAAE,QAAQ,GAAG,SAAS,EAAE,GAAG,KAAK,IAAI,EAAE,CAAC;IAEpE,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC5B,YAAY,EAAE,CAAC,SAAS,EAAE,EAAE;YACxB,QAAQ,mBAAM,SAAS,CAAC,KAAK,EAAG,CAAC;YACjC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC/B,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrC,CAAC;KACJ,CAAC,CAAC,CAAC;IAEJ,OAAO,6BAAK,SAAS,EAAC,cAAc;QAChC,6BAAK,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM;YAC9D,kCACI,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,QAAQ,KAAK,GAAG,CAAC,OAAO,KAAK,GAAG,CAAC,KAAK,MAAM;oBAChD,CAAC,OAAO,MAAM,GAAG,CAAC,OAAO,GAC/B;YACF,kCACI,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,QAAQ,KAAK,GAAG,CAAC,OAAO,KAAK,GAAG,CAAC,KAAK,MAAM;oBAChD,CAAC,OAAO,MAAM,GAAG,CAAC,OAAO,GAC/B;YACF,gCAAQ,IAAI,EAAE,SAAS,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG;YACjD,gCAAQ,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG;YACzD,gCAAQ,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,CAAC,EAAC,GAAG,GAAG;YAClE,gCAAQ,IAAI,EAAE,SAAS,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,CAAC,EAAC,GAAG,GAAG,CACxD,CACJ,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,18 @@
1
+ .border-box-2 {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 100%;
5
+
6
+ .border-svg-container {
7
+ position: absolute;
8
+ width: 100%;
9
+ height: 100%;
10
+ top: 0px;
11
+ left: 0px;
12
+
13
+ polyline {
14
+ fill: none;
15
+ stroke-width: 1;
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface ComponentStyle {
4
+ mainColor?: string;
5
+ subColor?: string;
6
+ }
7
+ export interface ComponentProps {
8
+ style?: ComponentStyle;
9
+ base?: {
10
+ width?: number;
11
+ height?: number;
12
+ };
13
+ }
14
+ export interface ComponentRef {
15
+ updateConfig: (config: ComponentProps) => void;
16
+ }
17
+ declare const Index: React.ForwardRefExoticComponent<ComponentProps & React.RefAttributes<ComponentRef>>;
18
+ export default Index;
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border3/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAEtB,UAAU,cAAc;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7C;AAED,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD;AACD,QAAA,MAAM,KAAK,qFA0CT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,27 @@
1
+ import React, { forwardRef, useImperativeHandle, useState } from "react";
2
+ import "./index.less";
3
+ const Index = forwardRef((props, ref) => {
4
+ const [style, setStyle] = useState(Object.assign({}, props.style));
5
+ const [width, setWidth] = useState(320);
6
+ const [height, setHeight] = useState(200);
7
+ const { mainColor = "#83BFF6", subColor = "#00CED1" } = style || {};
8
+ useImperativeHandle(ref, () => ({
9
+ updateConfig: (newConfig) => {
10
+ setStyle(Object.assign({}, newConfig.style));
11
+ setWidth(newConfig.base.width);
12
+ setHeight(newConfig.base.height);
13
+ },
14
+ }));
15
+ return React.createElement("div", { className: "border-box-3" },
16
+ React.createElement("svg", { className: 'border-svg-container', width: width, height: height },
17
+ React.createElement("polyline", { className: 'bb3-line1', stroke: mainColor, points: `4, 4 ${width - 22} ,4 ${width - 22}, ${height -
18
+ 22} 4, ${height - 22} 4, 4` }),
19
+ React.createElement("polyline", { className: 'bb3-line2', stroke: subColor, points: `10, 10 ${width - 16}, 10 ${width - 16}, ${height -
20
+ 16} 10, ${height - 16} 10, 10` }),
21
+ React.createElement("polyline", { className: 'bb3-line2', stroke: subColor, points: `16, 16 ${width - 10}, 16 ${width - 10}, ${height -
22
+ 10} 16, ${height - 10} 16, 16` }),
23
+ React.createElement("polyline", { className: 'bb3-line2', stroke: subColor, points: `22, 22 ${width - 4}, 22 ${width - 4}, ${height -
24
+ 4} 22, ${height - 4} 22, 22` })));
25
+ });
26
+ export default Index;
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border3/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAgB,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAetB,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,KAAqB,EAAE,GAA+B,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,mBAAsB,KAAK,CAAC,KAAK,EAAG,CAAC;IACvE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,GAAG,CAAC,CAAC;IAChD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAS,GAAG,CAAC,CAAC;IAClD,MAAM,EAAE,SAAS,GAAG,SAAS,EAAE,QAAQ,GAAG,SAAS,EAAE,GAAG,KAAK,IAAI,EAAE,CAAC;IAEpE,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC5B,YAAY,EAAE,CAAC,SAAS,EAAE,EAAE;YACxB,QAAQ,mBAAM,SAAS,CAAC,KAAK,EAAG,CAAC;YACjC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC/B,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrC,CAAC;KACJ,CAAC,CAAC,CAAC;IAEJ,OAAO,6BAAK,SAAS,EAAC,cAAc;QAChC,6BAAK,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM;YAC9D,kCACI,SAAS,EAAC,WAAW,EACrB,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,QAAQ,KAAK,GAAG,EAAE,OAAO,KAAK,GAAG,EAAE,KAAK,MAAM;oBAClD,EAAE,OAAO,MAAM,GAAG,EAAE,OAAO,GACjC;YACF,kCACI,SAAS,EAAC,WAAW,EACrB,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,UAAU,KAAK,GAAG,EAAE,QAAQ,KAAK,GAAG,EAAE,KAAK,MAAM;oBACrD,EAAE,QAAQ,MAAM,GAAG,EAAE,SAAS,GACpC;YACF,kCACI,SAAS,EAAC,WAAW,EACrB,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,UAAU,KAAK,GAAG,EAAE,QAAQ,KAAK,GAAG,EAAE,KAAK,MAAM;oBACrD,EAAE,QAAQ,MAAM,GAAG,EAAE,SAAS,GACpC;YACF,kCACI,SAAS,EAAC,WAAW,EACrB,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,UAAU,KAAK,GAAG,CAAC,QAAQ,KAAK,GAAG,CAAC,KAAK,MAAM;oBACnD,CAAC,QAAQ,MAAM,GAAG,CAAC,SAAS,GAClC,CACA,CACJ,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,26 @@
1
+ .border-box-3 {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 100%;
5
+
6
+ .border-svg-container {
7
+ position: absolute;
8
+ width: 100%;
9
+ height: 100%;
10
+ top: 0px;
11
+ left: 0px;
12
+
13
+ &>polyline {
14
+ fill: none;
15
+ }
16
+ }
17
+
18
+ .bb3-line1 {
19
+ stroke-width: 3;
20
+ }
21
+
22
+ .bb3-line2 {
23
+ stroke-width: 1;
24
+ }
25
+
26
+ }
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface ComponentStyle {
4
+ mainColor?: string;
5
+ subColor?: string;
6
+ reverse?: boolean;
7
+ }
8
+ export interface ComponentProps {
9
+ style?: ComponentStyle;
10
+ base?: {
11
+ width?: number;
12
+ height?: number;
13
+ };
14
+ }
15
+ export interface ComponentRef {
16
+ updateConfig: (config: ComponentProps) => void;
17
+ }
18
+ declare const Index: React.ForwardRefExoticComponent<ComponentProps & React.RefAttributes<ComponentRef>>;
19
+ export default Index;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border4/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAEtB,UAAU,cAAc;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7C;AAED,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD;AACD,QAAA,MAAM,KAAK,qFA2DT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,32 @@
1
+ import React, { forwardRef, useImperativeHandle, useState } from "react";
2
+ import "./index.less";
3
+ const Index = forwardRef((props, ref) => {
4
+ const [style, setStyle] = useState(Object.assign({}, props.style));
5
+ const [width, setWidth] = useState(320);
6
+ const [height, setHeight] = useState(200);
7
+ const { mainColor = "#83BFF6", subColor = "#00CED1", reverse } = style || {};
8
+ useImperativeHandle(ref, () => ({
9
+ updateConfig: (newConfig) => {
10
+ const { width, height } = newConfig.base;
11
+ setStyle(Object.assign({}, newConfig.style));
12
+ setWidth(width);
13
+ setHeight(height);
14
+ },
15
+ }));
16
+ return React.createElement("div", { className: "border-box-4" },
17
+ React.createElement("svg", { className: `border-svg-container ${reverse && 'reverse'}`, width: width, height: height },
18
+ React.createElement("polyline", { className: 'bb4-line-1', stroke: mainColor, points: `145, ${height - 5} 40, ${height - 5} 10, ${height - 35}
19
+ 10, 40 40, 5 150, 5 170, 20 ${width - 15}, 20` }),
20
+ React.createElement("polyline", { className: 'bb4-line-2', stroke: subColor, points: `245, ${height - 1} 36, ${height - 1} 14, ${height - 23}
21
+ 14, ${height - 100}` }),
22
+ React.createElement("polyline", { className: 'bb4-line-3', stroke: mainColor, points: `7, ${height - 40} 7, ${height - 75}` }),
23
+ React.createElement("polyline", { className: 'bb4-line-4', stroke: mainColor, points: `28, 24 13, 41 13, 64` }),
24
+ React.createElement("polyline", { className: 'bb4-line-5', stroke: mainColor, points: `5, 45 5, 140` }),
25
+ React.createElement("polyline", { className: 'bb4-line-6', stroke: subColor, points: `14, 75 14, 180` }),
26
+ React.createElement("polyline", { className: 'bb4-line-7', stroke: subColor, points: `55, 11 147, 11 167, 26 250, 26` }),
27
+ React.createElement("polyline", { className: 'bb4-line-8', stroke: subColor, points: `158, 5 173, 16` }),
28
+ React.createElement("polyline", { className: 'bb4-line-9', stroke: mainColor, points: `200, 17 ${width - 10}, 17` }),
29
+ React.createElement("polyline", { className: 'bb4-line-10', stroke: subColor, points: `385, 17 ${width - 10}, 17` })));
30
+ });
31
+ export default Index;
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRo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 position: absolute;
12
+ width: 100%;
13
+ height: 100%;
14
+ top: 0px;
15
+ left: 0px;
16
+
17
+ &>polyline {
18
+ fill: none;
19
+ }
20
+ }
21
+
22
+ .sw1 {
23
+ stroke-width: 1;
24
+ }
25
+
26
+ .sw3 {
27
+ stroke-width: 3px;
28
+ stroke-linecap: round;
29
+ }
30
+
31
+ .bb4-line-1 {
32
+ .sw1;
33
+ }
34
+
35
+ .bb4-line-2 {
36
+ .sw1;
37
+ }
38
+
39
+ .bb4-line-3 {
40
+ .sw3;
41
+ }
42
+
43
+ .bb4-line-4 {
44
+ .sw3;
45
+ }
46
+
47
+ .bb4-line-5 {
48
+ .sw1;
49
+ }
50
+
51
+ .bb4-line-6 {
52
+ .sw1;
53
+ }
54
+
55
+ .bb4-line-7 {
56
+ .sw1;
57
+ }
58
+
59
+ .bb4-line-8 {
60
+ .sw3;
61
+ }
62
+
63
+ .bb4-line-9 {
64
+ .sw3;
65
+ stroke-dasharray: 100 250;
66
+ }
67
+
68
+ .bb4-line-10 {
69
+ .sw1;
70
+ stroke-dasharray: 80 270;
71
+ }
72
+
73
+ }
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface ComponentStyle {
4
+ mainColor?: string;
5
+ subColor?: string;
6
+ reverse?: boolean;
7
+ }
8
+ export interface ComponentProps {
9
+ style?: ComponentStyle;
10
+ base?: {
11
+ width?: number;
12
+ height?: number;
13
+ };
14
+ }
15
+ export interface ComponentRef {
16
+ updateConfig: (config: ComponentProps) => void;
17
+ }
18
+ declare const Index: React.ForwardRefExoticComponent<ComponentProps & React.RefAttributes<ComponentRef>>;
19
+ export default Index;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border5/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAEtB,UAAU,cAAc;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7C;AAED,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD;AACD,QAAA,MAAM,KAAK,qFAuDT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,28 @@
1
+ import React, { forwardRef, useImperativeHandle, useState } from "react";
2
+ import "./index.less";
3
+ const Index = forwardRef((props, ref) => {
4
+ const [style, setStyle] = useState(Object.assign({}, props.style));
5
+ const [width, setWidth] = useState(320);
6
+ const [height, setHeight] = useState(200);
7
+ const { mainColor = "#83BFF6", subColor = "#00CED1", reverse } = style || {};
8
+ useImperativeHandle(ref, () => ({
9
+ updateConfig: (newConfig) => {
10
+ const { width, height } = newConfig.base;
11
+ setStyle(Object.assign({}, newConfig.style));
12
+ setWidth(width);
13
+ setHeight(height);
14
+ },
15
+ }));
16
+ return React.createElement("div", { className: "border-box-5" },
17
+ React.createElement("svg", { className: `border-svg-container ${reverse && 'reverse'}`, width: width, height: height },
18
+ React.createElement("polyline", { className: 'bb5-line-1', stroke: mainColor, points: `8, 5 ${width - 5}, 5 ${width - 5}, ${height - 100}
19
+ ${width - 100}, ${height - 5} 8, ${height - 5} 8, 5` }),
20
+ React.createElement("polyline", { className: 'bb5-line-2', stroke: subColor, points: `3, 5 ${width - 20}, 5 ${width - 20}, ${height - 60}
21
+ ${width - 74}, ${height - 5} 3, ${height - 5} 3, 5` }),
22
+ React.createElement("polyline", { className: 'bb5-line-3', stroke: subColor, points: `50, 13 ${width - 35}, 13` }),
23
+ React.createElement("polyline", { className: 'bb5-line-4', stroke: subColor, points: `15, 20 ${width - 35}, 20` }),
24
+ React.createElement("polyline", { className: 'bb5-line-5', stroke: subColor, points: `15, ${height - 20} ${width - 110}, ${height - 20}` }),
25
+ React.createElement("polyline", { className: 'bb5-line-6', stroke: subColor, points: `15, ${height - 13} ${width - 110}, ${height - 13}` })));
26
+ });
27
+ export default Index;
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border5/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAgB,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAgBtB,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,KAAqB,EAAE,GAA+B,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,mBAAsB,KAAK,CAAC,KAAK,EAAG,CAAC;IACvE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,GAAG,CAAC,CAAC;IAChD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAS,GAAG,CAAC,CAAC;IAClD,MAAM,EAAE,SAAS,GAAG,SAAS,EAAE,QAAQ,GAAG,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,IAAI,EAAE,CAAC;IAE7E,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC5B,YAAY,EAAE,CAAC,SAAS,EAAE,EAAE;YACxB,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,IAAI,CAAC;YACzC,QAAQ,mBAAM,SAAS,CAAC,KAAK,EAAG,CAAC;YACjC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAChB,SAAS,CAAC,MAAM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H,eAAe,KAAK,CAAC"}
@@ -0,0 +1,36 @@
1
+ .border-box-5 {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 100%;
5
+
6
+ .reverse {
7
+ transform: rotate(180deg);
8
+ }
9
+
10
+ .border-svg-container {
11
+ position: absolute;
12
+ top: 0px;
13
+ left: 0px;
14
+ width: 100%;
15
+ height: 100%;
16
+
17
+ &>polyline {
18
+ fill: none;
19
+ }
20
+ }
21
+
22
+ .bb5-line-1,
23
+ .bb5-line-2 {
24
+ stroke-width: 1;
25
+ }
26
+
27
+ .bb5-line-3,
28
+ .bb5-line-6 {
29
+ stroke-width: 5;
30
+ }
31
+
32
+ .bb5-line-4,
33
+ .bb5-line-5 {
34
+ stroke-width: 2;
35
+ }
36
+ }
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface ComponentStyle {
4
+ mainColor?: string;
5
+ subColor?: string;
6
+ }
7
+ export interface ComponentProps {
8
+ style?: ComponentStyle;
9
+ base?: {
10
+ width?: number;
11
+ height?: number;
12
+ };
13
+ }
14
+ export interface ComponentRef {
15
+ updateConfig: (config: ComponentProps) => void;
16
+ }
17
+ declare const Index: React.ForwardRefExoticComponent<ComponentProps & React.RefAttributes<ComponentRef>>;
18
+ export default Index;
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border6/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAEtB,UAAU,cAAc;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7C;AAED,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD;AACD,QAAA,MAAM,KAAK,qFAyCT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,36 @@
1
+ import React, { forwardRef, useImperativeHandle, useState } from "react";
2
+ import "./index.less";
3
+ const Index = forwardRef((props, ref) => {
4
+ const [style, setStyle] = useState(Object.assign({}, props.style));
5
+ const [width, setWidth] = useState(320);
6
+ const [height, setHeight] = useState(200);
7
+ const { mainColor = "#83BFF6", subColor = "#00CED1" } = style || {};
8
+ useImperativeHandle(ref, () => ({
9
+ updateConfig: (newConfig) => {
10
+ const { width, height } = newConfig.base;
11
+ setStyle(Object.assign({}, newConfig.style));
12
+ setWidth(width);
13
+ setHeight(height);
14
+ },
15
+ }));
16
+ return React.createElement("div", { className: "border-box-6" },
17
+ React.createElement("svg", { className: 'border-svg-container', width: width, height: height },
18
+ React.createElement("circle", { fill: subColor, cx: '5', cy: '5', r: '2' }),
19
+ React.createElement("circle", { fill: subColor, cx: width - 5, cy: '5', r: '2' }),
20
+ React.createElement("circle", { fill: subColor, cx: width - 5, cy: height - 5, r: '2' }),
21
+ React.createElement("circle", { fill: subColor, cx: '5', cy: height - 5, r: '2' }),
22
+ React.createElement("polyline", { stroke: mainColor, points: `10, 4 ${width - 10}, 4` }),
23
+ React.createElement("polyline", { stroke: mainColor, points: `10, ${height - 4} ${width - 10}, ${height - 4}` }),
24
+ React.createElement("polyline", { stroke: mainColor, points: `5, 70 5, ${height - 70}` }),
25
+ React.createElement("polyline", { stroke: mainColor, points: `${width - 5}, 70 ${width - 5}, ${height - 70}` }),
26
+ React.createElement("polyline", { stroke: mainColor, points: `3, 10, 3, 50` }),
27
+ React.createElement("polyline", { stroke: mainColor, points: `7, 30 7, 80` }),
28
+ React.createElement("polyline", { stroke: mainColor, points: `${width - 3}, 10 ${width - 3}, 50` }),
29
+ React.createElement("polyline", { stroke: mainColor, points: `${width - 7}, 30 ${width - 7}, 80` }),
30
+ React.createElement("polyline", { stroke: mainColor, points: `3, ${height - 10} 3, ${height - 50}` }),
31
+ React.createElement("polyline", { stroke: mainColor, points: `7, ${height - 30} 7, ${height - 80}` }),
32
+ React.createElement("polyline", { stroke: mainColor, points: `${width - 3}, ${height - 10} ${width - 3}, ${height - 50}` }),
33
+ React.createElement("polyline", { stroke: mainColor, points: `${width - 7}, ${height - 30} ${width - 7}, ${height - 80}` })));
34
+ });
35
+ export default Index;
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border6/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAgB,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAetB,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,KAAqB,EAAE,GAA+B,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,mBAAsB,KAAK,CAAC,KAAK,EAAG,CAAC;IACvE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,GAAG,CAAC,CAAC;IAChD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAS,GAAG,CAAC,CAAC;IAClD,MAAM,EAAE,SAAS,GAAG,SAAS,EAAE,QAAQ,GAAG,SAAS,EAAE,GAAG,KAAK,IAAI,EAAE,CAAC;IAEpE,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC5B,YAAY,EAAE,CAAC,SAAS,EAAE,EAAE;YACxB,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,IAAI,CAAC;YACzC,QAAQ,mBAAM,SAAS,CAAC,KAAK,E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c,GAAI;YACvD,kCAAU,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,GAAI;YACtD,kCAAU,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC,QAAQ,KAAK,GAAG,CAAC,MAAM,GAAI;YAC5E,kCAAU,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC,QAAQ,KAAK,GAAG,CAAC,MAAM,GAAI;YAC5E,kCAAU,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,MAAM,GAAG,EAAE,OAAO,MAAM,GAAG,EAAE,EAAE,GAAI;YAC9E,kCAAU,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,MAAM,GAAG,EAAE,OAAO,MAAM,GAAG,EAAE,EAAE,GAAI;YAC9E,kCACI,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC,KAAK,MAAM,GAAG,EAAE,IAAI,KAAK,GAAG,CAAC,KAAK,MAAM,GAAG,EAAE,EAAE,GACrE;YACF,kCACI,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC,KAAK,MAAM,GAAG,EAAE,IAAI,KAAK,GAAG,CAAC,KAAK,MAAM,GAAG,EAAE,EAAE,GACrE,CACA,CACJ,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,18 @@
1
+ .border-box-6 {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 100%;
5
+
6
+ .border-svg-container {
7
+ position: absolute;
8
+ top: 0px;
9
+ left: 0px;
10
+ width: 100%;
11
+ height: 100%;
12
+
13
+ &>polyline {
14
+ fill: none;
15
+ stroke-width: 1;
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface ComponentStyle {
4
+ mainColor?: string;
5
+ subColor?: string;
6
+ }
7
+ export interface ComponentProps {
8
+ style?: ComponentStyle;
9
+ base?: {
10
+ width?: number;
11
+ height?: number;
12
+ };
13
+ }
14
+ export interface ComponentRef {
15
+ updateConfig: (config: ComponentProps) => void;
16
+ }
17
+ declare const Index: React.ForwardRefExoticComponent<ComponentProps & React.RefAttributes<ComponentRef>>;
18
+ export default Index;
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border7/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAEtB,UAAU,cAAc;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7C;AAED,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD;AACD,QAAA,MAAM,KAAK,qFAwDT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,33 @@
1
+ import React, { forwardRef, useImperativeHandle, useState } from "react";
2
+ import "./index.less";
3
+ const Index = forwardRef((props, ref) => {
4
+ const [style, setStyle] = useState(Object.assign({}, props.style));
5
+ const [width, setWidth] = useState(320);
6
+ const [height, setHeight] = useState(200);
7
+ const { mainColor = "#83BFF6", subColor = "#00CED1" } = style || {};
8
+ useImperativeHandle(ref, () => ({
9
+ updateConfig: (newConfig) => {
10
+ const { width, height } = newConfig.base;
11
+ setStyle(Object.assign({}, newConfig.style));
12
+ setWidth(width);
13
+ setHeight(height);
14
+ },
15
+ }));
16
+ return React.createElement("div", { className: "border-box-7", style: {
17
+ boxShadow: `inset 0 0 40px ${mainColor}`,
18
+ border: `1px solid ${mainColor}`
19
+ } },
20
+ React.createElement("svg", { className: 'border-svg-container', width: width, height: height },
21
+ React.createElement("polyline", { className: 'bb7-line-width-2', stroke: mainColor, points: `0, 25 0, 0 25, 0` }),
22
+ React.createElement("polyline", { className: 'bb7-line-width-2', stroke: mainColor, points: `${width - 25}, 0 ${width}, 0 ${width}, 25` }),
23
+ React.createElement("polyline", { className: 'bb7-line-width-2', stroke: mainColor, points: `${width -
24
+ 25}, ${height} ${width}, ${height} ${width}, ${height - 25}` }),
25
+ React.createElement("polyline", { className: 'bb7-line-width-2', stroke: mainColor, points: `0, ${height - 25} 0, ${height} 25, ${height}` }),
26
+ React.createElement("polyline", { className: 'bb7-line-width-5', stroke: subColor, points: `0, 10 0, 0 10, 0` }),
27
+ React.createElement("polyline", { className: 'bb7-line-width-5', stroke: subColor, points: `${width - 10}, 0 ${width}, 0 ${width}, 10` }),
28
+ React.createElement("polyline", { className: 'bb7-line-width-5', stroke: subColor, points: `${width -
29
+ 10}, ${height} ${width}, ${height} ${width}, ${height - 10}` }),
30
+ React.createElement("polyline", { className: 'bb7-line-width-5', stroke: subColor, points: `0, ${height - 10} 0, ${height} 10, ${height}` })));
31
+ });
32
+ export default Index;
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border7/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAgB,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvF,OAAO,cAAc,CAAC;AAetB,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,KAAqB,EAAE,GAA+B,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,mBAAsB,KAAK,CAAC,KAAK,EAAG,CAAC;IACvE,MAAM,CAA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kB,EAC5B,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,MAAM,MAAM,GAAG,EAAE,OAAO,MAAM,QAAQ,MAAM,EAAE,GACxD;YACF,kCAAU,SAAS,EAAC,kBAAkB,EAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,kBAAkB,GAAI;YACvF,kCACI,SAAS,EAAC,kBAAkB,EAC5B,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,GAAG,KAAK,GAAG,EAAE,OAAO,KAAK,OAAO,KAAK,MAAM,GACrD;YACF,kCACI,SAAS,EAAC,kBAAkB,EAC5B,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,GAAG,KAAK;oBACZ,EAAE,KAAK,MAAM,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,MAAM,GAAG,EAAE,EAAE,GAClE;YACF,kCACI,SAAS,EAAC,kBAAkB,EAC5B,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,MAAM,MAAM,GAAG,EAAE,OAAO,MAAM,QAAQ,MAAM,EAAE,GACxD,CACA,CACJ,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,27 @@
1
+ .border-box-7 {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 100%;
5
+
6
+ .border-svg-container {
7
+ position: absolute;
8
+ top: 0px;
9
+ left: 0px;
10
+ width: 100%;
11
+ height: 100%;
12
+
13
+ &>polyline {
14
+ fill: none;
15
+ stroke-linecap: round;
16
+ }
17
+ }
18
+
19
+ .bb7-line-width-2 {
20
+ stroke-width: 2;
21
+ }
22
+
23
+ .bb7-line-width-5 {
24
+ stroke-width: 5;
25
+ }
26
+
27
+ }
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ interface ComponentStyle {
4
+ mainColor?: string;
5
+ subColor?: string;
6
+ reverse?: boolean;
7
+ }
8
+ export interface ComponentProps {
9
+ style?: ComponentStyle;
10
+ base?: {
11
+ width?: number;
12
+ height?: number;
13
+ id: string;
14
+ };
15
+ }
16
+ export interface ComponentRef {
17
+ updateConfig: (config: ComponentProps) => void;
18
+ }
19
+ declare const Index: React.ForwardRefExoticComponent<ComponentProps & React.RefAttributes<ComponentRef>>;
20
+ export default Index;
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/lowcode-components/border/border8/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAChG,OAAO,cAAc,CAAC;AAEtB,UAAU,cAAc;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAA;CACzD;AAED,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD;AACD,QAAA,MAAM,KAAK,qFAgET,CAAC;AAEH,eAAe,KAAK,CAAC"}