widget-common-container 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/.angular/cache/19.2.26/ng-packagr/0997d7866dbb7999756bcd6dce071e827244865f4ff149c26d049d1515686b01 +1 -0
  2. package/.angular/cache/19.2.26/ng-packagr/882519e10fb587011272af89a34932495c0e2cc97d0c030536d1033ee55ce561 +1 -0
  3. package/.angular/cache/19.2.26/ng-packagr/8b15b546ec32b4e82b20945f62d23ba911050bdc6a4a60d34875eea6fe236635 +1 -0
  4. package/.angular/cache/19.2.26/ng-packagr/9711df1afdc00e2ac901d2b22d9559a220e74d16c0bf6d3917e410c565aed496 +1 -0
  5. package/.angular/cache/19.2.26/ng-packagr/tsbuildinfo/inspark-widget-common.tsbuildinfo +1 -0
  6. package/.editorconfig +13 -0
  7. package/.eslintrc.json +28 -0
  8. package/README.md +27 -0
  9. package/angular.json +46 -0
  10. package/e2e/protractor.conf.js +28 -0
  11. package/e2e/src/app.e2e-spec.ts +14 -0
  12. package/e2e/src/app.po.ts +11 -0
  13. package/e2e/tsconfig.e2e.json +13 -0
  14. package/package.json +75 -0
  15. package/projects/widget-common/copy.json +8 -0
  16. package/projects/widget-common/karma.conf.js +31 -0
  17. package/projects/widget-common/ng-package.json +7 -0
  18. package/projects/widget-common/package-lock.json +78 -0
  19. package/projects/widget-common/package.json +23 -0
  20. package/projects/widget-common/src/assets/error.svg +6 -0
  21. package/projects/widget-common/src/assets/falsevalue.svg +6 -0
  22. package/projects/widget-common/src/assets/icon.svg +6 -0
  23. package/projects/widget-common/src/assets/none.svg +6 -0
  24. package/projects/widget-common/src/assets/success.svg +6 -0
  25. package/projects/widget-common/src/assets/warning.svg +6 -0
  26. package/projects/widget-common/src/lib/common.ts +23 -0
  27. package/projects/widget-common/src/lib/communication.service.ts +59 -0
  28. package/projects/widget-common/src/lib/echart/echart.component.html +2 -0
  29. package/projects/widget-common/src/lib/echart/echart.component.scss +40 -0
  30. package/projects/widget-common/src/lib/echart/echart.component.ts +703 -0
  31. package/projects/widget-common/src/lib/echart/en.ts +156 -0
  32. package/projects/widget-common/src/lib/echart/ru.ts +156 -0
  33. package/projects/widget-common/src/lib/forge/ParamAssign.ts +187 -0
  34. package/projects/widget-common/src/lib/forge/Script.service.ts +86 -0
  35. package/projects/widget-common/src/lib/forge/extenstion.ts +263 -0
  36. package/projects/widget-common/src/lib/forge/forge.component.html +2 -0
  37. package/projects/widget-common/src/lib/forge/forge.component.scss +6 -0
  38. package/projects/widget-common/src/lib/forge/forge.component.ts +184 -0
  39. package/projects/widget-common/src/lib/forge/forge.interface.ts +4 -0
  40. package/projects/widget-common/src/lib/loader.ts +19 -0
  41. package/projects/widget-common/src/lib/pie-chart/pie-chart.component.html +1 -0
  42. package/projects/widget-common/src/lib/pie-chart/pie-chart.component.scss +3 -0
  43. package/projects/widget-common/src/lib/pie-chart/pie-chart.component.ts +252 -0
  44. package/projects/widget-common/src/lib/shared.module.ts +40 -0
  45. package/projects/widget-common/src/lib/sprintf.ts +212 -0
  46. package/projects/widget-common/src/lib/widget-container/widget-container.component.ts +53 -0
  47. package/projects/widget-common/src/lib/widget.api.ts +24 -0
  48. package/projects/widget-common/src/lib/widget.component.ts +87 -0
  49. package/projects/widget-common/src/lib/widget.dialog.ts +14 -0
  50. package/projects/widget-common/src/lib/widget.generator.ts +1532 -0
  51. package/projects/widget-common/src/lib/widget.interface.ts +871 -0
  52. package/projects/widget-common/src/lib/widget.utils.ts +634 -0
  53. package/projects/widget-common/src/public_api.ts +9 -0
  54. package/projects/widget-common/src/scss/main.scss +24 -0
  55. package/projects/widget-common/src/test.ts +22 -0
  56. package/projects/widget-common/tsconfig.lib.json +38 -0
  57. package/projects/widget-common/tsconfig.lib.prod.json +6 -0
  58. package/projects/widget-common/tsconfig.spec.json +17 -0
  59. package/projects/widget-common/tslint.json +17 -0
  60. package/projects/widget-common/versions/full/copy.json +15 -0
  61. package/projects/widget-common/versions/full/package.json +7 -0
  62. package/projects/widget-common/versions/full/public_api.ts +19 -0
  63. package/projects/widget-common/versions/interfaces/copy.json +15 -0
  64. package/projects/widget-common/versions/interfaces/package.json +7 -0
  65. package/projects/widget-common/versions/interfaces/public_api.ts +9 -0
  66. package/src/app/app.component.html +20 -0
  67. package/src/app/app.component.scss +0 -0
  68. package/src/app/app.component.spec.ts +31 -0
  69. package/src/app/app.component.ts +10 -0
  70. package/src/app/app.module.ts +16 -0
  71. package/src/assets/.gitkeep +0 -0
  72. package/src/browserslist +11 -0
  73. package/src/environments/environment.prod.ts +3 -0
  74. package/src/environments/environment.ts +16 -0
  75. package/src/favicon.ico +0 -0
  76. package/src/index.html +14 -0
  77. package/src/karma.conf.js +31 -0
  78. package/src/main.ts +12 -0
  79. package/src/polyfills.ts +80 -0
  80. package/src/styles.scss +1 -0
  81. package/src/test.ts +20 -0
  82. package/src/tsconfig.app.json +11 -0
  83. package/src/tsconfig.spec.json +18 -0
  84. package/src/tslint.json +17 -0
  85. package/tsconfig.json +34 -0
  86. package/tslint.json +131 -0
  87. package/update_full.js +27 -0
