xt-plugin-finance 0.6.0 → 0.6.2

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.
Files changed (67) hide show
  1. package/README.md +3 -3
  2. package/fesm2022/xt-plugin-finance.mjs +136 -0
  3. package/fesm2022/xt-plugin-finance.mjs.map +1 -0
  4. package/index.d.ts +23 -0
  5. package/package.json +28 -54
  6. package/.editorconfig +0 -16
  7. package/.postcssrc.json +0 -1
  8. package/.rush/temp/chunked-rush-logs/xt-plugin-finance.build-deploy-latest.chunks.jsonl +0 -79
  9. package/.rush/temp/chunked-rush-logs/xt-plugin-finance.build-deploy-next.chunks.jsonl +0 -29
  10. package/.rush/temp/chunked-rush-logs/xt-plugin-finance.build.chunks.jsonl +0 -24
  11. package/.rush/temp/chunked-rush-logs/xt-plugin-finance.test.chunks.jsonl +0 -36
  12. package/.rush/temp/package-deps_test.json +0 -55
  13. package/.rush/temp/shrinkwrap-deps.json +0 -1082
  14. package/CHANGELOG.md +0 -13
  15. package/angular.json +0 -164
  16. package/projects/finance/README.md +0 -17
  17. package/projects/finance/ng-package.json +0 -7
  18. package/projects/finance/node_modules/.vite/results.json +0 -1
  19. package/projects/finance/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
  20. package/projects/finance/package.json +0 -22
  21. package/projects/finance/src/lib/finance-amount/finance-amount.component.css +0 -0
  22. package/projects/finance/src/lib/finance-amount/finance-amount.component.html +0 -18
  23. package/projects/finance/src/lib/finance-amount/finance-amount.component.spec.ts +0 -38
  24. package/projects/finance/src/lib/finance-amount/finance-amount.component.ts +0 -68
  25. package/projects/finance/src/lib/money-handler/money-amount-handler.ts +0 -21
  26. package/projects/finance/src/lib/money-handler/money-amount.ts +0 -15
  27. package/projects/finance/src/lib/register.ts +0 -54
  28. package/projects/finance/src/public-api.ts +0 -6
  29. package/projects/finance/src/test-setup.ts +0 -18
  30. package/projects/finance/tsconfig.lib.json +0 -15
  31. package/projects/finance/tsconfig.lib.prod.json +0 -11
  32. package/projects/finance/tsconfig.spec.json +0 -18
  33. package/projects/finance/vitest.config.ts +0 -19
  34. package/projects/finance-plugin/federation.config.js +0 -43
  35. package/projects/finance-plugin/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
  36. package/projects/finance-plugin/public/favicon.ico +0 -0
  37. package/projects/finance-plugin/public/pluginicon.png +0 -0
  38. package/projects/finance-plugin/src/app/app.component.css +0 -0
  39. package/projects/finance-plugin/src/app/app.component.html +0 -3
  40. package/projects/finance-plugin/src/app/app.component.spec.ts +0 -42
  41. package/projects/finance-plugin/src/app/app.component.ts +0 -37
  42. package/projects/finance-plugin/src/app/app.config.ts +0 -21
  43. package/projects/finance-plugin/src/app/app.routes.ts +0 -6
  44. package/projects/finance-plugin/src/app/dummy-currency/dummy-currency.component.css +0 -0
  45. package/projects/finance-plugin/src/app/dummy-currency/dummy-currency.component.html +0 -7
  46. package/projects/finance-plugin/src/app/dummy-currency/dummy-currency.component.ts +0 -36
  47. package/projects/finance-plugin/src/app/test-component/test.component.css +0 -0
  48. package/projects/finance-plugin/src/app/test-component/test.component.html +0 -24
  49. package/projects/finance-plugin/src/app/test-component/test.component.spec.ts +0 -46
  50. package/projects/finance-plugin/src/app/test-component/test.component.ts +0 -35
  51. package/projects/finance-plugin/src/bootstrap.ts +0 -6
  52. package/projects/finance-plugin/src/index.html +0 -13
  53. package/projects/finance-plugin/src/main.ts +0 -6
  54. package/projects/finance-plugin/src/styles.css +0 -12
  55. package/projects/finance-plugin/src/test-setup.ts +0 -18
  56. package/projects/finance-plugin/tsconfig.app.json +0 -15
  57. package/projects/finance-plugin/tsconfig.federation.json +0 -13
  58. package/projects/finance-plugin/tsconfig.spec.json +0 -18
  59. package/projects/finance-plugin/vitest.config.ts +0 -19
  60. package/rush-logs/xt-plugin-finance.build-deploy-latest.error.log +0 -42
  61. package/rush-logs/xt-plugin-finance.build-deploy-latest.log +0 -79
  62. package/rush-logs/xt-plugin-finance.build-deploy-next.error.log +0 -10
  63. package/rush-logs/xt-plugin-finance.build-deploy-next.log +0 -29
  64. package/rush-logs/xt-plugin-finance.build.error.log +0 -9
  65. package/rush-logs/xt-plugin-finance.build.log +0 -24
  66. package/rush-logs/xt-plugin-finance.test.log +0 -36
  67. package/tsconfig.json +0 -36
