@mj-biz-apps/common-ng 5.33.2 → 5.34.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/dist/lib/components/address-editor/address-editor.component.d.ts +23 -0
- package/dist/lib/components/address-editor/address-editor.component.d.ts.map +1 -1
- package/dist/lib/components/address-editor/address-editor.component.js +207 -140
- package/dist/lib/components/address-editor/address-editor.component.js.map +1 -1
- package/dist/lib/components/contact-method-list/contact-method-list.component.js +2 -2
- package/dist/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.js +2 -2
- package/dist/lib/components/relationship-list/relationship-list.component.js +2 -2
- package/dist/lib/custom/Organization/organization-form.component.js +2 -2
- package/dist/lib/custom/Person/person-form.component.js +2 -2
- package/dist/lib/generated/Entities/mjBizAppsCommonAddress/mjbizappscommonaddress.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsCommonAddress/mjbizappscommonaddress.form.component.js +61 -7
- package/dist/lib/generated/Entities/mjBizAppsCommonAddress/mjbizappscommonaddress.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsCommonOrganization/mjbizappscommonorganization.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsCommonOrganization/mjbizappscommonorganization.form.component.js +292 -32
- package/dist/lib/generated/Entities/mjBizAppsCommonOrganization/mjbizappscommonorganization.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsCommonPerson/mjbizappscommonperson.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsCommonPerson/mjbizappscommonperson.form.component.js +377 -33
- package/dist/lib/generated/Entities/mjBizAppsCommonPerson/mjbizappscommonperson.form.component.js.map +1 -1
- package/package.json +9 -9
|
@@ -136,6 +136,12 @@ export declare class AddressEditorComponent {
|
|
|
136
136
|
Saving: boolean;
|
|
137
137
|
/** The resolved MJ EntityID for the current {@link EntityName}. */
|
|
138
138
|
private resolvedEntityID;
|
|
139
|
+
/**
|
|
140
|
+
* Set when the component cannot operate — currently only when {@link EntityName}
|
|
141
|
+
* does not resolve to an entity. Rendered in the template and used to block saving,
|
|
142
|
+
* so a misconfiguration surfaces as a visible message instead of a failed INSERT.
|
|
143
|
+
*/
|
|
144
|
+
LoadError: string | null;
|
|
139
145
|
/** Cached action ID for the Postal Code Lookup action. */
|
|
140
146
|
private postalCodeLookupActionID;
|
|
141
147
|
/** Whether a postal code lookup is currently in progress. */
|
|
@@ -172,6 +178,23 @@ export declare class AddressEditorComponent {
|
|
|
172
178
|
* @returns The CSS class string for the icon (e.g., `'fa-solid fa-home'`)
|
|
173
179
|
*/
|
|
174
180
|
getAddressTypeIcon(typeID: string): string;
|
|
181
|
+
/**
|
|
182
|
+
* Resolves an IconClass to something that will actually render, falling back to a
|
|
183
|
+
* generic location pin.
|
|
184
|
+
*
|
|
185
|
+
* A `?? fallback` is not enough on its own: the failure seen in the field was
|
|
186
|
+
* `fa-solid fa-mailbox`, a NON-EMPTY class that is Font Awesome **Pro**-only, so it
|
|
187
|
+
* passed every emptiness check and then rendered as a blank square (the browser
|
|
188
|
+
* reports `content: none` for its ::before — no rule matched). Since a component
|
|
189
|
+
* cannot ask the font whether a glyph exists, this verifies the icon is one the
|
|
190
|
+
* bundled Free set provides and substitutes the pin otherwise. Blank, whitespace-only
|
|
191
|
+
* and modifier-only values fall back too.
|
|
192
|
+
*
|
|
193
|
+
* The Pro list is deliberately small and explicit — only icons this app's seed data
|
|
194
|
+
* has actually used. It is a safety net; the real fix is correcting the seed
|
|
195
|
+
* (`metadata/address-types/.address-types.json`), which this change also does.
|
|
196
|
+
*/
|
|
197
|
+
static resolveIconClass(iconClass: string | null | undefined): string;
|
|
175
198
|
/**
|
|
176
199
|
* Formats the first line of an address display string.
|
|
177
200
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-editor.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/address-editor/address-editor.component.ts"],"names":[],"mappings":"AA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IAEjD;;;;OAIG;IACH,YAAY,EAAE,WAAW,EAAE,CAAM;IAEjC;;;;OAIG;IACH,YAAY,EAAE,gCAAgC,EAAE,CAAM;IAEtD;;;;;OAKG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEnC;;;;OAIG;IACH,QAAQ,EAAE,eAAe,CAA0B;IAEnD;;;OAGG;IACH,OAAO,UAAS;IAEhB;;;OAGG;IACH,MAAM,UAAS;IAEf,mEAAmE;IACnE,OAAO,CAAC,gBAAgB,CAAM;IAE9B,0DAA0D;IAC1D,OAAO,CAAC,wBAAwB,CAAuB;IAEvD,6DAA6D;IAC7D,mBAAmB,UAAS;IAE5B,+DAA+D;IAC/D,kBAAkB,UAAS;IAE3B,8EAA8E;IAC9E,OAAO,CAAC,kBAAkB,CAAM;IAEhC,sEAAsE;IACtE,OAAO,CAAC,eAAe;IAavB;;;;;;;OAOG;IACG,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"address-editor.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/address-editor/address-editor.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA6B,MAAM,eAAe,CAAC;AAMlG,OAAO,EACH,4BAA4B,EAC5B,gCAAgC,EAChC,gCAAgC,EACnC,MAAM,8BAA8B,CAAC;;AAEtC;;;;;;;;GAQG;AACH,UAAU,WAAW;IACjB,yEAAyE;IACzE,IAAI,EAAE,gCAAgC,CAAC;IAEvC,gEAAgE;IAChE,OAAO,EAAE,4BAA4B,CAAC;CACzC;AAED;;;;;GAKG;AACH,UAAU,eAAe;IACrB,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAC;IAEf,0FAA0F;IAC1F,SAAS,EAAE,OAAO,CAAC;IAEnB,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IAEd,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAC;IAEd,4BAA4B;IAC5B,IAAI,EAAE,MAAM,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