@memberjunction/ng-base-forms 1.8.1 → 2.0.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.
|
@@ -391,4 +391,4 @@ MJFormField.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJFormField, se
|
|
|
391
391
|
type: ViewChild,
|
|
392
392
|
args: ['markdown', { static: false }]
|
|
393
393
|
}] }); })();
|
|
394
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJFormField, { className: "MJFormField"
|
|
394
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJFormField, { className: "MJFormField" }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-field.component.d.ts","sourceRoot":"","sources":["../../src/lib/link-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,UAAU,EAAoB,iBAAiB,EAA4B,MAAM,eAAe,CAAC;AACpI,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAgB,eAAe,EAAE,UAAU,EAAqB,MAAM,sBAAsB,CAAC;;AAGhH;;;;;GAKG;AACH,qBAKa,WAAY,SAAQ,mBAAoB,YAAW,aAAa;IAC7D,OAAO,CAAC,GAAG;gBAAH,GAAG,EAAE,iBAAiB;IAG1C;;OAEG;IACM,MAAM,EAAG,UAAU,CAAC;IAE7B;;OAEG;IACM,SAAS,EAAE,MAAM,CAAM;IAEhC;;OAEG;IACM,UAAU,CAAC,EAAE,MAAM,CAAM;IAElC;;;OAGG;IACM,iBAAiB,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAY;IAEvD,iBAAiB,EAAE,UAAU,GAAG,SAAS,CAAa;IAE7D,OAAO,CAAC,eAAe,CAAqC;IAC5D,IAAW,cAAc,IAAI,UAAU,GAAG,SAAS,CAElD;IACD,IAAW,cA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AAU,GAAG,SAAS,CAElD;IACD,IAAW,cAAc,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,EAOpD;IACM,YAAY,EAAE,OAAO,CAAS;IAC9B,oBAAoB,EAAE,UAAU,EAAE,CAAM;IACxC,mBAAmB,EAAE,OAAO,CAAS;IACrC,eAAe,EAAE,eAAe,EAAE,CAAM;IAEL,QAAQ,EAAG,UAAU,CAAC;YAElD,aAAa;IA0CrB,eAAe;cAIL,kBAAkB;IAoBlC,IAAW,KAAK,IAAI,GAAG,CAEtB;IAED,IAAW,KAAK,CAAC,GAAG,EAAE,GAAG,EAQxB;IAED,IAAW,WAAW,IAAI,eAAe,GAAG,SAAS,CAEpD;IACD,IAAW,WAAW,IAAI,MAAM,CAM/B;IAGM,cAAc;IAOd,sBAAsB,EAAE,MAAM,CAAM;cAC3B,oBAAoB,CAAC,KAAK,EAAE,MAAM;cAoDlC,oBAAoB;cA4BpB,gBAAgB;IAIzB,gBAAgB,CAAC,YAAY,EAAE,UAAU;yCAtOvC,WAAW;2CAAX,WAAW;CAuPvB"}
|
|
@@ -242,10 +242,13 @@ export class MJLinkField extends BaseRecordComponent {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
else {
|
|
246
|
-
// the pkey is a string, so we can search on it no matter what the query is, a number, not a number, whatever
|
|
245
|
+
else if (this.RelatedEntityInfo.FirstPrimaryKey.Type.trim().toLowerCase() !== 'uniqueidentifier') {
|
|
246
|
+
// the pkey is a string that is NOT a unique identifier, so we can search on it no matter what the query is, a number, not a number, whatever
|
|
247
247
|
filter = `[${this.RelatedEntityInfo.FirstPrimaryKey.Name}] = '${escapedQuery}'`;
|
|
248
248
|
}
|
|
249
|
+
else {
|
|
250
|
+
// we can't search on the pkey so leave it alone
|
|
251
|
+
}
|
|
249
252
|
if (this.RelatedEntityNameField) {
|
|
250
253
|
filter = `[${this.RelatedEntityNameField}] LIKE '${escapedQuery}%'${filter.length > 0 ? ' OR ' + filter : ''}`;
|
|
251
254
|
}
|
|
@@ -344,4 +347,4 @@ MJLinkField.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJLinkField, se
|
|
|
344
347
|
type: ViewChild,
|
|
345
348
|
args: ['inputBox', { static: false }]
|
|
346
349
|
}] }); })();
|
|
347
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJLinkField, { className: "MJLinkField"
|
|
350
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJLinkField, { className: "MJLinkField" }); })();
|
|
@@ -75,4 +75,4 @@ SectionLoaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Sect
|
|
|
75
75
|
type: ViewChild,
|
|
76
76
|
args: ['container', { read: ViewContainerRef }]
|
|
77
77
|
}] }); })();
|
|
78
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionLoaderComponent, { className: "SectionLoaderComponent"
|
|
78
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionLoaderComponent, { className: "SectionLoaderComponent" }); })();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-base-forms",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "MemberJunction: Angular Base Form Components",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"@angular/router": "18.0.2"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@memberjunction/global": "
|
|
29
|
-
"@memberjunction/core": "
|
|
30
|
-
"@memberjunction/ng-code-editor": "
|
|
31
|
-
"@memberjunction/ng-shared": "
|
|
32
|
-
"@memberjunction/ng-tabstrip": "
|
|
33
|
-
"@memberjunction/ng-link-directives": "
|
|
34
|
-
"@memberjunction/ng-container-directives": "
|
|
35
|
-
"@memberjunction/ng-record-changes": "
|
|
36
|
-
"@memberjunction/ng-base-types": "
|
|
28
|
+
"@memberjunction/global": "2.0.0",
|
|
29
|
+
"@memberjunction/core": "2.0.0",
|
|
30
|
+
"@memberjunction/ng-code-editor": "2.0.0",
|
|
31
|
+
"@memberjunction/ng-shared": "2.0.0",
|
|
32
|
+
"@memberjunction/ng-tabstrip": "2.0.0",
|
|
33
|
+
"@memberjunction/ng-link-directives": "2.0.0",
|
|
34
|
+
"@memberjunction/ng-container-directives": "2.0.0",
|
|
35
|
+
"@memberjunction/ng-record-changes": "2.0.0",
|
|
36
|
+
"@memberjunction/ng-base-types": "2.0.0",
|
|
37
37
|
"@progress/kendo-angular-buttons": "16.2.0",
|
|
38
38
|
"@progress/kendo-angular-dropdowns": "16.2.0",
|
|
39
39
|
"@progress/kendo-angular-inputs": "16.2.0",
|
|
40
40
|
"@progress/kendo-angular-dateinputs": "16.2.0",
|
|
41
41
|
"@progress/kendo-angular-dialog": "16.2.0",
|
|
42
|
-
"ngx-markdown": "18.0.0",
|
|
42
|
+
"ngx-markdown": "^18.0.0",
|
|
43
43
|
"rxjs": "^7.8.1",
|
|
44
44
|
"tslib": "^2.3.0"
|
|
45
45
|
},
|