package/README.md CHANGED
@@ -7,11 +7,11 @@ This plugin is part of the [ng-xtend framework](https://github.com/dont-code/ng-
7
7
  It enable [xt-components](https://github.com/dont-code/ng-xtend/tree/main/libs/xt-components) to
8
8
 
9
9
  - Display and edit any primitive value
10
- ![Primitive Editor](https://dont-code.net/assets/images/screenshots/plugin-default-primitive.png)
10
+ ![Primitive Editor](https://dont-code.net/assets/images/screenshots/plugin-default-primitive.png)
11
11
  - or complex object
12
- ![Object Editor](https://dont-code.net/assets/images/screenshots/plugin-default-object.png)
12
+ ![Object Editor](https://dont-code.net/assets/images/screenshots/plugin-default-object.png)
13
13
  - or list of objects
14
- ![List Viewer](https://dont-code.net/assets/images//screenshots/plugin-default-list.png)
14
+ ![List Viewer](https://dont-code.net/assets/images//screenshots/plugin-default-list.png)
15
15
 
16
16
  With it you are sure you can display / edit any type within any xt-components application like [xt-host](https://github.com/dont-code/ng-xtend/tree/main/libs/xt-host).
17
17
 
@@ -0,0 +1,136 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { XtCompositeComponent, XtRenderSubComponent } from 'xt-components';
4
+ import { InputNumber } from 'primeng/inputnumber';
5
+ import { CurrencyPipe } from '@angular/common';
6
+ import * as i1 from '@angular/forms';
7
+ import { ReactiveFormsModule } from '@angular/forms';
8
+ import { AbstractTypeHandler } from 'xt-type';
9
+
10
+ class FinanceAmountComponent extends XtCompositeComponent {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.isFixedCurrency = true;
14
+ this.currency = signal(undefined, ...(ngDevMode ? [{ debugName: "currency" }] : []));
15
+ }
16
+ ngOnInit() {
17
+ super.ngOnInit();
18
+ // The same components support multiple types: money-amount (with currency selection), eur-amount or usd-amount
19
+ let value = this.context().value();
20
+ if ((this.context().valueType == 'money-amount') || (this.context().valueType == null)) {
21
+ this.isFixedCurrency = false;
22
+ this.currency.set(value?.currency);
23
+ }
24
+ else if (this.context().valueType?.endsWith('-amount')) {
25
+ this.isFixedCurrency = true;
26
+ const currency = this.context().valueType?.substring(0, 3).toUpperCase();
27
+ // Enforce the currency if needed
28
+ if (this.isInForm()) {
29
+ if (value == null) {
30
+ value = this.resolverService.findTypeHandlerOf(this.context()).handler?.createNew() ?? {};
31
+ this.context().setFormValue(value, true);
32
+ }
33
+ else if (value.currency == null) {
34
+ value.currency = currency;
35
+ this.context().setFormValue(value, true);
36
+ }
37
+ }
38
+ this.currency.set(currency);
39
+ }
40
+ this.manageFormControl('amount');
41
+ }
42
+ outputChanged($output) {
43
+ if ($output?.valueSelected != null) {
44
+ $output?.valueSelected.subscribe(selected => {
45
+ this.currency.set(selected);
46
+ });
47
+ }
48
+ }
49
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: FinanceAmountComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
50
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.9", type: FinanceAmountComponent, isStandalone: true, selector: "xt-finance-amount", usesInheritance: true, ngImport: i0, template: "@if (isInForm() ) {\n @let cur = currency();\n <ng-container [formGroup]=\"formGroup()\">\n @if (!isFixedCurrency) {\n <xt-render-sub [context]=\"subContext('currency', 'currency')\" (outputs)=\"outputChanged($event)\" />\n }\n @if (cur != null) {\n <p-inputNumber mode=\"currency\" [currency]=\"cur\" formControlName=\"amount\" />\n } @else {\n <p-inputNumber mode=\"decimal\" formControlName=\"amount\" />\n }\n </ng-container>\n} @else {\n @let displayAmount = displayValue();\n @if ((displayAmount) && (displayAmount.amount!=null)) {\n <span>{{ displayAmount.amount | currency : displayAmount.currency }}</span>\n }\n}\n", styles: [""], dependencies: [{ kind: "component", type: InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "component", type: XtRenderSubComponent, selector: "xt-render-sub", inputs: ["context", "componentType", "inputs"], outputs: ["outputs"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: CurrencyPipe, name: "currency" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
+ }
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: FinanceAmountComponent, decorators: [{
53
+ type: Component,
54
+ args: [{ selector: 'xt-finance-amount', imports: [
55
+ InputNumber,
56
+ CurrencyPipe,
57
+ XtRenderSubComponent,
58
+ ReactiveFormsModule
59
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (isInForm() ) {\n @let cur = currency();\n <ng-container [formGroup]=\"formGroup()\">\n @if (!isFixedCurrency) {\n <xt-render-sub [context]=\"subContext('currency', 'currency')\" (outputs)=\"outputChanged($event)\" />\n }\n @if (cur != null) {\n <p-inputNumber mode=\"currency\" [currency]=\"cur\" formControlName=\"amount\" />\n } @else {\n <p-inputNumber mode=\"decimal\" formControlName=\"amount\" />\n }\n </ng-container>\n} @else {\n @let displayAmount = displayValue();\n @if ((displayAmount) && (displayAmount.amount!=null)) {\n <span>{{ displayAmount.amount | currency : displayAmount.currency }}</span>\n }\n}\n" }]
60
+ }] });
61
+
62
+ class MoneyAmountHandler extends AbstractTypeHandler {
63
+ constructor() {
64
+ super();
65
+ this.fields.addOldField('currencyCode', 'currency');
66
+ }
67
+ createNew() {
68
+ const ret = {};
69
+ if (this.type?.type?.endsWith('-amount')) {
70
+ if (this.type.type != 'money-amount') {
71
+ ret.currency = this.type.type.substring(0, 3).toUpperCase();
72
+ }
73
+ }
74
+ return ret;
75
+ }
76
+ }
77
+
78
+ function registerFinancePlugin(resolverService) {
79
+ const pluginName = "Plugin Finance";
80
+ console.info('Registering ' + pluginName);
81
+ resolverService.registerPlugin({
82
+ name: pluginName,
83
+ uriLogo: 'pluginicon.png',
84
+ components: [
85
+ {
86
+ componentName: 'FinanceAmount',
87
+ componentClass: FinanceAmountComponent,
88
+ typesHandled: ['money-amount', 'eur-amount', 'usd-amount'],
89
+ }
90
+ ],
91
+ types: {
92
+ "money-amount": {
93
+ numericField: 'amount',
94
+ children: {
95
+ currency: 'currency',
96
+ amount: 'number'
97
+ }
98
+ },
99
+ "eur-amount": {
100
+ numericField: 'amount',
101
+ children: {
102
+ currency: 'currency',
103
+ amount: 'number'
104
+ }
105
+ },
106
+ "usd-amount": {
107
+ numericField: 'amount',
108
+ children: {
109
+ currency: 'currency',
110
+ amount: 'number'
111
+ }
112
+ }
113
+ },
114
+ typeHandlers: [
115
+ {
116
+ typesHandled: ['money-amount', 'eur-amount', 'usd-amount'],
117
+ handlerClass: MoneyAmountHandler
118
+ }
119
+ ]
120
+ });
121
+ return pluginName;
122
+ }
123
+ function registerPlugin(resolverService) {
124
+ return registerFinancePlugin(resolverService);
125
+ }
126
+
127
+ /*
128
+ * Public API Surface of web plugin
129
+ */
130
+
131
+ /**
132
+ * Generated bundle index. Do not edit.
133
+ */
134
+
135
+ export { FinanceAmountComponent, registerFinancePlugin, registerPlugin };
136
+ //# sourceMappingURL=xt-plugin-finance.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xt-plugin-finance.mjs","sources":["../../../projects/finance/src/lib/finance-amount/finance-amount.component.ts","../../../projects/finance/src/lib/finance-amount/finance-amount.component.html","../../../projects/finance/src/lib/money-handler/money-amount-handler.ts","../../../projects/finance/src/lib/register.ts","../../../projects/finance/src/public-api.ts","../../../projects/finance/src/xt-plugin-finance.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n Injector,\n OnInit,\n runInInjectionContext,\n signal\n} from '@angular/core';\nimport { XtComponentOutput, XtCompositeComponent, XtRenderSubComponent, XtResolverService } from 'xt-components';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { InputNumber } from 'primeng/inputnumber';\nimport { CurrencyPipe } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MoneyAmount } from '../money-handler/money-amount';\n\n@Component({\n selector: 'xt-finance-amount',\n imports: [\n InputNumber,\n CurrencyPipe,\n XtRenderSubComponent,\n ReactiveFormsModule\n ],\n templateUrl: './finance-amount.component.html',\n styleUrl: './finance-amount.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FinanceAmountComponent extends XtCompositeComponent<MoneyAmount> implements OnInit {\n isFixedCurrency=true;\n currency= signal<string|undefined>( undefined );\n\n override ngOnInit(): void {\n super.ngOnInit();\n\n // The same components support multiple types: money-amount (with currency selection), eur-amount or usd-amount\n let value=this.context().value();\n if ((this.context().valueType=='money-amount') || (this.context().valueType==null)) {\n this.isFixedCurrency=false;\n this.currency.set(value?.currency);\n }else if (this.context().valueType?.endsWith('-amount')) {\n this.isFixedCurrency=true;\n const currency=this.context().valueType?.substring(0,3).toUpperCase();\n // Enforce the currency if needed\n if (this.isInForm()) {\n if (value==null) {\n value=this.resolverService.findTypeHandlerOf(this.context()).handler?.createNew()??{};\n this.context().setFormValue(value, true);\n }else if (value.currency==null) {\n value.currency=currency;\n this.context().setFormValue(value, true);\n }\n }\n this.currency.set(currency);\n }\n this.manageFormControl('amount');\n }\n\n outputChanged($output:XtComponentOutput | null) {\n if ($output?.valueSelected!=null) {\n $output?.valueSelected.subscribe (selected => {\n this.currency.set(selected);\n });\n }\n\n }\n}\n","@if (isInForm() ) {\n @let cur = currency();\n <ng-container [formGroup]=\"formGroup()\">\n @if (!isFixedCurrency) {\n <xt-render-sub [context]=\"subContext('currency', 'currency')\" (outputs)=\"outputChanged($event)\" />\n }\n @if (cur != null) {\n <p-inputNumber mode=\"currency\" [currency]=\"cur\" formControlName=\"amount\" />\n } @else {\n <p-inputNumber mode=\"decimal\" formControlName=\"amount\" />\n }\n </ng-container>\n} @else {\n @let displayAmount = displayValue();\n @if ((displayAmount) && (displayAmount.amount!=null)) {\n <span>{{ displayAmount.amount | currency : displayAmount.currency }}</span>\n }\n}\n","import { AbstractTypeHandler, XtTypeHierarchy } from 'xt-type';\nimport { MoneyAmount } from './money-amount';\n\nexport class MoneyAmountHandler extends AbstractTypeHandler<MoneyAmount> {\n\n constructor() {\n super();\n this.fields.addOldField('currencyCode','currency');\n }\n\n override createNew(): MoneyAmount {\n const ret:MoneyAmount = {} as unknown as MoneyAmount;\n if (this.type?.type?.endsWith('-amount')) {\n if (this.type.type!='money-amount') {\n ret.currency=this.type.type.substring(0,3).toUpperCase();\n }\n }\n return ret;\n }\n\n}\n","import { XtResolverService } from 'xt-components';\nimport { MoneyAmountHandler } from './money-handler/money-amount-handler';\nimport { FinanceAmountComponent } from './finance-amount/finance-amount.component';\n\nexport function registerFinancePlugin (resolverService:XtResolverService):string {\n const pluginName = \"Plugin Finance\";\n console.info ('Registering '+pluginName);\n resolverService.registerPlugin ({\n name:pluginName,\n uriLogo:'pluginicon.png',\n components: [\n {\n componentName:'FinanceAmount',\n componentClass:FinanceAmountComponent,\n typesHandled: ['money-amount','eur-amount','usd-amount'],\n }\n ],\n types: {\n \"money-amount\":{\n numericField: 'amount',\n children:{\n currency:'currency',\n amount:'number'\n }\n },\n \"eur-amount\":{\n numericField: 'amount',\n children: {\n currency: 'currency',\n amount: 'number'\n }\n },\n \"usd-amount\":{\n numericField: 'amount',\n children: {\n currency: 'currency',\n amount: 'number'\n }\n }\n }\n ,typeHandlers:[\n {\n typesHandled: ['money-amount', 'eur-amount', 'usd-amount'],\n handlerClass: MoneyAmountHandler\n }\n ]\n\n });\n return pluginName;\n}\n\nexport function registerPlugin (resolverService:XtResolverService):string {\n return registerFinancePlugin(resolverService);\n}\n","/*\n * Public API Surface of web plugin\n */\n\nexport * from './lib/finance-amount/finance-amount.component';\nexport * from './lib/register';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AA6BM,MAAO,sBAAuB,SAAQ,oBAAiC,CAAA;AAZ7E,IAAA,WAAA,GAAA;;QAaE,IAAA,CAAA,eAAe,GAAC,IAAI;AACpB,QAAA,IAAA,CAAA,QAAQ,GAAE,MAAM,CAAoB,SAAS,oDAAE;AAoChD,IAAA;IAlCU,QAAQ,GAAA;QACf,KAAK,CAAC,QAAQ,EAAE;;QAGhB,IAAI,KAAK,GAAC,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE;QAChC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,SAAS,IAAE,cAAc,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC,SAAS,IAAE,IAAI,CAAC,EAAE;AAClF,YAAA,IAAI,CAAC,eAAe,GAAC,KAAK;YAC1B,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC;QACpC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,EAAC;AACb,gBAAA,YAAY,EAAE,QAAQ;AACtB,gBAAA,QAAQ,EAAC;AACP,oBAAA,QAAQ,EAAC,UAAU;AACnB,oBAAA,MAAM,EAAC;AACR;AACF,aAAA;AACD,YAAA,YAAY,EAAC;AACX,gBAAA,YAAY,EAAE,QAAQ;AACtB,gBAAA,QAAQ,EAAE;AACR,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,MAAM,EAAE;AACT;AACF,aAAA;AACD,YAAA,YAAY,EAAC;AACX,gBAAA,YAAY,EAAE,QAAQ;AACtB,gBAAA,QAAQ,EAAE;AACR,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,MAAM,EAAE;AACT;AACF;AACF,SAAA;AACA,QAAA,YAAY,EAAC;AACZ,YAAA;AACE,gBAAA,YAAY,EAAE,CAAC,cAAc,EAAE,YAAY,EAAE,YAAY,CAAC;AAC1D,gBAAA,YAAY,EAAE;AACf;AACF;AAEF,KAAA,CAAC;AACF,IAAA,OAAO,UAAU;AACrB;AAEM,SAAU,cAAc,CAAE,eAAiC,EAAA;AAC/D,IAAA,OAAO,qBAAqB,CAAC,eAAe,CAAC;AAC/C;;ACrDA;;AAEG;;ACFH;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,23 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
+ import { XtCompositeComponent, XtComponentOutput, XtResolverService } from 'xt-components';
4
+
5
+ type MoneyAmount = {
6
+ amount: number;
7
+ currency?: Currency;
8
+ };
9
+ type Currency = string;
10
+
11
+ declare class FinanceAmountComponent extends XtCompositeComponent<MoneyAmount> implements OnInit {
12
+ isFixedCurrency: boolean;
13
+ currency: i0.WritableSignal<string | undefined>;
14
+ ngOnInit(): void;
15
+ outputChanged($output: XtComponentOutput | null): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<FinanceAmountComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<FinanceAmountComponent, "xt-finance-amount", never, {}, {}, never, never, true, never>;
18
+ }
19
+
20
+ declare function registerFinancePlugin(resolverService: XtResolverService): string;
21
+ declare function registerPlugin(resolverService: XtResolverService): string;
22
+
23
+ export { FinanceAmountComponent, registerFinancePlugin, registerPlugin };
package/package.json CHANGED
@@ -1,62 +1,36 @@
1
1
  {
2
2
  "name": "xt-plugin-finance",
3
- "version": "0.6.0",
4
- "scripts": {
5
- "ng": "ng",
6
- "start": "ng serve",
7
- "build": "ng build finance",
8
- "build-deploy": "APP=finance-plugin && MAIN_LIB=finance && ng build $MAIN_LIB --configuration=$BUILD && ng build $APP --configuration=$BUILD --output-path=\"../../dist/$STAGE/$APP\" --base-href=\"https://test.dont-code.net/apps/$STAGE/$APP/\"",
9
- "watch": "ng build --watch --configuration development",
10
- "test": "cd projects/finance && ../../node_modules/.bin/vitest && cd ../finance-plugin && ../../node_modules/.bin/vitest"
11
- },
12
- "publishConfig": {
13
- "directory": "dist/xt-plugin-finance",
14
- "linkDirectory": true
15
- },
3
+ "version": "0.6.2",
16
4
  "repository": {
17
5
  "url": "https://github.com/dont-code/ng-xtend.git"
18
6
  },
19
- "private": false,
7
+ "peerDependencies": {
8
+ "@angular/animations": "^20.0.0",
9
+ "@angular/common": "^20.0.0",
10
+ "@angular/compiler": "^20.0.0",
11
+ "@angular/core": "^20.0.0",
12
+ "@angular/forms": "^20.0.0",
13
+ "@angular/platform-browser": "^20.0.0",
14
+ "@angular/platform-browser-dynamic": "^20.0.0",
15
+ "@angular/router": "^20.0.0",
16
+ "xt-components": "^0.6.0",
17
+ "rxjs": "^7.8.0",
18
+ "primeng": "^20.0.0",
19
+ "primeicons": "^7.0.0"
20
+ },
20
21
  "dependencies": {
21
- "@angular/animations": "^20.3.9",
22
- "@angular/common": "^20.3.9",
23
- "@angular/compiler": "^20.3.9",
24
- "@angular/core": "^20.3.9",
25
- "@angular/forms": "^20.3.9",
26
- "@angular/platform-browser": "^20.3.9",
27
- "@angular/platform-browser-dynamic": "^20.3.9",
28
- "@angular/router": "^20.3.9",
29
- "@angular/cdk": "^20.2.4",
30
- "xt-components": "workspace:^",
31
- "xt-type": "workspace:^",
32
- "rxjs": "^7.8.2",
33
- "primeng": "^20.3.0",
34
- "primeicons": "^7.0.0",
35
- "@primeuix/themes": "^1.2.5",
36
- "tslib": "^2.8.1",
37
- "tailwindcss": "~4.1.16",
38
- "es-module-shims": "^2.6.2",
39
- "@angular-architects/native-federation": "^20.1.7",
40
- "@softarc/native-federation-runtime": "^3.3.6"
22
+ "tslib": "^2.3.0"
41
23
  },
42
- "devDependencies": {
43
- "@primeuix/utils": "^0.6.1",
44
- "@primeuix/styled": "^0.7.2",
45
- "@angular-devkit/build-angular": "^20.3.8",
46
- "@angular/cli": "^20.3.8",
47
- "@angular/compiler-cli": "^20.3.9",
48
- "@angular/build": "^20.3.8",
49
- "ng-packagr": "^20.3.0",
50
- "typescript": "^5.9.3",
51
- "@analogjs/vite-plugin-angular": "^1.22.4",
52
- "@analogjs/vitest-angular": "^1.22.4",
53
- "jsdom": "^26.1.0",
54
- "vite": "^7.1.12",
55
- "vitest": "^3.2.4",
56
- "vite-tsconfig-paths": "~5.1.4",
57
- "happy-dom": "^18.0.1",
58
- "@tailwindcss/postcss": "~4.1.16",
59
- "postcss": "~8.5.6"
24
+ "sideEffects": false,
25
+ "module": "fesm2022/xt-plugin-finance.mjs",
26
+ "typings": "index.d.ts",
27
+ "exports": {
28
+ "./package.json": {
29
+ "default": "./package.json"
30
+ },
31
+ ".": {
32
+ "types": "./index.d.ts",
33
+ "default": "./fesm2022/xt-plugin-finance.mjs"
34
+ }
60
35
  }
61
- }
62
-
36
+ }
package/.editorconfig DELETED
@@ -1,16 +0,0 @@
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
package/.postcssrc.json DELETED
@@ -1 +0,0 @@
1
- { "plugins": { "@tailwindcss/postcss": {} }}
@@ -1,79 +0,0 @@
1
- {"kind":"O","text":"Invoking: BUILD=production STAGE=latest npm run build-deploy \n"}
2
- {"kind":"O","text":"\n"}
3
- {"kind":"O","text":"> xt-plugin-finance@0.5.5 build-deploy\n"}
4
- {"kind":"O","text":"> APP=finance-plugin && MAIN_LIB=finance && ng build $MAIN_LIB --configuration=$BUILD && ng build $APP --configuration=$BUILD --output-path=\"../../dist/$STAGE/$APP\" --base-href=\"https://test.dont-code.net/apps/$STAGE/$APP/\"\n"}
5
- {"kind":"O","text":"\n"}
6
- {"kind":"O","text":"Building Angular Package\n"}
7
- {"kind":"O","text":"\n"}
8
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
9
- {"kind":"O","text":"Building entry point 'xt-plugin-finance'\n"}
10
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
11
- {"kind":"E","text":"- Compiling with Angular sources in partial compilation mode.\n"}
12
- {"kind":"E","text":"✔ Compiling with Angular sources in partial compilation mode.\n"}
13
- {"kind":"E","text":"- Writing FESM and DTS bundles\n"}
14
- {"kind":"E","text":"✔ Writing FESM and DTS bundles\n"}
15
- {"kind":"E","text":"- Copying assets\n"}
16
- {"kind":"E","text":"✔ Copying assets\n"}
17
- {"kind":"E","text":"- Writing package manifest\n"}
18
- {"kind":"E","text":"✔ Writing package manifest\n"}
19
- {"kind":"E","text":"✔ Built xt-plugin-finance\n"}
20
- {"kind":"O","text":"\n"}
21
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
22
- {"kind":"O","text":"Built Angular Package\n"}
23
- {"kind":"O","text":"- from: /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-finance/projects/finance\n"}
24
- {"kind":"O","text":"- to: /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-finance/dist/xt-plugin-finance\n"}
25
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
26
- {"kind":"O","text":"\n"}
27
- {"kind":"O","text":"Build at: 2026-01-07T09:09:09.979Z - Time: 5472ms\n"}
28
- {"kind":"O","text":"\n"}
29
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/styles/base\n"}
30
- {"kind":"E","text":" WARN No entry point found for @primeuix/utils/eventbus\n"}
31
- {"kind":"E","text":" WARN If you don't need this package, skip it in your federation.config.js or consider moving it into depDependencies in your package.json\n"}
32
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/utils/eventbus\n"}
33
- {"kind":"E","text":" WARN No entry point found for @primeuix/utils/object\n"}
34
- {"kind":"E","text":" WARN If you don't need this package, skip it in your federation.config.js or consider moving it into depDependencies in your package.json\n"}
35
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/utils/object\n"}
36
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/styles/select\n"}
37
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/styles/tooltip\n"}
38
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/styles/ripple\n"}
39
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/styles/iconfield\n"}
40
- {"kind":"E","text":" WARN No entry point found for @primeuix/utils/zindex\n"}
41
- {"kind":"E","text":" WARN If you don't need this package, skip it in your federation.config.js or consider moving it into depDependencies in your package.json\n"}
42
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/utils/zindex\n"}
43
- {"kind":"E","text":" WARN No entry point found for @primeuix/utils/uuid\n"}
44
- {"kind":"E","text":" WARN If you don't need this package, skip it in your federation.config.js or consider moving it into depDependencies in your package.json\n"}
45
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/utils/uuid\n"}
46
- {"kind":"E","text":" WARN No entry point found for @primeuix/utils/mergeprops\n"}
47
- {"kind":"E","text":" WARN If you don't need this package, skip it in your federation.config.js or consider moving it into depDependencies in your package.json\n"}
48
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/utils/mergeprops\n"}
49
- {"kind":"E","text":" WARN No entry point found for @primeuix/utils/dom\n"}
50
- {"kind":"E","text":" WARN If you don't need this package, skip it in your federation.config.js or consider moving it into depDependencies in your package.json\n"}
51
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/utils/dom\n"}
52
- {"kind":"E","text":" WARN No entry point found for @primeuix/utils/classnames\n"}
53
- {"kind":"E","text":" WARN If you don't need this package, skip it in your federation.config.js or consider moving it into depDependencies in your package.json\n"}
54
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/utils/classnames\n"}
55
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/styles/inputtext\n"}
56
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/styles/inputnumber\n"}
57
- {"kind":"E","text":" WARN No meta data found for shared lib eta/core\n"}
58
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/styles/card\n"}
59
- {"kind":"E","text":" WARN No entry point found for @primeuix/themes/aura\n"}
60
- {"kind":"E","text":" WARN If you don't need this package, skip it in your federation.config.js or consider moving it into depDependencies in your package.json\n"}
61
- {"kind":"E","text":" WARN No meta data found for shared lib @primeuix/themes/aura\n"}
62
- {"kind":"O","text":" INFO Building federation artefacts\n"}
63
- {"kind":"O","text":"❯ Building...\n"}
64
- {"kind":"O","text":"✔ Building...\n"}
65
- {"kind":"O","text":"Initial chunk files | Names | Raw size | Estimated transfer size\n"}
66
- {"kind":"O","text":"polyfills-XUYJO5JA.js | polyfills | 39.91 kB | 13.52 kB\n"}
67
- {"kind":"O","text":"styles-52F5AIP2.css | styles | 17.25 kB | 3.63 kB\n"}
68
- {"kind":"O","text":"main-JARDJ2C5.js | main | 2.74 kB | 1.15 kB\n"}
69
- {"kind":"O","text":"chunk-2NFLSA4Y.js | - | 449 bytes | 449 bytes\n"}
70
- {"kind":"O","text":"\n"}
71
- {"kind":"O","text":" | Initial total | 60.35 kB | 18.76 kB\n"}
72
- {"kind":"O","text":"\n"}
73
- {"kind":"O","text":"Lazy chunk files | Names | Raw size | Estimated transfer size\n"}
74
- {"kind":"O","text":"chunk-IUMFQXFG.js | bootstrap | 10.95 kB | 2.74 kB\n"}
75
- {"kind":"O","text":"\n"}
76
- {"kind":"O","text":"Application bundle generation complete. [12.824 seconds] - 2026-01-07T09:10:05.109Z\n"}
77
- {"kind":"O","text":"\n"}
78
- {"kind":"O","text":"Output location: /home/gc-garunda/devs/dont-code/github/ng-xtend/dist/latest/finance-plugin\n"}
79
- {"kind":"O","text":"\n"}
@@ -1,29 +0,0 @@
1
- {"kind":"O","text":"Invoking: BUILD=development STAGE=next npm run build-deploy \n"}
2
- {"kind":"O","text":"\n"}
3
- {"kind":"O","text":"> xt-plugin-finance@0.0.0 build-deploy\n"}
4
- {"kind":"O","text":"> APP=finance-plugin && MAIN_LIB=finance && ng build $MAIN_LIB --configuration=$BUILD && ng build $APP --configuration=$BUILD --output-path=\"../../dist/$STAGE/$APP\" --base-href=\"https://test.dont-code.net/apps/$STAGE/$APP/\" && rm -f ../../dist/$STAGE/$APP/*.* && mv ../../dist/$STAGE/$APP/browser/* ../../dist/$STAGE/$APP\n"}
5
- {"kind":"O","text":"\n"}
6
- {"kind":"O","text":"Building Angular Package\n"}
7
- {"kind":"O","text":"\n"}
8
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
9
- {"kind":"O","text":"Building entry point 'xt-plugin-finance'\n"}
10
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
11
- {"kind":"E","text":"- Compiling with Angular sources in full compilation mode.\n"}
12
- {"kind":"E","text":"✔ Compiling with Angular sources in full compilation mode.\n"}
13
- {"kind":"E","text":"✔ Generating FESM and DTS bundles\n"}
14
- {"kind":"E","text":"- Copying assets\n"}
15
- {"kind":"E","text":"✔ Copying assets\n"}
16
- {"kind":"E","text":"- Writing package manifest\n"}
17
- {"kind":"E","text":"✔ Writing package manifest\n"}
18
- {"kind":"E","text":"✔ Built xt-plugin-finance\n"}
19
- {"kind":"O","text":"\n"}
20
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
21
- {"kind":"O","text":"Built Angular Package\n"}
22
- {"kind":"O","text":"- from: /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-finance/projects/finance\n"}
23
- {"kind":"O","text":"- to: /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-finance/dist/xt-plugin-finance\n"}
24
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
25
- {"kind":"O","text":"\n"}
26
- {"kind":"O","text":"Build at: 2025-09-04T10:04:23.871Z - Time: 5799ms\n"}
27
- {"kind":"O","text":"\n"}
28
- {"kind":"E","text":"An unhandled exception occurred: Cannot read properties of undefined (reading 'split')\n"}
29
- {"kind":"E","text":"See \"/tmp/ng-qLTrbq/angular-errors.log\" for further details.\n"}
@@ -1,24 +0,0 @@
1
- {"kind":"O","text":"Invoking: ng build finance \n"}
2
- {"kind":"O","text":"Building Angular Package\n"}
3
- {"kind":"O","text":"\n"}
4
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
5
- {"kind":"O","text":"Building entry point 'xt-plugin-finance'\n"}
6
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
7
- {"kind":"E","text":"- Compiling with Angular sources in full compilation mode.\n"}
8
- {"kind":"E","text":"✔ Compiling with Angular sources in full compilation mode.\n"}
9
- {"kind":"E","text":"- Writing FESM and DTS bundles\n"}
10
- {"kind":"E","text":"✔ Writing FESM and DTS bundles\n"}
11
- {"kind":"E","text":"- Copying assets\n"}
12
- {"kind":"E","text":"✔ Copying assets\n"}
13
- {"kind":"E","text":"- Writing package manifest\n"}
14
- {"kind":"E","text":"✔ Writing package manifest\n"}
15
- {"kind":"E","text":"✔ Built xt-plugin-finance\n"}
16
- {"kind":"O","text":"\n"}
17
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
18
- {"kind":"O","text":"Built Angular Package\n"}
19
- {"kind":"O","text":"- from: /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-finance/projects/finance\n"}
20
- {"kind":"O","text":"- to: /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-finance/dist/xt-plugin-finance\n"}
21
- {"kind":"O","text":"------------------------------------------------------------------------------\n"}
22
- {"kind":"O","text":"\n"}
23
- {"kind":"O","text":"Build at: 2025-12-31T08:42:49.549Z - Time: 4778ms\n"}
24
- {"kind":"O","text":"\n"}
@@ -1,36 +0,0 @@
1
- {"kind":"O","text":"Invoking: cd projects/finance && ../../node_modules/.bin/vitest && cd ../finance-plugin && ../../node_modules/.bin/vitest \n"}
2
- {"kind":"O","text":"\n"}
3
- {"kind":"O","text":" RUN v3.2.4 /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-finance/projects/finance\n"}
4
- {"kind":"O","text":"\n"}
5
- {"kind":"O","text":" ✓ src/lib/finance-amount/finance-amount.component.spec.ts (1 test) 459ms\n"}
6
- {"kind":"O","text":" ✓ FinanceAmountComponent > should display amount 457ms\n"}
7
- {"kind":"O","text":"\n"}
8
- {"kind":"O","text":" Test Files 1 passed (1)\n"}
9
- {"kind":"O","text":" Tests 1 passed (1)\n"}
10
- {"kind":"O","text":" Start at 09:51:14\n"}
11
- {"kind":"O","text":" Duration 8.89s (transform 1.69s, setup 2.27s, collect 2.19s, tests 459ms, environment 1.58s, prepare 2.47s)\n"}
12
- {"kind":"O","text":"\n"}
13
- {"kind":"O","text":"\n"}
14
- {"kind":"O","text":" RUN v3.2.4 /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-finance/projects/finance-plugin\n"}
15
- {"kind":"O","text":"\n"}
16
- {"kind":"O","text":"stdout | src/app/app.component.spec.ts > AppComponent > should create the app\n"}
17
- {"kind":"O","text":"Registering Plugin Finance\n"}
18
- {"kind":"O","text":"\n"}
19
- {"kind":"O","text":"stdout | src/app/app.component.spec.ts > AppComponent > should have the 'Finance Tester' title\n"}
20
- {"kind":"O","text":"Registering Plugin Finance\n"}
21
- {"kind":"O","text":"\n"}
22
- {"kind":"O","text":"stdout | src/app/app.component.spec.ts > AppComponent > should render title\n"}
23
- {"kind":"O","text":"Registering Plugin Finance\n"}
24
- {"kind":"O","text":"\n"}
25
- {"kind":"O","text":" ✓ src/app/app.component.spec.ts (3 tests) 190ms\n"}
26
- {"kind":"O","text":"stdout | src/app/test-component/test.component.spec.ts > TestComponent > should create\n"}
27
- {"kind":"O","text":"Registering Plugin Finance\n"}
28
- {"kind":"O","text":"\n"}
29
- {"kind":"O","text":" ✓ src/app/test-component/test.component.spec.ts (1 test) 794ms\n"}
30
- {"kind":"O","text":" ✓ TestComponent > should create 792ms\n"}
31
- {"kind":"O","text":"\n"}
32
- {"kind":"O","text":" Test Files 2 passed (2)\n"}
33
- {"kind":"O","text":" Tests 4 passed (4)\n"}
34
- {"kind":"O","text":" Start at 09:51:36\n"}
35
- {"kind":"O","text":" Duration 6.93s (transform 1.68s, setup 3.05s, collect 5.41s, tests 984ms, environment 2.08s, prepare 2.83s)\n"}
36
- {"kind":"O","text":"\n"}
@@ -1,55 +0,0 @@
1
- {
2
- "files": {
3
- "plugins/xt-finance/.editorconfig": "59d9a3a3e73ffc640517ef488f6f89d6270195d1",
4
- "plugins/xt-finance/.gitignore": "cc7b141350ffde43afce3ec16ea4d7b5007cde2b",
5
- "plugins/xt-finance/.postcssrc.json": "e663f87e0d4fe753b960ac32b762f615ff783384",
6
- "plugins/xt-finance/.rush/temp/shrinkwrap-deps.json": "88601549c7e32428bd3991ab0e99cac0d428f221",
7
- "plugins/xt-finance/README.md": "04e0a3c2c53571d39f810d80d62ce320235584fa",
8
- "plugins/xt-finance/angular.json": "60a45ff3e3fc83075b897a71c2ba7a10c1560898",
9
- "plugins/xt-finance/package-lock.json": "fbaaa89b10e9853d24306bf39202585d220b23f5",
10
- "plugins/xt-finance/package.json": "ca0995cee11495515d0b1eec52fae421b9b79776",
11
- "plugins/xt-finance/projects/finance-plugin/federation.config.js": "b5cb6165deb5839e5c683031349239729713e649",
12
- "plugins/xt-finance/projects/finance-plugin/public/favicon.ico": "57614f9c967596fad0a3989bec2b1deff33034f6",
13
- "plugins/xt-finance/projects/finance-plugin/public/pluginicon.png": "e5899c8883913f893bad039a65f6d84a86ca8ca8",
14
- "plugins/xt-finance/projects/finance-plugin/src/app/app.component.css": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
15
- "plugins/xt-finance/projects/finance-plugin/src/app/app.component.html": "9d7beb72c74ee28baaaedc6ccdc59abc1afc7abe",
16
- "plugins/xt-finance/projects/finance-plugin/src/app/app.component.spec.ts": "5000db1a3f73f0df1b482012c0a025dc89c6b0fe",
17
- "plugins/xt-finance/projects/finance-plugin/src/app/app.component.ts": "cd4f2ec218301a77405d77b0c3cee5d12cb25cf6",
18
- "plugins/xt-finance/projects/finance-plugin/src/app/app.config.ts": "2f31d20b9c525736354d6088b051c36280c40be8",
19
- "plugins/xt-finance/projects/finance-plugin/src/app/app.routes.ts": "15316c780466e4050a68516ea5c9ad3df10b58e2",
20
- "plugins/xt-finance/projects/finance-plugin/src/app/dummy-currency/dummy-currency.component.css": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
21
- "plugins/xt-finance/projects/finance-plugin/src/app/dummy-currency/dummy-currency.component.html": "78086338f992e6b090dc828c6d22bc4a6521b68b",
22
- "plugins/xt-finance/projects/finance-plugin/src/app/dummy-currency/dummy-currency.component.ts": "819b224196c14c5a5825cb696deb2b993178974f",
23
- "plugins/xt-finance/projects/finance-plugin/src/app/test-component/test.component.css": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
24
- "plugins/xt-finance/projects/finance-plugin/src/app/test-component/test.component.html": "bcac71f54761c0de4479a28082d184827353efdf",
25
- "plugins/xt-finance/projects/finance-plugin/src/app/test-component/test.component.spec.ts": "1531387a7e4cd37a833798358e0e70bcfb2172ad",
26
- "plugins/xt-finance/projects/finance-plugin/src/app/test-component/test.component.ts": "44dbed6557de3a3c6dd677d90a2735b9a57079a7",
27
- "plugins/xt-finance/projects/finance-plugin/src/bootstrap.ts": "35b00f3463311f2afe0fd0d9d5f696dbb992dff5",
28
- "plugins/xt-finance/projects/finance-plugin/src/index.html": "822a2863f23d6ae121c6bfcee9c425da2503aceb",
29
- "plugins/xt-finance/projects/finance-plugin/src/main.ts": "ed18d47821840bc667cc64c3a45f5a2a42e16804",
30
- "plugins/xt-finance/projects/finance-plugin/src/styles.css": "8b1d69c2fa80fd985cca6cac29874d729784ecae",
31
- "plugins/xt-finance/projects/finance-plugin/src/test-setup.ts": "9a49f2174736eec8e9914195bcfec54155420c44",
32
- "plugins/xt-finance/projects/finance-plugin/tsconfig.app.json": "e40712b8de394381944e707f50a542aa7ff7f704",
33
- "plugins/xt-finance/projects/finance-plugin/tsconfig.federation.json": "5f69876e082a4c2df1ac39800807bdbbad1c273e",
34
- "plugins/xt-finance/projects/finance-plugin/tsconfig.spec.json": "c355aee60bdc077bb4a56f0737ed148c61612581",
35
- "plugins/xt-finance/projects/finance-plugin/vitest.config.ts": "e1aefbfec436de2cfc705fbef7360862a0e9cabc",
36
- "plugins/xt-finance/projects/finance/README.md": "c81217ceeac3144423b045f4f9557493e6f9f54c",
37
- "plugins/xt-finance/projects/finance/ng-package.json": "0ef16448b9928466a243b541ffbb6bb870a6334f",
38
- "plugins/xt-finance/projects/finance/package.json": "83137e060e0d35252698a56cd98e6f30c940a094",
39
- "plugins/xt-finance/projects/finance/src/lib/finance-amount/finance-amount.component.css": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
40
- "plugins/xt-finance/projects/finance/src/lib/finance-amount/finance-amount.component.html": "b448a7fc9bd52abf599e4b3b251e74234ee028d1",
41
- "plugins/xt-finance/projects/finance/src/lib/finance-amount/finance-amount.component.spec.ts": "4bb1c4f0e557135a1354757d8a83c70152d9f5ef",
42
- "plugins/xt-finance/projects/finance/src/lib/finance-amount/finance-amount.component.ts": "2a4eb37b0f5f838861ebf031da4f2fd4f879539f",
43
- "plugins/xt-finance/projects/finance/src/lib/money-handler/money-amount-handler.ts": "e96104afee3f1441cca6b85a406e20025e476f31",
44
- "plugins/xt-finance/projects/finance/src/lib/money-handler/money-amount.ts": "f0127d4905f665b6ee9830d1da6f59a520975707",
45
- "plugins/xt-finance/projects/finance/src/lib/register.ts": "4d9692e26f79ce8f9678da5da5eac79ff736f15a",
46
- "plugins/xt-finance/projects/finance/src/public-api.ts": "a82d111257cb6c1b428a04e45defa2e9a2010a35",
47
- "plugins/xt-finance/projects/finance/src/test-setup.ts": "9a49f2174736eec8e9914195bcfec54155420c44",
48
- "plugins/xt-finance/projects/finance/tsconfig.lib.json": "2359bf66def0a61beb2fb58133c1588388b2dbaf",
49
- "plugins/xt-finance/projects/finance/tsconfig.lib.prod.json": "9215caac46fb3bee935fb9453b7055d2e1aef5b6",
50
- "plugins/xt-finance/projects/finance/tsconfig.spec.json": "c355aee60bdc077bb4a56f0737ed148c61612581",
51
- "plugins/xt-finance/projects/finance/vitest.config.ts": "e1aefbfec436de2cfc705fbef7360862a0e9cabc",
52
- "plugins/xt-finance/tsconfig.json": "cbbaa08fb5e222b2fd03f3bb855e1f83a0aa52e3"
53
- },
54
- "arguments": "cd projects/finance && ../../node_modules/.bin/vitest && cd ../finance-plugin && ../../node_modules/.bin/vitest "
55
- }