bulk-tool-menu-library 0.2.1 → 20.0.1

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 (92) hide show
  1. package/esm2022/bulk-tool-20.mjs +5 -0
  2. package/esm2022/lib/auth.service.mjs +50 -0
  3. package/esm2022/lib/bulk-tool.component.mjs +22 -0
  4. package/esm2022/lib/bulk-tool.module.mjs +50 -0
  5. package/esm2022/lib/bulk-tool.service.mjs +14 -0
  6. package/esm2022/lib/constant.enum.mjs +6 -0
  7. package/esm2022/lib/environmentsModel.info.mjs +2 -0
  8. package/esm2022/lib/http-interceptor.mjs +25 -0
  9. package/esm2022/lib/login/login.component.mjs +84 -0
  10. package/esm2022/lib/materils/materils.module.mjs +172 -0
  11. package/esm2022/lib/menu/menu.component.mjs +47 -0
  12. package/esm2022/public_api.mjs +10 -0
  13. package/fesm2022/bulk-tool-20.mjs +448 -0
  14. package/fesm2022/bulk-tool-20.mjs.map +1 -0
  15. package/index.d.ts +144 -0
  16. package/lib/auth.service.d.ts +16 -0
  17. package/lib/bulk-tool.component.d.ts +8 -0
  18. package/lib/bulk-tool.module.d.ts +17 -0
  19. package/lib/bulk-tool.service.d.ts +6 -0
  20. package/lib/constant.enum.d.ts +5 -0
  21. package/lib/environmentsModel.info.d.ts +3 -0
  22. package/lib/http-interceptor.d.ts +8 -0
  23. package/lib/login/login.component.d.ts +27 -0
  24. package/lib/materils/materils.module.d.ts +45 -0
  25. package/lib/menu/menu.component.d.ts +28 -0
  26. package/package.json +23 -59
  27. package/{projects/bulk-tool/src/public_api.ts → public_api.d.ts} +6 -10
  28. package/.editorconfig +0 -13
  29. package/README.md +0 -27
  30. package/angular.json +0 -172
  31. package/e2e/protractor.conf.js +0 -28
  32. package/e2e/src/app.e2e-spec.ts +0 -14
  33. package/e2e/src/app.po.ts +0 -11
  34. package/e2e/tsconfig.e2e.json +0 -13
  35. package/projects/bulk-tool/karma.conf.js +0 -31
  36. package/projects/bulk-tool/ng-package.json +0 -8
  37. package/projects/bulk-tool/ng-package.prod.json +0 -7
  38. package/projects/bulk-tool/package-lock.json +0 -5
  39. package/projects/bulk-tool/package.json +0 -8
  40. package/projects/bulk-tool/src/lib/auth.service.spec.ts +0 -15
  41. package/projects/bulk-tool/src/lib/auth.service.ts +0 -46
  42. package/projects/bulk-tool/src/lib/base-app.service.ts +0 -36
  43. package/projects/bulk-tool/src/lib/bulk-tool.component.spec.ts +0 -25
  44. package/projects/bulk-tool/src/lib/bulk-tool.component.ts +0 -19
  45. package/projects/bulk-tool/src/lib/bulk-tool.module.ts +0 -41
  46. package/projects/bulk-tool/src/lib/bulk-tool.service.spec.ts +0 -15
  47. package/projects/bulk-tool/src/lib/constant.enum.ts +0 -6
  48. package/projects/bulk-tool/src/lib/environmentsModel.info.ts +0 -5
  49. package/projects/bulk-tool/src/lib/http-interceptor.ts +0 -22
  50. package/projects/bulk-tool/src/lib/login/login.component.css +0 -86
  51. package/projects/bulk-tool/src/lib/login/login.component.html +0 -59
  52. package/projects/bulk-tool/src/lib/login/login.component.spec.ts +0 -25
  53. package/projects/bulk-tool/src/lib/login/login.component.ts +0 -104
  54. package/projects/bulk-tool/src/lib/materils/materils.module.spec.ts +0 -13
  55. package/projects/bulk-tool/src/lib/materils/materils.module.ts +0 -96
  56. package/projects/bulk-tool/src/lib/menu/menu.component.css +0 -388
  57. package/projects/bulk-tool/src/lib/menu/menu.component.html +0 -46
  58. package/projects/bulk-tool/src/lib/menu/menu.component.spec.ts +0 -25
  59. package/projects/bulk-tool/src/lib/menu/menu.component.ts +0 -197
  60. package/projects/bulk-tool/src/test.ts +0 -22
  61. package/projects/bulk-tool/tsconfig.lib.json +0 -33
  62. package/projects/bulk-tool/tsconfig.spec.json +0 -17
  63. package/projects/bulk-tool/tslint.json +0 -17
  64. package/src/app/app.component.css +0 -0
  65. package/src/app/app.component.html +0 -18
  66. package/src/app/app.component.spec.ts +0 -27
  67. package/src/app/app.component.ts +0 -14
  68. package/src/app/app.module.ts +0 -44
  69. package/src/app/home/home.component.css +0 -0
  70. package/src/app/home/home.component.html +0 -13
  71. package/src/app/home/home.component.spec.ts +0 -25
  72. package/src/app/home/home.component.ts +0 -15
  73. package/src/app/login/login.component.css +0 -76
  74. package/src/app/login/login.component.html +0 -1
  75. package/src/app/login/login.component.spec.ts +0 -25
  76. package/src/app/login/login.component.ts +0 -72
  77. package/src/assets/.gitkeep +0 -0
  78. package/src/browserslist +0 -9
  79. package/src/environments/environment.prod.ts +0 -4
  80. package/src/environments/environment.ts +0 -18
  81. package/src/favicon.ico +0 -0
  82. package/src/index.html +0 -24
  83. package/src/karma.conf.js +0 -31
  84. package/src/main.ts +0 -12
  85. package/src/polyfills.ts +0 -80
  86. package/src/styles.css +0 -1
  87. package/src/test.ts +0 -20
  88. package/src/tsconfig.app.json +0 -11
  89. package/src/tsconfig.spec.json +0 -18
  90. package/src/tslint.json +0 -17
  91. package/tsconfig.json +0 -29
  92. package/tslint.json +0 -130
