@ebuilding/bi 2.3.9

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 (64) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/basic/index.d.ts +1 -0
  4. package/basic/src/components/basic.service.d.ts +19 -0
  5. package/basic/src/components/card1/index.d.ts +19 -0
  6. package/basic/src/components/card2/index.d.ts +19 -0
  7. package/basic/src/components/card3/index.d.ts +19 -0
  8. package/basic/src/components/card4/index.d.ts +19 -0
  9. package/basic/src/components/image/index.d.ts +17 -0
  10. package/basic/src/components/line1/index.d.ts +13 -0
  11. package/basic/src/components/line2/index.d.ts +13 -0
  12. package/basic/src/components/number/index.d.ts +18 -0
  13. package/basic/src/components/table/index.d.ts +18 -0
  14. package/basic/src/components/text/index.d.ts +16 -0
  15. package/basic/src/components/time1/index.d.ts +22 -0
  16. package/basic/src/components/time2/index.d.ts +23 -0
  17. package/basic/src/default/index.d.ts +20 -0
  18. package/basic/src/index.module.d.ts +19 -0
  19. package/basic/src/public_api.d.ts +2 -0
  20. package/border/index.d.ts +1 -0
  21. package/border/src/components/1/index.d.ts +17 -0
  22. package/border/src/components/10/index.d.ts +16 -0
  23. package/border/src/components/11/index.d.ts +20 -0
  24. package/border/src/components/12/index.d.ts +18 -0
  25. package/border/src/components/2/index.d.ts +19 -0
  26. package/border/src/components/3/index.d.ts +21 -0
  27. package/border/src/components/4/index.d.ts +27 -0
  28. package/border/src/components/5/index.d.ts +23 -0
  29. package/border/src/components/6/index.d.ts +29 -0
  30. package/border/src/components/7/index.d.ts +24 -0
  31. package/border/src/components/8/index.d.ts +18 -0
  32. package/border/src/components/9/index.d.ts +17 -0
  33. package/border/src/components/basic.service.d.ts +28 -0
  34. package/border/src/default/index.d.ts +21 -0
  35. package/border/src/index.module.d.ts +19 -0
  36. package/border/src/public_api.d.ts +2 -0
  37. package/decorator/index.d.ts +1 -0
  38. package/decorator/src/components/1/index.d.ts +15 -0
  39. package/decorator/src/components/10/index.d.ts +19 -0
  40. package/decorator/src/components/11/index.d.ts +15 -0
  41. package/decorator/src/components/12/index.d.ts +15 -0
  42. package/decorator/src/components/13/index.d.ts +22 -0
  43. package/decorator/src/components/2/index.d.ts +15 -0
  44. package/decorator/src/components/3/index.d.ts +15 -0
  45. package/decorator/src/components/4/index.d.ts +15 -0
  46. package/decorator/src/components/5/index.d.ts +15 -0
  47. package/decorator/src/components/6/index.d.ts +15 -0
  48. package/decorator/src/components/7/index.d.ts +18 -0
  49. package/decorator/src/components/8/index.d.ts +15 -0
  50. package/decorator/src/components/9/index.d.ts +19 -0
  51. package/decorator/src/components/basic.service.d.ts +19 -0
  52. package/decorator/src/default/index.d.ts +21 -0
  53. package/decorator/src/index.module.d.ts +20 -0
  54. package/decorator/src/public_api.d.ts +2 -0
  55. package/fesm2022/bi.basic.mjs +888 -0
  56. package/fesm2022/bi.basic.mjs.map +1 -0
  57. package/fesm2022/bi.border.mjs +1383 -0
  58. package/fesm2022/bi.border.mjs.map +1 -0
  59. package/fesm2022/bi.decorator.mjs +1340 -0
  60. package/fesm2022/bi.decorator.mjs.map +1 -0
  61. package/fesm2022/ebuilding-bi.mjs +3580 -0
  62. package/fesm2022/ebuilding-bi.mjs.map +1 -0
  63. package/index.d.ts +3 -0
  64. package/package.json +32 -0