package/tslint.json ADDED
@@ -0,0 +1,131 @@
1
+ {
2
+ "rulesDirectory": [
3
+ "node_modules/codelyzer"
4
+ ],
5
+ "rules": {
6
+ "arrow-return-shorthand": true,
7
+ "callable-types": true,
8
+ "class-name": true,
9
+ "comment-format": [
10
+ true,
11
+ "check-space"
12
+ ],
13
+ "curly": true,
14
+ "deprecation": {
15
+ "severity": "warn"
16
+ },
17
+ "eofline": true,
18
+ "forin": true,
19
+ "import-blacklist": [
20
+ true,
21
+ "rxjs/Rx"
22
+ ],
23
+ "import-spacing": true,
24
+ "indent": [
25
+ true,
26
+ "spaces"
27
+ ],
28
+ "interface-over-type-literal": true,
29
+ "label-position": true,
30
+ "max-line-length": [
31
+ true,
32
+ 140
33
+ ],
34
+ "member-access": false,
35
+ "member-ordering": [
36
+ true,
37
+ {
38
+ "order": [
39
+ "static-field",
40
+ "instance-field",
41
+ "static-method",
42
+ "instance-method"
43
+ ]
44
+ }
45
+ ],
46
+ "no-arg": true,
47
+ "no-bitwise": true,
48
+ "no-console": [
49
+ true,
50
+ "debug",
51
+ "info",
52
+ "time",
53
+ "timeEnd",
54
+ "trace"
55
+ ],
56
+ "no-construct": true,
57
+ "no-debugger": true,
58
+ "no-duplicate-super": true,
59
+ "no-empty": false,
60
+ "no-empty-interface": true,
61
+ "no-eval": true,
62
+ "no-inferrable-types": [
63
+ true,
64
+ "ignore-params"
65
+ ],
66
+ "no-misused-new": true,
67
+ "no-non-null-assertion": true,
68
+ "no-redundant-jsdoc": true,
69
+ "no-shadowed-variable": false,
70
+ "no-string-literal": false,
71
+ "no-string-throw": true,
72
+ "no-switch-case-fall-through": true,
73
+ "no-trailing-whitespace": true,
74
+ "no-unnecessary-initializer": true,
75
+ "no-unused-expression": true,
76
+ "no-use-before-declare": true,
77
+ "no-var-keyword": true,
78
+ "object-literal-sort-keys": false,
79
+ "one-line": [
80
+ true,
81
+ "check-open-brace",
82
+ "check-catch",
83
+ "check-else",
84
+ "check-whitespace"
85
+ ],
86
+ "prefer-const": true,
87
+ "quotemark": [
88
+ true,
89
+ "single"
90
+ ],
91
+ "radix": false,
92
+ "semicolon": [
93
+ true,
94
+ "always"
95
+ ],
96
+ "triple-equals": [
97
+ true,
98
+ "allow-null-check"
99
+ ],
100
+ "typedef-whitespace": [
101
+ true,
102
+ {
103
+ "call-signature": "nospace",
104
+ "index-signature": "nospace",
105
+ "parameter": "nospace",
106
+ "property-declaration": "nospace",
107
+ "variable-declaration": "nospace"
108
+ }
109
+ ],
110
+ "unified-signatures": true,
111
+ "variable-name": false,
112
+ "whitespace": [
113
+ true,
114
+ "check-branch",
115
+ "check-decl",
116
+ "check-operator",
117
+ "check-separator",
118
+ "check-type"
119
+ ],
120
+ "no-output-on-prefix": true,
121
+ "use-input-property-decorator": true,
122
+ "use-output-property-decorator": true,
123
+ "use-host-property-decorator": true,
124
+ "no-input-rename": true,
125
+ "no-output-rename": true,
126
+ "use-life-cycle-interface": true,
127
+ "use-pipe-transform-interface": true,
128
+ "component-class-suffix": true,
129
+ "directive-class-suffix": true
130
+ }
131
+ }
package/update_full.js ADDED
@@ -0,0 +1,27 @@
1
+ var fs = require("fs");
2
+ var contents = fs.readFileSync("./dist/widget-common/full/package.json");
3
+ // Define to JSON type
4
+ var jsonContent = JSON.parse(contents);
5
+
6
+
7
+
8
+ const fields = ['module', 'es2020', 'esm2020', 'fesm2020', 'fesm2015', 'es2015', 'node', 'types', 'typings', 'default'];
9
+
10
+ jsonContent.exports['./full'] = {};
11
+ jsonContent.exports['./interface'] = {};
12
+
13
+ fields.forEach(field => {
14
+ if (jsonContent.exports['.'][field]) {
15
+ const data = './full/' + jsonContent.exports['.'][field].replace('./', '');
16
+ const dataInterface = './interface/' + jsonContent.exports['.'][field].replace('./', '');
17
+ jsonContent.exports['.'][field] = data;
18
+ jsonContent.exports['./full'][field] = data
19
+ jsonContent.exports['./interface'][field] = dataInterface
20
+ }
21
+ if (jsonContent[field]) {
22
+ jsonContent[field] = 'full/' + jsonContent[field];
23
+ }
24
+ });
25
+
26
+ fs.writeFileSync("./dist/widget-common/package.json", JSON.stringify(jsonContent));
27
+ console.log('Done!');