@omnia/wcm 6.7.101-preview → 6.7.102-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/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +25 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +3 -23
- package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +35 -0
- package/internal-do-not-import-from-here/core/ux/index.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/FilterSettings.d.ts +34 -0
- package/internal-do-not-import-from-here/fx/models/components/FilterSettings.js +28 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +12 -21
- package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/infoscreen/AdminInfoScreenBlock.d.ts +5 -4
- package/internal-do-not-import-from-here/fx/models/pagequery/PageDetailsQuery.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +4 -21
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +4 -25
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/query/PageQuery.d.ts +4 -3
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/package.json +1 -1
- package/internal-do-not-import-from-here/core/ux/FilterTaxonomyValueInput.d.ts +0 -27
|
@@ -113,6 +113,31 @@ export declare module WCMCoreLocalization {
|
|
|
113
113
|
Description: string;
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
|
+
BlockSettings: {
|
|
117
|
+
IncludeChildTerms: string;
|
|
118
|
+
IncludeEmpty: string;
|
|
119
|
+
DatePeriods: {
|
|
120
|
+
OneWeekFromToday: string;
|
|
121
|
+
TwoWeeksFromToday: string;
|
|
122
|
+
OneMonthFromToday: string;
|
|
123
|
+
EarlierThanNow: string;
|
|
124
|
+
LaterThanNow: string;
|
|
125
|
+
};
|
|
126
|
+
TaxonomyFilterTypes: {
|
|
127
|
+
FixedValue: string;
|
|
128
|
+
CurrentPage: string;
|
|
129
|
+
User: string;
|
|
130
|
+
};
|
|
131
|
+
UIFilterOption: {
|
|
132
|
+
Searchbox: string;
|
|
133
|
+
MyDrafts: string;
|
|
134
|
+
HideFilter: string;
|
|
135
|
+
};
|
|
136
|
+
BooleanFilterOption: {
|
|
137
|
+
Yes: string;
|
|
138
|
+
No: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
116
141
|
PropertyMapping: {
|
|
117
142
|
PropertyToStoreData: string;
|
|
118
143
|
};
|
|
@@ -2,6 +2,9 @@ export declare module PageRollupLocalization {
|
|
|
2
2
|
const namespace = "OWCM.PageRollup";
|
|
3
3
|
interface locInterface {
|
|
4
4
|
ControlTitle: string;
|
|
5
|
+
/**
|
|
6
|
+
* Some properties were moved to a more generic WCMCoreLocalization
|
|
7
|
+
* */
|
|
5
8
|
Settings: {
|
|
6
9
|
General: string;
|
|
7
10
|
Create: string;
|
|
@@ -41,20 +44,6 @@ export declare module PageRollupLocalization {
|
|
|
41
44
|
SearchBoxRounded: string;
|
|
42
45
|
SearchBoxFilled: string;
|
|
43
46
|
CollapseFilter: string;
|
|
44
|
-
DatePeriods: {
|
|
45
|
-
OneWeekFromToday: string;
|
|
46
|
-
TwoWeeksFromToday: string;
|
|
47
|
-
OneMonthFromToday: string;
|
|
48
|
-
EarlierThanNow: string;
|
|
49
|
-
LaterThanNow: string;
|
|
50
|
-
};
|
|
51
|
-
TaxonomyFilterTypes: {
|
|
52
|
-
FixedValue: string;
|
|
53
|
-
CurrentPage: string;
|
|
54
|
-
User: string;
|
|
55
|
-
};
|
|
56
|
-
IncludeChildTerms: string;
|
|
57
|
-
IncludeEmpty: string;
|
|
58
47
|
Paging: string;
|
|
59
48
|
PageSize: string;
|
|
60
49
|
PagingType: {
|
|
@@ -62,10 +51,6 @@ export declare module PageRollupLocalization {
|
|
|
62
51
|
Classic: string;
|
|
63
52
|
Scroll: string;
|
|
64
53
|
};
|
|
65
|
-
BooleanFilterOption: {
|
|
66
|
-
Yes: string;
|
|
67
|
-
No: string;
|
|
68
|
-
};
|
|
69
54
|
Scope: {
|
|
70
55
|
Label: string;
|
|
71
56
|
Tenant: string;
|
|
@@ -75,11 +60,6 @@ export declare module PageRollupLocalization {
|
|
|
75
60
|
NavigationPath: string;
|
|
76
61
|
Channels: string;
|
|
77
62
|
};
|
|
78
|
-
UIFilterOption: {
|
|
79
|
-
Searchbox: string;
|
|
80
|
-
MyDrafts: string;
|
|
81
|
-
HideFilter: string;
|
|
82
|
-
};
|
|
83
63
|
SearchBoxMessage: {
|
|
84
64
|
SearchOnPageTitleAnd: string;
|
|
85
65
|
PageProperties: string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TaxonomyPropertySettings } from "@omnia/fx/models";
|
|
2
|
+
import { VueComponentBase, VueComponentBaseProps } from "@omnia/fx/ux";
|
|
3
|
+
import { FilterSettingsEnums, TaxonomyUIFilter } from "../../fx/models";
|
|
4
|
+
export interface IFilterTargetingPropertyValueInput extends VueComponentBaseProps {
|
|
5
|
+
valueObj: TaxonomyUIFilter;
|
|
6
|
+
settings: TaxonomyPropertySettings;
|
|
7
|
+
filterSettingsClass: string;
|
|
8
|
+
alignSelfCenterClass: string;
|
|
9
|
+
filterTypes: Array<{
|
|
10
|
+
id: FilterSettingsEnums.FilterTypes;
|
|
11
|
+
title: string;
|
|
12
|
+
}>;
|
|
13
|
+
updateBlockData: () => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Generic component created for all targeting properties
|
|
17
|
+
* */
|
|
18
|
+
export declare class FilterTargetingPropertyValueInput extends VueComponentBase<IFilterTargetingPropertyValueInput> {
|
|
19
|
+
valueObj: TaxonomyUIFilter;
|
|
20
|
+
settings: TaxonomyPropertySettings;
|
|
21
|
+
filterSettingsClass: string;
|
|
22
|
+
alignSelfCenterClass: string;
|
|
23
|
+
filterTypes: Array<{
|
|
24
|
+
id: FilterSettingsEnums.FilterTypes;
|
|
25
|
+
title: string;
|
|
26
|
+
}>;
|
|
27
|
+
updateBlockData: () => void;
|
|
28
|
+
private loc;
|
|
29
|
+
created(): void;
|
|
30
|
+
renderFilterTypePicker(h: any): JSX.Element;
|
|
31
|
+
renderFixedValuePicker(h: any): JSX.Element;
|
|
32
|
+
renderIncludeChildTermsCheckbox(h: any): JSX.Element;
|
|
33
|
+
renderIncludeEmptyCheckbox(h: any): JSX.Element;
|
|
34
|
+
render(h: any): JSX.Element;
|
|
35
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./EnterprisePropertyRenderer";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./FilterTargetingPropertyValueInput";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx/models";
|
|
2
|
+
export interface TaxonomyQueryFilter {
|
|
3
|
+
fixedTermIds?: Array<GuidValue>;
|
|
4
|
+
filterType: FilterSettingsEnums.FilterTypes;
|
|
5
|
+
includeChildTerms: boolean;
|
|
6
|
+
includeEmpty: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface TaxonomyUIFilter extends TaxonomyQueryFilter {
|
|
9
|
+
termIds: Array<GuidValue>;
|
|
10
|
+
fixedTermIds: Array<GuidValue>;
|
|
11
|
+
}
|
|
12
|
+
export declare module FilterSettingsEnums {
|
|
13
|
+
enum DatePeriods {
|
|
14
|
+
OneWeekFromToday = 1,
|
|
15
|
+
TwoWeeksFromToday = 2,
|
|
16
|
+
OneMonthFromToday = 3,
|
|
17
|
+
LaterThanNow = 4,
|
|
18
|
+
EarlierThanNow = 5
|
|
19
|
+
}
|
|
20
|
+
enum FilterTypes {
|
|
21
|
+
FixedValue = 1,
|
|
22
|
+
CurrentPage = 2,
|
|
23
|
+
User = 3,
|
|
24
|
+
CurrentTerm = 4
|
|
25
|
+
}
|
|
26
|
+
enum DateTimeModes {
|
|
27
|
+
Normal = 1,
|
|
28
|
+
Social = 2
|
|
29
|
+
}
|
|
30
|
+
enum BooleanFilterOptions {
|
|
31
|
+
Yes = 1,
|
|
32
|
+
No = 2
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export var FilterSettingsEnums;
|
|
2
|
+
(function (FilterSettingsEnums) {
|
|
3
|
+
var DatePeriods;
|
|
4
|
+
(function (DatePeriods) {
|
|
5
|
+
DatePeriods[DatePeriods["OneWeekFromToday"] = 1] = "OneWeekFromToday";
|
|
6
|
+
DatePeriods[DatePeriods["TwoWeeksFromToday"] = 2] = "TwoWeeksFromToday";
|
|
7
|
+
DatePeriods[DatePeriods["OneMonthFromToday"] = 3] = "OneMonthFromToday";
|
|
8
|
+
DatePeriods[DatePeriods["LaterThanNow"] = 4] = "LaterThanNow";
|
|
9
|
+
DatePeriods[DatePeriods["EarlierThanNow"] = 5] = "EarlierThanNow";
|
|
10
|
+
})(DatePeriods = FilterSettingsEnums.DatePeriods || (FilterSettingsEnums.DatePeriods = {}));
|
|
11
|
+
var FilterTypes;
|
|
12
|
+
(function (FilterTypes) {
|
|
13
|
+
FilterTypes[FilterTypes["FixedValue"] = 1] = "FixedValue";
|
|
14
|
+
FilterTypes[FilterTypes["CurrentPage"] = 2] = "CurrentPage";
|
|
15
|
+
FilterTypes[FilterTypes["User"] = 3] = "User";
|
|
16
|
+
FilterTypes[FilterTypes["CurrentTerm"] = 4] = "CurrentTerm";
|
|
17
|
+
})(FilterTypes = FilterSettingsEnums.FilterTypes || (FilterSettingsEnums.FilterTypes = {}));
|
|
18
|
+
var DateTimeModes;
|
|
19
|
+
(function (DateTimeModes) {
|
|
20
|
+
DateTimeModes[DateTimeModes["Normal"] = 1] = "Normal";
|
|
21
|
+
DateTimeModes[DateTimeModes["Social"] = 2] = "Social";
|
|
22
|
+
})(DateTimeModes = FilterSettingsEnums.DateTimeModes || (FilterSettingsEnums.DateTimeModes = {}));
|
|
23
|
+
var BooleanFilterOptions;
|
|
24
|
+
(function (BooleanFilterOptions) {
|
|
25
|
+
BooleanFilterOptions[BooleanFilterOptions["Yes"] = 1] = "Yes";
|
|
26
|
+
BooleanFilterOptions[BooleanFilterOptions["No"] = 2] = "No";
|
|
27
|
+
})(BooleanFilterOptions = FilterSettingsEnums.BooleanFilterOptions || (FilterSettingsEnums.BooleanFilterOptions = {}));
|
|
28
|
+
})(FilterSettingsEnums || (FilterSettingsEnums = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GuidValue, Identity, MultilingualString, PropertyIndexedType, RollupOtherTypes, SpacingSettings, Tag } from '@omnia/fx-models';
|
|
2
|
-
import { Page, PageDialogPropertiesMapping, PageItemNode, PageRollupEnums, PagingTypes } from '..';
|
|
2
|
+
import { FilterSettingsEnums, Page, PageDialogPropertiesMapping, PageItemNode, PageRollupEnums, PagingTypes, TaxonomyQueryFilter, TaxonomyUIFilter } from '..';
|
|
3
3
|
import { ChannelId } from '../channels';
|
|
4
4
|
import { PageId } from '../pages';
|
|
5
5
|
import { VariationId } from '../variations';
|
|
@@ -48,21 +48,17 @@ export interface PageRollupPersonPropertyFilterValue extends PageRollupPropertyF
|
|
|
48
48
|
value: Array<Identity>;
|
|
49
49
|
}
|
|
50
50
|
export interface PageRollupDatePropertyFilterValue extends PageRollupPropertyFilterValue {
|
|
51
|
-
value:
|
|
51
|
+
value: FilterSettingsEnums.DatePeriods;
|
|
52
52
|
}
|
|
53
53
|
export interface PageRollupTagPropertyFilterValue extends PageRollupPropertyFilterValue {
|
|
54
54
|
value: Array<Tag>;
|
|
55
|
-
filterType:
|
|
55
|
+
filterType: FilterSettingsEnums.FilterTypes;
|
|
56
56
|
}
|
|
57
|
-
export interface PageRollupTaxonomyPropertyFilterValue extends
|
|
58
|
-
fixedTermIds?: Array<string>;
|
|
59
|
-
filterType: PageRollupEnums.FilterTypes;
|
|
60
|
-
includeChildTerms: boolean;
|
|
61
|
-
includeEmpty: boolean;
|
|
57
|
+
export interface PageRollupTaxonomyPropertyFilterValue extends TaxonomyQueryFilter {
|
|
62
58
|
}
|
|
63
59
|
export interface PageRollupLanguagePropertyFilterValue extends PageRollupPropertyFilterValue {
|
|
64
60
|
value: string[];
|
|
65
|
-
filterType:
|
|
61
|
+
filterType: FilterSettingsEnums.FilterTypes;
|
|
66
62
|
}
|
|
67
63
|
/**
|
|
68
64
|
*
|
|
@@ -77,14 +73,14 @@ export interface PageRollupUiFilter {
|
|
|
77
73
|
export interface PageRollupUiFilterValue {
|
|
78
74
|
}
|
|
79
75
|
export interface PageRollupUiDatePeriodsFilterValue extends PageRollupUiDatePropFilterValue {
|
|
80
|
-
value:
|
|
76
|
+
value: FilterSettingsEnums.DatePeriods;
|
|
81
77
|
}
|
|
82
78
|
export interface PageRollupUiDatePropFilterValue extends PageRollupUiFilterValue {
|
|
83
79
|
from: string;
|
|
84
80
|
to: string;
|
|
85
81
|
}
|
|
86
82
|
export interface PageRollupUiBooleanPropFilterValue extends PageRollupUiFilterValue {
|
|
87
|
-
value:
|
|
83
|
+
value: FilterSettingsEnums.BooleanFilterOptions;
|
|
88
84
|
}
|
|
89
85
|
export interface PageRollupUiTextPropFilterValue extends PageRollupUiFilterValue {
|
|
90
86
|
text: string;
|
|
@@ -95,12 +91,7 @@ export interface PageRollupUiNumberPropFilterValue extends PageRollupUiFilterVal
|
|
|
95
91
|
export interface PageRollupUiPersonPropFilterValue extends PageRollupUiFilterValue {
|
|
96
92
|
value: Array<Identity>;
|
|
97
93
|
}
|
|
98
|
-
export interface PageRollupUiTaxonomyPropFilterValue extends
|
|
99
|
-
termIds: Array<GuidValue>;
|
|
100
|
-
fixedTermIds: Array<GuidValue>;
|
|
101
|
-
filterType: PageRollupEnums.FilterTypes;
|
|
102
|
-
includeChildTerms: boolean;
|
|
103
|
-
includeEmpty: boolean;
|
|
94
|
+
export interface PageRollupUiTaxonomyPropFilterValue extends TaxonomyUIFilter {
|
|
104
95
|
}
|
|
105
96
|
export interface PageRollupUiSearchboxFilterValue extends PageRollupUiTextPropFilterValue {
|
|
106
97
|
properties: Array<string>;
|
|
@@ -162,10 +153,10 @@ export interface PageRollupBlockSettings {
|
|
|
162
153
|
viewSettings: PageRollupViewSettings;
|
|
163
154
|
uiFilters: Array<PageRollupUiFilter>;
|
|
164
155
|
title: MultilingualString;
|
|
165
|
-
likePeriod?:
|
|
166
|
-
commentPeriod?:
|
|
167
|
-
ratingPeriod?:
|
|
168
|
-
feedbackPeriod?:
|
|
156
|
+
likePeriod?: FilterSettingsEnums.DatePeriods;
|
|
157
|
+
commentPeriod?: FilterSettingsEnums.DatePeriods;
|
|
158
|
+
ratingPeriod?: FilterSettingsEnums.DatePeriods;
|
|
159
|
+
feedbackPeriod?: FilterSettingsEnums.DatePeriods;
|
|
169
160
|
sortBy?: string;
|
|
170
161
|
sortDescending?: boolean;
|
|
171
162
|
showCreateButton?: boolean;
|
|
@@ -2,6 +2,7 @@ import { PropertyIndexedType, GuidValue, SpacingSettings, MultilingualString, Ic
|
|
|
2
2
|
import { AdminInfoScreenEnums } from './AdminInfoScreenEnums';
|
|
3
3
|
import { PageQuery, PageRollupEnums, PageRollupPropertyFilter, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType } from '@omnia/wcm/models';
|
|
4
4
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
5
|
+
import { FilterSettingsEnums } from '..';
|
|
5
6
|
export interface BlockDataWithSettingsAndData<Data, Settings> {
|
|
6
7
|
settings: Settings;
|
|
7
8
|
}
|
|
@@ -91,10 +92,10 @@ export interface AdminInfoScreenBlockSettings {
|
|
|
91
92
|
viewSettings: AdminInfoScreenViewSettings;
|
|
92
93
|
uiFilters: Array<PageRollupUiFilter>;
|
|
93
94
|
title: MultilingualString;
|
|
94
|
-
likePeriod?:
|
|
95
|
-
commentPeriod?:
|
|
96
|
-
ratingPeriod?:
|
|
97
|
-
feedbackPeriod?:
|
|
95
|
+
likePeriod?: FilterSettingsEnums.DatePeriods;
|
|
96
|
+
commentPeriod?: FilterSettingsEnums.DatePeriods;
|
|
97
|
+
ratingPeriod?: FilterSettingsEnums.DatePeriods;
|
|
98
|
+
feedbackPeriod?: FilterSettingsEnums.DatePeriods;
|
|
98
99
|
sortBy?: string;
|
|
99
100
|
sortDescending?: boolean;
|
|
100
101
|
showCreateButton?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FilterSettingsEnums } from '..';
|
|
2
2
|
import { PageNavigationNode, PageNavigationData } from '../navigation';
|
|
3
3
|
import { VariationId } from '../variations';
|
|
4
4
|
export interface PageDetailsQueryResult {
|
|
@@ -27,7 +27,7 @@ export interface SimplePageQuery {
|
|
|
27
27
|
contentProp: string;
|
|
28
28
|
}
|
|
29
29
|
export interface PageSocialCounting {
|
|
30
|
-
datePeriod:
|
|
30
|
+
datePeriod: FilterSettingsEnums.DatePeriods;
|
|
31
31
|
counting: number;
|
|
32
32
|
rating: number;
|
|
33
33
|
internalName: string;
|
|
@@ -35,8 +35,8 @@ export interface PageSocialCounting {
|
|
|
35
35
|
export interface PageDetailsQuery {
|
|
36
36
|
ids: Array<number>;
|
|
37
37
|
internalNames: Array<string>;
|
|
38
|
-
likePeriod:
|
|
39
|
-
commentPeriod:
|
|
38
|
+
likePeriod: FilterSettingsEnums.DatePeriods;
|
|
39
|
+
commentPeriod: FilterSettingsEnums.DatePeriods;
|
|
40
40
|
contentLimit?: number;
|
|
41
41
|
contentProp?: string;
|
|
42
42
|
}
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PageRollup specific enums
|
|
3
|
+
* Most of the old enums were moved to the more generic FilterSettingsEnums
|
|
4
|
+
* */
|
|
1
5
|
export declare module PageRollupEnums {
|
|
2
|
-
enum DatePeriods {
|
|
3
|
-
OneWeekFromToday = 1,
|
|
4
|
-
TwoWeeksFromToday = 2,
|
|
5
|
-
OneMonthFromToday = 3,
|
|
6
|
-
LaterThanNow = 4,
|
|
7
|
-
EarlierThanNow = 5
|
|
8
|
-
}
|
|
9
|
-
enum FilterTypes {
|
|
10
|
-
FixedValue = 1,
|
|
11
|
-
CurrentPage = 2,
|
|
12
|
-
User = 3,
|
|
13
|
-
CurrentTerm = 4
|
|
14
|
-
}
|
|
15
|
-
enum DateTimeModes {
|
|
16
|
-
Normal = 1,
|
|
17
|
-
Social = 2
|
|
18
|
-
}
|
|
19
|
-
enum BooleanFilterOptions {
|
|
20
|
-
Yes = 1,
|
|
21
|
-
No = 2
|
|
22
|
-
}
|
|
23
6
|
enum RollupScopes {
|
|
24
7
|
Tenant = 1,
|
|
25
8
|
PublishingApps = 2,
|
|
@@ -1,30 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PageRollup specific enums
|
|
3
|
+
* Most of the old enums were moved to the more generic FilterSettingsEnums
|
|
4
|
+
* */
|
|
1
5
|
export var PageRollupEnums;
|
|
2
6
|
(function (PageRollupEnums) {
|
|
3
|
-
var DatePeriods;
|
|
4
|
-
(function (DatePeriods) {
|
|
5
|
-
DatePeriods[DatePeriods["OneWeekFromToday"] = 1] = "OneWeekFromToday";
|
|
6
|
-
DatePeriods[DatePeriods["TwoWeeksFromToday"] = 2] = "TwoWeeksFromToday";
|
|
7
|
-
DatePeriods[DatePeriods["OneMonthFromToday"] = 3] = "OneMonthFromToday";
|
|
8
|
-
DatePeriods[DatePeriods["LaterThanNow"] = 4] = "LaterThanNow";
|
|
9
|
-
DatePeriods[DatePeriods["EarlierThanNow"] = 5] = "EarlierThanNow";
|
|
10
|
-
})(DatePeriods = PageRollupEnums.DatePeriods || (PageRollupEnums.DatePeriods = {}));
|
|
11
|
-
var FilterTypes;
|
|
12
|
-
(function (FilterTypes) {
|
|
13
|
-
FilterTypes[FilterTypes["FixedValue"] = 1] = "FixedValue";
|
|
14
|
-
FilterTypes[FilterTypes["CurrentPage"] = 2] = "CurrentPage";
|
|
15
|
-
FilterTypes[FilterTypes["User"] = 3] = "User";
|
|
16
|
-
FilterTypes[FilterTypes["CurrentTerm"] = 4] = "CurrentTerm";
|
|
17
|
-
})(FilterTypes = PageRollupEnums.FilterTypes || (PageRollupEnums.FilterTypes = {}));
|
|
18
|
-
var DateTimeModes;
|
|
19
|
-
(function (DateTimeModes) {
|
|
20
|
-
DateTimeModes[DateTimeModes["Normal"] = 1] = "Normal";
|
|
21
|
-
DateTimeModes[DateTimeModes["Social"] = 2] = "Social";
|
|
22
|
-
})(DateTimeModes = PageRollupEnums.DateTimeModes || (PageRollupEnums.DateTimeModes = {}));
|
|
23
|
-
var BooleanFilterOptions;
|
|
24
|
-
(function (BooleanFilterOptions) {
|
|
25
|
-
BooleanFilterOptions[BooleanFilterOptions["Yes"] = 1] = "Yes";
|
|
26
|
-
BooleanFilterOptions[BooleanFilterOptions["No"] = 2] = "No";
|
|
27
|
-
})(BooleanFilterOptions = PageRollupEnums.BooleanFilterOptions || (PageRollupEnums.BooleanFilterOptions = {}));
|
|
28
7
|
var RollupScopes;
|
|
29
8
|
(function (RollupScopes) {
|
|
30
9
|
RollupScopes[RollupScopes["Tenant"] = 1] = "Tenant";
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropertyIndexedType, GuidValue } from '@omnia/fx/models';
|
|
2
|
-
import { PageRollupEnums } from '.';
|
|
3
2
|
import { PageRollupViewSettings } from '..';
|
|
3
|
+
import { FilterSettingsEnums } from '..';
|
|
4
4
|
export interface ListViewColumn {
|
|
5
5
|
internalName: string;
|
|
6
6
|
type: PropertyIndexedType;
|
|
@@ -9,7 +9,7 @@ export interface ListViewColumn {
|
|
|
9
9
|
}
|
|
10
10
|
export interface ListViewDateTimeColumn extends ListViewColumn {
|
|
11
11
|
type: PropertyIndexedType.DateTime;
|
|
12
|
-
mode:
|
|
12
|
+
mode: FilterSettingsEnums.DateTimeModes;
|
|
13
13
|
format: string;
|
|
14
14
|
}
|
|
15
15
|
export interface ListViewMediaColumn extends ListViewColumn {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ItemQuery, PagingTypes, VariationId, VariationQuery } from '..';
|
|
2
|
+
import { FilterSettingsEnums } from '..';
|
|
2
3
|
export interface PageQuery extends ItemQuery {
|
|
3
|
-
likePeriod:
|
|
4
|
-
commentPeriod:
|
|
4
|
+
likePeriod: FilterSettingsEnums.DatePeriods;
|
|
5
|
+
commentPeriod: FilterSettingsEnums.DatePeriods;
|
|
5
6
|
showMyDrafts?: boolean;
|
|
6
7
|
variationIds: Array<VariationId>;
|
|
7
8
|
variationQueries: Array<VariationQuery>;
|
|
@@ -106,6 +106,7 @@ export declare class PageRollupStoreHelper {
|
|
|
106
106
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
107
107
|
}
|
|
108
108
|
export declare class FilterManager {
|
|
109
|
+
private static targetingPropertyStore;
|
|
109
110
|
static buildSearchQuery(filters: Array<RollupFilter>, searchText: string, enterprisePropertyDefinitions: EnterprisePropertyDefinition[], searchFilter: PageRollupUiSearchboxFilterValue, enableWildcardSearch: boolean): QueryFilter[];
|
|
110
111
|
private static generatSearchFilter;
|
|
111
112
|
static isOPMProcessProperty(enterprisePropertyDefinition: EnterprisePropertyDefinition): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelId","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WCMRecipientsEnterpriseProperties","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelId","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","FilterSettingsEnums","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WCMRecipientsEnterpriseProperties","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TaxonomyPropertySettings } from "@omnia/fx/models";
|
|
2
|
-
import { VueComponentBase, VueComponentBaseProps } from "@omnia/fx/ux";
|
|
3
|
-
import { PageRollupEnums, PageRollupUiTaxonomyPropFilterValue } from "../../fx/models";
|
|
4
|
-
export interface IFilterTaxonomyValueInputProps extends VueComponentBaseProps {
|
|
5
|
-
valueObj: PageRollupUiTaxonomyPropFilterValue;
|
|
6
|
-
settings: TaxonomyPropertySettings;
|
|
7
|
-
filterSettingsClass: string;
|
|
8
|
-
alignSelfCenterClass: string;
|
|
9
|
-
filterTypes: Array<{
|
|
10
|
-
id: PageRollupEnums.FilterTypes;
|
|
11
|
-
title: string;
|
|
12
|
-
}>;
|
|
13
|
-
updateBlockData: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare class FilterTaxonomyValueInput extends VueComponentBase<IFilterTaxonomyValueInputProps> {
|
|
16
|
-
valueObj: PageRollupUiTaxonomyPropFilterValue;
|
|
17
|
-
settings: TaxonomyPropertySettings;
|
|
18
|
-
filterSettingsClass: string;
|
|
19
|
-
alignSelfCenterClass: string;
|
|
20
|
-
filterTypes: Array<{
|
|
21
|
-
id: PageRollupEnums.FilterTypes;
|
|
22
|
-
title: string;
|
|
23
|
-
}>;
|
|
24
|
-
updateBlockData: () => void;
|
|
25
|
-
private loc;
|
|
26
|
-
render(): JSX.Element[];
|
|
27
|
-
}
|