@omnia/fx-sp 7.0.347-dev → 7.0.349-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.
@@ -1,7 +1,8 @@
1
- import { EnterprisePropertyTaxonomyItemSettings } from "../../../../../models";
1
+ import { EnterprisePropertyTaxonomyItemSettings, PromotedTagOptions } from "../../../../../models";
2
2
  import { EnterprisePropertyEditProps, TsxAllowUnknowProperties } from "../../../../../ux";
3
3
  export interface ITaxonomyFieldEdit extends EnterprisePropertyEditProps<EnterprisePropertyTaxonomyItemSettings> {
4
4
  lcid?: number;
5
+ promotedTagOptions?: PromotedTagOptions;
5
6
  }
6
7
  declare global {
7
8
  namespace VueTsxSupport.JSX {
@@ -1,5 +1,5 @@
1
1
  import { ITaxonomyFieldEdit } from "./ITaxonomyFieldEdit";
2
- import { EnterprisePropertyDefinition, EnterprisePropertyTaxonomyItemSettings } from "../../../../../models";
2
+ import { EnterprisePropertyDefinition, EnterprisePropertyTaxonomyItemSettings, PromotedTagOptions } from "../../../../../models";
3
3
  import { IWebComponentInstance } from "../../../../..";
4
4
  import { VueComponentBase } from "../../../../../ux";
5
5
  export declare class TaxonomyFieldEdit extends VueComponentBase implements IWebComponentInstance, ITaxonomyFieldEdit {
@@ -12,6 +12,7 @@ export declare class TaxonomyFieldEdit extends VueComponentBase implements IWebC
12
12
  dark?: boolean;
13
13
  lcid: number;
14
14
  settings: EnterprisePropertyTaxonomyItemSettings;
15
+ promotedTagOptions?: PromotedTagOptions;
15
16
  private multilingualStore;
16
17
  private propertySettings;
17
18
  isRequired: boolean;
@@ -8,8 +8,9 @@ export default class TaxonomyFilterEngineHandler extends Store implements ITyped
8
8
  private enterprisePropertyStore;
9
9
  indexedTypes: PropertyIndexedType[];
10
10
  readonly termPrefix = "L0|#0";
11
- property: TaxonomyFilterEngineProperty;
12
- propertyDefinition: EnterprisePropertyDefinition;
11
+ readonly property: TaxonomyFilterEngineProperty;
12
+ readonly propertyDefinition: EnterprisePropertyDefinition;
13
+ hideTitle: boolean;
13
14
  private termSetId;
14
15
  private latestRefinements;
15
16
  private selectedRefinements;
@@ -1,6 +1,6 @@
1
1
  import { TsxAllowUnknowProperties, IValidator } from "../../../ux";
2
2
  import { Term, FilterOption } from "../../models";
3
- import { GuidValue } from "../../../models";
3
+ import { GuidValue, PromotedTagOptions } from "../../../models";
4
4
  export interface ITermPickerProperties {
5
5
  label?: string;
6
6
  disabled?: boolean;
@@ -26,6 +26,7 @@ export interface ITermPicker extends ITermPickerProperties {
26
26
  filterOptions?: (term: Term) => FilterOption;
27
27
  validator?: IValidator;
28
28
  description?: string;
29
+ promotedTagOptions?: PromotedTagOptions;
29
30
  }
30
31
  declare global {
31
32
  namespace VueTsxSupport.JSX {
@@ -1,6 +1,6 @@
1
1
  import { TsxAllowUnknowProperties } from "../../../ux";
2
2
  import { Term, FilterOption } from "../../models";
3
- import { GuidValue } from "../../../models";
3
+ import { GuidValue, PromotedTagOptions } from "../../../models";
4
4
  import { TermData } from "../../../fx/stores";
5
5
  export interface ITermPickerTreeProperties {
6
6
  multi?: boolean;
@@ -20,6 +20,7 @@ export interface ITermPickerTree extends ITermPickerTreeProperties {
20
20
  filterOptions?: (term: Term) => FilterOption;
21
21
  loaded: () => void;
22
22
  selectedTerms: Array<TermData>;
23
+ promotedTagOptions?: PromotedTagOptions;
23
24
  }
24
25
  declare global {
25
26
  namespace VueTsxSupport.JSX {
@@ -17,6 +17,7 @@ interface ITermNode {
17
17
  ariachecked?: boolean;
18
18
  disabled?: boolean;
19
19
  closeMenu?: () => void;
20
+ nodeStyles?: string;
20
21
  }
21
22
  export declare class TermNode extends VueComponentBase<ITermNode> {
22
23
  termStore: TermStore;
@@ -35,6 +36,7 @@ export declare class TermNode extends VueComponentBase<ITermNode> {
35
36
  ariachecked: boolean;
36
37
  disabled: boolean;
37
38
  closeMenu: () => void;
39
+ nodeStyles?: string;
38
40
  private termClasses;
39
41
  private VK_LEFT;
40
42
  private VK_UP;
@@ -3,7 +3,7 @@ import { ITermPicker } from "./ITermPicker";
3
3
  import { Term, FilterOption } from "../../models";
4
4
  import "./TermPicker.css";
5
5
  import { IValidator, VueComponentBase } from "../../../ux";
6
- import { GuidValue } from "../../../models";
6
+ import { GuidValue, PromotedTagOptions } from "../../../models";
7
7
  import { MultilingualStore } from "../../../../fx/stores";
8
8
  export declare class TermPicker extends VueComponentBase implements IWebComponentInstance, ITermPicker {
9
9
  private loc;
@@ -29,6 +29,7 @@ export declare class TermPicker extends VueComponentBase implements IWebComponen
29
29
  includeDeprecated?: boolean;
30
30
  isEnterpriseKeyword?: boolean;
31
31
  description?: string;
32
+ promotedTagOptions?: PromotedTagOptions;
32
33
  ariaDescribedby?: string;
33
34
  ariaInvalid?: boolean;
34
35
  preSelectedTermIdsChange(model: Array<GuidValue>): void;
@@ -2,10 +2,11 @@ import { IWebComponentInstance } from "../../../";
2
2
  import { TermPickerLocalization } from "./loc/localize";
3
3
  import { TermStore, TermData } from "../../../fx/stores";
4
4
  import { Term, FilterOption } from "../../models";
5
- import { GuidValue } from "../../../models";
5
+ import { GuidValue, PromotedTagOptions } from "../../../models";
6
6
  import { ITermPickerTree } from "./ITermPickerTree";
7
7
  import "./TermPicker.css";
8
8
  import { VueComponentBase } from "../../../ux";
9
+ import { PromotedTagStore } from "../../../../fx/stores";
9
10
  interface TermTreeViewNode extends Term {
10
11
  selected?: boolean;
11
12
  expanding?: boolean;
@@ -20,6 +21,7 @@ interface TermTreeViewNode extends Term {
20
21
  export declare class TermPickerTree extends VueComponentBase<ITermPickerTree> implements IWebComponentInstance, ITermPickerTree {
21
22
  termStore: TermStore;
22
23
  private subscriptionHandler;
24
+ promotedTagStore: PromotedTagStore;
23
25
  loc: TermPickerLocalization.locInterface;
24
26
  termSetId: GuidValue;
25
27
  preSelectedTermIds: Array<GuidValue>;
@@ -36,8 +38,10 @@ export declare class TermPickerTree extends VueComponentBase<ITermPickerTree> im
36
38
  includeDeprecated?: boolean;
37
39
  selectedTerms: Array<TermData>;
38
40
  isEnterpriseKeyword?: boolean;
41
+ promotedTagOptions?: PromotedTagOptions;
39
42
  private startIdToRender;
40
43
  private termClasses;
44
+ private promotedTermTags;
41
45
  private UIConfig;
42
46
  treeNodes: {
43
47
  [parentId: string]: Array<TermTreeViewNode>;
@@ -46,6 +50,7 @@ export declare class TermPickerTree extends VueComponentBase<ITermPickerTree> im
46
50
  mounted(): void;
47
51
  init(): void;
48
52
  private onCompletedEnsureTerms;
53
+ private ensurePromotedTermTags;
49
54
  createNewTerm(parentTerm: TermTreeViewNode, termName: string): void;
50
55
  validateTermName(parentId: string, name: string): boolean;
51
56
  getChildrens(parentId: any): TermTreeViewNode[];
@@ -61,6 +66,7 @@ export declare class TermPickerTree extends VueComponentBase<ITermPickerTree> im
61
66
  onBeforeCreateNewChildTerm(term: TermTreeViewNode): void;
62
67
  onTermSelecting(term: TermTreeViewNode): void;
63
68
  render(): VueTsxSupport.JSX.Element;
69
+ private renderPromotedTerms;
64
70
  renderTermTree(parentId: GuidValue, nodeLevel: number): VueTsxSupport.JSX.Element;
65
71
  }
66
72
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-sp",
3
3
  "license": "MIT",
4
- "version": "7.0.347-dev",
4
+ "version": "7.0.349-dev",
5
5
  "description": "Provide Omnia Fx Sharepoint Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "author": "Precio Fishbone",
21
21
  "dependencies": {
22
- "@omnia/fx": "7.0.347-dev",
23
- "@omnia/fx-sp-models": "7.0.347-dev"
22
+ "@omnia/fx": "7.0.349-dev",
23
+ "@omnia/fx-sp-models": "7.0.349-dev"
24
24
  },
25
25
  "typings": "./index.d.ts",
26
26
  "bugs": {