package/src/index.html DELETED
@@ -1,24 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>BulkToolLibrary</title>
6
- <base href="/">
7
-
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
- <link rel="icon" type="image/x-icon" href="favicon.ico">
10
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
11
- <script
12
- src="https://code.jquery.com/jquery-3.3.1.js"
13
- integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
14
- crossorigin="anonymous"></script>
15
- <script type="text/javascript"
16
- "https://servicedeskstg1.ems.schneider-electric.com/s/en_US-ydn9lh-418945332/803/1088/1.2/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=296f1db8">
17
- </script>
18
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"
19
- integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
20
- </head>
21
- <body>
22
- <app-root></app-root>
23
- </body>
24
- </html>
package/src/karma.conf.js DELETED
@@ -1,31 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage-istanbul-reporter'),
13
- require('@angular-devkit/build-angular/plugins/karma')
14
- ],
15
- client: {
16
- clearContext: false // leave Jasmine Spec Runner output visible in browser
17
- },
18
- coverageIstanbulReporter: {
19
- dir: require('path').join(__dirname, '../coverage'),
20
- reports: ['html', 'lcovonly'],
21
- fixWebpackSourcePaths: true
22
- },
23
- reporters: ['progress', 'kjhtml'],
24
- port: 9876,
25
- colors: true,
26
- logLevel: config.LOG_INFO,
27
- autoWatch: true,
28
- browsers: ['Chrome'],
29
- singleRun: false
30
- });
31
- };
package/src/main.ts DELETED
@@ -1,12 +0,0 @@
1
- import { enableProdMode } from '@angular/core';
2
- import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
-
4
- import { AppModule } from './app/app.module';
5
- import { environment } from './environments/environment';
6
-
7
- if (environment.production) {
8
- enableProdMode();
9
- }
10
-
11
- platformBrowserDynamic().bootstrapModule(AppModule)
12
- .catch(err => console.log(err));
package/src/polyfills.ts DELETED
@@ -1,80 +0,0 @@
1
- /**
2
- * This file includes polyfills needed by Angular and is loaded before the app.
3
- * You can add your own extra polyfills to this file.
4
- *
5
- * This file is divided into 2 sections:
6
- * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7
- * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8
- * file.
9
- *
10
- * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11
- * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12
- * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13
- *
14
- * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
15
- */
16
-
17
- /***************************************************************************************************
18
- * BROWSER POLYFILLS
19
- */
20
-
21
- /** IE9, IE10 and IE11 requires all of the following polyfills. **/
22
- import 'core-js/es6/symbol';
23
- import 'core-js/es6/object';
24
- import 'core-js/es6/function';
25
- import 'core-js/es6/parse-int';
26
- import 'core-js/es6/parse-float';
27
- import 'core-js/es6/number';
28
- import 'core-js/es6/math';
29
- import 'core-js/es6/string';
30
- import 'core-js/es6/date';
31
- import 'core-js/es6/array';
32
- import 'core-js/es6/regexp';
33
- import 'core-js/es6/map';
34
- import 'core-js/es6/weak-map';
35
- import 'core-js/es6/set';
36
-
37
- /** IE10 and IE11 requires the following for NgClass support on SVG elements */
38
- import 'classlist.js'; // Run `npm install --save classlist.js`.
39
-
40
- /** IE10 and IE11 requires the following for the Reflect API. */
41
- import 'core-js/es6/reflect';
42
-
43
-
44
- /** Evergreen browsers require these. **/
45
- // Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
46
- import 'core-js/es7/reflect';
47
-
48
-
49
- /**
50
- * Web Animations `@angular/platform-browser/animations`
51
- * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
52
- * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
53
- **/
54
- import 'web-animations-js'; // Run `npm install --save web-animations-js`.
55
-
56
- /**
57
- * By default, zone.js will patch all possible macroTask and DomEvents
58
- * user can disable parts of macroTask/DomEvents patch by setting following flags
59
- */
60
-
61
- // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
62
- // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
63
- // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
64
-
65
- /*
66
- * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
67
- * with the following flag, it will bypass `zone.js` patch for IE/Edge
68
- */
69
- // (window as any).__Zone_enable_cross_context_check = true;
70
-
71
- /***************************************************************************************************
72
- * Zone JS is required by default for Angular itself.
73
- */
74
- import 'zone.js/dist/zone'; // Included with Angular CLI.
75
-
76
-
77
-
78
- /***************************************************************************************************
79
- * APPLICATION IMPORTS
80
- */
package/src/styles.css DELETED
@@ -1 +0,0 @@
1
- /* You can add global styles to this file, and also import other style files */
package/src/test.ts DELETED
@@ -1,20 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js/dist/zone-testing';
4
- import { getTestBed } from '@angular/core/testing';
5
- import {
6
- BrowserDynamicTestingModule,
7
- platformBrowserDynamicTesting
8
- } from '@angular/platform-browser-dynamic/testing';
9
-
10
- declare const require: any;
11
-
12
- // First, initialize the Angular testing environment.
13
- getTestBed().initTestEnvironment(
14
- BrowserDynamicTestingModule,
15
- platformBrowserDynamicTesting()
16
- );
17
- // Then we find all the tests.
18
- const context = require.context('./', true, /\.spec\.ts$/);
19
- // And load the modules.
20
- context.keys().map(context);
@@ -1,11 +0,0 @@
1
- {
2
- "extends": "../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../out-tsc/app",
5
- "types": []
6
- },
7
- "exclude": [
8
- "src/test.ts",
9
- "**/*.spec.ts"
10
- ]
11
- }
@@ -1,18 +0,0 @@
1
- {
2
- "extends": "../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../out-tsc/spec",
5
- "types": [
6
- "jasmine",
7
- "node"
8
- ]
9
- },
10
- "files": [
11
- "test.ts",
12
- "polyfills.ts"
13
- ],
14
- "include": [
15
- "**/*.spec.ts",
16
- "**/*.d.ts"
17
- ]
18
- }
package/src/tslint.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../tslint.json",
3
- "rules": {
4
- "directive-selector": [
5
- true,
6
- "attribute",
7
- "app",
8
- "camelCase"
9
- ],
10
- "component-selector": [
11
- true,
12
- "element",
13
- "app",
14
- "kebab-case"
15
- ]
16
- }
17
- }
package/tsconfig.json DELETED
@@ -1,29 +0,0 @@
1
- {
2
- "compileOnSave": false,
3
- "compilerOptions": {
4
- "baseUrl": "./",
5
- "outDir": "./dist/out-tsc",
6
- "sourceMap": true,
7
- "declaration": false,
8
- "module": "es2015",
9
- "moduleResolution": "node",
10
- "emitDecoratorMetadata": true,
11
- "experimentalDecorators": true,
12
- "target": "es5",
13
- "typeRoots": [
14
- "node_modules/@types"
15
- ],
16
- "lib": [
17
- "es2017",
18
- "dom"
19
- ],
20
- "paths": {
21
- "BulkTool": [
22
- "dist/bulk-tool-menu"
23
- ],
24
- "BulkTool/*": [
25
- "dist/bulk-tool/*"
26
- ]
27
- }
28
- }
29
- }
package/tslint.json DELETED
@@ -1,130 +0,0 @@
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-shadowed-variable": true,
69
- "no-string-literal": false,
70
- "no-string-throw": true,
71
- "no-switch-case-fall-through": true,
72
- "no-trailing-whitespace": true,
73
- "no-unnecessary-initializer": true,
74
- "no-unused-expression": true,
75
- "no-use-before-declare": true,
76
- "no-var-keyword": true,
77
- "object-literal-sort-keys": false,
78
- "one-line": [
79
- true,
80
- "check-open-brace",
81
- "check-catch",
82
- "check-else",
83
- "check-whitespace"
84
- ],
85
- "prefer-const": true,
86
- "quotemark": [
87
- true,
88
- "single"
89
- ],
90
- "radix": true,
91
- "semicolon": [
92
- true,
93
- "always"
94
- ],
95
- "triple-equals": [
96
- true,
97
- "allow-null-check"
98
- ],
99
- "typedef-whitespace": [
100
- true,
101
- {
102
- "call-signature": "nospace",
103
- "index-signature": "nospace",
104
- "parameter": "nospace",
105
- "property-declaration": "nospace",
106
- "variable-declaration": "nospace"
107
- }
108
- ],
109
- "unified-signatures": true,
110
- "variable-name": false,
111
- "whitespace": [
112
- true,
113
- "check-branch",
114
- "check-decl",
115
- "check-operator",
116
- "check-separator",
117
- "check-type"
118
- ],
119
- "no-output-on-prefix": true,
120
- "use-input-property-decorator": true,
121
- "use-output-property-decorator": true,
122
- "use-host-property-decorator": true,
123
- "no-input-rename": true,
124
- "no-output-rename": true,
125
- "use-life-cycle-interface": true,
126
- "use-pipe-transform-interface": true,
127
- "component-class-suffix": true,
128
- "directive-class-suffix": true
129
- }
130
- }