ngx-edge-slider 1.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.
- package/ngx-edge-slider-workspace/.editorconfig +16 -0
- package/ngx-edge-slider-workspace/.vscode/extensions.json +4 -0
- package/ngx-edge-slider-workspace/.vscode/launch.json +20 -0
- package/ngx-edge-slider-workspace/.vscode/tasks.json +42 -0
- package/ngx-edge-slider-workspace/README.md +27 -0
- package/ngx-edge-slider-workspace/angular.json +140 -0
- package/ngx-edge-slider-workspace/package-lock.json +13339 -0
- package/ngx-edge-slider-workspace/package.json +39 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/README.md +24 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/ng-package.json +7 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/package.json +12 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/lib/assets/icons/arrow-black.svg +3 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/lib/assets/icons/arrow-gray.svg +3 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/lib/ngx-edge-slider.component.html +78 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/lib/ngx-edge-slider.component.scss +344 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/lib/ngx-edge-slider.component.ts +610 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/lib/ngx-edge-slider.interface.ts +34 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/lib/ngx-edge-slider.module.ts +18 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/lib/ngx-edge-slider.service.ts +9 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/src/public-api.ts +7 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/tsconfig.lib.json +14 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/tsconfig.lib.prod.json +10 -0
- package/ngx-edge-slider-workspace/projects/ngx-edge-slider/tsconfig.spec.json +14 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/app/app.component.html +11 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/app/app.component.scss +0 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/app/app.component.spec.ts +27 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/app/app.component.ts +57 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/app/app.module.ts +18 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/assets/.gitkeep +0 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/assets/slide2_desktop_1950x.webp +0 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/favicon.ico +0 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/index.html +13 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/main.ts +7 -0
- package/ngx-edge-slider-workspace/projects/test-app/src/styles.scss +1 -0
- package/ngx-edge-slider-workspace/projects/test-app/tsconfig.app.json +14 -0
- package/ngx-edge-slider-workspace/projects/test-app/tsconfig.spec.json +14 -0
- package/ngx-edge-slider-workspace/tsconfig.json +39 -0
- package/package.json +24 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Editor configuration, see https://editorconfig.org
|
|
2
|
+
root = true
|
|
3
|
+
|
|
4
|
+
[*]
|
|
5
|
+
charset = utf-8
|
|
6
|
+
indent_style = space
|
|
7
|
+
indent_size = 2
|
|
8
|
+
insert_final_newline = true
|
|
9
|
+
trim_trailing_whitespace = true
|
|
10
|
+
|
|
11
|
+
[*.ts]
|
|
12
|
+
quote_type = single
|
|
13
|
+
|
|
14
|
+
[*.md]
|
|
15
|
+
max_line_length = off
|
|
16
|
+
trim_trailing_whitespace = false
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"configurations": [
|
|
5
|
+
{
|
|
6
|
+
"name": "ng serve",
|
|
7
|
+
"type": "chrome",
|
|
8
|
+
"request": "launch",
|
|
9
|
+
"preLaunchTask": "npm: start",
|
|
10
|
+
"url": "http://localhost:4200/"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "ng test",
|
|
14
|
+
"type": "chrome",
|
|
15
|
+
"request": "launch",
|
|
16
|
+
"preLaunchTask": "npm: test",
|
|
17
|
+
"url": "http://localhost:9876/debug.html"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"tasks": [
|
|
5
|
+
{
|
|
6
|
+
"type": "npm",
|
|
7
|
+
"script": "start",
|
|
8
|
+
"isBackground": true,
|
|
9
|
+
"problemMatcher": {
|
|
10
|
+
"owner": "typescript",
|
|
11
|
+
"pattern": "$tsc",
|
|
12
|
+
"background": {
|
|
13
|
+
"activeOnStart": true,
|
|
14
|
+
"beginsPattern": {
|
|
15
|
+
"regexp": "(.*?)"
|
|
16
|
+
},
|
|
17
|
+
"endsPattern": {
|
|
18
|
+
"regexp": "bundle generation complete"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "npm",
|
|
25
|
+
"script": "test",
|
|
26
|
+
"isBackground": true,
|
|
27
|
+
"problemMatcher": {
|
|
28
|
+
"owner": "typescript",
|
|
29
|
+
"pattern": "$tsc",
|
|
30
|
+
"background": {
|
|
31
|
+
"activeOnStart": true,
|
|
32
|
+
"beginsPattern": {
|
|
33
|
+
"regexp": "(.*?)"
|
|
34
|
+
},
|
|
35
|
+
"endsPattern": {
|
|
36
|
+
"regexp": "bundle generation complete"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# NgxEdgeSliderWorkspace
|
|
2
|
+
|
|
3
|
+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.10.
|
|
4
|
+
|
|
5
|
+
## Development server
|
|
6
|
+
|
|
7
|
+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
|
|
8
|
+
|
|
9
|
+
## Code scaffolding
|
|
10
|
+
|
|
11
|
+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
|
12
|
+
|
|
13
|
+
## Build
|
|
14
|
+
|
|
15
|
+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
16
|
+
|
|
17
|
+
## Running unit tests
|
|
18
|
+
|
|
19
|
+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
20
|
+
|
|
21
|
+
## Running end-to-end tests
|
|
22
|
+
|
|
23
|
+
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
|
|
24
|
+
|
|
25
|
+
## Further help
|
|
26
|
+
|
|
27
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "projects",
|
|
5
|
+
"projects": {
|
|
6
|
+
"ngx-edge-slider": {
|
|
7
|
+
"projectType": "library",
|
|
8
|
+
"root": "projects/ngx-edge-slider",
|
|
9
|
+
"sourceRoot": "projects/ngx-edge-slider/src",
|
|
10
|
+
"prefix": "lib",
|
|
11
|
+
"architect": {
|
|
12
|
+
"build": {
|
|
13
|
+
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
14
|
+
"options": {
|
|
15
|
+
"project": "projects/ngx-edge-slider/ng-package.json"
|
|
16
|
+
},
|
|
17
|
+
"configurations": {
|
|
18
|
+
"production": {
|
|
19
|
+
"tsConfig": "projects/ngx-edge-slider/tsconfig.lib.prod.json"
|
|
20
|
+
},
|
|
21
|
+
"development": {
|
|
22
|
+
"tsConfig": "projects/ngx-edge-slider/tsconfig.lib.json"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"defaultConfiguration": "production"
|
|
26
|
+
},
|
|
27
|
+
"test": {
|
|
28
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
29
|
+
"options": {
|
|
30
|
+
"tsConfig": "projects/ngx-edge-slider/tsconfig.spec.json",
|
|
31
|
+
"polyfills": [
|
|
32
|
+
"zone.js",
|
|
33
|
+
"zone.js/testing"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"test-app": {
|
|
40
|
+
"projectType": "application",
|
|
41
|
+
"schematics": {
|
|
42
|
+
"@schematics/angular:component": {
|
|
43
|
+
"style": "scss"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"root": "projects/test-app",
|
|
47
|
+
"sourceRoot": "projects/test-app/src",
|
|
48
|
+
"prefix": "app",
|
|
49
|
+
"architect": {
|
|
50
|
+
"build": {
|
|
51
|
+
"builder": "@angular-devkit/build-angular:browser",
|
|
52
|
+
"options": {
|
|
53
|
+
"outputPath": "dist/test-app",
|
|
54
|
+
"index": "projects/test-app/src/index.html",
|
|
55
|
+
"main": "projects/test-app/src/main.ts",
|
|
56
|
+
"polyfills": [
|
|
57
|
+
"zone.js"
|
|
58
|
+
],
|
|
59
|
+
"tsConfig": "projects/test-app/tsconfig.app.json",
|
|
60
|
+
"inlineStyleLanguage": "scss",
|
|
61
|
+
"assets": [
|
|
62
|
+
"projects/test-app/src/favicon.ico",
|
|
63
|
+
"projects/test-app/src/assets"
|
|
64
|
+
],
|
|
65
|
+
"styles": [
|
|
66
|
+
"projects/test-app/src/styles.scss"
|
|
67
|
+
],
|
|
68
|
+
"scripts": []
|
|
69
|
+
},
|
|
70
|
+
"configurations": {
|
|
71
|
+
"production": {
|
|
72
|
+
"budgets": [
|
|
73
|
+
{
|
|
74
|
+
"type": "initial",
|
|
75
|
+
"maximumWarning": "500kb",
|
|
76
|
+
"maximumError": "1mb"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "anyComponentStyle",
|
|
80
|
+
"maximumWarning": "2kb",
|
|
81
|
+
"maximumError": "4kb"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"outputHashing": "all"
|
|
85
|
+
},
|
|
86
|
+
"development": {
|
|
87
|
+
"buildOptimizer": false,
|
|
88
|
+
"optimization": false,
|
|
89
|
+
"vendorChunk": true,
|
|
90
|
+
"extractLicenses": false,
|
|
91
|
+
"sourceMap": true,
|
|
92
|
+
"namedChunks": true
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"defaultConfiguration": "production"
|
|
96
|
+
},
|
|
97
|
+
"serve": {
|
|
98
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
99
|
+
"configurations": {
|
|
100
|
+
"production": {
|
|
101
|
+
"browserTarget": "test-app:build:production"
|
|
102
|
+
},
|
|
103
|
+
"development": {
|
|
104
|
+
"browserTarget": "test-app:build:development"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"defaultConfiguration": "development"
|
|
108
|
+
},
|
|
109
|
+
"extract-i18n": {
|
|
110
|
+
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
111
|
+
"options": {
|
|
112
|
+
"browserTarget": "test-app:build"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"test": {
|
|
116
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
117
|
+
"options": {
|
|
118
|
+
"polyfills": [
|
|
119
|
+
"zone.js",
|
|
120
|
+
"zone.js/testing"
|
|
121
|
+
],
|
|
122
|
+
"tsConfig": "projects/test-app/tsconfig.spec.json",
|
|
123
|
+
"inlineStyleLanguage": "scss",
|
|
124
|
+
"assets": [
|
|
125
|
+
"projects/test-app/src/favicon.ico",
|
|
126
|
+
"projects/test-app/src/assets"
|
|
127
|
+
],
|
|
128
|
+
"styles": [
|
|
129
|
+
"projects/test-app/src/styles.scss"
|
|
130
|
+
],
|
|
131
|
+
"scripts": []
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"cli": {
|
|
138
|
+
"analytics": "3ff367d4-f41c-4e31-8c12-f23793987798"
|
|
139
|
+
}
|
|
140
|
+
}
|