@ng-vagabond-lab/ng-dsv 0.0.98 → 0.0.99
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.
|
@@ -15,13 +15,13 @@ class DsvChipComponent {
|
|
|
15
15
|
this.delete.emit();
|
|
16
16
|
}
|
|
17
17
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: DsvChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.2", type: DsvChipComponent, isStandalone: true, selector: "dsv-chip", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { delete: "delete" }, ngImport: i0, template: "<div class=\"chip\" [class.with-delete]=\"isDelete()\">\n <span>\n {{ text() }}\n </span>\n @if (isDelete()) {\n <dsv-button\n icon=\"ri-delete-bin-line\"\n variant=\"text\"\n color=\"error\"\n (callback)=\"doDelete()\"\n ></dsv-button>\n }\n</div>\n", styles: [".chip{display:flex;align-items:center;justify-content:center;border-radius:15px;background-color:var(--background);padding:10px 20px!important}.chip span{opacity:.
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.2", type: DsvChipComponent, isStandalone: true, selector: "dsv-chip", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { delete: "delete" }, ngImport: i0, template: "<div class=\"chip\" [class.with-delete]=\"isDelete()\">\n <span>\n {{ text() }}\n </span>\n @if (isDelete()) {\n <dsv-button\n icon=\"ri-delete-bin-line\"\n variant=\"text\"\n color=\"error\"\n (callback)=\"doDelete()\"\n ></dsv-button>\n }\n</div>\n", styles: [".chip{display:flex;align-items:center;justify-content:center;border-radius:15px;background-color:var(--background);padding:10px 20px!important}.chip span{opacity:.65}.chip.with-delete{padding:5px 5px 5px 20px!important}::ng-deep .dark .chip{background-color:#424242!important}\n"], dependencies: [{ kind: "component", type: DsvButtonComponent, selector: "dsv-button", inputs: ["libelle", "color", "icon", "iconEnd", "width", "variant", "fullwidth", "show", "disabled", "noHover", "type", "prevent"], outputs: ["callback"] }] });
|
|
19
19
|
}
|
|
20
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: DsvChipComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
22
|
args: [{ selector: "dsv-chip", standalone: true, imports: [
|
|
23
23
|
DsvButtonComponent
|
|
24
|
-
], template: "<div class=\"chip\" [class.with-delete]=\"isDelete()\">\n <span>\n {{ text() }}\n </span>\n @if (isDelete()) {\n <dsv-button\n icon=\"ri-delete-bin-line\"\n variant=\"text\"\n color=\"error\"\n (callback)=\"doDelete()\"\n ></dsv-button>\n }\n</div>\n", styles: [".chip{display:flex;align-items:center;justify-content:center;border-radius:15px;background-color:var(--background);padding:10px 20px!important}.chip span{opacity:.
|
|
24
|
+
], template: "<div class=\"chip\" [class.with-delete]=\"isDelete()\">\n <span>\n {{ text() }}\n </span>\n @if (isDelete()) {\n <dsv-button\n icon=\"ri-delete-bin-line\"\n variant=\"text\"\n color=\"error\"\n (callback)=\"doDelete()\"\n ></dsv-button>\n }\n</div>\n", styles: [".chip{display:flex;align-items:center;justify-content:center;border-radius:15px;background-color:var(--background);padding:10px 20px!important}.chip span{opacity:.65}.chip.with-delete{padding:5px 5px 5px 20px!important}::ng-deep .dark .chip{background-color:#424242!important}\n"] }]
|
|
25
25
|
}], ctorParameters: () => [] });
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-vagabond-lab-ng-dsv-ds-chip.mjs","sources":["../../../projects/ng-dsv/ds/chip/component/chip.component.ts","../../../projects/ng-dsv/ds/chip/component/chip.component.html","../../../projects/ng-dsv/ds/chip/ng-vagabond-lab-ng-dsv-ds-chip.ts"],"sourcesContent":["import { Component, effect, input, output, OutputEmitterRef, signal } from \"@angular/core\";\nimport { DsvButtonComponent } from '@ng-vagabond-lab/ng-dsv/ds/button';\n\n@Component({\n selector: \"dsv-chip\",\n standalone: true,\n imports: [\n DsvButtonComponent\n ],\n templateUrl: \"./chip.component.html\",\n styleUrls: [\"./chip.component.scss\"],\n})\nexport class DsvChipComponent {\n text = input<string>('');\n\n delete = output<void>();\n\n isDelete = signal<boolean>(false);\n\n constructor() {\n effect(() => {\n this.isDelete.set(this.delete['listeners' as keyof OutputEmitterRef<void>]?.length > 0);\n });\n }\n\n doDelete() {\n this.delete.emit();\n }\n} ","<div class=\"chip\" [class.with-delete]=\"isDelete()\">\n <span>\n {{ text() }}\n </span>\n @if (isDelete()) {\n <dsv-button\n icon=\"ri-delete-bin-line\"\n variant=\"text\"\n color=\"error\"\n (callback)=\"doDelete()\"\n ></dsv-button>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAYa,gBAAgB,CAAA;AACzB,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC;IAExB,MAAM,GAAG,MAAM,EAAQ;AAEvB,IAAA,QAAQ,GAAG,MAAM,CAAU,KAAK,CAAC;AAEjC,IAAA,WAAA,GAAA;QACI,MAAM,CAAC,MAAK;AACR,YAAA,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,WAA2C,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;AAC3F,SAAC,CAAC;;IAGN,QAAQ,GAAA;AACJ,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;;uGAdb,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZ7B,6RAaA,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"ng-vagabond-lab-ng-dsv-ds-chip.mjs","sources":["../../../projects/ng-dsv/ds/chip/component/chip.component.ts","../../../projects/ng-dsv/ds/chip/component/chip.component.html","../../../projects/ng-dsv/ds/chip/ng-vagabond-lab-ng-dsv-ds-chip.ts"],"sourcesContent":["import { Component, effect, input, output, OutputEmitterRef, signal } from \"@angular/core\";\nimport { DsvButtonComponent } from '@ng-vagabond-lab/ng-dsv/ds/button';\n\n@Component({\n selector: \"dsv-chip\",\n standalone: true,\n imports: [\n DsvButtonComponent\n ],\n templateUrl: \"./chip.component.html\",\n styleUrls: [\"./chip.component.scss\"],\n})\nexport class DsvChipComponent {\n text = input<string>('');\n\n delete = output<void>();\n\n isDelete = signal<boolean>(false);\n\n constructor() {\n effect(() => {\n this.isDelete.set(this.delete['listeners' as keyof OutputEmitterRef<void>]?.length > 0);\n });\n }\n\n doDelete() {\n this.delete.emit();\n }\n} ","<div class=\"chip\" [class.with-delete]=\"isDelete()\">\n <span>\n {{ text() }}\n </span>\n @if (isDelete()) {\n <dsv-button\n icon=\"ri-delete-bin-line\"\n variant=\"text\"\n color=\"error\"\n (callback)=\"doDelete()\"\n ></dsv-button>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAYa,gBAAgB,CAAA;AACzB,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC;IAExB,MAAM,GAAG,MAAM,EAAQ;AAEvB,IAAA,QAAQ,GAAG,MAAM,CAAU,KAAK,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A,wRAAA,CAAA,EAAA;;;AERL;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-vagabond-lab/ng-dsv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.99",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^20.0.0",
|
|
6
6
|
"@angular/core": "^20.0.0"
|
|
@@ -107,14 +107,14 @@
|
|
|
107
107
|
"types": "./ds/scroll/index.d.ts",
|
|
108
108
|
"default": "./fesm2022/ng-vagabond-lab-ng-dsv-ds-scroll.mjs"
|
|
109
109
|
},
|
|
110
|
-
"./ds/table": {
|
|
111
|
-
"types": "./ds/table/index.d.ts",
|
|
112
|
-
"default": "./fesm2022/ng-vagabond-lab-ng-dsv-ds-table.mjs"
|
|
113
|
-
},
|
|
114
110
|
"./ds/tab": {
|
|
115
111
|
"types": "./ds/tab/index.d.ts",
|
|
116
112
|
"default": "./fesm2022/ng-vagabond-lab-ng-dsv-ds-tab.mjs"
|
|
117
113
|
},
|
|
114
|
+
"./ds/table": {
|
|
115
|
+
"types": "./ds/table/index.d.ts",
|
|
116
|
+
"default": "./fesm2022/ng-vagabond-lab-ng-dsv-ds-table.mjs"
|
|
117
|
+
},
|
|
118
118
|
"./ds/theme": {
|
|
119
119
|
"types": "./ds/theme/index.d.ts",
|
|
120
120
|
"default": "./fesm2022/ng-vagabond-lab-ng-dsv-ds-theme.mjs"
|