@omnia/fx-models 8.0.238-dev → 8.0.240-dev

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.
@@ -4,5 +4,8 @@ export interface MarkdownEditorActionRegistration {
4
4
  id: guid;
5
5
  icon: FontAwesomeIcon;
6
6
  altText?: string;
7
- onClick: () => void;
7
+ groupIndex: number;
8
+ itemIndex: number;
9
+ onClick?: (store: any) => void;
10
+ component?: () => JSX.Element;
8
11
  }
@@ -1 +1 @@
1
- export * from "./Actions";
1
+ export * from "./MarkdownActionRegistration";
package/markdown/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Actions"), exports);
4
+ tslib_1.__exportStar(require("./MarkdownActionRegistration"), exports);
@@ -38,7 +38,7 @@ export declare const OAlertTypeDefinitions: readonly ["success", "info", "warnin
38
38
  export type OAlertTypes = typeof OAlertTypeDefinitions[number];
39
39
  export declare const OAlertTypesName = "OAlertTypes";
40
40
  /**Button */
41
- export declare const OButtonPresetDefinitions: readonly ["confirm", "create", "remove", "delete", "ok", "cancel", "save", "close", "manage-list", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-preview", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
41
+ export declare const OButtonPresetDefinitions: readonly ["confirm", "create", "remove", "delete", "add", "ok", "cancel", "save", "close", "manage-list", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-preview", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
42
42
  export type OOxideButtonPresets = typeof OButtonPresetDefinitions[number];
43
43
  export declare const OButtonPresetsName = "OOxideButtonPresets";
44
44
  export declare const OButtonVariantDefinitions: readonly ["primary", "default", "toolbar", "opacity", "dial", "slim", "menu", "overlay"];
@@ -29,7 +29,7 @@ exports.OAppBarTypesName = "OAppBarTypes";
29
29
  exports.OAlertTypeDefinitions = ["success", "info", "warning", "error"];
30
30
  exports.OAlertTypesName = "OAlertTypes";
31
31
  /**Button */
32
- exports.OButtonPresetDefinitions = ["confirm", "create", "remove", "delete", "ok", "cancel", "save", "close", "manage-list", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-preview", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
32
+ exports.OButtonPresetDefinitions = ["confirm", "create", "remove", "delete", "add", "ok", "cancel", "save", "close", "manage-list", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-preview", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
33
33
  exports.OButtonPresetsName = "OOxideButtonPresets";
34
34
  exports.OButtonVariantDefinitions = ["primary", "default", "toolbar", "opacity", "dial", "slim", "menu", "overlay"];
35
35
  exports.OButtonVariantsName = "OButtonVariants";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.238-dev",
4
+ "version": "8.0.240-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -27,7 +27,7 @@ class SharePointTermSetPropertyValue extends PropertyValue_1.PropertyValue {
27
27
  return new SharePointTermSetPropertyValue(termIds);
28
28
  }
29
29
  isEmpty() {
30
- return this?.termIds?.length == 0;
30
+ return !this?.termIds || this.termIds.length == 0;
31
31
  }
32
32
  }
33
33
  exports.SharePointTermSetPropertyValue = SharePointTermSetPropertyValue;
@@ -8,7 +8,7 @@ class IdentityPropertyValue extends PropertyValue_1.PropertyValue {
8
8
  this.identities = identities;
9
9
  }
10
10
  isEmpty() {
11
- return this.identities?.length == 0;
11
+ return !this.identities || this.identities.length == 0;
12
12
  }
13
13
  }
14
14
  exports.IdentityPropertyValue = IdentityPropertyValue;
@@ -8,7 +8,7 @@ class MultilineTextPropertyValue extends PropertyValue_1.PropertyValue {
8
8
  this.texts = texts;
9
9
  }
10
10
  isEmpty() {
11
- return this.texts?.length == 0;
11
+ return !this.texts || this.texts.length == 0;
12
12
  }
13
13
  }
14
14
  exports.MultilineTextPropertyValue = MultilineTextPropertyValue;
@@ -8,7 +8,7 @@ class TagsPropertyValue extends PropertyValue_1.PropertyValue {
8
8
  this.tags = tags;
9
9
  }
10
10
  isEmpty() {
11
- return this.tags?.length == 0;
11
+ return !this.tags || this.tags.length == 0;
12
12
  }
13
13
  }
14
14
  exports.TagsPropertyValue = TagsPropertyValue;