@omnia/fx-models 7.7.81-preview → 7.7.85-preview

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/Enums.d.ts CHANGED
@@ -528,7 +528,8 @@ export declare enum StaticEndpoint {
528
528
  MagicLinkSuccess = "/api/magiclink/success",
529
529
  MagicLinkFailure = "/api/magiclink/failure",
530
530
  MagicLink = "/api/magiclink",
531
- SharepointServerLogin = "/spsignin"
531
+ SharepointServerLogin = "/spsignin",
532
+ NotFound = "/_system/404"
532
533
  }
533
534
  export declare enum QueueMessageStatus {
534
535
  Unassigned = 0,
package/Enums.js CHANGED
@@ -440,6 +440,7 @@ var StaticEndpoint;
440
440
  StaticEndpoint["MagicLink"] = "/api/magiclink";
441
441
  // onprem only
442
442
  StaticEndpoint["SharepointServerLogin"] = "/spsignin";
443
+ StaticEndpoint["NotFound"] = "/_system/404";
443
444
  })(StaticEndpoint = exports.StaticEndpoint || (exports.StaticEndpoint = {}));
444
445
  var QueueMessageStatus;
445
446
  (function (QueueMessageStatus) {
package/Layout.d.ts CHANGED
@@ -187,6 +187,7 @@ export interface StepperSectionSettings extends SectionSettings {
187
187
  nonLinear: boolean;
188
188
  labelSettings: StepperLabelSettings;
189
189
  scrollToTopOnSelectedStep: boolean;
190
+ paging?: boolean;
190
191
  }
191
192
  export interface StepperLabelSettings {
192
193
  none: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "7.7.81-preview",
4
+ "version": "7.7.85-preview",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,10 +19,12 @@ class SharePointTermSetPropertyValue extends PropertyValue_1.PropertyValue {
19
19
  return false;
20
20
  }
21
21
  appendValue(other) {
22
- let termIds = this?.termIds || [];
23
- other?.termIds?.forEach(termId => termIds.push(termId));
24
- termIds = termIds.filter((item, index, self) => {
25
- return self.indexOf(item) === index;
22
+ const termIds = this?.termIds || [];
23
+ other?.termIds?.forEach(termId => {
24
+ const exist = termIds.find(q => q.toString() == termId.toString());
25
+ if (!exist) {
26
+ termIds.push(termId);
27
+ }
26
28
  });
27
29
  return new SharePointTermSetPropertyValue(termIds);
28
30
  }