@@ -0,0 +1,1383 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Input, Directive, Component, ViewContainerRef, ViewChild, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import * as i3 from '@ebuilding/base/shared.pipe';
7
+ import { GramPipeModule } from '@ebuilding/base/shared.pipe';
8
+ import * as i1 from '@ebuilding/base/shared.srv/global.event';
9
+ import { Guid } from '@ebuilding/base/shared.util/guid';
10
+
11
+ class BasicService {
12
+ globalSrv;
13
+ _data = null;
14
+ transform = null;
15
+ width = 0;
16
+ height = 0;
17
+ set data(value) {
18
+ this._data = value;
19
+ this.initPageData(value);
20
+ }
21
+ get data() {
22
+ return this._data;
23
+ }
24
+ set rd(value) {
25
+ if (value != undefined && value != null) {
26
+ this.initPageData(this.data);
27
+ }
28
+ }
29
+ /**
30
+ * 透明度
31
+ * @returns
32
+ */
33
+ get opacity() {
34
+ let res = Number((this.data.border.bgOpacity / 100).toFixed(2));
35
+ return res;
36
+ }
37
+ constructor(globalSrv) {
38
+ this.globalSrv = globalSrv;
39
+ }
40
+ ngOnDestroy() {
41
+ }
42
+ initPageData(value) {
43
+ if (value) {
44
+ let x = parseFloat((value.width / this.width).toFixed(2));
45
+ let y = parseFloat((value.height / this.height).toFixed(2));
46
+ this.transform = `scale(${x}, ${y})`;
47
+ }
48
+ }
49
+ /**
50
+ * 渐变色
51
+ * @returns
52
+ */
53
+ generateGradientData() {
54
+ let template = "";
55
+ let direction = this.data.border.bgDirection;
56
+ if (this.data.border.bgColorType == "single" || direction == undefined || direction == null || direction == "") {
57
+ return "";
58
+ }
59
+ switch (direction) {
60
+ case "to right": //从左到右
61
+ template = `
62
+ <defs>
63
+ <linearGradient id="borderBgjSWcehpx" x1="0%" y1="0%" x2="100%" y2="0%">
64
+ <stop offset="0%" stop-color="${this.data.border.bgColor0}"></stop>
65
+ <stop offset="100%" stop-color="${this.data.border.bgColor1}"></stop>
66
+ </linearGradient>
67
+ </defs>
68
+ `;
69
+ break;
70
+ case "to left": //从右到左
71
+ template = `
72
+ <defs>
73
+ <linearGradient id="borderBgjSWcehpx" x1="100%" y1="0%" x2="0%" y2="0%">
74
+ <stop offset="0%" stop-color="${this.data.border.bgColor0}"></stop>
75
+ <stop offset="100%" stop-color="${this.data.border.bgColor1}"></stop>
76
+ </linearGradient>
77
+ </defs>
78
+ `;
79
+ break;
80
+ case "to bottom": //从上到下
81
+ template = `
82
+ <defs>
83
+ <linearGradient id="borderBgjSWcehpx" x1="0%" y1="0%" x2="0%" y2="100%">
84
+ <stop offset="0%" stop-color="${this.data.border.bgColor0}"></stop>
85
+ <stop offset="100%" stop-color="${this.data.border.bgColor1}"></stop>
86
+ </linearGradient>
87
+ </defs>
88
+ `;
89
+ break;
90
+ case "to top": //从下到上
91
+ template = `
92
+ <defs>
93
+ <linearGradient id="borderBgjSWcehpx" x1="0%" y1="100%" x2="0%" y2="0%">
94
+ <stop offset="0%" stop-color="${this.data.border.bgColor0}"></stop>
95
+ <stop offset="100%" stop-color="${this.data.border.bgColor1}"></stop>
96
+ </linearGradient>
97
+ </defs>
98
+ `;
99
+ break;
100
+ case "to bottom right": //从左上到右下
101
+ template = `
102
+ <defs>
103
+ <linearGradient id="borderBgjSWcehpx" x1="0%" y1="0%" x2="100%" y2="100%">
104
+ <stop offset="0%" stop-color="${this.data.border.bgColor0}"></stop>
105
+ <stop offset="100%" stop-color="${this.data.border.bgColor1}"></stop>
106
+ </linearGradient>
107
+ </defs>
108
+ `;
109
+ break;
110
+ case "to bottom left": //从右上到左下
111
+ template = `
112
+ <defs>
113
+ <linearGradient id="borderBgjSWcehpx" x1="100%" y1="0%" x2="0%" y2="100%">
114
+ <stop offset="0%" stop-color="${this.data.border.bgColor0}"></stop>
115
+ <stop offset="100%" stop-color="${this.data.border.bgColor1}"></stop>
116
+ </linearGradient>
117
+ </defs>
118
+ `;
119
+ break;
120
+ case "to top right": //从左下到右上
121
+ template = `
122
+ <defs>
123
+ <linearGradient id="borderBgjSWcehpx" x1="0%" y1="100%" x2="100%" y2="0%">
124
+ <stop offset="0%" stop-color="${this.data.border.bgColor0}"></stop>
125
+ <stop offset="100%" stop-color="${this.data.border.bgColor1}"></stop>
126
+ </linearGradient>
127
+ </defs>
128
+ `;
129
+ break;
130
+ case "to top left": //从右下到左上
131
+ template = `
132
+ <defs>
133
+ <linearGradient id="borderBgjSWcehpx" x1="100%" y1="100%" x2="0%" y2="0%">
134
+ <stop offset="0%" stop-color="${this.data.border.bgColor0}"></stop>
135
+ <stop offset="100%" stop-color="${this.data.border.bgColor1}"></stop>
136
+ </linearGradient>
137
+ </defs>
138
+ `;
139
+ break;
140
+ }
141
+ return template;
142
+ }
143
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Directive });
144
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: BasicService, isStandalone: true, inputs: { data: "data", rd: "rd" }, ngImport: i0 });
145
+ }
146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, decorators: [{
147
+ type: Directive
148
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }], propDecorators: { data: [{
149
+ type: Input
150
+ }], rd: [{
151
+ type: Input
152
+ }] } });
153
+
154
+ class BorderComponent1 extends BasicService {
155
+ globalSrv;
156
+ width = 450;
157
+ height = 320;
158
+ svgTemplate = ``;
159
+ constructor(globalSrv) {
160
+ super(globalSrv);
161
+ this.globalSrv = globalSrv;
162
+ }
163
+ ngOnInit() {
164
+ }
165
+ initPageData(value) {
166
+ this.svgTemplate = this.initTemplate();
167
+ }
168
+ initTemplate() {
169
+ let fill = "transparent";
170
+ let defs = this.generateGradientData();
171
+ let coordinates = this.generateCoordinates();
172
+ if (this.data.border.bgColorType == "single") {
173
+ if (this.data.border.bgColor) {
174
+ fill = this.data.border.bgColor;
175
+ }
176
+ }
177
+ else if (this.data.border.bgColorType == "gradient") {
178
+ fill = "url(#borderBgjSWcehpx)";
179
+ }
180
+ let template = `
181
+ <svg width="${this.data.width}" height="${this.data.height}" class="border" style="opacity: ${this.opacity};">
182
+ ${defs}
183
+ <polygon fill="${fill}" points="${coordinates}"></polygon>
184
+ </svg>
185
+ <svg width="150px" height="150px" class="left-top border">
186
+ <polygon
187
+ points="6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"
188
+ fill="${this.data.border.mainColor}">
189
+ <animate attributeName="fill" values="${this.data.border.mainColor};${this.data.border.secondColor};${this.data.border.mainColor}" dur="0.5s" begin="0s" repeatCount="indefinite">
190
+ </animate>
191
+ </polygon>
192
+ <polygon points="27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8" fill="${this.data.border.secondColor}">
193
+ <animate attributeName="fill" values="${this.data.border.secondColor};${this.data.border.mainColor};${this.data.border.secondColor}" dur="0.5s" begin="0s" repeatCount="indefinite">
194
+ </animate>
195
+ </polygon>
196
+ <polygon points="9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"
197
+ fill="${this.data.border.mainColor}">
198
+ <animate attributeName="fill" values="${this.data.border.mainColor};${this.data.border.secondColor};transparent" dur="1s" begin="0s" repeatCount="indefinite">
199
+ </animate>
200
+ </polygon>
201
+ </svg>
202
+ <svg width="150px" height="150px" class="right-top border">
203
+ <polygon
204
+ points="6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"
205
+ fill="${this.data.border.mainColor}">
206
+ <animate attributeName="fill" values="${this.data.border.mainColor};${this.data.border.secondColor};${this.data.border.mainColor}" dur="0.5s" begin="0s" repeatCount="indefinite">
207
+ </animate>
208
+ </polygon>
209
+ <polygon points="27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8" fill="${this.data.border.secondColor}">
210
+ <animate attributeName="fill" values="${this.data.border.secondColor};${this.data.border.mainColor};${this.data.border.secondColor}" dur="0.5s" begin="0s" repeatCount="indefinite">
211
+ </animate>
212
+ </polygon>
213
+ <polygon points="9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"
214
+ fill="${this.data.border.mainColor}">
215
+ <animate attributeName="fill" values="${this.data.border.mainColor};${this.data.border.secondColor};transparent" dur="1s" begin="0s" repeatCount="indefinite">
216
+ </animate>
217
+ </polygon>
218
+ </svg>
219
+ <svg width="150px" height="150px" class="left-bottom border">
220
+ <polygon
221
+ points="6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"
222
+ fill="${this.data.border.mainColor}">
223
+ <animate attributeName="fill" values="${this.data.border.mainColor};${this.data.border.secondColor};${this.data.border.mainColor}" dur="0.5s" begin="0s" repeatCount="indefinite">
224
+ </animate>
225
+ </polygon>
226
+ <polygon points="27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8" fill="${this.data.border.secondColor}">
227
+ <animate attributeName="fill" values="${this.data.border.secondColor};${this.data.border.mainColor};${this.data.border.secondColor}" dur="0.5s" begin="0s" repeatCount="indefinite">
228
+ </animate>
229
+ </polygon>
230
+ <polygon points="9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"
231
+ fill="${this.data.border.mainColor}">
232
+ <animate attributeName="fill" values="${this.data.border.mainColor};${this.data.border.secondColor};transparent" dur="1s" begin="0s" repeatCount="indefinite">
233
+ </animate>
234
+ </polygon>
235
+ </svg>
236
+ <svg width="150px" height="150px" class="right-bottom border">
237
+ <polygon
238
+ points="6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"
239
+ fill="${this.data.border.mainColor}">
240
+ <animate attributeName="fill" values="${this.data.border.mainColor};${this.data.border.secondColor};${this.data.border.mainColor}" dur="0.5s" begin="0s" repeatCount="indefinite">
241
+ </animate>
242
+ </polygon>
243
+ <polygon points="27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8" fill="${this.data.border.secondColor}">
244
+ <animate attributeName="fill" values="${this.data.border.secondColor};${this.data.border.mainColor};${this.data.border.secondColor}" dur="0.5s" begin="0s" repeatCount="indefinite">
245
+ </animate>
246
+ </polygon>
247
+ <polygon points="9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"
248
+ fill="${this.data.border.mainColor}">
249
+ <animate attributeName="fill" values="${this.data.border.mainColor};${this.data.border.secondColor};transparent" dur="1s" begin="0s" repeatCount="indefinite">
250
+ </animate>
251
+ </polygon>
252
+ </svg>
253
+ `;
254
+ return template;
255
+ }
256
+ generateCoordinates() {
257
+ // 基准宽度和高度(从给出的第一个449x319的坐标中提取)
258
+ const baseWidth = 449;
259
+ const baseHeight = 319;
260
+ // 原始坐标(基于449x319的初始坐标值)
261
+ const baseCoordinates = [
262
+ [10, 27], [10, 292], [13, 295], [13, 298], [24, 308],
263
+ [38, 308], [41, 311], [73, 311], [75, 309], [81, 309],
264
+ [85, 313], [364, 313], [368, 309], [374, 309], [376, 311],
265
+ [408, 311], [411, 308], [425, 308], [436, 298], [436, 295],
266
+ [439, 292], [439, 27], [436, 25], [436, 21], [425, 11],
267
+ [411, 11], [408, 8], [376, 8], [374, 10], [368, 10],
268
+ [364, 6], [85, 6], [81, 10], [75, 10], [73, 8],
269
+ [41, 8], [38, 11], [24, 11], [13, 21], [13, 24]
270
+ ];
271
+ // 宽度和高度的缩放因子
272
+ const widthScale = this.data.width / baseWidth;
273
+ const heightScale = this.data.height / baseHeight;
274
+ // 根据缩放因子调整坐标值
275
+ const scaledCoordinates = baseCoordinates.map(([x, y]) => {
276
+ const scaledX = Math.round(x * widthScale);
277
+ const scaledY = Math.round(y * heightScale);
278
+ return `${scaledX}, ${scaledY}`;
279
+ });
280
+ // 将坐标数组转换为逗号分隔的字符串
281
+ return scaledCoordinates.join(" ");
282
+ }
283
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent1, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
284
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent1, isStandalone: true, selector: "border1", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [":host ::ng-deep{transform-origin:unset}:host ::ng-deep .right-top{right:0;top:0;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);transform-origin:top}:host ::ng-deep .right-bottom{right:0;bottom:0;transform:rotateX(180deg) rotateY(180deg) translate(150px,150px);transform-origin:right bottom}:host ::ng-deep .left-bottom{bottom:0;left:0;-webkit-transform:rotateX(180deg);transform:rotateX(180deg);transform-origin:left}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
285
+ }
286
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent1, decorators: [{
287
+ type: Component,
288
+ args: [{ selector: 'border1', imports: [
289
+ CommonModule,
290
+ FormsModule, ReactiveFormsModule,
291
+ GramPipeModule
292
+ ], providers: [], template: "<ng-container *ngIf=\"data\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [":host ::ng-deep{transform-origin:unset}:host ::ng-deep .right-top{right:0;top:0;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);transform-origin:top}:host ::ng-deep .right-bottom{right:0;bottom:0;transform:rotateX(180deg) rotateY(180deg) translate(150px,150px);transform-origin:right bottom}:host ::ng-deep .left-bottom{bottom:0;left:0;-webkit-transform:rotateX(180deg);transform:rotateX(180deg);transform-origin:left}\n"] }]
293
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
294
+
295
+ class BorderComponent2 extends BasicService {
296
+ globalSrv;
297
+ width = 450;
298
+ height = 320;
299
+ svgTemplate = ``;
300
+ points1 = "7, 7 441, 7 441, 311 7, 311";
301
+ points2 = "2, 2 446 ,2 446, 316 2, 316 2, 2";
302
+ points3 = "6, 6 442, 6 442, 312 6, 312 6, 6";
303
+ constructor(globalSrv) {
304
+ super(globalSrv);
305
+ this.globalSrv = globalSrv;
306
+ }
307
+ ngOnInit() {
308
+ }
309
+ initPageData(value) {
310
+ if (this.data && this.data.width && this.data.height) {
311
+ this.points1 = `7, 7 ${this.data.width - 7}, 7 ${this.data.width - 7}, ${this.data.height - 7} 7, ${this.data.height}`;
312
+ this.points2 = `2, 2 ${this.data.width - 2} ,2 ${this.data.width - 2}, ${this.data.height - 2} 2, ${this.data.height - 2} 2, 2`;
313
+ this.points3 = `6, 6 ${this.data.width - 7}, 6 ${this.data.width - 7}, ${this.data.height - 6} 6, ${this.data.height - 6} 6, 6`;
314
+ this.svgTemplate = this.initTemplate();
315
+ }
316
+ }
317
+ initTemplate() {
318
+ let fill = "transparent";
319
+ let defs = this.generateGradientData();
320
+ if (this.data.border.bgColorType == "single") {
321
+ if (this.data.border.bgColor) {
322
+ fill = this.data.border.bgColor;
323
+ }
324
+ }
325
+ else if (this.data.border.bgColorType == "gradient") {
326
+ fill = "url(#borderBgjSWcehpx)";
327
+ }
328
+ let template = `
329
+ <svg width="${this.data.width}" height="${this.data.height}" class="border" style="opacity: ${this.opacity};">
330
+ ${defs}
331
+ <polygon fill="${fill}" points="${this.points1}"></polygon>
332
+ <polyline points="${this.points2}" stroke="${this.data.border.mainColor}"></polyline>
333
+ <polyline points="${this.points3}" stroke="${this.data.border.secondColor}"></polyline>
334
+ <circle cx="11" cy="11" r="1" fill="${this.data.border.mainColor}"></circle>
335
+ <circle cx="${this.data.width - 11}" cy="11" r="1" fill="${this.data.border.mainColor}"></circle>
336
+ <circle cx="${this.data.width - 11}" cy="${this.data.height - 11}" r="1" fill="${this.data.border.mainColor}"></circle>
337
+ <circle cx="11" cy="${this.data.height - 11}" r="1" fill="${this.data.border.mainColor}"></circle>
338
+ </svg>
339
+ `;
340
+ return template;
341
+ }
342
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent2, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
343
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent2, isStandalone: true, selector: "border2", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
344
+ }
345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent2, decorators: [{
346
+ type: Component,
347
+ args: [{ selector: 'border2', imports: [
348
+ CommonModule,
349
+ FormsModule, ReactiveFormsModule,
350
+ GramPipeModule
351
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>" }]
352
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
353
+
354
+ class BorderComponent3 extends BasicService {
355
+ globalSrv;
356
+ width = 450;
357
+ height = 320;
358
+ svgTemplate = ``;
359
+ points1 = "23, 23 425, 23 425, 295 23, 295";
360
+ points2 = "4, 4 427 ,4 427, 297 4, 297 4, 4";
361
+ points3 = "10, 10 433, 10 433, 303 10, 303 10, 10";
362
+ points4 = "16, 16 439, 16 439, 309 16, 309 16, 16";
363
+ points5 = "22, 22 445, 22 445, 315 22, 315 22, 22";
364
+ constructor(globalSrv) {
365
+ super(globalSrv);
366
+ this.globalSrv = globalSrv;
367
+ }
368
+ ngOnInit() {
369
+ }
370
+ initPageData(value) {
371
+ this.points1 = `23, 23 ${this.data.width - 24}, 23 ${this.data.width - 24}, ${this.data.height - 24} 23, ${this.data.height - 24}`;
372
+ this.points2 = `4, 4 ${this.data.width - 23} ,4 ${this.data.width - 23}, ${this.data.height - 22} 4, ${this.data.height - 22} 4, 4`;
373
+ this.points3 = `10, 10 ${this.data.width - 16}, 10 ${this.data.width - 16}, ${this.data.height - 16} 10, ${this.data.height - 16} 10, 10`;
374
+ this.points4 = `16, 16 ${this.data.width - 10}, 16 ${this.data.width - 10}, ${this.data.height - 10} 16, ${this.data.height - 10} 16, 16`;
375
+ this.points5 = `22, 22 ${this.data.width - 4}, 22 ${this.data.width - 4}, ${this.data.height - 4} 22, ${this.data.height - 4} 22, 22`;
376
+ this.svgTemplate = this.initTemplate();
377
+ }
378
+ initTemplate() {
379
+ let fill = "transparent";
380
+ let defs = this.generateGradientData();
381
+ if (this.data.border.bgColorType == "single") {
382
+ if (this.data.border.bgColor) {
383
+ fill = this.data.border.bgColor;
384
+ }
385
+ }
386
+ else if (this.data.border.bgColorType == "gradient") {
387
+ fill = "url(#borderBgjSWcehpx)";
388
+ }
389
+ let template = `
390
+ <svg width="${this.data.width}" height="${this.data.height}" class="border" style="opacity: ${this.opacity};">
391
+ ${defs}
392
+ <polygon fill="${fill}" points="${this.points1}"></polygon>
393
+ <polyline points="${this.points2}" stroke="${this.data.border.mainColor}"></polyline>
394
+ <polyline points="${this.points3}" stroke="${this.data.border.secondColor}"></polyline>
395
+ <polyline points="${this.points4}" stroke="${this.data.border.secondColor}"></polyline>
396
+ <polyline points="${this.points5}" stroke="${this.data.border.secondColor}"></polyline>
397
+ </svg>
398
+ `;
399
+ return template;
400
+ }
401
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent3, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
402
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent3, isStandalone: true, selector: "border3", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
403
+ }
404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent3, decorators: [{
405
+ type: Component,
406
+ args: [{ selector: 'border3', imports: [
407
+ CommonModule,
408
+ FormsModule, ReactiveFormsModule,
409
+ GramPipeModule
410
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>" }]
411
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
412
+
413
+ class BorderComponent4 extends BasicService {
414
+ globalSrv;
415
+ svgTemplate = ``;
416
+ width = 450;
417
+ height = 320;
418
+ points1 = `
419
+ 434, 22 170, 22 150, 7 40, 7 28, 21 32, 24
420
+ 16, 42 16, 287 41, 312 434, 312
421
+ `;
422
+ points2 = `
423
+ 145, 314 40, 314 10, 284
424
+ 10, 40 40, 5 150, 5 170, 20 434, 20
425
+ `;
426
+ points3 = "245, 318 36, 318 14, 296 14, 219";
427
+ points4 = "7, 279 7, 244";
428
+ points5 = "28, 24 13, 41 13, 64";
429
+ points6 = "5, 45 5, 140";
430
+ points7 = "14, 75 14, 180";
431
+ points8 = "55, 11 147, 11 167, 26 250, 26";
432
+ points9 = "158, 5 173, 16";
433
+ points10 = "200, 17 439, 17";
434
+ points11 = "385, 17 439, 17";
435
+ constructor(globalSrv) {
436
+ super(globalSrv);
437
+ this.globalSrv = globalSrv;
438
+ }
439
+ ngOnInit() {
440
+ }
441
+ initPageData(value) {
442
+ this.points1 = `
443
+ ${this.data.width - 15}, 22 170, 22 150, 7 40, 7 28, 21 32, 24
444
+ 16, 42 16, ${this.data.height - 32} 41, ${this.data.height - 7} ${this.data.width - 15}, ${this.data.height - 7}
445
+ `;
446
+ this.points2 = `
447
+ 145, ${this.data.height - 5} 40, ${this.data.height - 5} 10, ${this.data.height - 35}
448
+ 10, 40 40, 5 150, 5 170, 20 ${this.data.width - 5}, 20
449
+ `;
450
+ this.points3 = `245, ${this.data.height - 1} 36, ${this.data.height - 1} 14, ${this.data.height - 23} 14, ${this.data.height - 100}`;
451
+ this.points4 = `7, ${this.data.height - 40} 7, ${this.data.height - 75}`;
452
+ this.points5 = `28, 24 13, 41 13, 64`;
453
+ this.points6 = "5, 45 5, 140";
454
+ this.points7 = "14, 75 14, 180";
455
+ this.points8 = "55, 11 147, 11 167, 26 250, 26";
456
+ this.points9 = "158, 5 173, 16";
457
+ this.points10 = `200, 17 ${this.data.width - 10}, 17`;
458
+ this.points11 = `385, 17 ${this.data.width - 10}, 17`;
459
+ this.svgTemplate = this.initTemplate();
460
+ }
461
+ initTemplate() {
462
+ let fill = "transparent";
463
+ let defs = this.generateGradientData();
464
+ if (this.data.border.bgColorType == "single") {
465
+ if (this.data.border.bgColor) {
466
+ fill = this.data.border.bgColor;
467
+ }
468
+ }
469
+ else if (this.data.border.bgColorType == "gradient") {
470
+ fill = "url(#borderBgjSWcehpx)";
471
+ }
472
+ let template = `
473
+ <svg width="${this.data.width}" height="${this.data.height}" class="border" style="opacity: ${this.opacity};">
474
+ ${defs}
475
+ <polygon fill="${fill}" points="${this.points1}"></polygon>
476
+ <polyline points="${this.points2}" stroke="${this.data.border.mainColor}"></polyline>
477
+ <polyline points="${this.points3}" stroke="${this.data.border.secondColor}"></polyline>
478
+ <polyline points="${this.points4}" stroke="${this.data.border.mainColor}"></polyline>
479
+ <polyline points="${this.points5}" stroke="${this.data.border.mainColor}"></polyline>
480
+ <polyline points="${this.points6}" stroke="${this.data.border.mainColor}"></polyline>
481
+ <polyline points="${this.points7}" stroke="${this.data.border.secondColor}"></polyline>
482
+ <polyline points="${this.points8}" stroke="${this.data.border.secondColor}"></polyline>
483
+ <polyline points="${this.points9}" stroke="${this.data.border.secondColor}"></polyline>
484
+ <polyline points="${this.points10}" stroke="${this.data.border.mainColor}"></polyline>
485
+ <polyline points="${this.points11}" stroke="${this.data.border.secondColor}"></polyline>
486
+ </svg>
487
+ `;
488
+ return template;
489
+ }
490
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent4, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
491
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent4, isStandalone: true, selector: "border4", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
492
+ }
493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent4, decorators: [{
494
+ type: Component,
495
+ args: [{ selector: 'border4', imports: [
496
+ CommonModule,
497
+ FormsModule, ReactiveFormsModule,
498
+ GramPipeModule
499
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>" }]
500
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
501
+
502
+ class BorderComponent5 extends BasicService {
503
+ globalSrv;
504
+ svgTemplate = ``;
505
+ width = 450;
506
+ height = 320;
507
+ points1 = `10, 22 427, 22 427, 233 365, 295 10, 295`;
508
+ points2 = `
509
+ 8, 5 444, 5 444, 219
510
+ 349, 314 8, 314 8, 5 `;
511
+ points3 = `
512
+ 3, 5 429, 5 429, 259
513
+ 375, 314 3, 314 3, 5`;
514
+ points4 = `50, 13 414, 13`;
515
+ points5 = `15, 20 414, 20`;
516
+ points6 = "15, 299 339, 299";
517
+ points7 = "15, 306 339, 306";
518
+ constructor(globalSrv) {
519
+ super(globalSrv);
520
+ this.globalSrv = globalSrv;
521
+ }
522
+ ngOnInit() {
523
+ }
524
+ initPageData(value) {
525
+ this.points1 = `10, 22 ${this.data.width - 22}, 22 ${this.data.width - 22}, ${this.data.height - 86} ${this.data.width - 84}, ${this.data.height - 24} 10, ${this.data.height - 24}`;
526
+ this.points2 = `
527
+ 8, 5 ${this.data.width - 5}, 5 ${this.data.width - 5}, ${this.data.height - 100}
528
+ ${this.data.width - 100}, ${this.data.height - 5} 8, ${this.data.height - 5} 8, 5
529
+ `;
530
+ this.points3 = `
531
+ 3, 5 ${this.data.width - 20}, 5 ${this.data.width - 20}, ${this.data.height - 60}
532
+ ${this.data.width - 74}, ${this.data.height - 5} 3, ${this.data.width - 74} 3, 5
533
+ `;
534
+ this.points4 = `50, 13 ${this.data.width - 35}, 13`;
535
+ this.points5 = `15, 20 ${this.data.width - 35}, 20`;
536
+ this.points6 = `15, ${this.data.height - 20} ${this.data.width - 110}, ${this.data.height - 20}`;
537
+ this.points7 = `15, ${this.data.height - 13} ${this.data.width - 110}, ${this.data.height - 13}`;
538
+ this.svgTemplate = this.initTemplate();
539
+ }
540
+ initTemplate() {
541
+ let fill = "transparent";
542
+ let defs = this.generateGradientData();
543
+ if (this.data.border.bgColorType == "single") {
544
+ if (this.data.border.bgColor) {
545
+ fill = this.data.border.bgColor;
546
+ }
547
+ }
548
+ else if (this.data.border.bgColorType == "gradient") {
549
+ fill = "url(#borderBgjSWcehpx)";
550
+ }
551
+ let template = `
552
+ <svg width="${this.data.width}" height="${this.data.height}" class="border" style="opacity: ${this.opacity};">
553
+ ${defs}
554
+ <polygon fill="${fill}" points="${this.points1}"></polygon>
555
+ <polyline points="${this.points2}" stroke="${this.data.border.mainColor}"></polyline>
556
+ <polyline points="${this.points3}" stroke="${this.data.border.secondColor}"></polyline>
557
+ <polyline points="${this.points4}" stroke="${this.data.border.secondColor}"></polyline>
558
+ <polyline points="${this.points5}" stroke="${this.data.border.secondColor}"></polyline>
559
+ <polyline points="${this.points6}" stroke="${this.data.border.secondColor}"></polyline>
560
+ <polyline points="${this.points7}" stroke="${this.data.border.secondColor}"></polyline>
561
+ </svg>
562
+ `;
563
+ return template;
564
+ }
565
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent5, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
566
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent5, isStandalone: true, selector: "border5", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [":host ::ng-deep polyline{fill:none;stroke-width:1}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
567
+ }
568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent5, decorators: [{
569
+ type: Component,
570
+ args: [{ selector: 'border5', imports: [
571
+ CommonModule,
572
+ FormsModule, ReactiveFormsModule,
573
+ GramPipeModule
574
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [":host ::ng-deep polyline{fill:none;stroke-width:1}\n"] }]
575
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
576
+
577
+ class BorderComponent6 extends BasicService {
578
+ globalSrv;
579
+ svgTemplate = ``;
580
+ width = 450;
581
+ height = 320;
582
+ points1 = `9, 7 440, 7 440, 312 9, 312`;
583
+ points2 = `10, 4 439, 4`;
584
+ points3 = `10, 315 439, 315`;
585
+ points4 = `5, 70 5, 249`;
586
+ points5 = `444, 70 444, 249`;
587
+ points6 = "3, 10, 3, 50";
588
+ points7 = "7, 30 7, 80";
589
+ points8 = `446, 10 446, 50`;
590
+ points9 = `442, 30 442, 80`;
591
+ points10 = `3, 309 3, 269`;
592
+ points11 = `7, 289 7, 239`;
593
+ points12 = `446, 309 446, 269`;
594
+ points13 = `442, 289 442, 239`;
595
+ constructor(globalSrv) {
596
+ super(globalSrv);
597
+ this.globalSrv = globalSrv;
598
+ }
599
+ ngOnInit() {
600
+ }
601
+ initPageData(value) {
602
+ this.points1 = `9, 7 ${this.data.width - 9}, 7 ${this.data.width - 9}, ${this.data.height - 7} 9, ${this.data.height - 7}`;
603
+ this.points2 = `10, 4 ${this.data.width - 10}, 4`;
604
+ this.points3 = `10, ${this.data.height - 4} ${this.data.width - 10}, ${this.data.height - 4}`;
605
+ this.points4 = `5, 70 5, ${this.data.height - 70}`;
606
+ this.points5 = `${this.data.width - 5}, 70 ${this.data.width - 5}, ${this.data.height - 70}`;
607
+ this.points6 = "3, 10, 3, 50";
608
+ this.points7 = "7, 30 7, 80";
609
+ this.points8 = `${this.data.width - 3}, 10 ${this.data.width - 3}, 50`;
610
+ this.points9 = `${this.data.width - 7}, 30 ${this.data.width - 7}, 80`;
611
+ this.points10 = `3, ${this.data.height - 10} 3, ${this.data.height - 50}`;
612
+ this.points11 = `7, ${this.data.height - 30} 7, ${this.data.height - 80}`;
613
+ this.points12 = `${this.data.width - 3}, ${this.data.height - 10} ${this.data.width - 3}, ${this.data.height - 50}`;
614
+ this.points13 = `${this.data.width - 7}, ${this.data.height - 30} ${this.data.width - 7}, ${this.data.height - 80}`;
615
+ this.svgTemplate = this.initTemplate();
616
+ }
617
+ initTemplate() {
618
+ let fill = "transparent";
619
+ let defs = this.generateGradientData();
620
+ if (this.data.border.bgColorType == "single") {
621
+ if (this.data.border.bgColor) {
622
+ fill = this.data.border.bgColor;
623
+ }
624
+ }
625
+ else if (this.data.border.bgColorType == "gradient") {
626
+ fill = "url(#borderBgjSWcehpx)";
627
+ }
628
+ let template = `
629
+ <svg width="${this.data.width}" height="${this.data.height}" class="border" style="opacity: ${this.opacity};">
630
+ ${defs}
631
+ <polygon fill="${fill}" points="${this.points1}"></polygon>
632
+ <circle cx="5" cy="5" r="2" fill="${this.data.border.secondColor}"></circle>
633
+ <circle cx="444" cy="5" r="2" fill="${this.data.border.secondColor}"></circle>
634
+ <circle cx="444" cy="314" r="2" fill="${this.data.border.secondColor}"></circle>
635
+ <circle cx="5" cy="314" r="2" fill="${this.data.border.secondColor}"></circle>
636
+ <polyline points="${this.points2}" stroke="${this.data.border.mainColor}"></polyline>
637
+ <polyline points="${this.points3}" stroke="${this.data.border.mainColor}"></polyline>
638
+ <polyline points="${this.points4}" stroke="${this.data.border.mainColor}"></polyline>
639
+ <polyline points="${this.points5}" stroke="${this.data.border.mainColor}"></polyline>
640
+ <polyline points="${this.points6}" stroke="${this.data.border.mainColor}"></polyline>
641
+ <polyline points="${this.points7}" stroke="${this.data.border.mainColor}"></polyline>
642
+ <polyline points="${this.points8}" stroke="${this.data.border.mainColor}"></polyline>
643
+ <polyline points="${this.points9}" stroke="${this.data.border.mainColor}"></polyline>
644
+ <polyline points="${this.points10}" stroke="${this.data.border.mainColor}"></polyline>
645
+ <polyline points="${this.points11}" stroke="${this.data.border.mainColor}"></polyline>
646
+ <polyline points="${this.points12}" stroke="${this.data.border.mainColor}"></polyline>
647
+ <polyline points="${this.points13}" stroke="${this.data.border.mainColor}"></polyline>
648
+ </svg>
649
+ `;
650
+ return template;
651
+ }
652
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent6, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
653
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent6, isStandalone: true, selector: "border6", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [":host ::ng-deep polyline{fill:none;stroke-width:1}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
654
+ }
655
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent6, decorators: [{
656
+ type: Component,
657
+ args: [{ selector: 'border6', imports: [
658
+ CommonModule,
659
+ FormsModule, ReactiveFormsModule,
660
+ GramPipeModule
661
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [":host ::ng-deep polyline{fill:none;stroke-width:1}\n"] }]
662
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
663
+
664
+ class BorderComponent7 extends BasicService {
665
+ globalSrv;
666
+ svgTemplate = ``;
667
+ width = 450;
668
+ height = 320;
669
+ points1 = `0, 25 0, 0 25, 0`;
670
+ points2 = `422, 0 447, 0 447, 25`;
671
+ points3 = `422, 317 447, 317 447, 292`;
672
+ points4 = `0, 292 0, 317 25, 317`;
673
+ points5 = `0, 10 0, 0 10, 0`;
674
+ points6 = "437, 0 447, 0 447, 10";
675
+ points7 = `437, 317 447, 317 447, 307`;
676
+ points8 = `0, 307 0, 317 10, 317`;
677
+ constructor(globalSrv) {
678
+ super(globalSrv);
679
+ this.globalSrv = globalSrv;
680
+ }
681
+ ngOnInit() {
682
+ }
683
+ initPageData(value) {
684
+ let w = this.data.width;
685
+ let h = this.data.height;
686
+ this.points1 = `0, 25 0, 0 25, 0`;
687
+ this.points2 = `${w - 25}, 0 ${w}, 0 ${w}, 25`;
688
+ this.points3 = `${w - 25}, ${h} ${w}, ${h} ${w}, ${h - 25}`;
689
+ this.points4 = `0, ${h - 25} 0, ${h} 25, ${h}`;
690
+ this.points5 = `0, 10 0, 0 10, 0`;
691
+ this.points6 = `${w - 10}, 0 ${w}, 0 ${w}, 10`;
692
+ this.points7 = `${w - 10}, ${h} ${w}, ${h} ${w}, ${h - 10}`;
693
+ this.points8 = `0, ${h - 10} 0, ${h} 10, ${h}`;
694
+ this.svgTemplate = this.initTemplate();
695
+ }
696
+ initTemplate() {
697
+ let bgColor = "transparent";
698
+ let svgBgColor = "";
699
+ if (this.data.border.bgColorType == "single") {
700
+ if (this.data.border.bgColor) {
701
+ bgColor = this.data.border.bgColor;
702
+ }
703
+ }
704
+ else if (this.data.border.bgColorType == "gradient") {
705
+ let direction = this.data.border.bgDirection;
706
+ if (direction != undefined && direction != null && direction != "") {
707
+ svgBgColor = `background:linear-gradient(${this.data.border.bgDirection}, ${this.data.border.bgColor0}, ${this.data.border.bgColor1})`;
708
+ }
709
+ }
710
+ let template = `
711
+ <div class="border-box" style="width:${this.data.width}px;height:${this.data.height}px;background-color:${bgColor};box-shadow: ${this.data.border.mainColor} 0px 0px 40px inset;border: 1px solid ${this.data.border.mainColor};">
712
+ <svg width="${this.data.width}" height="${this.data.height}" style="opacity:${this.opacity};${svgBgColor}">
713
+ <polyline points="${this.points1}" stroke="${this.data.border.mainColor}" class="dv-line-width"></polyline>
714
+ <polyline points="${this.points2}" stroke="${this.data.border.mainColor}" class="dv-line-width"></polyline>
715
+ <polyline points="${this.points3}" stroke="${this.data.border.mainColor}" class="dv-line-width"></polyline>
716
+ <polyline points="${this.points4}" stroke="${this.data.border.mainColor}" class="dv-line-width"></polyline>
717
+ <polyline points="${this.points5}" stroke="${this.data.border.secondColor}" class="dv-line-width"></polyline>
718
+ <polyline points="${this.points6}" stroke="${this.data.border.secondColor}" class="dv-line-width"></polyline>
719
+ <polyline points="${this.points7}" stroke="${this.data.border.secondColor}" class="dv-line-width"></polyline>
720
+ <polyline points="${this.points8}" stroke="${this.data.border.secondColor}" class="dv-line-width"></polyline>
721
+ </svg>
722
+ </div>
723
+ `;
724
+ return template;
725
+ }
726
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent7, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
727
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent7, isStandalone: true, selector: "border7", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [":host ::ng-deep polyline{fill:none;stroke-linecap:round}:host ::ng-deep .dv-line-width{stroke-width:4}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
728
+ }
729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent7, decorators: [{
730
+ type: Component,
731
+ args: [{ selector: 'border7', imports: [
732
+ CommonModule,
733
+ FormsModule, ReactiveFormsModule,
734
+ GramPipeModule
735
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [":host ::ng-deep polyline{fill:none;stroke-linecap:round}:host ::ng-deep .dv-line-width{stroke-width:4}\n"] }]
736
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
737
+
738
+ class BorderComponent8 extends BasicService {
739
+ globalSrv;
740
+ svgTemplate = ``;
741
+ width = 450;
742
+ height = 320;
743
+ points1 = `5, 5 444, 5 444 314 5, 314`;
744
+ points2 = `M2.5, 2.5 L446.5, 2.5 L446.5, 316.5 L2.5, 316.5 L2.5, 2.5`;
745
+ constructor(globalSrv) {
746
+ super(globalSrv);
747
+ this.globalSrv = globalSrv;
748
+ }
749
+ ngOnInit() {
750
+ }
751
+ initPageData(value) {
752
+ this.points1 = `5, 5 ${this.data.width - 5}, 5 ${this.data.width - 5} ${this.data.height - 3} 5, ${this.data.height - 3}`;
753
+ this.points2 = `M2.5, 2.5 L${this.data.width - 1.5}, 2.5 L${this.data.width - 1.5}, ${this.data.height - 0.5} L2.5, ${this.data.height - 0.5} L2.5, 2.5`;
754
+ this.svgTemplate = this.initTemplate();
755
+ }
756
+ initTemplate() {
757
+ let fill = "transparent";
758
+ let defs = this.generateGradientData();
759
+ if (this.data.border.bgColorType == "single") {
760
+ if (this.data.border.bgColor) {
761
+ fill = this.data.border.bgColor;
762
+ }
763
+ }
764
+ else if (this.data.border.bgColorType == "gradient") {
765
+ fill = "url(#borderBgjSWcehpx)";
766
+ }
767
+ let id = Guid.createId();
768
+ let template = `
769
+ <svg width="${this.data.width}" height="${this.data.height}" class="dv-border-svg-container" style="opacity: ${this.opacity};">
770
+ ${defs}
771
+ <defs>
772
+ <path id="border-box-8-path-${id}"
773
+ d="${this.points2}" fill="transparent"></path>
774
+ <radialGradient id="border-box-8-gradient-${id}" cx="50%" cy="50%" r="50%">
775
+ <stop offset="0%" stop-color="#fff" stop-opacity="1"></stop>
776
+ <stop offset="100%" stop-color="#fff" stop-opacity="0"></stop>
777
+ </radialGradient>
778
+ <mask id="border-box-8-mask-${id}">
779
+ <circle cx="0" cy="0" r="150" fill="url(#border-box-8-gradient-${id})">
780
+ <animateMotion dur="3s" path="M2.5, 2.5 L446.5, 2.5 L446.5, 316.5 L2.5, 316.5 L2.5, 2.5" rotate="auto"
781
+ repeatCount="indefinite"></animateMotion>
782
+ </circle>
783
+ </mask>
784
+ </defs>
785
+ <polygon fill="${fill}" points="${this.points1}"></polygon>
786
+ <use stroke-width="1" xlink:href="#border-box-8-path-${id}" stroke="${this.data.border.mainColor}"></use>
787
+ <use stroke-width="3" xlink:href="#border-box-8-path-${id}"
788
+ mask="url(#border-box-8-mask-${id})" stroke="${this.data.border.secondColor}">
789
+ <animate attributeName="stroke-dasharray" from="0, 1526" to="1526, 0" dur="3s" repeatCount="indefinite">
790
+ </animate>
791
+ </use>
792
+ </svg>
793
+ `;
794
+ return template;
795
+ }
796
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent8, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
797
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent8, isStandalone: true, selector: "border8", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
798
+ }
799
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent8, decorators: [{
800
+ type: Component,
801
+ args: [{ selector: 'border8', imports: [
802
+ CommonModule,
803
+ FormsModule, ReactiveFormsModule,
804
+ GramPipeModule
805
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>" }]
806
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
807
+
808
+ class BorderComponent9 extends BasicService {
809
+ globalSrv;
810
+ svgTemplate = ``;
811
+ width = 450;
812
+ height = 320;
813
+ points1 = `
814
+ 15, 9 45.900000000000006, 9 48.900000000000006, 6 235.48000000000002, 6
815
+ 239.48000000000002, 10 253.41999999999996, 10 258.41999999999996, 6
816
+ 406.1, 6 410.1, 10 439, 10 439, 25.900000000000002
817
+ 443, 30.900000000000002 443, 256.20000000000005 439, 261.20000000000005
818
+ 439, 309 420.08000000000004, 309 415.08000000000004, 313
819
+ 11, 313 11, 45.85 15, 40.85
820
+ `;
821
+ constructor(globalSrv) {
822
+ super(globalSrv);
823
+ this.globalSrv = globalSrv;
824
+ }
825
+ ngOnInit() {
826
+ }
827
+ initPageData(value) {
828
+ this.svgTemplate = this.generateSvg();
829
+ }
830
+ generateSvg() {
831
+ // 定义原始尺寸
832
+ const originalWidth = 449;
833
+ const originalHeight = 319;
834
+ // 计算缩放比例
835
+ const widthRatio = this.data.width / originalWidth;
836
+ const heightRatio = this.data.height / originalHeight;
837
+ // 定义固定边框宽度
838
+ const borderWidth = 3; // 固定边框宽度
839
+ let fill = "transparent";
840
+ let defs = this.generateGradientData();
841
+ if (this.data.border.bgColorType == "single") {
842
+ if (this.data.border.bgColor) {
843
+ fill = this.data.border.bgColor;
844
+ }
845
+ }
846
+ else if (this.data.border.bgColorType == "gradient") {
847
+ fill = "url(#borderBgjSWcehpx)";
848
+ }
849
+ let id = Guid.createId();
850
+ // 返回 SVG 字符串
851
+ return `
852
+ <svg width="${this.data.width}" height="${this.data.height}" class="dv-border-svg-container">
853
+ ${defs}
854
+ <defs>
855
+ <linearGradient id="border-box-gradient-${id}" x1="0%" y1="0%" x2="100%" y2="100%">
856
+ <animate attributeName="x1" values="0%;100%;0%" dur="10s" begin="0s" repeatCount="indefinite"></animate>
857
+ <animate attributeName="x2" values="100%;0%;100%" dur="10s" begin="0s" repeatCount="indefinite"></animate>
858
+ <stop offset="0%" stop-color="${this.data.border.mainColor}">
859
+ <animate attributeName="stop-color" values="${this.data.border.mainColor};${this.data.border.secondColor};${this.data.border.mainColor}" dur="10s" begin="0s" repeatCount="indefinite"></animate>
860
+ </stop>
861
+ <stop offset="100%" stop-color="${this.data.border.secondColor}">
862
+ <animate attributeName="stop-color" values="${this.data.border.secondColor};${this.data.border.mainColor};${this.data.border.secondColor}" dur="10s" begin="0s" repeatCount="indefinite"></animate>
863
+ </stop>
864
+ </linearGradient>
865
+ <mask id="border-box-mask-${id}">
866
+ <polyline stroke="#fff" stroke-width="${borderWidth}" fill="transparent"
867
+ points="${8}, ${127.6 * heightRatio} ${8}, ${3}
868
+ ${186.6 * widthRatio}, ${3}"></polyline>
869
+ <polyline fill="#fff"
870
+ points="${8}, ${47.85 * heightRatio} ${8}, ${3}
871
+ ${51.9 * widthRatio}, ${3} ${44.9 * widthRatio}, ${8}
872
+ ${14}, ${8} ${14}, ${40.85 * heightRatio}"></polyline>
873
+ <polyline stroke="#fff" stroke-width="${borderWidth}" fill="transparent"
874
+ points="${224.5 * widthRatio}, ${3} ${446 * widthRatio}, ${3}
875
+ ${446 * widthRatio}, ${79.75 * heightRatio}"></polyline>
876
+ <polyline fill="#fff"
877
+ points="${233.48 * widthRatio}, ${3} ${260.42 * widthRatio}, ${3}
878
+ ${253.42 * widthRatio}, ${9} ${240.48 * widthRatio}, ${9}"></polyline>
879
+
880
+ <polyline fill="#fff"
881
+ points="${404 * widthRatio}, ${3} ${446 * widthRatio}, ${3}
882
+ ${446 * widthRatio}, ${30.2 * heightRatio} ${443.2 * widthRatio}, ${24.9 * heightRatio}
883
+ ${443 * widthRatio}, ${9} ${411.1 * widthRatio}, ${9}"></polyline>
884
+
885
+ <polyline stroke="#fff" stroke-width="${borderWidth}" fill="transparent"
886
+ points="${8}, ${159.5 * heightRatio} ${8}, ${316 * heightRatio}
887
+ ${141.7 * widthRatio}, ${316 * heightRatio}"></polyline>
888
+ <polyline fill="#fff"
889
+ points="${8}, ${175.45 * heightRatio} ${8}, ${223.3 * heightRatio}
890
+ ${2}, ${216.3 * heightRatio} ${2}, ${182.45 * heightRatio}"></polyline>
891
+ <polyline stroke="#fff" stroke-width="${borderWidth}" fill="transparent"
892
+ points="${157.15 * widthRatio}, ${316 * heightRatio} ${446 * widthRatio}, ${316 * heightRatio}
893
+ ${446 * widthRatio}, ${111.65 * heightRatio}"></polyline>
894
+
895
+ <polyline fill="#fff"
896
+ points="${413.08 * widthRatio}, ${316 * heightRatio} ${446 * widthRatio}, ${316 * heightRatio}
897
+ ${446 * widthRatio}, ${255.2 * heightRatio} ${443 * widthRatio}, ${262.2 * heightRatio}
898
+ ${443 * widthRatio}, ${313 * heightRatio} ${420.08 * widthRatio}, ${313 * heightRatio}"></polyline>
899
+ </mask>
900
+ </defs>
901
+ <polygon fill="${fill}"
902
+ points="${15 * widthRatio}, ${9 * heightRatio} ${45.9 * widthRatio}, ${9 * heightRatio}
903
+ ${48.9 * widthRatio}, ${6 * heightRatio} ${235.48 * widthRatio}, ${6 * heightRatio}
904
+ ${239.48 * widthRatio}, ${10 * heightRatio} ${253.42 * widthRatio}, ${10 * heightRatio}
905
+ ${258.42 * widthRatio}, ${6 * heightRatio} ${406.1 * widthRatio}, ${6 * heightRatio}
906
+ ${410.1 * widthRatio}, ${10 * heightRatio} ${439 * widthRatio}, ${10 * heightRatio}
907
+ ${439 * widthRatio}, ${25.9 * heightRatio} ${443 * widthRatio}, ${30.9 * heightRatio}
908
+ ${443 * widthRatio}, ${256.2 * heightRatio} ${439 * widthRatio}, ${261.2 * heightRatio}
909
+ ${439 * widthRatio}, ${309 * heightRatio} ${420.08 * widthRatio}, ${309 * heightRatio}
910
+ ${415.08 * widthRatio}, ${313 * heightRatio} ${11 * widthRatio}, ${313 * heightRatio}
911
+ ${11 * widthRatio}, ${45.85 * heightRatio} ${15 * widthRatio}, ${40.85 * heightRatio}"></polygon>
912
+ <rect x="0" y="0" width="${this.data.width}" height="${this.data.height}"
913
+ fill="url(#border-box-gradient)" mask="url(#border-box-mask)"></rect>
914
+ </svg>
915
+ `;
916
+ }
917
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent9, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
918
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent9, isStandalone: true, selector: "border9", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\"></div>\r\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
919
+ }
920
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent9, decorators: [{
921
+ type: Component,
922
+ args: [{ selector: 'border9', imports: [
923
+ CommonModule,
924
+ FormsModule, ReactiveFormsModule,
925
+ GramPipeModule
926
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\"></div>\r\n</ng-container>" }]
927
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
928
+
929
+ class BorderComponent10 extends BasicService {
930
+ globalSrv;
931
+ width = 450;
932
+ height = 320;
933
+ svgTemplate = ``;
934
+ constructor(globalSrv) {
935
+ super(globalSrv);
936
+ this.globalSrv = globalSrv;
937
+ }
938
+ ngOnInit() {
939
+ }
940
+ initPageData(value) {
941
+ this.svgTemplate = this.generateSvg();
942
+ }
943
+ generateSvg() {
944
+ // 计算缩放因子
945
+ const widthScale = this.data.width / 449; // 原始SVG宽度
946
+ const heightScale = this.data.height / 319; // 原始SVG高度
947
+ let fill = "transparent";
948
+ let defs = this.generateGradientData();
949
+ if (this.data.border.bgColorType == "single") {
950
+ if (this.data.border.bgColor) {
951
+ fill = this.data.border.bgColor;
952
+ }
953
+ }
954
+ else if (this.data.border.bgColorType == "gradient") {
955
+ fill = "url(#borderBgjSWcehpx)";
956
+ }
957
+ let id = Guid.createId();
958
+ return `
959
+ <svg width="${this.data.width}" height="${this.data.height}" class="dv-border-svg-container" style="opacity: ${this.opacity};">
960
+ ${defs}
961
+ <defs>
962
+ <filter id="border-box-10-filterId-${id}" height="150%" width="150%" x="-25%" y="-25%">
963
+ <feMorphology operator="dilate" radius="2" in="SourceAlpha" result="thicken"></feMorphology>
964
+ <feGaussianBlur in="thicken" stdDeviation="3" result="blurred"></feGaussianBlur>
965
+ <feFlood result="glowColor" flood-color="${this.data.border.secondColor}"></feFlood>
966
+ <feComposite in="glowColor" in2="blurred" operator="in" result="softGlowColored"></feComposite>
967
+ <feMerge>
968
+ <feMergeNode in="softGlowColored"></feMergeNode>
969
+ <feMergeNode in="SourceGraphic"></feMergeNode>
970
+ </feMerge>
971
+ </filter>
972
+ </defs>
973
+ <polygon fill="${fill}" points="
974
+ ${20 * widthScale}, ${32 * heightScale}
975
+ ${99.5 * widthScale}, ${32 * heightScale}
976
+ ${119.5 * widthScale}, ${53 * heightScale}
977
+ ${329.5 * widthScale}, ${53 * heightScale}
978
+ ${349.5 * widthScale}, ${32 * heightScale}
979
+ ${429 * widthScale}, ${32 * heightScale}
980
+ ${441 * widthScale}, ${48 * heightScale}
981
+ ${441 * widthScale}, ${294 * heightScale}
982
+ ${429 * widthScale}, ${311 * heightScale}
983
+ ${20 * widthScale}, ${311 * heightScale}
984
+ ${8 * widthScale}, ${294 * heightScale}
985
+ ${8 * widthScale}, ${50 * heightScale}
986
+ "></polygon>
987
+ <polyline filter="url(#border-box-11-filterId)" points="
988
+ ${99.5 * widthScale}, ${30 * heightScale}
989
+ ${20 * widthScale}, ${30 * heightScale}
990
+ ${7 * widthScale}, ${50 * heightScale}
991
+ ${7 * widthScale}, ${126 * heightScale}
992
+ ${13 * widthScale}, ${131 * heightScale}
993
+ ${13 * widthScale}, ${211 * heightScale}
994
+ ${7 * widthScale}, ${216 * heightScale}
995
+ ${7 * widthScale}, ${292 * heightScale}
996
+ ${20 * widthScale}, ${312 * heightScale}
997
+ ${429 * widthScale}, ${312 * heightScale}
998
+ ${442 * widthScale}, ${292 * heightScale}
999
+ ${442 * widthScale}, ${216 * heightScale}
1000
+ ${436 * widthScale}, ${211 * heightScale}
1001
+ ${436 * widthScale}, ${131 * heightScale}
1002
+ ${442 * widthScale}, ${126 * heightScale}
1003
+ ${442 * widthScale}, ${50 * heightScale}
1004
+ ${429 * widthScale}, ${30 * heightScale}
1005
+ ${349.5 * widthScale}, ${30 * heightScale}
1006
+ ${329.5 * widthScale}, ${7 * heightScale}
1007
+ ${119.5 * widthScale}, ${7 * heightScale}
1008
+ ${99.5 * widthScale}, ${30 * heightScale}
1009
+ ${119.5 * widthScale}, ${52 * heightScale}
1010
+ ${329.5 * widthScale}, ${52 * heightScale}
1011
+ ${349.5 * widthScale}, ${30 * heightScale}
1012
+ " stroke="${this.data.border.mainColor}"></polyline>
1013
+ <polygon fill="transparent" points="
1014
+ ${344.5 * widthScale}, ${30 * heightScale}
1015
+ ${328.5 * widthScale}, ${11 * heightScale}
1016
+ ${322.5 * widthScale}, ${11 * heightScale}
1017
+ ${341.5 * widthScale}, ${34 * heightScale}
1018
+ " stroke="${this.data.border.mainColor}"></polygon>
1019
+ <polygon fill="transparent" points="
1020
+ ${104.5 * widthScale}, ${30 * heightScale}
1021
+ ${121.5 * widthScale}, ${49 * heightScale}
1022
+ ${127.5 * widthScale}, ${49 * heightScale}
1023
+ ${107.5 * widthScale}, ${26 * heightScale}
1024
+ " stroke="${this.data.border.mainColor}"></polygon>
1025
+ <polygon fill="rgba(0,206,209,0.3)" filter="url(#border-box-11-filterId)" points="
1026
+ ${338.5 * widthScale}, ${37 * heightScale}
1027
+ ${317.5 * widthScale}, ${11 * heightScale}
1028
+ ${122.5 * widthScale}, ${11 * heightScale}
1029
+ ${110.5 * widthScale}, ${23 * heightScale}
1030
+ ${132.5 * widthScale}, ${49 * heightScale}
1031
+ ${327.5 * widthScale}, ${49 * heightScale}
1032
+ " stroke="${this.data.border.mainColor}"></polygon>
1033
+ <polygon filter="url(#border-box-11-filterId)" opacity="1" points="
1034
+ ${89.5 * widthScale}, ${37 * heightScale}
1035
+ ${68.5 * widthScale}, ${37 * heightScale}
1036
+ ${74.5 * widthScale}, ${46 * heightScale}
1037
+ ${95.5 * widthScale}, ${46 * heightScale}
1038
+ " fill="${this.data.border.mainColor}">
1039
+ <animate attributeName="opacity" values="1;0.7;1" dur="2s" begin="0s" repeatCount="indefinite"></animate>
1040
+ </polygon>
1041
+ <polygon filter="url(#border-box-11-filterId)" opacity="0.7" points="
1042
+ ${59.5 * widthScale}, ${37 * heightScale}
1043
+ ${38.5 * widthScale}, ${37 * heightScale}
1044
+ ${44.5 * widthScale}, ${46 * heightScale}
1045
+ ${65.5 * widthScale}, ${46 * heightScale}
1046
+ " fill="${this.data.border.mainColor}">
1047
+ <animate attributeName="opacity" values="0.7;0.4;0.7" dur="2s" begin="0s" repeatCount="indefinite"></animate>
1048
+ </polygon>
1049
+ <polygon filter="url(#border-box-11-filterId)" opacity="0.5" points="
1050
+ ${29.5 * widthScale}, ${37 * heightScale}
1051
+ ${8.5 * widthScale}, ${37 * heightScale}
1052
+ ${14.5 * widthScale}, ${46 * heightScale}
1053
+ ${35.5 * widthScale}, ${46 * heightScale}
1054
+ " fill="${this.data.border.mainColor}">
1055
+ <animate attributeName="opacity" values="0.5;0.2;0.5" dur="2s" begin="0s" repeatCount="indefinite"></animate>
1056
+ </polygon>
1057
+ <polygon filter="url(#border-box-11-filterId)" opacity="1" points="
1058
+ ${379.5 * widthScale}, ${37 * heightScale}
1059
+ ${358.5 * widthScale}, ${37 * heightScale}
1060
+ ${352.5 * widthScale}, ${46 * heightScale}
1061
+ ${373.5 * widthScale}, ${46 * heightScale}
1062
+ " fill="${this.data.border.mainColor}">
1063
+ <animate attributeName="opacity" values="1;0.7;1" dur="2s" begin="0s" repeatCount="indefinite"></animate>
1064
+ </polygon>
1065
+ <polygon filter="url(#border-box-11-filterId)" opacity="0.7" points="
1066
+ ${409.5 * widthScale}, ${37 * heightScale}
1067
+ ${388.5 * widthScale}, ${37 * heightScale}
1068
+ ${382.5 * widthScale}, ${46 * heightScale}
1069
+ ${403.5 * widthScale}, ${46 * heightScale}
1070
+ " fill="${this.data.border.mainColor}">
1071
+ <animate attributeName="opacity" values="0.7;0.4;0.7" dur="2s" begin="0s" repeatCount="indefinite"></animate>
1072
+ </polygon>
1073
+ <polygon filter="url(#border-box-11-filterId)" opacity="0.5" points="
1074
+ ${439.5 * widthScale}, ${37 * heightScale}
1075
+ ${418.5 * widthScale}, ${37 * heightScale}
1076
+ ${412.5 * widthScale}, ${46 * heightScale}
1077
+ ${433.5 * widthScale}, ${46 * heightScale}
1078
+ " fill="${this.data.border.mainColor}">
1079
+ <animate attributeName="opacity" values="0.5;0.2;0.5" dur="2s" begin="0s" repeatCount="indefinite"></animate>
1080
+ </polygon>
1081
+ <text x="${224.5 * widthScale}" y="${32 * heightScale}" fill="#fff" font-size="${18 * heightScale}" text-anchor="middle" dominant-baseline="middle" class="dv-border-box-11-title"></text>
1082
+
1083
+ </svg>
1084
+ `;
1085
+ }
1086
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent10, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
1087
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent10, isStandalone: true, selector: "border10", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\"></div>\r\n</ng-container>", styles: [":host ::ng-deep polyline{fill:none;stroke-width:1}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
1088
+ }
1089
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent10, decorators: [{
1090
+ type: Component,
1091
+ args: [{ selector: 'border10', imports: [
1092
+ CommonModule,
1093
+ FormsModule, ReactiveFormsModule,
1094
+ GramPipeModule
1095
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\"></div>\r\n</ng-container>", styles: [":host ::ng-deep polyline{fill:none;stroke-width:1}\n"] }]
1096
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
1097
+
1098
+ class BorderComponent11 extends BasicService {
1099
+ globalSrv;
1100
+ svgTemplate = ``;
1101
+ width = 450;
1102
+ height = 320;
1103
+ points1 = `
1104
+ M15 5 L 434 5 Q 444 5, 444 15
1105
+ L 444 304 Q 444 314, 434 314
1106
+ L 15, 314 Q 5 314 5 304 L 5 15
1107
+ Q 5 5 15 5
1108
+ `;
1109
+ points2 = `M 429 5 L 434 5 Q 444 5 444 15 L 444 20`;
1110
+ points3 = `
1111
+ M 429 314 L 434 314
1112
+ Q 444 314 444 304
1113
+ L 444 299
1114
+ `;
1115
+ points4 = `
1116
+ M 20 314 L 15 314
1117
+ Q 5 314 5 304
1118
+ L 5 299
1119
+ `;
1120
+ constructor(globalSrv) {
1121
+ super(globalSrv);
1122
+ this.globalSrv = globalSrv;
1123
+ }
1124
+ ngOnInit() {
1125
+ }
1126
+ initPageData(value) {
1127
+ this.points1 = `
1128
+ M15 5 L ${this.data.width - 15} 5 Q ${this.data.width - 5} 5, ${this.data.width - 5} 15
1129
+ L ${this.data.width - 5} ${this.data.height - 15} Q ${this.data.width - 5} ${this.data.height - 5}, ${this.data.width - 15} ${this.data.height - 5}
1130
+ L 15, ${this.data.height - 5} Q 5 ${this.data.height - 5} 5 ${this.data.height - 15} L 5 15
1131
+ Q 5 5 15 5
1132
+ `;
1133
+ this.points2 = `M ${this.data.width - 20} 5 L ${this.data.width - 15} 5 Q ${this.data.width - 5} 5 ${this.data.width - 5} 15 L ${this.data.width - 5} 20`;
1134
+ this.points3 = `
1135
+ M ${this.data.width - 20} ${this.data.height - 5} L ${this.data.width - 15} ${this.data.height - 5}
1136
+ Q ${this.data.width - 5} ${this.data.height - 5} ${this.data.width - 5} ${this.data.height - 15}
1137
+ L ${this.data.width - 5} ${this.data.height - 20}
1138
+ `;
1139
+ this.points4 = `
1140
+ M 20 ${this.data.height - 5} L 15 ${this.data.height - 5}
1141
+ Q 5 ${this.data.height - 5} 5 ${this.data.height - 15}
1142
+ L 5 ${this.data.height - 20}
1143
+ `;
1144
+ this.svgTemplate = this.initTemplate();
1145
+ }
1146
+ initTemplate() {
1147
+ let fill = "transparent";
1148
+ let defs = this.generateGradientData();
1149
+ if (this.data.border.bgColorType == "single") {
1150
+ if (this.data.border.bgColor) {
1151
+ fill = this.data.border.bgColor;
1152
+ }
1153
+ }
1154
+ else if (this.data.border.bgColorType == "gradient") {
1155
+ fill = "url(#borderBgjSWcehpx)";
1156
+ }
1157
+ let id = Guid.createId();
1158
+ let template = `
1159
+ <svg width="${this.data.width}" height="${this.data.height}" style="opacity: ${this.opacity};">
1160
+ ${defs}
1161
+ <defs>
1162
+ <filter id="borderr-box-11-filterId-${id}" height="150%" width="150%" x="-25%"
1163
+ y="-25%">
1164
+ <feMorphology operator="dilate" radius="1" in="SourceAlpha" result="thicken"></feMorphology>
1165
+ <feGaussianBlur in="thicken" stdDeviation="2" result="blurred"></feGaussianBlur>
1166
+ <feFlood flood-color="rgba(0,206,209,0.7)" result="glowColor">
1167
+ <animate attributeName="flood-color" values="
1168
+ rgba(0,206,209,0.7);
1169
+ rgba(0,206,209,0.3);
1170
+ rgba(0,206,209,0.7);
1171
+ " dur="3s" begin="0s" repeatCount="indefinite"></animate>
1172
+ </feFlood>
1173
+ <feComposite in="glowColor" in2="blurred" operator="in" result="softGlowColored"></feComposite>
1174
+ <feMerge>
1175
+ <feMergeNode in="softGlowColored"></feMergeNode>
1176
+ <feMergeNode in="SourceGraphic"></feMergeNode>
1177
+ </feMerge>
1178
+ </filter>
1179
+ </defs>
1180
+ <path fill="${fill}" stroke-width="2" stroke="${this.data.border.mainColor}" d="${this.points1}"></path>
1181
+ <path stroke-width="2" fill="transparent" stroke-linecap="round"
1182
+ filter="url(#borderr-box-11-filterId-${id})" d="M 20 5 L 15 5 Q 5 5 5 15 L 5 20"
1183
+ stroke="${this.data.border.secondColor}"></path>
1184
+ <path stroke-width="2" fill="transparent" stroke-linecap="round"
1185
+ filter="url(#borderr-box-11-filterId-${id})" d="${this.points2}" stroke="${this.data.border.secondColor}">
1186
+ </path>
1187
+ <path stroke-width="2" fill="transparent" stroke-linecap="round"
1188
+ filter="url(#borderr-box-11-filterId-${id})" d="${this.points3}" stroke="${this.data.border.secondColor}">
1189
+ </path>
1190
+ <path stroke-width="2" fill="transparent" stroke-linecap="round"
1191
+ filter="url(#borderr-box-11-filterId-${id})" d="${this.points4}" stroke="${this.data.border.secondColor}">
1192
+ </path>
1193
+ </svg>
1194
+ `;
1195
+ return template;
1196
+ }
1197
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent11, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
1198
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent11, isStandalone: true, selector: "border11", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
1199
+ }
1200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent11, decorators: [{
1201
+ type: Component,
1202
+ args: [{ selector: 'border11', imports: [
1203
+ CommonModule,
1204
+ FormsModule, ReactiveFormsModule,
1205
+ GramPipeModule
1206
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>" }]
1207
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
1208
+
1209
+ class BorderComponent12 extends BasicService {
1210
+ globalSrv;
1211
+ svgTemplate = ``;
1212
+ width = 450;
1213
+ height = 320;
1214
+ points1 = `
1215
+ M 5 20 L 5 10 L 12 3 L 60 3 L 68 10
1216
+ L 429 10 L 444 25
1217
+ L 444 314 L 20 314
1218
+ L 5 299 L 5 20
1219
+ `;
1220
+ points2 = `M 444 289 L 444 314 L 419 314`;
1221
+ constructor(globalSrv) {
1222
+ super(globalSrv);
1223
+ this.globalSrv = globalSrv;
1224
+ }
1225
+ ngOnInit() {
1226
+ }
1227
+ initPageData(value) {
1228
+ this.points1 = `
1229
+ M 5 20 L 5 10 L 12 3 L 60 3 L 68 10
1230
+ L ${this.data.width - 20} 10 L ${this.data.width - 5} 25
1231
+ L ${this.data.width - 5} ${this.data.height - 5} L 20 ${this.data.height - 5}
1232
+ L 5 ${this.data.height - 20} L 5 20
1233
+ `;
1234
+ this.points2 = `M ${this.data.width - 5} ${this.data.height - 30} L ${this.data.width - 5} ${this.data.height - 5} L ${this.data.width - 30} ${this.data.height - 5}`;
1235
+ this.svgTemplate = this.initTemplate();
1236
+ }
1237
+ initTemplate() {
1238
+ let fill = "transparent";
1239
+ let defs = this.generateGradientData();
1240
+ if (this.data.border.bgColorType == "single") {
1241
+ if (this.data.border.bgColor) {
1242
+ fill = this.data.border.bgColor;
1243
+ }
1244
+ }
1245
+ else if (this.data.border.bgColorType == "gradient") {
1246
+ fill = "url(#borderBgjSWcehpx)";
1247
+ }
1248
+ let template = `
1249
+ <svg width="${this.data.width}" height="${this.data.height}" style="opacity: ${this.opacity};">
1250
+ ${defs}
1251
+ <path fill="${fill}" d="${this.points1}" stroke="${this.data.border.mainColor}"></path>
1252
+ <path fill="transparent" stroke-width="3" stroke-linecap="round" stroke-dasharray="10, 5" d="M 16 9 L 61 9"
1253
+ stroke="${this.data.border.mainColor}"></path>
1254
+ <path fill="transparent" d="M 5 20 L 5 10 L 12 3 L 60 3 L 68 10" stroke="${this.data.border.secondColor}"></path>
1255
+ <path fill="transparent" d="${this.points2}" stroke="${this.data.border.secondColor}"></path>
1256
+ </svg>
1257
+ `;
1258
+ return template;
1259
+ }
1260
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent12, deps: [{ token: i1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
1261
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BorderComponent12, isStandalone: true, selector: "border12", providers: [], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "safeHtml" }] });
1262
+ }
1263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BorderComponent12, decorators: [{
1264
+ type: Component,
1265
+ args: [{ selector: 'border12', imports: [
1266
+ CommonModule,
1267
+ FormsModule, ReactiveFormsModule,
1268
+ GramPipeModule
1269
+ ], providers: [], template: "<ng-container *ngIf=\"data!!\">\r\n <div [innerHTML]=\"svgTemplate | safeHtml\" class=\"dv-border-box\"></div>\r\n</ng-container>" }]
1270
+ }], ctorParameters: () => [{ type: i1.GramGlobalService }] });
1271
+
1272
+ const dynamicComponents = {
1273
+ border1: BorderComponent1,
1274
+ border2: BorderComponent2,
1275
+ border3: BorderComponent3,
1276
+ border4: BorderComponent4,
1277
+ border5: BorderComponent5,
1278
+ border6: BorderComponent6,
1279
+ border7: BorderComponent7,
1280
+ border8: BorderComponent8,
1281
+ border9: BorderComponent9,
1282
+ border10: BorderComponent10,
1283
+ border11: BorderComponent11,
1284
+ border12: BorderComponent12
1285
+ };
1286
+ class GramBiBorderComponent {
1287
+ componentFactoryResolver;
1288
+ _data = null;
1289
+ type = null;
1290
+ component;
1291
+ set data(value) {
1292
+ this._data = value;
1293
+ this.renderComponent();
1294
+ }
1295
+ get data() {
1296
+ return this._data;
1297
+ }
1298
+ set rd(value) {
1299
+ if (this.component) {
1300
+ this.component.instance['rd'] = value;
1301
+ }
1302
+ }
1303
+ /**
1304
+ * 动态子组件
1305
+ */
1306
+ componentHost;
1307
+ ngOnInit() { }
1308
+ constructor(componentFactoryResolver) {
1309
+ this.componentFactoryResolver = componentFactoryResolver;
1310
+ }
1311
+ renderComponent() {
1312
+ if (this.data.secondType) {
1313
+ this.type = this.data.secondType;
1314
+ }
1315
+ if (this.type) {
1316
+ if (this.componentHost) {
1317
+ this.componentHost.clear();
1318
+ const compFactory = this.componentFactoryResolver.resolveComponentFactory(dynamicComponents[this.type]);
1319
+ this.component = this.componentHost.createComponent(compFactory);
1320
+ this.component.instance['data'] = this.data;
1321
+ }
1322
+ }
1323
+ }
1324
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramBiBorderComponent, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
1325
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramBiBorderComponent, isStandalone: true, selector: "gram-bi-border", inputs: { data: "data", rd: "rd" }, viewQueries: [{ propertyName: "componentHost", first: true, predicate: ["componentHost"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<ng-container #componentHost></ng-container>", styles: [":host ::ng-deep{width:100%;height:100%;display:inline-block}:host ::ng-deep svg{transform-origin:left top}:host ::ng-deep .dv-border-box{position:relative;height:100%;width:100%}:host ::ng-deep .border-box{display:inline-block;position:relative}:host ::ng-deep .border{position:absolute;display:block;border:0!important}:host ::ng-deep polyline{fill:none;stroke-width:1}\n"] });
1326
+ }
1327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramBiBorderComponent, decorators: [{
1328
+ type: Component,
1329
+ args: [{ selector: 'gram-bi-border', template: "<ng-container #componentHost></ng-container>", styles: [":host ::ng-deep{width:100%;height:100%;display:inline-block}:host ::ng-deep svg{transform-origin:left top}:host ::ng-deep .dv-border-box{position:relative;height:100%;width:100%}:host ::ng-deep .border-box{display:inline-block;position:relative}:host ::ng-deep .border{position:absolute;display:block;border:0!important}:host ::ng-deep polyline{fill:none;stroke-width:1}\n"] }]
1330
+ }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }], propDecorators: { data: [{
1331
+ type: Input
1332
+ }], rd: [{
1333
+ type: Input
1334
+ }], componentHost: [{
1335
+ type: ViewChild,
1336
+ args: ['componentHost', { read: ViewContainerRef, static: true }]
1337
+ }] } });
1338
+
1339
+ const COMPONENTS = [GramBiBorderComponent];
1340
+ const COMPONENTS_NOROUNT = [
1341
+ BorderComponent1,
1342
+ BorderComponent2,
1343
+ BorderComponent3,
1344
+ BorderComponent4,
1345
+ BorderComponent5,
1346
+ BorderComponent6,
1347
+ BorderComponent7,
1348
+ BorderComponent8,
1349
+ BorderComponent9,
1350
+ BorderComponent10,
1351
+ BorderComponent11,
1352
+ BorderComponent12
1353
+ ];
1354
+ class GramBiBorderModule {
1355
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramBiBorderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1356
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramBiBorderModule, imports: [GramBiBorderComponent, BorderComponent1,
1357
+ BorderComponent2,
1358
+ BorderComponent3,
1359
+ BorderComponent4,
1360
+ BorderComponent5,
1361
+ BorderComponent6,
1362
+ BorderComponent7,
1363
+ BorderComponent8,
1364
+ BorderComponent9,
1365
+ BorderComponent10,
1366
+ BorderComponent11,
1367
+ BorderComponent12], exports: [GramBiBorderComponent] });
1368
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramBiBorderModule, imports: [COMPONENTS_NOROUNT] });
1369
+ }
1370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramBiBorderModule, decorators: [{
1371
+ type: NgModule,
1372
+ args: [{
1373
+ imports: [...COMPONENTS, ...COMPONENTS_NOROUNT],
1374
+ exports: [...COMPONENTS],
1375
+ }]
1376
+ }] });
1377
+
1378
+ /**
1379
+ * Generated bundle index. Do not edit.
1380
+ */
1381
+
1382
+ export { GramBiBorderComponent, GramBiBorderModule };
1383
+ //# sourceMappingURL=bi.border.mjs.map