valtech-components 1.11.75 → 2.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.
- package/README.md +5 -84
- package/ng-package.json +7 -0
- package/package.json +4 -28
- package/src/lib/valtech-components.component.spec.ts +23 -0
- package/src/lib/valtech-components.component.ts +16 -0
- package/src/lib/valtech-components.service.spec.ts +16 -0
- package/src/lib/valtech-components.service.ts +9 -0
- package/src/public-api.ts +6 -0
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/LICENSE +0 -21
- package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +0 -31
- package/esm2022/lib/components/atoms/box/box.component.mjs +0 -32
- package/esm2022/lib/components/atoms/button/button.component.mjs +0 -34
- package/esm2022/lib/components/atoms/button/factory.mjs +0 -217
- package/esm2022/lib/components/atoms/button/types.mjs +0 -2
- package/esm2022/lib/components/atoms/display/display.component.mjs +0 -20
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +0 -24
- package/esm2022/lib/components/atoms/href/href.component.mjs +0 -32
- package/esm2022/lib/components/atoms/href/types.mjs +0 -2
- package/esm2022/lib/components/atoms/icon/icon.component.mjs +0 -23
- package/esm2022/lib/components/atoms/image/image.component.mjs +0 -23
- package/esm2022/lib/components/atoms/image/types.mjs +0 -2
- package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +0 -32
- package/esm2022/lib/components/atoms/text/text.component.mjs +0 -24
- package/esm2022/lib/components/atoms/title/title.component.mjs +0 -20
- package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +0 -31
- package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +0 -36
- package/esm2022/lib/components/molecules/card/card.component.mjs +0 -33
- package/esm2022/lib/components/molecules/card/types.mjs +0 -16
- package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +0 -14
- package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +0 -19
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +0 -27
- package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +0 -20
- package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +0 -19
- package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +0 -37
- package/esm2022/lib/components/molecules/hint/hint.component.mjs +0 -29
- package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +0 -19
- package/esm2022/lib/components/molecules/link/link.component.mjs +0 -27
- package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +0 -24
- package/esm2022/lib/components/molecules/no-content/no-content.component.mjs +0 -24
- package/esm2022/lib/components/molecules/no-content/types.mjs +0 -2
- package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +0 -29
- package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +0 -19
- package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +0 -21
- package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +0 -39
- package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +0 -34
- package/esm2022/lib/components/molecules/progress-status/types.mjs +0 -2
- package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +0 -27
- package/esm2022/lib/components/molecules/prompter/types.mjs +0 -2
- package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +0 -20
- package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +0 -35
- package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +0 -20
- package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +0 -26
- package/esm2022/lib/components/molecules/title-block/types.mjs +0 -2
- package/esm2022/lib/components/organisms/banner/banner.component.mjs +0 -32
- package/esm2022/lib/components/organisms/banner/types.mjs +0 -2
- package/esm2022/lib/components/organisms/footer/footer.component.mjs +0 -25
- package/esm2022/lib/components/organisms/footer/types.mjs +0 -2
- package/esm2022/lib/components/organisms/form/factory.mjs +0 -8
- package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +0 -36
- package/esm2022/lib/components/organisms/form/form.component.mjs +0 -83
- package/esm2022/lib/components/organisms/header/header.component.mjs +0 -24
- package/esm2022/lib/components/organisms/header/types.mjs +0 -2
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +0 -44
- package/esm2022/lib/components/organisms/toolbar/types.mjs +0 -8
- package/esm2022/lib/components/organisms/wizard/types.mjs +0 -7
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +0 -57
- package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +0 -72
- package/esm2022/lib/components/types.mjs +0 -29
- package/esm2022/lib/services/download.service.mjs +0 -63
- package/esm2022/lib/services/lang-provider/components/lang-settings.mjs +0 -13
- package/esm2022/lib/services/lang-provider/components/theme-settings.mjs +0 -15
- package/esm2022/lib/services/lang-provider/content.mjs +0 -8
- package/esm2022/lib/services/lang-provider/lang-provider.service.mjs +0 -39
- package/esm2022/lib/services/lang-provider/types.mjs +0 -14
- package/esm2022/lib/services/local-storage.service.mjs +0 -16
- package/esm2022/lib/services/theme.service.mjs +0 -97
- package/esm2022/lib/shared/constants/storage.mjs +0 -3
- package/esm2022/lib/shared/utils/dom.mjs +0 -17
- package/esm2022/lib/valtech-components.module.mjs +0 -239
- package/esm2022/public-api.mjs +0 -68
- package/esm2022/valtech-components.mjs +0 -5
- package/fesm2022/valtech-components.mjs +0 -1813
- package/fesm2022/valtech-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/atoms/avatar/avatar.component.d.ts +0 -14
- package/lib/components/atoms/box/box.component.d.ts +0 -15
- package/lib/components/atoms/button/button.component.d.ts +0 -20
- package/lib/components/atoms/button/factory.d.ts +0 -71
- package/lib/components/atoms/button/types.d.ts +0 -22
- package/lib/components/atoms/display/display.component.d.ts +0 -12
- package/lib/components/atoms/divider/divider.component.d.ts +0 -11
- package/lib/components/atoms/href/href.component.d.ts +0 -15
- package/lib/components/atoms/href/types.d.ts +0 -9
- package/lib/components/atoms/icon/icon.component.d.ts +0 -12
- package/lib/components/atoms/image/image.component.d.ts +0 -12
- package/lib/components/atoms/image/types.d.ts +0 -11
- package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +0 -15
- package/lib/components/atoms/text/text.component.d.ts +0 -13
- package/lib/components/atoms/title/title.component.d.ts +0 -12
- package/lib/components/molecules/alert-box/alert-box.component.d.ts +0 -14
- package/lib/components/molecules/button-group/button-group.component.d.ts +0 -15
- package/lib/components/molecules/card/card.component.d.ts +0 -16
- package/lib/components/molecules/card/types.d.ts +0 -33
- package/lib/components/molecules/check-input/check-input.component.d.ts +0 -8
- package/lib/components/molecules/comment-input/comment-input.component.d.ts +0 -12
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +0 -13
- package/lib/components/molecules/date-input/date-input.component.d.ts +0 -12
- package/lib/components/molecules/email-input/email-input.component.d.ts +0 -12
- package/lib/components/molecules/file-input/file-input.component.d.ts +0 -18
- package/lib/components/molecules/hint/hint.component.d.ts +0 -13
- package/lib/components/molecules/hour-input/hour-input.component.d.ts +0 -12
- package/lib/components/molecules/link/link.component.d.ts +0 -14
- package/lib/components/molecules/links-cake/links-cake.component.d.ts +0 -12
- package/lib/components/molecules/no-content/no-content.component.d.ts +0 -12
- package/lib/components/molecules/no-content/types.d.ts +0 -6
- package/lib/components/molecules/notes-box/notes-box.component.d.ts +0 -14
- package/lib/components/molecules/number-input/number-input.component.d.ts +0 -12
- package/lib/components/molecules/password-input/password-input.component.d.ts +0 -13
- package/lib/components/molecules/pin-input/pin-input.component.d.ts +0 -17
- package/lib/components/molecules/progress-status/progress-status.component.d.ts +0 -14
- package/lib/components/molecules/progress-status/types.d.ts +0 -10
- package/lib/components/molecules/prompter/prompter.component.d.ts +0 -12
- package/lib/components/molecules/prompter/types.d.ts +0 -11
- package/lib/components/molecules/radio-input/radio-input.component.d.ts +0 -12
- package/lib/components/molecules/searchbar/searchbar.component.d.ts +0 -14
- package/lib/components/molecules/text-input/text-input.component.d.ts +0 -12
- package/lib/components/molecules/title-block/title-block.component.d.ts +0 -13
- package/lib/components/molecules/title-block/types.d.ts +0 -11
- package/lib/components/organisms/banner/banner.component.d.ts +0 -14
- package/lib/components/organisms/banner/types.d.ts +0 -11
- package/lib/components/organisms/footer/footer.component.d.ts +0 -12
- package/lib/components/organisms/footer/types.d.ts +0 -6
- package/lib/components/organisms/form/factory.d.ts +0 -5
- package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +0 -16
- package/lib/components/organisms/form/form.component.d.ts +0 -23
- package/lib/components/organisms/header/header.component.d.ts +0 -12
- package/lib/components/organisms/header/types.d.ts +0 -6
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +0 -20
- package/lib/components/organisms/toolbar/types.d.ts +0 -24
- package/lib/components/organisms/wizard/types.d.ts +0 -21
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +0 -21
- package/lib/components/organisms/wizard/wizard.component.d.ts +0 -22
- package/lib/components/types.d.ts +0 -78
- package/lib/services/download.service.d.ts +0 -8
- package/lib/services/lang-provider/components/lang-settings.d.ts +0 -3
- package/lib/services/lang-provider/components/theme-settings.d.ts +0 -3
- package/lib/services/lang-provider/content.d.ts +0 -6
- package/lib/services/lang-provider/lang-provider.service.d.ts +0 -16
- package/lib/services/lang-provider/types.d.ts +0 -18
- package/lib/services/local-storage.service.d.ts +0 -6
- package/lib/services/theme.service.d.ts +0 -27
- package/lib/shared/constants/storage.d.ts +0 -2
- package/lib/shared/utils/dom.d.ts +0 -3
- package/lib/valtech-components.module.d.ts +0 -60
- package/public-api.d.ts +0 -64
- package/src/lib/components/styles/functions.scss +0 -20
- package/src/lib/components/styles/media-queries.scss +0 -66
- package/src/lib/components/styles/mixins.scss +0 -66
- package/src/lib/components/styles/overrides.scss +0 -158
- package/src/lib/components/styles/typography.scss +0 -189
- package/src/lib/components/styles/variables.scss +0 -82
- package/styles/overrides.scss +0 -1
- package/styles/utils.scss +0 -5
package/README.md
CHANGED
|
@@ -1,103 +1,24 @@
|
|
|
1
1
|
# ValtechComponents
|
|
2
2
|
|
|
3
|
-
ValtechComponents is a set of reusable components designed for Ionic and Angular projects. These components are crafted to enhance development efficiency by providing ready-to-use solutions for a variety of applications.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
To start using ValtechComponents in your Ionic or Angular project, simply follow these steps:
|
|
8
|
-
|
|
9
|
-
Install the package from npm:
|
|
10
|
-
```
|
|
11
|
-
npm install @valtech/components
|
|
12
|
-
```
|
|
13
|
-
Import the necessary component modules into your main module:
|
|
14
|
-
|
|
15
|
-
``` ts
|
|
16
|
-
import { NgModule } from '@angular/core';
|
|
17
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
18
|
-
import { IonicModule } from '@ionic/angular';
|
|
19
|
-
import { ValtechComponentsModule } from '@valtech/components';
|
|
20
|
-
|
|
21
|
-
@NgModule({
|
|
22
|
-
declarations: [AppComponent],
|
|
23
|
-
imports: [BrowserModule, IonicModule.forRoot(), ValtechComponentsModule],
|
|
24
|
-
bootstrap: [AppComponent],
|
|
25
|
-
})
|
|
26
|
-
export class AppModule {}
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Use the components in your Angular or Ionic templates as you would with any other component.
|
|
30
|
-
Available Components
|
|
31
|
-
|
|
32
|
-
## List of components
|
|
33
|
-
|
|
34
|
-
- CustomCardComponent
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Each component comes with detailed documentation on how to use it and what input properties or events it supports.
|
|
38
|
-
|
|
39
|
-
## Versioning
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
npm version patch
|
|
44
|
-
npm version minor
|
|
45
|
-
npm version mayor
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## Contribution
|
|
50
|
-
|
|
51
|
-
We welcome contributions! If you'd like to contribute to ValtechComponents, please follow these steps:
|
|
52
|
-
|
|
53
|
-
Fork the repository.
|
|
54
|
-
Create a branch with a descriptive name (git checkout -b my-new-feature).
|
|
55
|
-
Make your changes and ensure tests pass.
|
|
56
|
-
Commit your changes (git commit -am 'Add new feature').
|
|
57
|
-
Push to the branch (git push origin my-new-feature).
|
|
58
|
-
Create a new pull request.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## Support
|
|
62
|
-
If you need help or have any questions about using ValtechComponents, please create an issue on the repository or contact us directly.
|
|
63
|
-
|
|
64
|
-
## License
|
|
65
|
-
|
|
66
|
-
This project is licensed under the MIT License. For more details, please see the LICENSE file.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
# Components development
|
|
71
|
-
|
|
72
|
-
|
|
73
3
|
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
|
|
74
4
|
|
|
75
5
|
## Code scaffolding
|
|
76
6
|
|
|
77
|
-
Run `ng generate component component-name --project components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project components`.
|
|
78
|
-
> Note: Don't forget to add `--project components` or else it will be added to the default project in your `angular.json` file.
|
|
7
|
+
Run `ng generate component component-name --project valtech-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project valtech-components`.
|
|
8
|
+
> Note: Don't forget to add `--project valtech-components` or else it will be added to the default project in your `angular.json` file.
|
|
79
9
|
|
|
80
10
|
## Build
|
|
81
11
|
|
|
82
|
-
Run `ng build components` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
12
|
+
Run `ng build valtech-components` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
83
13
|
|
|
84
14
|
## Publishing
|
|
85
15
|
|
|
86
|
-
After building your library with `ng build components`, go to the dist folder `cd dist/components` and run `npm publish`.
|
|
16
|
+
After building your library with `ng build valtech-components`, go to the dist folder `cd dist/valtech-components` and run `npm publish`.
|
|
87
17
|
|
|
88
18
|
## Running unit tests
|
|
89
19
|
|
|
90
|
-
Run `ng test components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
20
|
+
Run `ng test valtech-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
91
21
|
|
|
92
22
|
## Further help
|
|
93
23
|
|
|
94
24
|
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.
|
|
95
|
-
|
|
96
|
-
## NPM config
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
npm config set //registry.npmjs.org/:_authToken TU_TOKEN
|
|
101
|
-
npm login --auth-type=legacy
|
|
102
|
-
```
|
|
103
|
-
|
package/ng-package.json
ADDED
package/package.json
CHANGED
|
@@ -1,36 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valtech-components",
|
|
3
|
-
"version": "
|
|
4
|
-
"repository": {
|
|
5
|
-
"type": "git",
|
|
6
|
-
"url": "git+https://github.com/solucionesvaltech/valtech-workspace.git"
|
|
7
|
-
},
|
|
8
|
-
"bug": {
|
|
9
|
-
"url": "https://github.com/solucionesvaltech/valtech-workspace/issues"
|
|
10
|
-
},
|
|
3
|
+
"version": "2.0.1",
|
|
11
4
|
"peerDependencies": {
|
|
12
5
|
"@angular/common": "^17.3.0",
|
|
13
|
-
"@angular/core": "^17.3.0"
|
|
14
|
-
"@ionic/angular": "^7.8.0",
|
|
15
|
-
"rxjs": "~7.8.0",
|
|
16
|
-
"ng-otp-input": "^1.9.3"
|
|
6
|
+
"@angular/core": "^17.3.0"
|
|
17
7
|
},
|
|
18
|
-
"license": "MIT",
|
|
19
8
|
"dependencies": {
|
|
20
9
|
"tslib": "^2.3.0"
|
|
21
10
|
},
|
|
22
|
-
"sideEffects": false
|
|
23
|
-
|
|
24
|
-
"typings": "index.d.ts",
|
|
25
|
-
"exports": {
|
|
26
|
-
"./package.json": {
|
|
27
|
-
"default": "./package.json"
|
|
28
|
-
},
|
|
29
|
-
".": {
|
|
30
|
-
"types": "./index.d.ts",
|
|
31
|
-
"esm2022": "./esm2022/valtech-components.mjs",
|
|
32
|
-
"esm": "./esm2022/valtech-components.mjs",
|
|
33
|
-
"default": "./fesm2022/valtech-components.mjs"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
11
|
+
"sideEffects": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { ValtechComponentsComponent } from './valtech-components.component';
|
|
4
|
+
|
|
5
|
+
describe('ValtechComponentsComponent', () => {
|
|
6
|
+
let component: ValtechComponentsComponent;
|
|
7
|
+
let fixture: ComponentFixture<ValtechComponentsComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [ValtechComponentsComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(ValtechComponentsComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'lib-valtech-components',
|
|
5
|
+
standalone: true,
|
|
6
|
+
imports: [],
|
|
7
|
+
template: `
|
|
8
|
+
<p>
|
|
9
|
+
valtech-components works!
|
|
10
|
+
</p>
|
|
11
|
+
`,
|
|
12
|
+
styles: ``
|
|
13
|
+
})
|
|
14
|
+
export class ValtechComponentsComponent {
|
|
15
|
+
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { ValtechComponentsService } from './valtech-components.service';
|
|
4
|
+
|
|
5
|
+
describe('ValtechComponentsService', () => {
|
|
6
|
+
let service: ValtechComponentsService;
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
TestBed.configureTestingModule({});
|
|
10
|
+
service = TestBed.inject(ValtechComponentsService);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('should be created', () => {
|
|
14
|
+
expect(service).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/lib",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"inlineSources": true,
|
|
9
|
+
"types": []
|
|
10
|
+
},
|
|
11
|
+
"exclude": [
|
|
12
|
+
"**/*.spec.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"**/*.spec.ts",
|
|
12
|
+
"**/*.d.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 VALTECH LTDA.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@ionic/angular";
|
|
4
|
-
export class AvatarComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.size = 'medium';
|
|
7
|
-
this.box = false;
|
|
8
|
-
this.onClick = new EventEmitter();
|
|
9
|
-
}
|
|
10
|
-
ngOnInit() { }
|
|
11
|
-
onClickHandler() {
|
|
12
|
-
this.onClick.emit();
|
|
13
|
-
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: AvatarComponent, selector: "val-avatar", inputs: { image: "image", default: "default", size: "size", box: "box" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ion-avatar [class]=\"size\" [class.box]=\"box\" (click)=\"onClickHandler()\">\n <img alt=\"profile image\" [src]=\"image || default\" />\n</ion-avatar>\n", styles: [".box{--border-radius: pxToRem(4)}.small{width:1.75rem;height:1.75rem}.medium{width:2.375rem;height:2.375rem}.large{width:3rem;height:3rem}\n"], dependencies: [{ kind: "component", type: i1.IonAvatar, selector: "ion-avatar" }] }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
18
|
-
type: Component,
|
|
19
|
-
args: [{ selector: 'val-avatar', template: "<ion-avatar [class]=\"size\" [class.box]=\"box\" (click)=\"onClickHandler()\">\n <img alt=\"profile image\" [src]=\"image || default\" />\n</ion-avatar>\n", styles: [".box{--border-radius: pxToRem(4)}.small{width:1.75rem;height:1.75rem}.medium{width:2.375rem;height:2.375rem}.large{width:3rem;height:3rem}\n"] }]
|
|
20
|
-
}], ctorParameters: () => [], propDecorators: { image: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], default: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}], size: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}], box: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], onClick: [{
|
|
29
|
-
type: Output
|
|
30
|
-
}] } });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvYXRvbXMvYXZhdGFyL2F2YXRhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0ZWNoLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbn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zIE9uSW5pdCB7XG4gIEBJbnB1dCgpXG4gIGltYWdlOiBzdHJpbmc7XG4gIEBJbnB1dCgpXG4gIGRlZmF1bHQ6IHN0cmluZztcbiAgQElucHV0KClcbiAgc2l6ZTogJ3NtYWxsJyB8ICdtZWRpdW0nIHwgJ2xhcmdlJyA9ICdtZWRpdW0nO1xuICBASW5wdXQoKVxuICBib3g6IGJvb2xlYW4gPSBmYWxzZTtcblxuICBAT3V0cHV0KClcbiAgb25DbGljayA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcblxuICBjb25zdHJ1Y3RvcigpIHt9XG5cbiAgbmdPbkluaXQoKSB7fVxuXG4gIG9uQ2xpY2tIYW5kbGVyKCkge1xuICAgIHRoaXMub25DbGljay5lbWl0KCk7XG4gIH1cbn1cbiIsIjxpb24tYXZhdGFyIFtjbGFzc109XCJzaXplXCIgW2NsYXNzLmJveF09XCJib3hcIiAoY2xpY2spPVwib25DbGlja0hhbmRsZXIoKVwiPlxuICA8aW1nIGFsdD1cInByb2ZpbGUgaW1hZ2VcIiBbc3JjXT1cImltYWdlIHx8IGRlZmF1bHRcIiAvPlxuPC9pb24tYXZhdGFyPlxuIl19
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@ionic/angular";
|
|
5
|
-
export class BoxComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.bordered = false;
|
|
8
|
-
this.leftBorder = false;
|
|
9
|
-
this.onClick = new EventEmitter();
|
|
10
|
-
}
|
|
11
|
-
ngOnInit() { }
|
|
12
|
-
clickHandler() {
|
|
13
|
-
this.onClick.emit();
|
|
14
|
-
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: BoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: BoxComponent, selector: "val-box", inputs: { color: "color", icon: "icon", bordered: "bordered", leftBorder: "leftBorder" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ion-card class=\"box\" [color]=\"color\" [class.bordered]=\"bordered\" [class.transparent]=\"!color\"[class.left-border]=\"leftBorder\">\n <ion-icon *ngIf=\"!!icon\" class=\"icon\" [name]=\"icon\" (click)=\"clickHandler()\"></ion-icon>\n <ng-content select=\"[body]\"></ng-content>\n</ion-card>\n", styles: [".bordered{border:.0625rem solid var(--ion-color-medium)}.box{width:100%;margin:0rem;border-radius:0rem;box-shadow:none;padding:.25rem}@media (min-width: 768px){.box{padding:.5rem}}.icon{cursor:pointer;margin:0rem;padding:0rem;position:absolute;right:.25rem;top:.25rem;font-size:1rem}@media (min-width: 768px){.icon{right:.5rem;top:.5rem;font-size:1.5rem}}.left-border{border-left:.1875rem solid #dde3ed}.left-border.small{border-width:.1875rem}.left-border.medium{border-width:.375rem}.left-border.large{border-width:.4375rem}.left-border.xlarge{border-width:.5rem}.transparent{--background: transparent}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }] }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: BoxComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'val-box', template: "<ion-card class=\"box\" [color]=\"color\" [class.bordered]=\"bordered\" [class.transparent]=\"!color\"[class.left-border]=\"leftBorder\">\n <ion-icon *ngIf=\"!!icon\" class=\"icon\" [name]=\"icon\" (click)=\"clickHandler()\"></ion-icon>\n <ng-content select=\"[body]\"></ng-content>\n</ion-card>\n", styles: [".bordered{border:.0625rem solid var(--ion-color-medium)}.box{width:100%;margin:0rem;border-radius:0rem;box-shadow:none;padding:.25rem}@media (min-width: 768px){.box{padding:.5rem}}.icon{cursor:pointer;margin:0rem;padding:0rem;position:absolute;right:.25rem;top:.25rem;font-size:1rem}@media (min-width: 768px){.icon{right:.5rem;top:.5rem;font-size:1.5rem}}.left-border{border-left:.1875rem solid #dde3ed}.left-border.small{border-width:.1875rem}.left-border.medium{border-width:.375rem}.left-border.large{border-width:.4375rem}.left-border.xlarge{border-width:.5rem}.transparent{--background: transparent}\n"] }]
|
|
21
|
-
}], ctorParameters: () => [], propDecorators: { color: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}], icon: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], bordered: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], leftBorder: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], onClick: [{
|
|
30
|
-
type: Output
|
|
31
|
-
}] } });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm94LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvYXRvbXMvYm94L2JveC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0ZWNoLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2F0b21zL2JveC9ib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVM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c3RyaW5nO1xuICBASW5wdXQoKVxuICBib3JkZXJlZDogYm9vbGVhbiA9IGZhbHNlO1xuICBASW5wdXQoKVxuICBsZWZ0Qm9yZGVyOiBib29sZWFuID0gZmFsc2U7XG4gIFxuICBAT3V0cHV0KClcbiAgb25DbGljayA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKSB7fVxuXG4gIGNsaWNrSGFuZGxlcigpIHtcbiAgICB0aGlzLm9uQ2xpY2suZW1pdCgpO1xuICB9XG59XG4iLCI8aW9uLWNhcmQgY2xhc3M9XCJib3hcIiBbY29sb3JdPVwiY29sb3JcIiBbY2xhc3MuYm9yZGVyZWRdPVwiYm9yZGVyZWRcIiBbY2xhc3MudHJhbnNwYXJlbnRdPVwiIWNvbG9yXCJbY2xhc3MubGVmdC1ib3JkZXJdPVwibGVmdEJvcmRlclwiPlxuICA8aW9uLWljb24gKm5nSWY9XCIhIWljb25cIiBjbGFzcz1cImljb25cIiBbbmFtZV09XCJpY29uXCIgKGNsaWNrKT1cImNsaWNrSGFuZGxlcigpXCI+PC9pb24taWNvbj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2JvZHldXCI+PC9uZy1jb250ZW50PlxuPC9pb24tY2FyZD5cbiJdfQ==
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { ComponentStates } from '../../types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../services/download.service";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "@ionic/angular";
|
|
7
|
-
export class ButtonComponent {
|
|
8
|
-
constructor(download) {
|
|
9
|
-
this.download = download;
|
|
10
|
-
this.states = ComponentStates;
|
|
11
|
-
this.onClick = new EventEmitter();
|
|
12
|
-
}
|
|
13
|
-
ngOnInit() { }
|
|
14
|
-
clickHandler() {
|
|
15
|
-
if (this.props.download) {
|
|
16
|
-
this.download.downloadLinkFromBrowser(this.props.download);
|
|
17
|
-
}
|
|
18
|
-
if (this.props.state === this.states.DISABLED) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
this.onClick.emit(this.props.token);
|
|
22
|
-
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, deps: [{ token: i1.DownloadService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: ButtonComponent, selector: "val-button", inputs: { props: "props" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n [disabled]=\"props.state === states.DISABLED\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n", styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif;margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i3.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i3.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }, { kind: "component", type: i3.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{ selector: 'val-button', template: "<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n [disabled]=\"props.state === states.DISABLED\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n", styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif;margin:0}\n"] }]
|
|
29
|
-
}], ctorParameters: () => [{ type: i1.DownloadService }], propDecorators: { props: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], onClick: [{
|
|
32
|
-
type: Output
|
|
33
|
-
}] } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvYXRvbXMvYnV0dG9uL2J1dHRvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0ZWNoLWNvbXBvbmVudHMvc3JjL2xpYi9jb21w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