@onemrvapublic/design-system-demos 20.0.0-develop.11 → 20.0.0-develop.13
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/3rdpartylicenses.txt +73 -0
- package/assets/codes.json +1 -1
- package/assets/i18n/de.json +13 -15
- package/assets/i18n/en.json +13 -15
- package/assets/i18n/fr.json +14 -15
- package/assets/i18n/nl.json +13 -15
- package/assets/json/address.json +1 -1
- package/assets/json/avatar.json +1 -1
- package/assets/json/error.json +1 -1
- package/assets/json/overlay.json +1 -0
- package/main.js +1 -1
- package/package.json +1 -1
- package/styles.css +1 -1
package/3rdpartylicenses.txt
CHANGED
|
@@ -343,9 +343,82 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
343
343
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
344
344
|
|
|
345
345
|
|
|
346
|
+
marked
|
|
347
|
+
MIT
|
|
348
|
+
# License information
|
|
349
|
+
|
|
350
|
+
## Contribution License Agreement
|
|
351
|
+
|
|
352
|
+
If you contribute code to this project, you are implicitly allowing your code
|
|
353
|
+
to be distributed under the MIT license. You are also implicitly verifying that
|
|
354
|
+
all code is your original work. `</legalese>`
|
|
355
|
+
|
|
356
|
+
## Marked
|
|
357
|
+
|
|
358
|
+
Copyright (c) 2018+, MarkedJS (https://github.com/markedjs/)
|
|
359
|
+
Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)
|
|
360
|
+
|
|
361
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
362
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
363
|
+
in the Software without restriction, including without limitation the rights
|
|
364
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
365
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
366
|
+
furnished to do so, subject to the following conditions:
|
|
367
|
+
|
|
368
|
+
The above copyright notice and this permission notice shall be included in
|
|
369
|
+
all copies or substantial portions of the Software.
|
|
370
|
+
|
|
371
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
372
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
373
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
374
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
375
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
376
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
377
|
+
THE SOFTWARE.
|
|
378
|
+
|
|
379
|
+
## Markdown
|
|
380
|
+
|
|
381
|
+
Copyright © 2004, John Gruber
|
|
382
|
+
http://daringfireball.net/
|
|
383
|
+
All rights reserved.
|
|
384
|
+
|
|
385
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
386
|
+
|
|
387
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
388
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
389
|
+
* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
390
|
+
|
|
391
|
+
This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
|
|
392
|
+
|
|
393
|
+
|
|
346
394
|
ngx-highlightjs
|
|
347
395
|
MIT
|
|
348
396
|
|
|
397
|
+
ngx-markdown
|
|
398
|
+
MIT
|
|
399
|
+
MIT License
|
|
400
|
+
|
|
401
|
+
Copyright (c) 2017-2025 Jean-Francois Cere
|
|
402
|
+
|
|
403
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
404
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
405
|
+
in the Software without restriction, including without limitation the rights
|
|
406
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
407
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
408
|
+
furnished to do so, subject to the following conditions:
|
|
409
|
+
|
|
410
|
+
The above copyright notice and this permission notice shall be included in all
|
|
411
|
+
copies or substantial portions of the Software.
|
|
412
|
+
|
|
413
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
414
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
415
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
416
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
417
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
418
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
419
|
+
SOFTWARE.
|
|
420
|
+
|
|
421
|
+
|
|
349
422
|
ngx-mask
|
|
350
423
|
MIT
|
|
351
424
|
MIT License
|
package/assets/codes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
["address","address-input","autocomplete","avatar","bank-input","bce-pipe","birthplace-input","breadcrumb","button","button-loading","button-toggle","card-table","carousel","checkbox","chips","chips-input","choice-chips","copy-to-clipboard","country-input","datepicker","datepicker-luxon","datepicker-month-year","daterangepicker","dialog","dialog-content","digit-only","drag-and-drop","empty","enterprise-number-input","error","error-handler","expansion","fab","file-panel","file-upload","file-upload-manual","grid","horizontal-stepper","icon","icon-button","if-width-is","language-switcher","layout","link","mask","menu","message-box","multiselect","niss-pipe","not-found","notification","paginator","palette","panel","phone-input","pop-over","progress-bar","radio","rxjs-combine-operators","rxjs-complex-case","rxjs-flattening-operators","rxjs-observable","rxjs-subject","selectable-box","side-menu","skeleton","slide-toggle","spacing","spinner","sticker","summary-stepper","tab","table","table-dialog-content","task-list","text-input","textarea","timepicker","toast","toc","toolbar","tooltip","typography","validators","vertical-stepper"]
|
|
1
|
+
["address","address-input","autocomplete","avatar","bank-input","bce-pipe","birthplace-input","breadcrumb","button","button-loading","button-toggle","card-table","carousel","checkbox","chips","chips-input","choice-chips","copy-to-clipboard","country-input","datepicker","datepicker-luxon","datepicker-month-year","daterangepicker","dialog","dialog-content","digit-only","drag-and-drop","empty","enterprise-number-input","error","error-handler","expansion","fab","file-panel","file-upload","file-upload-manual","grid","horizontal-stepper","icon","icon-button","if-width-is","language-switcher","layout","link","mask","menu","message-box","multiselect","niss-pipe","not-found","notification","overlay","paginator","palette","panel","phone-input","pop-over","progress-bar","radio","rxjs-combine-operators","rxjs-complex-case","rxjs-flattening-operators","rxjs-observable","rxjs-subject","selectable-box","side-menu","skeleton","slide-toggle","spacing","spinner","sticker","summary-stepper","tab","table","table-dialog-content","task-list","text-input","textarea","timepicker","toast","toc","toolbar","tooltip","typography","validators","vertical-stepper"]
|
package/assets/i18n/de.json
CHANGED
|
@@ -132,21 +132,19 @@
|
|
|
132
132
|
"equilibriumThermodynamics": "Equilibrium thermodynamics",
|
|
133
133
|
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
134
134
|
},
|
|
135
|
-
"input": {
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
"hint": "Beginnen Sie mit 0 für belgische Telefonnummern"
|
|
149
|
-
}
|
|
135
|
+
"input.bank": {
|
|
136
|
+
"length": "Falsche Anzahl von Ziffern für dieses Land",
|
|
137
|
+
"checksum": "Die Bankkontonummer ist ungültig",
|
|
138
|
+
"invalid": "Feld erforderlich"
|
|
139
|
+
},
|
|
140
|
+
"input.phone": {
|
|
141
|
+
"required": "Feld erforderlich",
|
|
142
|
+
"invalid": "Ungültiges Feld",
|
|
143
|
+
"notFound": "Nicht gefunden",
|
|
144
|
+
"not.found": "Nicht gefunden",
|
|
145
|
+
"search": "Suchen",
|
|
146
|
+
"label": "Telefonnummer",
|
|
147
|
+
"hint": "Beginnen Sie mit 0 für belgische Telefonnummern"
|
|
150
148
|
},
|
|
151
149
|
"copied.to.clipboard": "In Zwischenablage kopiert",
|
|
152
150
|
"today": "Heute",
|
package/assets/i18n/en.json
CHANGED
|
@@ -132,21 +132,19 @@
|
|
|
132
132
|
"equilibriumThermodynamics": "Equilibrium thermodynamics",
|
|
133
133
|
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
134
134
|
},
|
|
135
|
-
"input": {
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
"hint": "Start with 0 for belgian phone numbers"
|
|
149
|
-
}
|
|
135
|
+
"input.bank": {
|
|
136
|
+
"length": "Incorrect number of digits for this country",
|
|
137
|
+
"checksum": "Bank account number invalid",
|
|
138
|
+
"invalid": "Field required"
|
|
139
|
+
},
|
|
140
|
+
"input.phone": {
|
|
141
|
+
"required": "Field required",
|
|
142
|
+
"invalid": "Field invalid",
|
|
143
|
+
"notFound": "Not found",
|
|
144
|
+
"not.found": "Not found",
|
|
145
|
+
"search": "Search",
|
|
146
|
+
"label": "Phone number",
|
|
147
|
+
"hint": "Start with 0 for belgian phone numbers"
|
|
150
148
|
},
|
|
151
149
|
"copied.to.clipboard": "Copied to clipboard",
|
|
152
150
|
"today": "Today",
|
package/assets/i18n/fr.json
CHANGED
|
@@ -132,21 +132,20 @@
|
|
|
132
132
|
"equilibriumThermodynamics": "Equilibrium thermodynamics",
|
|
133
133
|
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
134
134
|
},
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
135
|
+
|
|
136
|
+
"input.bank": {
|
|
137
|
+
"length": "Nombre de chiffres incorrect pour ce pays",
|
|
138
|
+
"checksum": "Le numéro de compte bancaire est invalide",
|
|
139
|
+
"invalid": "Champ requis"
|
|
140
|
+
},
|
|
141
|
+
"input.phone": {
|
|
142
|
+
"required": "Champs requis",
|
|
143
|
+
"invalid": "Champs invalide",
|
|
144
|
+
"notFound": "Introuvable",
|
|
145
|
+
"not.found": "Introuvable",
|
|
146
|
+
"search": "Rechercher",
|
|
147
|
+
"label": "Téléphone",
|
|
148
|
+
"hint": "Start with 0 for belgian phone numbers"
|
|
150
149
|
},
|
|
151
150
|
"copied.to.clipboard": "Copié dans le presse-papier",
|
|
152
151
|
"today": "Aujourd'hui",
|
package/assets/i18n/nl.json
CHANGED
|
@@ -131,21 +131,19 @@
|
|
|
131
131
|
"equilibriumThermodynamics": "Equilibrium thermodynamics",
|
|
132
132
|
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
133
133
|
},
|
|
134
|
-
"input": {
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"hint": "Begin met 0 voor Belgische telefoonnummers"
|
|
148
|
-
}
|
|
134
|
+
"input.bank": {
|
|
135
|
+
"length": "Onjuist aantal cijfers voor dit land",
|
|
136
|
+
"checksum": "Bankrekeningnummer is ongeldig",
|
|
137
|
+
"invalid": "Veld verplicht"
|
|
138
|
+
},
|
|
139
|
+
"input.phone": {
|
|
140
|
+
"required": "Veld vereist",
|
|
141
|
+
"invalid": "Ongeldig veld",
|
|
142
|
+
"notFound": "Niet gevonden",
|
|
143
|
+
"not.found": "Niet gevonden",
|
|
144
|
+
"search": "Zoeken",
|
|
145
|
+
"label": "Telefoonnummer",
|
|
146
|
+
"hint": "Begin met 0 voor Belgische telefoonnummers"
|
|
149
147
|
},
|
|
150
148
|
"copied.to.clipboard": "Naar klembord gekopieerd",
|
|
151
149
|
"today": "Vandaag",
|
package/assets/json/address.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"address.html":"<onemrva-address
|
|
1
|
+
{"address.html":"<onemrva-address (update)=\"onUpdate($event)\" />\n","address.ts":"import { Component } from '@angular/core';\nimport { OnemRvaAddress } from '@onemrvapublic/design-system/mat-address';\n\n@Component({\n selector: 'app-demo-address',\n imports: [OnemRvaAddress],\n templateUrl: './address.html',\n standalone: true,\n})\nexport class DemoAddress {\n onUpdate(val: any) {\n console.log('val - ', val);\n }\n}\n"}
|
package/assets/json/avatar.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"demo-avatar.component.html":"<onemrva-mat-avatar\n [initials]=\"initials\"\n [size]=\"size\"\n [src]=\"src\"\n [icon]=\"icon\"\n [color]=\"color\"\n></onemrva-mat-avatar>\n","demo-avatar.component.ts":"import { Component, ViewEncapsulation, Input } from '@angular/core';\nimport {
|
|
1
|
+
{"demo-avatar.component.html":"<onemrva-mat-avatar\n [initials]=\"initials\"\n [size]=\"size\"\n [src]=\"src\"\n [icon]=\"icon\"\n [color]=\"color\"\n></onemrva-mat-avatar>\n","demo-avatar.component.ts":"import { Component, ViewEncapsulation, Input } from '@angular/core';\nimport {\n OnemrvaMatAvatarModule,\n OnemRvaSizeDirective,\n} from '@onemrvapublic/design-system';\nimport { OnemRvaColorDirective } from '@onemrvapublic/design-system/shared';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\nimport { DemoComponentBase } from '../../_demo/demo-component-base';\n\n@Component({\n selector: 'app-demo-avatar',\n templateUrl: 'demo-avatar.component.html',\n standalone: true,\n imports: [\n OnemrvaMatAvatarModule,\n OnemRvaColorDirective,\n OnemRvaSizeDirective,\n ],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DemoAvatarComponent extends DemoComponentBase {\n @Input() initials = 'TC';\n @Input() size: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall' = 'medium';\n @Input() src = '';\n @Input() icon = '';\n @Input() color: OnemrvaMatColor = 'accent';\n}\n"}
|
package/assets/json/error.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"demo-error.component.html":"<page-error [code]=\"code\">\n <page-error-action
|
|
1
|
+
{"demo-error.component.html":"<page-error [code]=\"code\">\n <page-error-action> Custom action </page-error-action>\n</page-error>\n","demo-error.component.ts":"import { Component, Input, input, ViewEncapsulation } from '@angular/core';\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\n\nimport { CommonModule } from '@angular/common';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatButtonModule } from '@angular/material/button';\nimport {\n PageErrorActionComponent,\n PageErrorComponent,\n} from '@onemrvapublic/design-system/page-error';\nimport { DemoComponentBase } from '../../_demo/demo-component-base';\n\n@Component({\n selector: 'app-demo-error',\n standalone: true,\n imports: [\n CommonModule,\n MatFormFieldModule,\n MatIconModule,\n ReactiveFormsModule,\n TranslateModule,\n MatInputModule,\n MatButtonModule,\n PageErrorComponent,\n PageErrorActionComponent,\n ],\n\n templateUrl: 'demo-error.component.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class DemoErrorComponent extends DemoComponentBase {\n @Input()\n code = 500;\n}\n","readme.md":"# Installation\n\n```bash\nnpm install --save @onemrvapublic/theme\nnpm install --save @onemrvapublic/design-system\n```\n\nIn angular.json, add the following configuration in projects/(projectName)/architect/build/options/assets:\n\n```\n {\n \"glob\": \"**/*\",\n \"input\": \"node_modules/@onemrvapublic/design-system/page-not-found/assets\",\n \"output\": \"/assets/\"\n }\n```\n\nIn style.scss:\n\n```scss\n@use '@onemrvapublic/theme' as theme;\n@use '@onemrvapublic/design-system' as onemrvaMat;\n\n@include theme.reset();\n\n.onemrva-theme {\n @include theme.onemrva();\n @include onemrvaMat.pageNotFound(theme.$onemrva-theme);\n}\n```\n\n# Changelog\n\n## 14.1.651\n\nFix background shape\n\n## 14.1.604\n\nMigration from @onemrvapublic/core to @onemrvapublic/design-system\n\n## 14.1.512\n\nDraft version\n"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"demo-overlay.component.html":"<!-- This button triggers the overlay and is it's origin -->\n<button (click)=\"isOpen = !isOpen\" type=\"button\">\n {{ isOpen ? 'Close' : 'Open' }}\n</button>\n\n<!-- This template displays the overlay content and is connected to the button -->\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOpen]=\"isOpen\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n (backdropClick)=\"isOpen = false\"\n (detach)=\"isOpen = false\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayPositions]=\"[\n {\n originX: 'center',\n originY: 'center',\n overlayX: 'center',\n overlayY: 'center',\n },\n ]\"\n>\n <onemrva-mat-spinner></onemrva-mat-spinner>\n</ng-template>\n<span\n #origin=\"cdkOverlayOrigin\"\n cdkOverlayOrigin\n style=\"position: fixed; top: 50%; left: 50%; height: 0; width: 0\"\n></span>\n","demo-overlay.component.ts":"import { Component, ViewEncapsulation } from '@angular/core';\nimport { DemoComponentBase } from '../../_demo/demo-component-base';\nimport { OnemrvaMatSpinnerComponent } from '@onemrvapublic/design-system';\nimport { OverlayModule } from '@angular/cdk/overlay';\n\n@Component({\n selector: 'app-demo-overlay',\n templateUrl: './demo-overlay.component.html',\n\n standalone: true,\n imports: [OnemrvaMatSpinnerComponent, OverlayModule],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DemoOverlayComponent extends DemoComponentBase {\n isOpen = false;\n\n protected readonly OverlayModule = OverlayModule;\n}\n"}
|