@jm-7c3/common-lib 22.1.0 → 22.2.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/README.md +30 -3
- package/fesm2022/jm-7c3-common-lib.mjs +114 -95
- package/fesm2022/jm-7c3-common-lib.mjs.map +1 -1
- package/jm-7c3-common-lib-22.2.0.tgz +0 -0
- package/package.json +9 -3
- package/styles.css +2 -0
- package/types/jm-7c3-common-lib.d.ts +13 -3
- package/jm-7c3-common-lib-22.1.0.tgz +0 -0
package/package.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jm-7c3/common-lib",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.2.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "^22.0.4",
|
|
6
6
|
"@angular/common": "^22.0.5",
|
|
7
7
|
"@angular/core": "^22.0.5",
|
|
8
8
|
"@angular/material": "^22.0.4",
|
|
9
9
|
"@ngrx/signals": "^21.1.1",
|
|
10
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
10
11
|
"lodash-es": "^4.18.1",
|
|
12
|
+
"postcss": "^8.5.16",
|
|
11
13
|
"primeflex": "^4.0.0",
|
|
12
14
|
"primeicons": "^7.0.0",
|
|
13
15
|
"primeng": "^21.1.9",
|
|
16
|
+
"tailwindcss": "^4.3.2",
|
|
14
17
|
"uuid": "^14.0.1"
|
|
15
18
|
},
|
|
16
19
|
"dependencies": {
|
|
@@ -21,9 +24,10 @@
|
|
|
21
24
|
"type": "git",
|
|
22
25
|
"url": "https://github.com/jm-7c3/ngx-common-library.git"
|
|
23
26
|
},
|
|
24
|
-
"module": "fesm2022/jm-7c3-common-lib.mjs",
|
|
25
|
-
"typings": "types/jm-7c3-common-lib.d.ts",
|
|
26
27
|
"exports": {
|
|
28
|
+
"./styles.css": {
|
|
29
|
+
"styles": "./styles.css"
|
|
30
|
+
},
|
|
27
31
|
"./package.json": {
|
|
28
32
|
"default": "./package.json"
|
|
29
33
|
},
|
|
@@ -32,5 +36,7 @@
|
|
|
32
36
|
"default": "./fesm2022/jm-7c3-common-lib.mjs"
|
|
33
37
|
}
|
|
34
38
|
},
|
|
39
|
+
"module": "fesm2022/jm-7c3-common-lib.mjs",
|
|
40
|
+
"typings": "types/jm-7c3-common-lib.d.ts",
|
|
35
41
|
"type": "module"
|
|
36
42
|
}
|
package/styles.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-300:oklch(87.2% .01 258.338);--spacing:.25rem;--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-3{margin-right:calc(var(--spacing) * 3)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.block{display:block}.flex{display:flex}.hidden{display:none}.w-4{width:calc(var(--spacing) * 4)}.rounded-lg{border-radius:var(--radius-lg)}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-gray-300{border-color:var(--color-gray-300)}.p-5{padding:calc(var(--spacing) * 5)}.text-right{text-align:right}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.\[x\:string\]{x:string}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, AfterViewInit, Type, OnDestroy, ElementRef, InjectionToken } from '@angular/core';
|
|
2
|
+
import { OnInit, AfterViewInit, Type, OnDestroy, TemplateRef, ElementRef, InjectionToken } from '@angular/core';
|
|
3
3
|
import { Observable, Subscription } from 'rxjs';
|
|
4
4
|
import { UntypedFormGroup, FormGroup, ControlValueAccessor, Validator, FormArray, FormControl, AbstractControl, ValidationErrors, FormControlName } from '@angular/forms';
|
|
5
5
|
import { MatDialogConfig } from '@angular/material/dialog';
|
|
@@ -212,6 +212,16 @@ declare class MatFormDialogService {
|
|
|
212
212
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<MatFormDialogService>;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
+
type PanelTemplate = TemplateRef<any> | undefined;
|
|
216
|
+
declare class PanelComponent {
|
|
217
|
+
protected readonly contentTemplate: _angular_core.Signal<PanelTemplate>;
|
|
218
|
+
protected readonly footerTemplate: _angular_core.Signal<PanelTemplate>;
|
|
219
|
+
protected readonly headerTemplate: _angular_core.Signal<PanelTemplate>;
|
|
220
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
221
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PanelComponent, never>;
|
|
222
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PanelComponent, "cl-panel", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, ["contentTemplate", "footerTemplate", "headerTemplate"], never, true, never>;
|
|
223
|
+
}
|
|
224
|
+
|
|
215
225
|
declare class ProgressBarDialogComponent {
|
|
216
226
|
private readonly cdRef;
|
|
217
227
|
private readonly clStateService;
|
|
@@ -261,7 +271,7 @@ declare class ToastsService {
|
|
|
261
271
|
}
|
|
262
272
|
|
|
263
273
|
declare class BaseFormComponent implements ControlValueAccessor, OnDestroy, Validator {
|
|
264
|
-
readonly control:
|
|
274
|
+
readonly control: FormGroup<any> | FormArray<any> | FormControl<any>;
|
|
265
275
|
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
266
276
|
protected readonly subscription: Subscription;
|
|
267
277
|
ngOnDestroy(): void;
|
|
@@ -471,5 +481,5 @@ declare class ClStateService {
|
|
|
471
481
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ClStateService>;
|
|
472
482
|
}
|
|
473
483
|
|
|
474
|
-
export { BaseFormComponent, ButtonComponent, ClStateService, CommonLibModule, ConfirmationComponent, ConfirmationService, ContentDialogComponent, ContentDialogService, ERROR_DIRECTIVE, ErrorDirective, FORM_FIELD, FileInputComponent, FileInputsComponent, FormDialogComponent, FormDialogService, FormFieldComponent, FormFieldModule, IconButtonComponent, LABEL_DIRECTIVE, LabelDirective, MatConfirmationComponent, MatConfirmationService, MatFileInputComponent, MatFileInputsComponent, MatFormDialogComponent, MatFormDialogService, MatFormHostableComponent, ProgressBarDialogComponent, ProgressBarDialogService, ReadonlyValueComponent, ToastsComponent, ToastsService, concatWithToArray };
|
|
484
|
+
export { BaseFormComponent, ButtonComponent, ClStateService, CommonLibModule, ConfirmationComponent, ConfirmationService, ContentDialogComponent, ContentDialogService, ERROR_DIRECTIVE, ErrorDirective, FORM_FIELD, FileInputComponent, FileInputsComponent, FormDialogComponent, FormDialogService, FormFieldComponent, FormFieldModule, IconButtonComponent, LABEL_DIRECTIVE, LabelDirective, MatConfirmationComponent, MatConfirmationService, MatFileInputComponent, MatFileInputsComponent, MatFormDialogComponent, MatFormDialogService, MatFormHostableComponent, PanelComponent, ProgressBarDialogComponent, ProgressBarDialogService, ReadonlyValueComponent, ToastsComponent, ToastsService, concatWithToArray };
|
|
475
485
|
export type { ClState, ClStateMessage, ClStateMessageType, ConfirmationConfig, ConfirmationData, ContentDialogConfig, ContentDialogData, ContentDialogDataConfig, FieldOption, FileInput, FormDialogConfig, FormDialogData, FormDialogDataConfig, MatConfirmationComponentConfig, MatConfirmationConfig, MatConfirmationData, MatFileInput, MatFormDialogConfig, MatFormDialogData, ToastData };
|
|
Binary file
|