tin-spa 20.16.30 → 20.16.39
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/core/index.d.ts +3 -1
- package/fesm2022/{tin-spa-accounting.module-DhAEm2hN.mjs → tin-spa-accounting.module-tLjerUSJ.mjs} +2 -2
- package/fesm2022/{tin-spa-accounting.module-DhAEm2hN.mjs.map → tin-spa-accounting.module-tLjerUSJ.mjs.map} +1 -1
- package/fesm2022/{tin-spa-agent-page.component-D0jky32q.mjs → tin-spa-agent-page.component-sMhdglOQ.mjs} +2 -2
- package/fesm2022/{tin-spa-agent-page.component-D0jky32q.mjs.map → tin-spa-agent-page.component-sMhdglOQ.mjs.map} +1 -1
- package/fesm2022/{tin-spa-agent.component-B-_sp-xx.mjs → tin-spa-agent.component-BbAKYiFv.mjs} +2 -2
- package/fesm2022/{tin-spa-agent.component-B-_sp-xx.mjs.map → tin-spa-agent.component-BbAKYiFv.mjs.map} +1 -1
- package/fesm2022/{tin-spa-assets.module-CYdxBwtm.mjs → tin-spa-assets.module-BB1jV4ni.mjs} +2 -2
- package/fesm2022/{tin-spa-assets.module-CYdxBwtm.mjs.map → tin-spa-assets.module-BB1jV4ni.mjs.map} +1 -1
- package/fesm2022/tin-spa-core.mjs +8 -8
- package/fesm2022/tin-spa-core.mjs.map +1 -1
- package/fesm2022/{tin-spa-general-erp.module-_PS2Ftvh.mjs → tin-spa-general-erp.module-urL5So4z.mjs} +2 -2
- package/fesm2022/{tin-spa-general-erp.module-_PS2Ftvh.mjs.map → tin-spa-general-erp.module-urL5So4z.mjs.map} +1 -1
- package/fesm2022/{tin-spa-hr.module-BwSJYMjQ.mjs → tin-spa-hr.module-lMgTujaL.mjs} +2 -2
- package/fesm2022/{tin-spa-hr.module-BwSJYMjQ.mjs.map → tin-spa-hr.module-lMgTujaL.mjs.map} +1 -1
- package/fesm2022/{tin-spa-inventory.module-DHQE_NgX.mjs → tin-spa-inventory.module-D6E720b3.mjs} +2 -2
- package/fesm2022/{tin-spa-inventory.module-DHQE_NgX.mjs.map → tin-spa-inventory.module-D6E720b3.mjs.map} +1 -1
- package/fesm2022/tin-spa-landing.mjs +41 -2
- package/fesm2022/tin-spa-landing.mjs.map +1 -1
- package/fesm2022/{tin-spa-loans.module-DcdI1DkN.mjs → tin-spa-loans.module-DPqG5dbT.mjs} +2 -2
- package/fesm2022/{tin-spa-loans.module-DcdI1DkN.mjs.map → tin-spa-loans.module-DPqG5dbT.mjs.map} +1 -1
- package/fesm2022/{tin-spa-manufacturing.module-BETvG6RY.mjs → tin-spa-manufacturing.module-DphDbjjV.mjs} +2 -2
- package/fesm2022/{tin-spa-manufacturing.module-BETvG6RY.mjs.map → tin-spa-manufacturing.module-DphDbjjV.mjs.map} +1 -1
- package/fesm2022/{tin-spa-payroll.module-NlC9rEPk.mjs → tin-spa-payroll.module-XekyNje-.mjs} +2 -2
- package/fesm2022/{tin-spa-payroll.module-NlC9rEPk.mjs.map → tin-spa-payroll.module-XekyNje-.mjs.map} +1 -1
- package/fesm2022/{tin-spa-purchasing.module-D1hBPzXQ.mjs → tin-spa-purchasing.module-TY3v_R4Y.mjs} +2 -2
- package/fesm2022/{tin-spa-purchasing.module-D1hBPzXQ.mjs.map → tin-spa-purchasing.module-TY3v_R4Y.mjs.map} +1 -1
- package/fesm2022/{tin-spa-sales.module-kiSLV-ea.mjs → tin-spa-sales.module-BjAeQZT1.mjs} +2 -2
- package/fesm2022/{tin-spa-sales.module-kiSLV-ea.mjs.map → tin-spa-sales.module-BjAeQZT1.mjs.map} +1 -1
- package/fesm2022/{tin-spa-tenancy-erp.module-DkVrf474.mjs → tin-spa-tenancy-erp.module-BPkLuqdQ.mjs} +2 -2
- package/fesm2022/{tin-spa-tenancy-erp.module-DkVrf474.mjs.map → tin-spa-tenancy-erp.module-BPkLuqdQ.mjs.map} +1 -1
- package/fesm2022/{tin-spa-tin-spa-DCR4-B5G.mjs → tin-spa-tin-spa-CCAfYbuE.mjs} +135 -31
- package/fesm2022/tin-spa-tin-spa-CCAfYbuE.mjs.map +1 -0
- package/fesm2022/tin-spa.mjs +1 -1
- package/index.d.ts +11 -2
- package/landing/index.d.ts +6 -1
- package/package.json +1 -1
- package/fesm2022/tin-spa-tin-spa-DCR4-B5G.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component } from '@angular/core';
|
|
3
3
|
import { take } from 'rxjs/operators';
|
|
4
|
-
import { A as AgentService, a as AgentComponent } from './tin-spa-agent.component-
|
|
4
|
+
import { A as AgentService, a as AgentComponent } from './tin-spa-agent.component-BbAKYiFv.mjs';
|
|
5
5
|
|
|
6
6
|
// Routed chat page (home/agent) — the shared agent widget rendered in page mode. The component is a shell:
|
|
7
7
|
// all chat state lives in the AgentService singleton, which is what lets a conversation started in the
|
|
@@ -36,4 +36,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
36
36
|
}], ctorParameters: () => [{ type: AgentService }] });
|
|
37
37
|
|
|
38
38
|
export { AgentPageComponent };
|
|
39
|
-
//# sourceMappingURL=tin-spa-agent-page.component-
|
|
39
|
+
//# sourceMappingURL=tin-spa-agent-page.component-sMhdglOQ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tin-spa-agent-page.component-
|
|
1
|
+
{"version":3,"file":"tin-spa-agent-page.component-sMhdglOQ.mjs","sources":["../../../projects/tin-spa/src/lib/pages/agent-page/agent-page.component.ts","../../../projects/tin-spa/src/lib/pages/agent-page/agent-page.component.html"],"sourcesContent":["// Routed chat page (home/agent) — the shared agent widget rendered in page mode. The component is a shell:\n// all chat state lives in the AgentService singleton, which is what lets a conversation started in the\n// desktop floating window continue here unchanged.\nimport { Component, OnInit, OnDestroy } from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { take } from 'rxjs/operators';\nimport { AgentService } from '../../services/agent.service';\nimport { AgentComponent } from '../../components/agent/agent.component'; // Added (lazy-modularization S7): a standalone host imports its template's components by path — this template renders <spa-agent>\n\n@Component({\n selector: 'spa-agent-page',\n templateUrl: './agent-page.component.html',\n styleUrls: ['./agent-page.component.css'],\n // Changed (lazy-modularization S7): standalone, because the home/agent route now reaches this component\n // through a DYNAMIC import (spa-home-routing.module.ts) and a lazily-loaded route target cannot be an\n // NgModule declaration. TinSpaModule no longer declares it — see that file.\n standalone: true,\n imports: [AgentComponent] // Added (S7): the template's only element, imported by path now that no NgModule supplies it\n})\nexport class AgentPageComponent implements OnInit, OnDestroy {\n\n private subs: Subscription[] = [];\n\n constructor(private agentService: AgentService) {}\n\n ngOnInit(): void {\n // open() is the call that restores the last conversation, so the page needs it — but isOpen is SHARED\n // with the desktop floating window, and forcing it true when a thread is already loaded would leave that\n // window popped open on the next route. So it is called only when nothing has loaded yet, mirroring the\n // service's own hasLoadedInitial guard.\n this.subs.push(this.agentService.currentConversationId$.pipe(take(1)).subscribe(id => {\n if (id === null) this.agentService.open();\n }));\n }\n\n ngOnDestroy(): void {\n // Deliberately no close() here — isOpen belongs to the floating window. Closing it on leaving the page\n // would reach across and shut a chat the user never opened from here.\n this.subs.forEach(s => s.unsubscribe());\n }\n}\n","<!-- No page chrome of its own: the widget header already carries the agent name, online status, conversation\n switcher and new-conversation button, and a second title bar above it would just repeat them. -->\n<spa-agent [pageMode]=\"true\"></spa-agent>\n"],"names":["i1.AgentService"],"mappings":";;;;;AAAA;AACA;AACA;MAiBa,kBAAkB,CAAA;AAI7B,IAAA,WAAA,CAAoB,YAA0B,EAAA;QAA1B,IAAA,CAAA,YAAY,GAAZ,YAAY;QAFxB,IAAA,CAAA,IAAI,GAAmB,EAAE;IAEgB;IAEjD,QAAQ,GAAA;;;;;QAKN,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,IAAG;YACnF,IAAI,EAAE,KAAK,IAAI;AAAE,gBAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;QAC3C,CAAC,CAAC,CAAC;IACL;IAEA,WAAW,GAAA;;;AAGT,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC;IACzC;+GApBW,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,YAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECnB/B,sQAGA,EAAA,MAAA,EAAA,CAAA,iNAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDcY,cAAc,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAEb,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAV9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,cAMd,IAAI,EAAA,OAAA,EACP,CAAC,cAAc,CAAC;;;;;;"}
|
package/fesm2022/{tin-spa-agent.component-B-_sp-xx.mjs → tin-spa-agent.component-BbAKYiFv.mjs}
RENAMED
|
@@ -6,7 +6,7 @@ import { NavigationEnd } from '@angular/router';
|
|
|
6
6
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
7
7
|
import * as i1$1 from 'tin-spa/core';
|
|
8
8
|
import { SpaMatModule } from 'tin-spa/core';
|
|
9
|
-
import { g as CamelToWordsPipe } from './tin-spa-tin-spa-
|
|
9
|
+
import { g as CamelToWordsPipe } from './tin-spa-tin-spa-CCAfYbuE.mjs';
|
|
10
10
|
import * as i1 from '@angular/platform-browser';
|
|
11
11
|
import { BehaviorSubject } from 'rxjs';
|
|
12
12
|
import * as i2 from '@angular/cdk/layout';
|
|
@@ -1376,4 +1376,4 @@ var agent_component = /*#__PURE__*/Object.freeze({
|
|
|
1376
1376
|
});
|
|
1377
1377
|
|
|
1378
1378
|
export { AgentService as A, AgentComponent as a, agent_component as b };
|
|
1379
|
-
//# sourceMappingURL=tin-spa-agent.component-
|
|
1379
|
+
//# sourceMappingURL=tin-spa-agent.component-BbAKYiFv.mjs.map
|