@plone/volto 14.0.0 → 14.1.1

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.
Files changed (216) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/locales/ca/LC_MESSAGES/volto.po +12 -2
  3. package/locales/ca.json +1 -1
  4. package/locales/de/LC_MESSAGES/volto.po +12 -2
  5. package/locales/de.json +1 -1
  6. package/locales/en/LC_MESSAGES/volto.po +12 -2
  7. package/locales/en.json +1 -1
  8. package/locales/es/LC_MESSAGES/volto.po +12 -2
  9. package/locales/es.json +1 -1
  10. package/locales/eu/LC_MESSAGES/volto.po +12 -2
  11. package/locales/eu.json +1 -1
  12. package/locales/fr/LC_MESSAGES/volto.po +12 -2
  13. package/locales/fr.json +1 -1
  14. package/locales/it/LC_MESSAGES/volto.po +12 -2
  15. package/locales/it.json +1 -1
  16. package/locales/ja/LC_MESSAGES/volto.po +12 -2
  17. package/locales/ja.json +1 -1
  18. package/locales/nl/LC_MESSAGES/volto.po +12 -2
  19. package/locales/nl.json +1 -1
  20. package/locales/pt/LC_MESSAGES/volto.po +12 -2
  21. package/locales/pt.json +1 -1
  22. package/locales/pt_BR/LC_MESSAGES/volto.po +12 -2
  23. package/locales/pt_BR.json +1 -1
  24. package/locales/ro/LC_MESSAGES/volto.po +12 -2
  25. package/locales/ro.json +1 -1
  26. package/locales/volto.pot +12 -2
  27. package/package.json +2 -1
  28. package/public/icon.svg +13 -0
  29. package/src/actions/vocabularies/vocabularies.js +15 -3
  30. package/src/components/index.js +1 -0
  31. package/src/components/manage/Blocks/HeroImageLeft/Edit.jsx +1 -1
  32. package/src/components/manage/Blocks/Listing/getAsyncData.js +1 -1
  33. package/src/components/manage/Blocks/Text/Edit.jsx +19 -0
  34. package/src/components/manage/Form/Form.jsx +11 -1
  35. package/src/components/manage/Form/UndoToolbar.jsx +78 -0
  36. package/src/components/manage/Widgets/AlignWidget.stories.jsx +5 -21
  37. package/src/components/manage/Widgets/ArrayWidget.jsx +83 -101
  38. package/src/components/manage/Widgets/ArrayWidget.stories.jsx +29 -64
  39. package/src/components/manage/Widgets/CheckboxWidget.stories.jsx +5 -22
  40. package/src/components/manage/Widgets/DatetimeWidget.jsx +65 -74
  41. package/src/components/manage/Widgets/DatetimeWidget.stories.jsx +7 -23
  42. package/src/components/manage/Widgets/DatetimeWidget.test.jsx +17 -15
  43. package/src/components/manage/Widgets/EmailWidget.stories.jsx +5 -22
  44. package/src/components/manage/Widgets/FileWidget.stories.jsx +5 -22
  45. package/src/components/manage/Widgets/NumberWidget.stories.jsx +5 -23
  46. package/src/components/manage/Widgets/ObjectBrowserWidget.stories.js +24 -32
  47. package/src/components/manage/Widgets/ObjectListWidget.stories.js +44 -44
  48. package/src/components/manage/Widgets/ObjectWidget.stories.jsx +13 -28
  49. package/src/components/manage/Widgets/PasswordWidget.stories.jsx +5 -22
  50. package/src/components/manage/Widgets/QueryWidget.jsx +2 -2
  51. package/src/components/manage/Widgets/QueryWidget.stories.jsx +1637 -22
  52. package/src/components/manage/Widgets/SelectAutoComplete.jsx +79 -48
  53. package/src/components/manage/Widgets/SelectAutoComplete.test.jsx +16 -0
  54. package/src/components/manage/Widgets/SelectAutocompleteWidget.stories.jsx +161 -0
  55. package/src/components/manage/Widgets/SelectUtils.js +90 -30
  56. package/src/components/manage/Widgets/SelectUtils.test.jsx +76 -1
  57. package/src/components/manage/Widgets/SelectWidget.jsx +26 -37
  58. package/src/components/manage/Widgets/SelectWidget.stories.jsx +96 -28
  59. package/src/components/manage/Widgets/TextWidget.stories.jsx +5 -22
  60. package/src/components/manage/Widgets/TextareaWidget.stories.jsx +5 -22
  61. package/src/components/manage/Widgets/TokenWidget.jsx +19 -17
  62. package/src/components/manage/Widgets/TokenWidget.stories.jsx +141 -0
  63. package/src/components/manage/Widgets/UrlWidget.stories.jsx +5 -21
  64. package/src/components/manage/Widgets/VocabularyTermsWidget.stories.js +27 -64
  65. package/src/components/manage/Widgets/WysiwygWidget.stories.jsx +5 -22
  66. package/src/components/manage/Widgets/story.jsx +38 -0
  67. package/src/components/theme/ContactForm/ContactForm.jsx +1 -0
  68. package/src/components/theme/ContactForm/ContactForm.stories.jsx +126 -0
  69. package/src/components/theme/CorsError/CorsError.jsx +2 -2
  70. package/src/config/Loadables.jsx +2 -0
  71. package/src/config/index.js +1 -0
  72. package/src/helpers/Html/Html.jsx +2 -12
  73. package/src/helpers/UndoManager/useUndoManager.js +102 -0
  74. package/src/helpers/index.js +1 -0
  75. package/src/middleware/Api.test.js +57 -6
  76. package/src/middleware/api.js +34 -13
  77. package/src/reducers/vocabularies/vocabularies.js +13 -2
  78. package/src/store.js +1 -1
  79. package/src/storybook.jsx +55 -0
  80. package/theme/themes/pastanaga/extras/time-picker-overrides.less +1 -1
  81. package/include/python3.8/Python-ast.h +0 -715
  82. package/include/python3.8/Python.h +0 -160
  83. package/include/python3.8/abstract.h +0 -844
  84. package/include/python3.8/asdl.h +0 -46
  85. package/include/python3.8/ast.h +0 -37
  86. package/include/python3.8/bitset.h +0 -23
  87. package/include/python3.8/bltinmodule.h +0 -14
  88. package/include/python3.8/boolobject.h +0 -34
  89. package/include/python3.8/bytearrayobject.h +0 -62
  90. package/include/python3.8/bytes_methods.h +0 -69
  91. package/include/python3.8/bytesobject.h +0 -224
  92. package/include/python3.8/cellobject.h +0 -29
  93. package/include/python3.8/ceval.h +0 -231
  94. package/include/python3.8/classobject.h +0 -59
  95. package/include/python3.8/code.h +0 -180
  96. package/include/python3.8/codecs.h +0 -240
  97. package/include/python3.8/compile.h +0 -106
  98. package/include/python3.8/complexobject.h +0 -69
  99. package/include/python3.8/context.h +0 -84
  100. package/include/python3.8/cpython/abstract.h +0 -319
  101. package/include/python3.8/cpython/dictobject.h +0 -94
  102. package/include/python3.8/cpython/fileobject.h +0 -24
  103. package/include/python3.8/cpython/initconfig.h +0 -434
  104. package/include/python3.8/cpython/interpreteridobject.h +0 -19
  105. package/include/python3.8/cpython/object.h +0 -470
  106. package/include/python3.8/cpython/objimpl.h +0 -113
  107. package/include/python3.8/cpython/pyerrors.h +0 -188
  108. package/include/python3.8/cpython/pylifecycle.h +0 -78
  109. package/include/python3.8/cpython/pymem.h +0 -108
  110. package/include/python3.8/cpython/pystate.h +0 -252
  111. package/include/python3.8/cpython/sysmodule.h +0 -21
  112. package/include/python3.8/cpython/traceback.h +0 -22
  113. package/include/python3.8/cpython/tupleobject.h +0 -36
  114. package/include/python3.8/cpython/unicodeobject.h +0 -1239
  115. package/include/python3.8/datetime.h +0 -259
  116. package/include/python3.8/descrobject.h +0 -108
  117. package/include/python3.8/dictobject.h +0 -94
  118. package/include/python3.8/dtoa.h +0 -19
  119. package/include/python3.8/dynamic_annotations.h +0 -499
  120. package/include/python3.8/enumobject.h +0 -17
  121. package/include/python3.8/errcode.h +0 -38
  122. package/include/python3.8/eval.h +0 -37
  123. package/include/python3.8/fileobject.h +0 -49
  124. package/include/python3.8/fileutils.h +0 -185
  125. package/include/python3.8/floatobject.h +0 -130
  126. package/include/python3.8/frameobject.h +0 -92
  127. package/include/python3.8/funcobject.h +0 -104
  128. package/include/python3.8/genobject.h +0 -109
  129. package/include/python3.8/graminit.h +0 -94
  130. package/include/python3.8/grammar.h +0 -77
  131. package/include/python3.8/import.h +0 -149
  132. package/include/python3.8/internal/pycore_accu.h +0 -39
  133. package/include/python3.8/internal/pycore_atomic.h +0 -558
  134. package/include/python3.8/internal/pycore_ceval.h +0 -37
  135. package/include/python3.8/internal/pycore_code.h +0 -27
  136. package/include/python3.8/internal/pycore_condvar.h +0 -95
  137. package/include/python3.8/internal/pycore_context.h +0 -42
  138. package/include/python3.8/internal/pycore_fileutils.h +0 -54
  139. package/include/python3.8/internal/pycore_getopt.h +0 -22
  140. package/include/python3.8/internal/pycore_gil.h +0 -50
  141. package/include/python3.8/internal/pycore_hamt.h +0 -116
  142. package/include/python3.8/internal/pycore_initconfig.h +0 -166
  143. package/include/python3.8/internal/pycore_object.h +0 -81
  144. package/include/python3.8/internal/pycore_pathconfig.h +0 -75
  145. package/include/python3.8/internal/pycore_pyerrors.h +0 -62
  146. package/include/python3.8/internal/pycore_pyhash.h +0 -10
  147. package/include/python3.8/internal/pycore_pylifecycle.h +0 -118
  148. package/include/python3.8/internal/pycore_pymem.h +0 -212
  149. package/include/python3.8/internal/pycore_pystate.h +0 -326
  150. package/include/python3.8/internal/pycore_traceback.h +0 -96
  151. package/include/python3.8/internal/pycore_tupleobject.h +0 -19
  152. package/include/python3.8/internal/pycore_warnings.h +0 -25
  153. package/include/python3.8/interpreteridobject.h +0 -17
  154. package/include/python3.8/intrcheck.h +0 -33
  155. package/include/python3.8/iterobject.h +0 -25
  156. package/include/python3.8/listobject.h +0 -81
  157. package/include/python3.8/longintrepr.h +0 -99
  158. package/include/python3.8/longobject.h +0 -242
  159. package/include/python3.8/marshal.h +0 -28
  160. package/include/python3.8/memoryobject.h +0 -72
  161. package/include/python3.8/methodobject.h +0 -131
  162. package/include/python3.8/modsupport.h +0 -248
  163. package/include/python3.8/moduleobject.h +0 -90
  164. package/include/python3.8/namespaceobject.h +0 -19
  165. package/include/python3.8/node.h +0 -48
  166. package/include/python3.8/object.h +0 -753
  167. package/include/python3.8/objimpl.h +0 -284
  168. package/include/python3.8/odictobject.h +0 -43
  169. package/include/python3.8/opcode.h +0 -148
  170. package/include/python3.8/osdefs.h +0 -51
  171. package/include/python3.8/osmodule.h +0 -17
  172. package/include/python3.8/parsetok.h +0 -110
  173. package/include/python3.8/patchlevel.h +0 -35
  174. package/include/python3.8/picklebufobject.h +0 -31
  175. package/include/python3.8/py_curses.h +0 -100
  176. package/include/python3.8/pyarena.h +0 -64
  177. package/include/python3.8/pycapsule.h +0 -59
  178. package/include/python3.8/pyconfig.h +0 -1665
  179. package/include/python3.8/pyctype.h +0 -39
  180. package/include/python3.8/pydebug.h +0 -40
  181. package/include/python3.8/pydtrace.h +0 -59
  182. package/include/python3.8/pydtrace_probes.h +0 -228
  183. package/include/python3.8/pyerrors.h +0 -335
  184. package/include/python3.8/pyexpat.h +0 -55
  185. package/include/python3.8/pyfpe.h +0 -12
  186. package/include/python3.8/pyhash.h +0 -145
  187. package/include/python3.8/pylifecycle.h +0 -75
  188. package/include/python3.8/pymacconfig.h +0 -102
  189. package/include/python3.8/pymacro.h +0 -106
  190. package/include/python3.8/pymath.h +0 -230
  191. package/include/python3.8/pymem.h +0 -150
  192. package/include/python3.8/pyport.h +0 -850
  193. package/include/python3.8/pystate.h +0 -136
  194. package/include/python3.8/pystrcmp.h +0 -23
  195. package/include/python3.8/pystrhex.h +0 -22
  196. package/include/python3.8/pystrtod.h +0 -45
  197. package/include/python3.8/pythonrun.h +0 -210
  198. package/include/python3.8/pythread.h +0 -161
  199. package/include/python3.8/pytime.h +0 -246
  200. package/include/python3.8/rangeobject.h +0 -27
  201. package/include/python3.8/setobject.h +0 -108
  202. package/include/python3.8/sliceobject.h +0 -65
  203. package/include/python3.8/structmember.h +0 -74
  204. package/include/python3.8/structseq.h +0 -49
  205. package/include/python3.8/symtable.h +0 -123
  206. package/include/python3.8/sysmodule.h +0 -41
  207. package/include/python3.8/token.h +0 -92
  208. package/include/python3.8/traceback.h +0 -28
  209. package/include/python3.8/tracemalloc.h +0 -38
  210. package/include/python3.8/tupleobject.h +0 -48
  211. package/include/python3.8/typeslots.h +0 -85
  212. package/include/python3.8/ucnhash.h +0 -36
  213. package/include/python3.8/unicodeobject.h +0 -1044
  214. package/include/python3.8/warnings.h +0 -67
  215. package/include/python3.8/weakrefobject.h +0 -86
  216. package/src/components/theme/ContactForm/ContactForm.stories.mdx +0 -39
@@ -1,32 +1,1647 @@
1
1
  import React from 'react';
2
- import QueryWidget from './QueryWidget';
3
- import Wrapper from '@plone/volto/storybook';
2
+ import { compose } from 'redux';
3
+ import { injectIntl } from 'react-intl';
4
+ import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
4
5
 
5
- const QueryWidgetComponent = ({ children, ...args }) => {
6
- const [value, setValue] = React.useState('');
7
- const onChange = (block, value) => setValue(value);
8
- return (
9
- <Wrapper location={{ pathname: '/folder2/folder21/doc212' }}>
10
- <div className="ui segment form attached" style={{ width: '400px' }}>
11
- <QueryWidget
12
- {...args}
13
- id="field"
14
- title="Query"
15
- block="testBlock"
16
- value={value}
17
- onChange={onChange}
18
- />
19
- </div>
20
- <pre>Value: {JSON.stringify(value, null, 4)}</pre>
21
- </Wrapper>
22
- );
6
+ import { QuerystringWidgetComponent } from './QueryWidget';
7
+ import WidgetStory from './story';
8
+
9
+ const QuerystringWidget = compose(
10
+ injectIntl,
11
+ injectLazyLibs(['reactSelect']),
12
+ )(QuerystringWidgetComponent);
13
+
14
+ const querystring = {
15
+ error: null,
16
+ indexes: {
17
+ Creator: {
18
+ description: 'The person that created an item',
19
+ enabled: true,
20
+ group: 'Metadata',
21
+ operations: [
22
+ 'plone.app.querystring.operation.string.currentUser',
23
+ 'plone.app.querystring.operation.selection.any',
24
+ ],
25
+ operators: {
26
+ 'plone.app.querystring.operation.selection.any': {
27
+ description: 'Tip: you can use * to autocomplete.',
28
+ operation: 'plone.app.querystring.queryparser._contains',
29
+ title: 'Matches any of',
30
+ widget: 'MultipleSelectionWidget',
31
+ },
32
+ 'plone.app.querystring.operation.string.currentUser': {
33
+ description: 'The user viewing the querystring results',
34
+ operation: 'plone.app.querystring.queryparser._currentUser',
35
+ title: 'Current logged in user',
36
+ widget: null,
37
+ },
38
+ },
39
+ sortable: true,
40
+ title: 'Creator',
41
+ values: {},
42
+ vocabulary: 'plone.app.vocabularies.Users',
43
+ },
44
+ Description: {
45
+ description: "An item's description",
46
+ enabled: true,
47
+ group: 'Text',
48
+ operations: ['plone.app.querystring.operation.string.contains'],
49
+ operators: {
50
+ 'plone.app.querystring.operation.string.contains': {
51
+ description: null,
52
+ operation: 'plone.app.querystring.queryparser._contains',
53
+ title: 'Contains',
54
+ widget: 'StringWidget',
55
+ },
56
+ },
57
+ sortable: false,
58
+ title: 'Description',
59
+ values: {},
60
+ vocabulary: null,
61
+ },
62
+ SearchableText: {
63
+ description: "Text search of an item's contents",
64
+ enabled: true,
65
+ group: 'Text',
66
+ operations: ['plone.app.querystring.operation.string.contains'],
67
+ operators: {
68
+ 'plone.app.querystring.operation.string.contains': {
69
+ description: null,
70
+ operation: 'plone.app.querystring.queryparser._contains',
71
+ title: 'Contains',
72
+ widget: 'StringWidget',
73
+ },
74
+ },
75
+ sortable: false,
76
+ title: 'Searchable text',
77
+ values: {},
78
+ vocabulary: null,
79
+ },
80
+ Subject: {
81
+ description: 'Tags are used for organization of content',
82
+ enabled: true,
83
+ group: 'Text',
84
+ operations: [
85
+ 'plone.app.querystring.operation.selection.any',
86
+ 'plone.app.querystring.operation.selection.all',
87
+ ],
88
+ operators: {
89
+ 'plone.app.querystring.operation.selection.all': {
90
+ description: 'Tip: you can use * to autocomplete.',
91
+ operation: 'plone.app.querystring.queryparser._all',
92
+ title: 'Matches all of',
93
+ widget: 'MultipleSelectionWidget',
94
+ },
95
+ 'plone.app.querystring.operation.selection.any': {
96
+ description: 'Tip: you can use * to autocomplete.',
97
+ operation: 'plone.app.querystring.queryparser._contains',
98
+ title: 'Matches any of',
99
+ widget: 'MultipleSelectionWidget',
100
+ },
101
+ },
102
+ sortable: false,
103
+ title: 'Tag',
104
+ values: {},
105
+ vocabulary: 'plone.app.vocabularies.Keywords',
106
+ },
107
+ Title: {
108
+ description: "Text search of an item's title",
109
+ enabled: true,
110
+ group: 'Text',
111
+ operations: ['plone.app.querystring.operation.string.contains'],
112
+ operators: {
113
+ 'plone.app.querystring.operation.string.contains': {
114
+ description: null,
115
+ operation: 'plone.app.querystring.queryparser._contains',
116
+ title: 'Contains',
117
+ widget: 'StringWidget',
118
+ },
119
+ },
120
+ sortable: false,
121
+ title: 'Title',
122
+ values: {},
123
+ vocabulary: null,
124
+ },
125
+ created: {
126
+ description: 'The date an item was created',
127
+ enabled: true,
128
+ group: 'Dates',
129
+ operations: [
130
+ 'plone.app.querystring.operation.date.lessThan',
131
+ 'plone.app.querystring.operation.date.largerThan',
132
+ 'plone.app.querystring.operation.date.between',
133
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
134
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
135
+ 'plone.app.querystring.operation.date.today',
136
+ 'plone.app.querystring.operation.date.beforeToday',
137
+ 'plone.app.querystring.operation.date.afterToday',
138
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
139
+ 'plone.app.querystring.operation.date.afterRelativeDate',
140
+ ],
141
+ operators: {
142
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
143
+ description: 'After N days in the future',
144
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
145
+ title: 'After relative Date',
146
+ widget: 'RelativeDateWidget',
147
+ },
148
+ 'plone.app.querystring.operation.date.afterToday': {
149
+ description: 'After the current day',
150
+ operation: 'plone.app.querystring.queryparser._afterToday',
151
+ title: 'After today',
152
+ widget: null,
153
+ },
154
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
155
+ description: 'Before N days in the past',
156
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
157
+ title: 'Before relative Date',
158
+ widget: 'RelativeDateWidget',
159
+ },
160
+ 'plone.app.querystring.operation.date.beforeToday': {
161
+ description: 'Before the current day',
162
+ operation: 'plone.app.querystring.queryparser._beforeToday',
163
+ title: 'Before today',
164
+ widget: null,
165
+ },
166
+ 'plone.app.querystring.operation.date.between': {
167
+ description: 'Please use YYYY/MM/DD.',
168
+ operation: 'plone.app.querystring.queryparser._between',
169
+ title: 'Between dates',
170
+ widget: 'DateRangeWidget',
171
+ },
172
+ 'plone.app.querystring.operation.date.largerThan': {
173
+ description: 'Please use YYYY/MM/DD.',
174
+ operation: 'plone.app.querystring.queryparser._largerThan',
175
+ title: 'After date',
176
+ widget: 'DateWidget',
177
+ },
178
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
179
+ description: 'Please enter the number in days.',
180
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
181
+ title: 'Within last',
182
+ widget: 'RelativeDateWidget',
183
+ },
184
+ 'plone.app.querystring.operation.date.lessThan': {
185
+ description: 'Please use YYYY/MM/DD.',
186
+ operation: 'plone.app.querystring.queryparser._lessThan',
187
+ title: 'Before date',
188
+ widget: 'DateWidget',
189
+ },
190
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
191
+ description: 'Please enter the number in days.',
192
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
193
+ title: 'Within next',
194
+ widget: 'RelativeDateWidget',
195
+ },
196
+ 'plone.app.querystring.operation.date.today': {
197
+ description: 'The current day',
198
+ operation: 'plone.app.querystring.queryparser._today',
199
+ title: 'Today',
200
+ widget: null,
201
+ },
202
+ },
203
+ sortable: true,
204
+ title: 'Creation date',
205
+ values: {},
206
+ vocabulary: null,
207
+ },
208
+ effective: {
209
+ description: 'The time and date an item was first published',
210
+ enabled: true,
211
+ group: 'Dates',
212
+ operations: [
213
+ 'plone.app.querystring.operation.date.lessThan',
214
+ 'plone.app.querystring.operation.date.largerThan',
215
+ 'plone.app.querystring.operation.date.between',
216
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
217
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
218
+ 'plone.app.querystring.operation.date.today',
219
+ 'plone.app.querystring.operation.date.beforeToday',
220
+ 'plone.app.querystring.operation.date.afterToday',
221
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
222
+ 'plone.app.querystring.operation.date.afterRelativeDate',
223
+ ],
224
+ operators: {
225
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
226
+ description: 'After N days in the future',
227
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
228
+ title: 'After relative Date',
229
+ widget: 'RelativeDateWidget',
230
+ },
231
+ 'plone.app.querystring.operation.date.afterToday': {
232
+ description: 'After the current day',
233
+ operation: 'plone.app.querystring.queryparser._afterToday',
234
+ title: 'After today',
235
+ widget: null,
236
+ },
237
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
238
+ description: 'Before N days in the past',
239
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
240
+ title: 'Before relative Date',
241
+ widget: 'RelativeDateWidget',
242
+ },
243
+ 'plone.app.querystring.operation.date.beforeToday': {
244
+ description: 'Before the current day',
245
+ operation: 'plone.app.querystring.queryparser._beforeToday',
246
+ title: 'Before today',
247
+ widget: null,
248
+ },
249
+ 'plone.app.querystring.operation.date.between': {
250
+ description: 'Please use YYYY/MM/DD.',
251
+ operation: 'plone.app.querystring.queryparser._between',
252
+ title: 'Between dates',
253
+ widget: 'DateRangeWidget',
254
+ },
255
+ 'plone.app.querystring.operation.date.largerThan': {
256
+ description: 'Please use YYYY/MM/DD.',
257
+ operation: 'plone.app.querystring.queryparser._largerThan',
258
+ title: 'After date',
259
+ widget: 'DateWidget',
260
+ },
261
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
262
+ description: 'Please enter the number in days.',
263
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
264
+ title: 'Within last',
265
+ widget: 'RelativeDateWidget',
266
+ },
267
+ 'plone.app.querystring.operation.date.lessThan': {
268
+ description: 'Please use YYYY/MM/DD.',
269
+ operation: 'plone.app.querystring.queryparser._lessThan',
270
+ title: 'Before date',
271
+ widget: 'DateWidget',
272
+ },
273
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
274
+ description: 'Please enter the number in days.',
275
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
276
+ title: 'Within next',
277
+ widget: 'RelativeDateWidget',
278
+ },
279
+ 'plone.app.querystring.operation.date.today': {
280
+ description: 'The current day',
281
+ operation: 'plone.app.querystring.queryparser._today',
282
+ title: 'Today',
283
+ widget: null,
284
+ },
285
+ },
286
+ sortable: true,
287
+ title: 'Effective date',
288
+ values: {},
289
+ vocabulary: null,
290
+ },
291
+ effectiveRange: {
292
+ description: 'Querying this is undefined',
293
+ enabled: false,
294
+ group: 'Dates',
295
+ operations: [],
296
+ operators: {},
297
+ sortable: false,
298
+ title: 'Effective range',
299
+ values: {},
300
+ vocabulary: null,
301
+ },
302
+ end: {
303
+ description: 'The end date and time of an event',
304
+ enabled: true,
305
+ group: 'Dates',
306
+ operations: [
307
+ 'plone.app.querystring.operation.date.lessThan',
308
+ 'plone.app.querystring.operation.date.largerThan',
309
+ 'plone.app.querystring.operation.date.between',
310
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
311
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
312
+ 'plone.app.querystring.operation.date.today',
313
+ 'plone.app.querystring.operation.date.beforeToday',
314
+ 'plone.app.querystring.operation.date.afterToday',
315
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
316
+ 'plone.app.querystring.operation.date.afterRelativeDate',
317
+ ],
318
+ operators: {
319
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
320
+ description: 'After N days in the future',
321
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
322
+ title: 'After relative Date',
323
+ widget: 'RelativeDateWidget',
324
+ },
325
+ 'plone.app.querystring.operation.date.afterToday': {
326
+ description: 'After the current day',
327
+ operation: 'plone.app.querystring.queryparser._afterToday',
328
+ title: 'After today',
329
+ widget: null,
330
+ },
331
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
332
+ description: 'Before N days in the past',
333
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
334
+ title: 'Before relative Date',
335
+ widget: 'RelativeDateWidget',
336
+ },
337
+ 'plone.app.querystring.operation.date.beforeToday': {
338
+ description: 'Before the current day',
339
+ operation: 'plone.app.querystring.queryparser._beforeToday',
340
+ title: 'Before today',
341
+ widget: null,
342
+ },
343
+ 'plone.app.querystring.operation.date.between': {
344
+ description: 'Please use YYYY/MM/DD.',
345
+ operation: 'plone.app.querystring.queryparser._between',
346
+ title: 'Between dates',
347
+ widget: 'DateRangeWidget',
348
+ },
349
+ 'plone.app.querystring.operation.date.largerThan': {
350
+ description: 'Please use YYYY/MM/DD.',
351
+ operation: 'plone.app.querystring.queryparser._largerThan',
352
+ title: 'After date',
353
+ widget: 'DateWidget',
354
+ },
355
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
356
+ description: 'Please enter the number in days.',
357
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
358
+ title: 'Within last',
359
+ widget: 'RelativeDateWidget',
360
+ },
361
+ 'plone.app.querystring.operation.date.lessThan': {
362
+ description: 'Please use YYYY/MM/DD.',
363
+ operation: 'plone.app.querystring.queryparser._lessThan',
364
+ title: 'Before date',
365
+ widget: 'DateWidget',
366
+ },
367
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
368
+ description: 'Please enter the number in days.',
369
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
370
+ title: 'Within next',
371
+ widget: 'RelativeDateWidget',
372
+ },
373
+ 'plone.app.querystring.operation.date.today': {
374
+ description: 'The current day',
375
+ operation: 'plone.app.querystring.queryparser._today',
376
+ title: 'Today',
377
+ widget: null,
378
+ },
379
+ },
380
+ sortable: true,
381
+ title: 'Event end date',
382
+ values: {},
383
+ vocabulary: null,
384
+ },
385
+ expires: {
386
+ description: 'The time and date an item was expired',
387
+ enabled: true,
388
+ group: 'Dates',
389
+ operations: [
390
+ 'plone.app.querystring.operation.date.lessThan',
391
+ 'plone.app.querystring.operation.date.largerThan',
392
+ 'plone.app.querystring.operation.date.between',
393
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
394
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
395
+ 'plone.app.querystring.operation.date.today',
396
+ 'plone.app.querystring.operation.date.beforeToday',
397
+ 'plone.app.querystring.operation.date.afterToday',
398
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
399
+ 'plone.app.querystring.operation.date.afterRelativeDate',
400
+ ],
401
+ operators: {
402
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
403
+ description: 'After N days in the future',
404
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
405
+ title: 'After relative Date',
406
+ widget: 'RelativeDateWidget',
407
+ },
408
+ 'plone.app.querystring.operation.date.afterToday': {
409
+ description: 'After the current day',
410
+ operation: 'plone.app.querystring.queryparser._afterToday',
411
+ title: 'After today',
412
+ widget: null,
413
+ },
414
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
415
+ description: 'Before N days in the past',
416
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
417
+ title: 'Before relative Date',
418
+ widget: 'RelativeDateWidget',
419
+ },
420
+ 'plone.app.querystring.operation.date.beforeToday': {
421
+ description: 'Before the current day',
422
+ operation: 'plone.app.querystring.queryparser._beforeToday',
423
+ title: 'Before today',
424
+ widget: null,
425
+ },
426
+ 'plone.app.querystring.operation.date.between': {
427
+ description: 'Please use YYYY/MM/DD.',
428
+ operation: 'plone.app.querystring.queryparser._between',
429
+ title: 'Between dates',
430
+ widget: 'DateRangeWidget',
431
+ },
432
+ 'plone.app.querystring.operation.date.largerThan': {
433
+ description: 'Please use YYYY/MM/DD.',
434
+ operation: 'plone.app.querystring.queryparser._largerThan',
435
+ title: 'After date',
436
+ widget: 'DateWidget',
437
+ },
438
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
439
+ description: 'Please enter the number in days.',
440
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
441
+ title: 'Within last',
442
+ widget: 'RelativeDateWidget',
443
+ },
444
+ 'plone.app.querystring.operation.date.lessThan': {
445
+ description: 'Please use YYYY/MM/DD.',
446
+ operation: 'plone.app.querystring.queryparser._lessThan',
447
+ title: 'Before date',
448
+ widget: 'DateWidget',
449
+ },
450
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
451
+ description: 'Please enter the number in days.',
452
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
453
+ title: 'Within next',
454
+ widget: 'RelativeDateWidget',
455
+ },
456
+ 'plone.app.querystring.operation.date.today': {
457
+ description: 'The current day',
458
+ operation: 'plone.app.querystring.queryparser._today',
459
+ title: 'Today',
460
+ widget: null,
461
+ },
462
+ },
463
+ sortable: true,
464
+ title: 'Expiration date',
465
+ values: {},
466
+ vocabulary: null,
467
+ },
468
+ getId: {
469
+ description: 'The short name of an item (used in the url)',
470
+ enabled: true,
471
+ group: 'Metadata',
472
+ operations: ['plone.app.querystring.operation.string.is'],
473
+ operators: {
474
+ 'plone.app.querystring.operation.string.is': {
475
+ description: 'Tip: you can use * to autocomplete.',
476
+ operation: 'plone.app.querystring.queryparser._equal',
477
+ title: 'Is',
478
+ widget: 'StringWidget',
479
+ },
480
+ },
481
+ sortable: true,
482
+ title: 'Short name (id)',
483
+ values: {},
484
+ vocabulary: null,
485
+ },
486
+ getObjPositionInParent: {
487
+ description: 'The order of an item in its parent folder',
488
+ enabled: false,
489
+ group: 'Metadata',
490
+ operations: [
491
+ 'plone.app.querystring.operation.int.is',
492
+ 'plone.app.querystring.operation.int.lessThan',
493
+ 'plone.app.querystring.operation.int.largerThan',
494
+ ],
495
+ operators: {
496
+ 'plone.app.querystring.operation.int.is': {
497
+ description: null,
498
+ operation: 'plone.app.querystring.queryparser._intEqual',
499
+ title: 'Equals',
500
+ widget: 'StringWidget',
501
+ },
502
+ 'plone.app.querystring.operation.int.largerThan': {
503
+ description: null,
504
+ operation: 'plone.app.querystring.queryparser._intLargerThan',
505
+ title: 'Larger than',
506
+ widget: 'StringWidget',
507
+ },
508
+ 'plone.app.querystring.operation.int.lessThan': {
509
+ description: null,
510
+ operation: 'plone.app.querystring.queryparser._intLessThan',
511
+ title: 'Less than',
512
+ widget: 'StringWidget',
513
+ },
514
+ },
515
+ sortable: true,
516
+ title: 'Order in folder',
517
+ values: {},
518
+ vocabulary: null,
519
+ },
520
+ getRawRelatedItems: {
521
+ description: 'Find items related to the selected items',
522
+ enabled: false,
523
+ group: 'Metadata',
524
+ operations: ['plone.app.querystring.operation.reference.is'],
525
+ operators: {
526
+ 'plone.app.querystring.operation.reference.is': {
527
+ description: null,
528
+ operation: 'plone.app.querystring.queryparser._referenceIs',
529
+ title: 'Equals',
530
+ widget: 'ReferenceWidget',
531
+ },
532
+ },
533
+ sortable: false,
534
+ title: 'Related To',
535
+ values: {},
536
+ vocabulary: null,
537
+ },
538
+ isDefaultPage: {
539
+ description:
540
+ 'Find items that are the default view for their containing folder.',
541
+ enabled: false,
542
+ group: 'Metadata',
543
+ operations: [
544
+ 'plone.app.querystring.operation.boolean.isTrue',
545
+ 'plone.app.querystring.operation.boolean.isFalse',
546
+ ],
547
+ operators: {
548
+ 'plone.app.querystring.operation.boolean.isFalse': {
549
+ description: null,
550
+ operation: 'plone.app.querystring.queryparser._isFalse',
551
+ title: 'No',
552
+ widget: null,
553
+ },
554
+ 'plone.app.querystring.operation.boolean.isTrue': {
555
+ description: null,
556
+ operation: 'plone.app.querystring.queryparser._isTrue',
557
+ title: 'Yes',
558
+ widget: null,
559
+ },
560
+ },
561
+ sortable: false,
562
+ title: 'Default Page',
563
+ values: {},
564
+ vocabulary: null,
565
+ },
566
+ isFolderish: {
567
+ description: 'Find items that can contain other objects',
568
+ enabled: false,
569
+ group: 'Metadata',
570
+ operations: [
571
+ 'plone.app.querystring.operation.boolean.isTrue',
572
+ 'plone.app.querystring.operation.boolean.isFalse',
573
+ ],
574
+ operators: {
575
+ 'plone.app.querystring.operation.boolean.isFalse': {
576
+ description: null,
577
+ operation: 'plone.app.querystring.queryparser._isFalse',
578
+ title: 'No',
579
+ widget: null,
580
+ },
581
+ 'plone.app.querystring.operation.boolean.isTrue': {
582
+ description: null,
583
+ operation: 'plone.app.querystring.queryparser._isTrue',
584
+ title: 'Yes',
585
+ widget: null,
586
+ },
587
+ },
588
+ sortable: false,
589
+ title: 'Folder-like',
590
+ values: {},
591
+ vocabulary: null,
592
+ },
593
+ modified: {
594
+ description: 'The time and date an item was last modified',
595
+ enabled: true,
596
+ group: 'Dates',
597
+ operations: [
598
+ 'plone.app.querystring.operation.date.lessThan',
599
+ 'plone.app.querystring.operation.date.largerThan',
600
+ 'plone.app.querystring.operation.date.between',
601
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
602
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
603
+ 'plone.app.querystring.operation.date.today',
604
+ 'plone.app.querystring.operation.date.beforeToday',
605
+ 'plone.app.querystring.operation.date.afterToday',
606
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
607
+ 'plone.app.querystring.operation.date.afterRelativeDate',
608
+ ],
609
+ operators: {
610
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
611
+ description: 'After N days in the future',
612
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
613
+ title: 'After relative Date',
614
+ widget: 'RelativeDateWidget',
615
+ },
616
+ 'plone.app.querystring.operation.date.afterToday': {
617
+ description: 'After the current day',
618
+ operation: 'plone.app.querystring.queryparser._afterToday',
619
+ title: 'After today',
620
+ widget: null,
621
+ },
622
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
623
+ description: 'Before N days in the past',
624
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
625
+ title: 'Before relative Date',
626
+ widget: 'RelativeDateWidget',
627
+ },
628
+ 'plone.app.querystring.operation.date.beforeToday': {
629
+ description: 'Before the current day',
630
+ operation: 'plone.app.querystring.queryparser._beforeToday',
631
+ title: 'Before today',
632
+ widget: null,
633
+ },
634
+ 'plone.app.querystring.operation.date.between': {
635
+ description: 'Please use YYYY/MM/DD.',
636
+ operation: 'plone.app.querystring.queryparser._between',
637
+ title: 'Between dates',
638
+ widget: 'DateRangeWidget',
639
+ },
640
+ 'plone.app.querystring.operation.date.largerThan': {
641
+ description: 'Please use YYYY/MM/DD.',
642
+ operation: 'plone.app.querystring.queryparser._largerThan',
643
+ title: 'After date',
644
+ widget: 'DateWidget',
645
+ },
646
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
647
+ description: 'Please enter the number in days.',
648
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
649
+ title: 'Within last',
650
+ widget: 'RelativeDateWidget',
651
+ },
652
+ 'plone.app.querystring.operation.date.lessThan': {
653
+ description: 'Please use YYYY/MM/DD.',
654
+ operation: 'plone.app.querystring.queryparser._lessThan',
655
+ title: 'Before date',
656
+ widget: 'DateWidget',
657
+ },
658
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
659
+ description: 'Please enter the number in days.',
660
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
661
+ title: 'Within next',
662
+ widget: 'RelativeDateWidget',
663
+ },
664
+ 'plone.app.querystring.operation.date.today': {
665
+ description: 'The current day',
666
+ operation: 'plone.app.querystring.queryparser._today',
667
+ title: 'Today',
668
+ widget: null,
669
+ },
670
+ },
671
+ sortable: true,
672
+ title: 'Modification date',
673
+ values: {},
674
+ vocabulary: null,
675
+ },
676
+ path: {
677
+ description: 'The location of an item ',
678
+ enabled: true,
679
+ group: 'Metadata',
680
+ operations: [
681
+ 'plone.app.querystring.operation.string.absolutePath',
682
+ 'plone.app.querystring.operation.string.path',
683
+ 'plone.app.querystring.operation.string.relativePath',
684
+ ],
685
+ operators: {
686
+ 'plone.app.querystring.operation.string.absolutePath': {
687
+ description: 'Location in the site structure',
688
+ operation: 'plone.app.querystring.queryparser._absolutePath',
689
+ title: 'Absolute path',
690
+ widget: 'ReferenceWidget',
691
+ },
692
+ 'plone.app.querystring.operation.string.path': {
693
+ description: 'Location in the navigation structure',
694
+ operation: 'plone.app.querystring.queryparser._navigationPath',
695
+ title: 'Navigation path',
696
+ widget: 'ReferenceWidget',
697
+ },
698
+ 'plone.app.querystring.operation.string.relativePath': {
699
+ description: "Use '../' to navigate to parent objects.",
700
+ operation: 'plone.app.querystring.queryparser._relativePath',
701
+ title: 'Relative path',
702
+ widget: 'RelativePathWidget',
703
+ },
704
+ },
705
+ sortable: false,
706
+ title: 'Location',
707
+ values: {},
708
+ vocabulary: null,
709
+ },
710
+ portal_type: {
711
+ description: "An item's type (e.g. Event)",
712
+ enabled: true,
713
+ group: 'Metadata',
714
+ operations: ['plone.app.querystring.operation.selection.any'],
715
+ operators: {
716
+ 'plone.app.querystring.operation.selection.any': {
717
+ description: 'Tip: you can use * to autocomplete.',
718
+ operation: 'plone.app.querystring.queryparser._contains',
719
+ title: 'Matches any of',
720
+ widget: 'MultipleSelectionWidget',
721
+ },
722
+ },
723
+ sortable: false,
724
+ title: 'Type',
725
+ values: {
726
+ Collection: {
727
+ title: 'Collection',
728
+ },
729
+ 'Discussion Item': {
730
+ title: 'Comment',
731
+ },
732
+ Document: {
733
+ title: 'Page',
734
+ },
735
+ Event: {
736
+ title: 'Event',
737
+ },
738
+ File: {
739
+ title: 'File',
740
+ },
741
+ Folder: {
742
+ title: 'Folder',
743
+ },
744
+ Image: {
745
+ title: 'Image',
746
+ },
747
+ LIF: {
748
+ title: 'Language Independent Folder',
749
+ },
750
+ LRF: {
751
+ title: 'Language Root Folder',
752
+ },
753
+ Link: {
754
+ title: 'Link',
755
+ },
756
+ 'News Item': {
757
+ title: 'News Item',
758
+ },
759
+ example: {
760
+ title: 'Example',
761
+ },
762
+ },
763
+ vocabulary: 'plone.app.vocabularies.ReallyUserFriendlyTypes',
764
+ },
765
+ review_state: {
766
+ description: "An item's workflow state (e.g.published)",
767
+ enabled: true,
768
+ group: 'Metadata',
769
+ operations: ['plone.app.querystring.operation.selection.any'],
770
+ operators: {
771
+ 'plone.app.querystring.operation.selection.any': {
772
+ description: 'Tip: you can use * to autocomplete.',
773
+ operation: 'plone.app.querystring.queryparser._contains',
774
+ title: 'Matches any of',
775
+ widget: 'MultipleSelectionWidget',
776
+ },
777
+ },
778
+ sortable: true,
779
+ title: 'Review state',
780
+ values: {
781
+ external: {
782
+ title: 'Externally visible [external]',
783
+ },
784
+ internal: {
785
+ title: 'Internal draft [internal]',
786
+ },
787
+ internally_published: {
788
+ title: 'Internally published [internally_published]',
789
+ },
790
+ pending: {
791
+ title: 'Pending [pending]',
792
+ },
793
+ private: {
794
+ title: 'Private [private]',
795
+ },
796
+ published: {
797
+ title: 'Published [published]',
798
+ },
799
+ rejected: {
800
+ title: 'Rejected [rejected]',
801
+ },
802
+ spam: {
803
+ title: 'Spam [spam]',
804
+ },
805
+ visible: {
806
+ title: 'Public draft [visible]',
807
+ },
808
+ },
809
+ vocabulary: 'plone.app.vocabularies.WorkflowStates',
810
+ },
811
+ show_inactive: {
812
+ description:
813
+ 'Select which roles have the permission to view inactive objects',
814
+ enabled: true,
815
+ group: 'Metadata',
816
+ operations: ['plone.app.querystring.operation.string.showInactive'],
817
+ operators: {
818
+ 'plone.app.querystring.operation.string.showInactive': {
819
+ description:
820
+ 'The user roles which are allowed to see inactive content',
821
+ operation: 'plone.app.querystring.queryparser._showInactive',
822
+ title: 'Show Inactive',
823
+ widget: 'MultipleSelectionWidget',
824
+ },
825
+ },
826
+ sortable: false,
827
+ title: 'Show Inactive',
828
+ values: {
829
+ Anonymous: {
830
+ title: 'Anonymous',
831
+ },
832
+ Authenticated: {
833
+ title: 'Authenticated',
834
+ },
835
+ Contributor: {
836
+ title: 'Contributor',
837
+ },
838
+ Editor: {
839
+ title: 'Editor',
840
+ },
841
+ Manager: {
842
+ title: 'Manager',
843
+ },
844
+ Member: {
845
+ title: 'Member',
846
+ },
847
+ Owner: {
848
+ title: 'Owner',
849
+ },
850
+ Reader: {
851
+ title: 'Reader',
852
+ },
853
+ Reviewer: {
854
+ title: 'Reviewer',
855
+ },
856
+ 'Site Administrator': {
857
+ title: 'Site Administrator',
858
+ },
859
+ },
860
+ vocabulary: 'plone.app.vocabularies.Roles',
861
+ },
862
+ sortable_title: {
863
+ description: "The item's title, transformed for sorting",
864
+ enabled: false,
865
+ group: 'Text',
866
+ operations: [
867
+ 'plone.app.querystring.operation.string.contains',
868
+ 'plone.app.querystring.operation.string.is',
869
+ ],
870
+ operators: {
871
+ 'plone.app.querystring.operation.string.contains': {
872
+ description: null,
873
+ operation: 'plone.app.querystring.queryparser._contains',
874
+ title: 'Contains',
875
+ widget: 'StringWidget',
876
+ },
877
+ 'plone.app.querystring.operation.string.is': {
878
+ description: 'Tip: you can use * to autocomplete.',
879
+ operation: 'plone.app.querystring.queryparser._equal',
880
+ title: 'Is',
881
+ widget: 'StringWidget',
882
+ },
883
+ },
884
+ sortable: true,
885
+ title: 'Sortable Title',
886
+ values: {},
887
+ vocabulary: null,
888
+ },
889
+ start: {
890
+ description: 'The start date and time of an event',
891
+ enabled: true,
892
+ group: 'Dates',
893
+ operations: [
894
+ 'plone.app.querystring.operation.date.lessThan',
895
+ 'plone.app.querystring.operation.date.largerThan',
896
+ 'plone.app.querystring.operation.date.between',
897
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
898
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
899
+ 'plone.app.querystring.operation.date.today',
900
+ 'plone.app.querystring.operation.date.beforeToday',
901
+ 'plone.app.querystring.operation.date.afterToday',
902
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
903
+ 'plone.app.querystring.operation.date.afterRelativeDate',
904
+ ],
905
+ operators: {
906
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
907
+ description: 'After N days in the future',
908
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
909
+ title: 'After relative Date',
910
+ widget: 'RelativeDateWidget',
911
+ },
912
+ 'plone.app.querystring.operation.date.afterToday': {
913
+ description: 'After the current day',
914
+ operation: 'plone.app.querystring.queryparser._afterToday',
915
+ title: 'After today',
916
+ widget: null,
917
+ },
918
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
919
+ description: 'Before N days in the past',
920
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
921
+ title: 'Before relative Date',
922
+ widget: 'RelativeDateWidget',
923
+ },
924
+ 'plone.app.querystring.operation.date.beforeToday': {
925
+ description: 'Before the current day',
926
+ operation: 'plone.app.querystring.queryparser._beforeToday',
927
+ title: 'Before today',
928
+ widget: null,
929
+ },
930
+ 'plone.app.querystring.operation.date.between': {
931
+ description: 'Please use YYYY/MM/DD.',
932
+ operation: 'plone.app.querystring.queryparser._between',
933
+ title: 'Between dates',
934
+ widget: 'DateRangeWidget',
935
+ },
936
+ 'plone.app.querystring.operation.date.largerThan': {
937
+ description: 'Please use YYYY/MM/DD.',
938
+ operation: 'plone.app.querystring.queryparser._largerThan',
939
+ title: 'After date',
940
+ widget: 'DateWidget',
941
+ },
942
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
943
+ description: 'Please enter the number in days.',
944
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
945
+ title: 'Within last',
946
+ widget: 'RelativeDateWidget',
947
+ },
948
+ 'plone.app.querystring.operation.date.lessThan': {
949
+ description: 'Please use YYYY/MM/DD.',
950
+ operation: 'plone.app.querystring.queryparser._lessThan',
951
+ title: 'Before date',
952
+ widget: 'DateWidget',
953
+ },
954
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
955
+ description: 'Please enter the number in days.',
956
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
957
+ title: 'Within next',
958
+ widget: 'RelativeDateWidget',
959
+ },
960
+ 'plone.app.querystring.operation.date.today': {
961
+ description: 'The current day',
962
+ operation: 'plone.app.querystring.queryparser._today',
963
+ title: 'Today',
964
+ widget: null,
965
+ },
966
+ },
967
+ sortable: true,
968
+ title: 'Event start date',
969
+ values: {},
970
+ vocabulary: null,
971
+ },
972
+ },
973
+ sortable_indexes: {
974
+ Creator: {
975
+ description: 'The person that created an item',
976
+ enabled: true,
977
+ group: 'Metadata',
978
+ operations: [
979
+ 'plone.app.querystring.operation.string.currentUser',
980
+ 'plone.app.querystring.operation.selection.any',
981
+ ],
982
+ operators: {
983
+ 'plone.app.querystring.operation.selection.any': {
984
+ description: 'Tip: you can use * to autocomplete.',
985
+ operation: 'plone.app.querystring.queryparser._contains',
986
+ title: 'Matches any of',
987
+ widget: 'MultipleSelectionWidget',
988
+ },
989
+ 'plone.app.querystring.operation.string.currentUser': {
990
+ description: 'The user viewing the querystring results',
991
+ operation: 'plone.app.querystring.queryparser._currentUser',
992
+ title: 'Current logged in user',
993
+ widget: null,
994
+ },
995
+ },
996
+ sortable: true,
997
+ title: 'Creator',
998
+ values: {},
999
+ vocabulary: 'plone.app.vocabularies.Users',
1000
+ },
1001
+ created: {
1002
+ description: 'The date an item was created',
1003
+ enabled: true,
1004
+ group: 'Dates',
1005
+ operations: [
1006
+ 'plone.app.querystring.operation.date.lessThan',
1007
+ 'plone.app.querystring.operation.date.largerThan',
1008
+ 'plone.app.querystring.operation.date.between',
1009
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
1010
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
1011
+ 'plone.app.querystring.operation.date.today',
1012
+ 'plone.app.querystring.operation.date.beforeToday',
1013
+ 'plone.app.querystring.operation.date.afterToday',
1014
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
1015
+ 'plone.app.querystring.operation.date.afterRelativeDate',
1016
+ ],
1017
+ operators: {
1018
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
1019
+ description: 'After N days in the future',
1020
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
1021
+ title: 'After relative Date',
1022
+ widget: 'RelativeDateWidget',
1023
+ },
1024
+ 'plone.app.querystring.operation.date.afterToday': {
1025
+ description: 'After the current day',
1026
+ operation: 'plone.app.querystring.queryparser._afterToday',
1027
+ title: 'After today',
1028
+ widget: null,
1029
+ },
1030
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
1031
+ description: 'Before N days in the past',
1032
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
1033
+ title: 'Before relative Date',
1034
+ widget: 'RelativeDateWidget',
1035
+ },
1036
+ 'plone.app.querystring.operation.date.beforeToday': {
1037
+ description: 'Before the current day',
1038
+ operation: 'plone.app.querystring.queryparser._beforeToday',
1039
+ title: 'Before today',
1040
+ widget: null,
1041
+ },
1042
+ 'plone.app.querystring.operation.date.between': {
1043
+ description: 'Please use YYYY/MM/DD.',
1044
+ operation: 'plone.app.querystring.queryparser._between',
1045
+ title: 'Between dates',
1046
+ widget: 'DateRangeWidget',
1047
+ },
1048
+ 'plone.app.querystring.operation.date.largerThan': {
1049
+ description: 'Please use YYYY/MM/DD.',
1050
+ operation: 'plone.app.querystring.queryparser._largerThan',
1051
+ title: 'After date',
1052
+ widget: 'DateWidget',
1053
+ },
1054
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
1055
+ description: 'Please enter the number in days.',
1056
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
1057
+ title: 'Within last',
1058
+ widget: 'RelativeDateWidget',
1059
+ },
1060
+ 'plone.app.querystring.operation.date.lessThan': {
1061
+ description: 'Please use YYYY/MM/DD.',
1062
+ operation: 'plone.app.querystring.queryparser._lessThan',
1063
+ title: 'Before date',
1064
+ widget: 'DateWidget',
1065
+ },
1066
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
1067
+ description: 'Please enter the number in days.',
1068
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
1069
+ title: 'Within next',
1070
+ widget: 'RelativeDateWidget',
1071
+ },
1072
+ 'plone.app.querystring.operation.date.today': {
1073
+ description: 'The current day',
1074
+ operation: 'plone.app.querystring.queryparser._today',
1075
+ title: 'Today',
1076
+ widget: null,
1077
+ },
1078
+ },
1079
+ sortable: true,
1080
+ title: 'Creation date',
1081
+ values: {},
1082
+ vocabulary: null,
1083
+ },
1084
+ effective: {
1085
+ description: 'The time and date an item was first published',
1086
+ enabled: true,
1087
+ group: 'Dates',
1088
+ operations: [
1089
+ 'plone.app.querystring.operation.date.lessThan',
1090
+ 'plone.app.querystring.operation.date.largerThan',
1091
+ 'plone.app.querystring.operation.date.between',
1092
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
1093
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
1094
+ 'plone.app.querystring.operation.date.today',
1095
+ 'plone.app.querystring.operation.date.beforeToday',
1096
+ 'plone.app.querystring.operation.date.afterToday',
1097
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
1098
+ 'plone.app.querystring.operation.date.afterRelativeDate',
1099
+ ],
1100
+ operators: {
1101
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
1102
+ description: 'After N days in the future',
1103
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
1104
+ title: 'After relative Date',
1105
+ widget: 'RelativeDateWidget',
1106
+ },
1107
+ 'plone.app.querystring.operation.date.afterToday': {
1108
+ description: 'After the current day',
1109
+ operation: 'plone.app.querystring.queryparser._afterToday',
1110
+ title: 'After today',
1111
+ widget: null,
1112
+ },
1113
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
1114
+ description: 'Before N days in the past',
1115
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
1116
+ title: 'Before relative Date',
1117
+ widget: 'RelativeDateWidget',
1118
+ },
1119
+ 'plone.app.querystring.operation.date.beforeToday': {
1120
+ description: 'Before the current day',
1121
+ operation: 'plone.app.querystring.queryparser._beforeToday',
1122
+ title: 'Before today',
1123
+ widget: null,
1124
+ },
1125
+ 'plone.app.querystring.operation.date.between': {
1126
+ description: 'Please use YYYY/MM/DD.',
1127
+ operation: 'plone.app.querystring.queryparser._between',
1128
+ title: 'Between dates',
1129
+ widget: 'DateRangeWidget',
1130
+ },
1131
+ 'plone.app.querystring.operation.date.largerThan': {
1132
+ description: 'Please use YYYY/MM/DD.',
1133
+ operation: 'plone.app.querystring.queryparser._largerThan',
1134
+ title: 'After date',
1135
+ widget: 'DateWidget',
1136
+ },
1137
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
1138
+ description: 'Please enter the number in days.',
1139
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
1140
+ title: 'Within last',
1141
+ widget: 'RelativeDateWidget',
1142
+ },
1143
+ 'plone.app.querystring.operation.date.lessThan': {
1144
+ description: 'Please use YYYY/MM/DD.',
1145
+ operation: 'plone.app.querystring.queryparser._lessThan',
1146
+ title: 'Before date',
1147
+ widget: 'DateWidget',
1148
+ },
1149
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
1150
+ description: 'Please enter the number in days.',
1151
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
1152
+ title: 'Within next',
1153
+ widget: 'RelativeDateWidget',
1154
+ },
1155
+ 'plone.app.querystring.operation.date.today': {
1156
+ description: 'The current day',
1157
+ operation: 'plone.app.querystring.queryparser._today',
1158
+ title: 'Today',
1159
+ widget: null,
1160
+ },
1161
+ },
1162
+ sortable: true,
1163
+ title: 'Effective date',
1164
+ values: {},
1165
+ vocabulary: null,
1166
+ },
1167
+ end: {
1168
+ description: 'The end date and time of an event',
1169
+ enabled: true,
1170
+ group: 'Dates',
1171
+ operations: [
1172
+ 'plone.app.querystring.operation.date.lessThan',
1173
+ 'plone.app.querystring.operation.date.largerThan',
1174
+ 'plone.app.querystring.operation.date.between',
1175
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
1176
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
1177
+ 'plone.app.querystring.operation.date.today',
1178
+ 'plone.app.querystring.operation.date.beforeToday',
1179
+ 'plone.app.querystring.operation.date.afterToday',
1180
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
1181
+ 'plone.app.querystring.operation.date.afterRelativeDate',
1182
+ ],
1183
+ operators: {
1184
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
1185
+ description: 'After N days in the future',
1186
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
1187
+ title: 'After relative Date',
1188
+ widget: 'RelativeDateWidget',
1189
+ },
1190
+ 'plone.app.querystring.operation.date.afterToday': {
1191
+ description: 'After the current day',
1192
+ operation: 'plone.app.querystring.queryparser._afterToday',
1193
+ title: 'After today',
1194
+ widget: null,
1195
+ },
1196
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
1197
+ description: 'Before N days in the past',
1198
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
1199
+ title: 'Before relative Date',
1200
+ widget: 'RelativeDateWidget',
1201
+ },
1202
+ 'plone.app.querystring.operation.date.beforeToday': {
1203
+ description: 'Before the current day',
1204
+ operation: 'plone.app.querystring.queryparser._beforeToday',
1205
+ title: 'Before today',
1206
+ widget: null,
1207
+ },
1208
+ 'plone.app.querystring.operation.date.between': {
1209
+ description: 'Please use YYYY/MM/DD.',
1210
+ operation: 'plone.app.querystring.queryparser._between',
1211
+ title: 'Between dates',
1212
+ widget: 'DateRangeWidget',
1213
+ },
1214
+ 'plone.app.querystring.operation.date.largerThan': {
1215
+ description: 'Please use YYYY/MM/DD.',
1216
+ operation: 'plone.app.querystring.queryparser._largerThan',
1217
+ title: 'After date',
1218
+ widget: 'DateWidget',
1219
+ },
1220
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
1221
+ description: 'Please enter the number in days.',
1222
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
1223
+ title: 'Within last',
1224
+ widget: 'RelativeDateWidget',
1225
+ },
1226
+ 'plone.app.querystring.operation.date.lessThan': {
1227
+ description: 'Please use YYYY/MM/DD.',
1228
+ operation: 'plone.app.querystring.queryparser._lessThan',
1229
+ title: 'Before date',
1230
+ widget: 'DateWidget',
1231
+ },
1232
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
1233
+ description: 'Please enter the number in days.',
1234
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
1235
+ title: 'Within next',
1236
+ widget: 'RelativeDateWidget',
1237
+ },
1238
+ 'plone.app.querystring.operation.date.today': {
1239
+ description: 'The current day',
1240
+ operation: 'plone.app.querystring.queryparser._today',
1241
+ title: 'Today',
1242
+ widget: null,
1243
+ },
1244
+ },
1245
+ sortable: true,
1246
+ title: 'Event end date',
1247
+ values: {},
1248
+ vocabulary: null,
1249
+ },
1250
+ expires: {
1251
+ description: 'The time and date an item was expired',
1252
+ enabled: true,
1253
+ group: 'Dates',
1254
+ operations: [
1255
+ 'plone.app.querystring.operation.date.lessThan',
1256
+ 'plone.app.querystring.operation.date.largerThan',
1257
+ 'plone.app.querystring.operation.date.between',
1258
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
1259
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
1260
+ 'plone.app.querystring.operation.date.today',
1261
+ 'plone.app.querystring.operation.date.beforeToday',
1262
+ 'plone.app.querystring.operation.date.afterToday',
1263
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
1264
+ 'plone.app.querystring.operation.date.afterRelativeDate',
1265
+ ],
1266
+ operators: {
1267
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
1268
+ description: 'After N days in the future',
1269
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
1270
+ title: 'After relative Date',
1271
+ widget: 'RelativeDateWidget',
1272
+ },
1273
+ 'plone.app.querystring.operation.date.afterToday': {
1274
+ description: 'After the current day',
1275
+ operation: 'plone.app.querystring.queryparser._afterToday',
1276
+ title: 'After today',
1277
+ widget: null,
1278
+ },
1279
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
1280
+ description: 'Before N days in the past',
1281
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
1282
+ title: 'Before relative Date',
1283
+ widget: 'RelativeDateWidget',
1284
+ },
1285
+ 'plone.app.querystring.operation.date.beforeToday': {
1286
+ description: 'Before the current day',
1287
+ operation: 'plone.app.querystring.queryparser._beforeToday',
1288
+ title: 'Before today',
1289
+ widget: null,
1290
+ },
1291
+ 'plone.app.querystring.operation.date.between': {
1292
+ description: 'Please use YYYY/MM/DD.',
1293
+ operation: 'plone.app.querystring.queryparser._between',
1294
+ title: 'Between dates',
1295
+ widget: 'DateRangeWidget',
1296
+ },
1297
+ 'plone.app.querystring.operation.date.largerThan': {
1298
+ description: 'Please use YYYY/MM/DD.',
1299
+ operation: 'plone.app.querystring.queryparser._largerThan',
1300
+ title: 'After date',
1301
+ widget: 'DateWidget',
1302
+ },
1303
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
1304
+ description: 'Please enter the number in days.',
1305
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
1306
+ title: 'Within last',
1307
+ widget: 'RelativeDateWidget',
1308
+ },
1309
+ 'plone.app.querystring.operation.date.lessThan': {
1310
+ description: 'Please use YYYY/MM/DD.',
1311
+ operation: 'plone.app.querystring.queryparser._lessThan',
1312
+ title: 'Before date',
1313
+ widget: 'DateWidget',
1314
+ },
1315
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
1316
+ description: 'Please enter the number in days.',
1317
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
1318
+ title: 'Within next',
1319
+ widget: 'RelativeDateWidget',
1320
+ },
1321
+ 'plone.app.querystring.operation.date.today': {
1322
+ description: 'The current day',
1323
+ operation: 'plone.app.querystring.queryparser._today',
1324
+ title: 'Today',
1325
+ widget: null,
1326
+ },
1327
+ },
1328
+ sortable: true,
1329
+ title: 'Expiration date',
1330
+ values: {},
1331
+ vocabulary: null,
1332
+ },
1333
+ getId: {
1334
+ description: 'The short name of an item (used in the url)',
1335
+ enabled: true,
1336
+ group: 'Metadata',
1337
+ operations: ['plone.app.querystring.operation.string.is'],
1338
+ operators: {
1339
+ 'plone.app.querystring.operation.string.is': {
1340
+ description: 'Tip: you can use * to autocomplete.',
1341
+ operation: 'plone.app.querystring.queryparser._equal',
1342
+ title: 'Is',
1343
+ widget: 'StringWidget',
1344
+ },
1345
+ },
1346
+ sortable: true,
1347
+ title: 'Short name (id)',
1348
+ values: {},
1349
+ vocabulary: null,
1350
+ },
1351
+ getObjPositionInParent: {
1352
+ description: 'The order of an item in its parent folder',
1353
+ enabled: false,
1354
+ group: 'Metadata',
1355
+ operations: [
1356
+ 'plone.app.querystring.operation.int.is',
1357
+ 'plone.app.querystring.operation.int.lessThan',
1358
+ 'plone.app.querystring.operation.int.largerThan',
1359
+ ],
1360
+ operators: {
1361
+ 'plone.app.querystring.operation.int.is': {
1362
+ description: null,
1363
+ operation: 'plone.app.querystring.queryparser._intEqual',
1364
+ title: 'Equals',
1365
+ widget: 'StringWidget',
1366
+ },
1367
+ 'plone.app.querystring.operation.int.largerThan': {
1368
+ description: null,
1369
+ operation: 'plone.app.querystring.queryparser._intLargerThan',
1370
+ title: 'Larger than',
1371
+ widget: 'StringWidget',
1372
+ },
1373
+ 'plone.app.querystring.operation.int.lessThan': {
1374
+ description: null,
1375
+ operation: 'plone.app.querystring.queryparser._intLessThan',
1376
+ title: 'Less than',
1377
+ widget: 'StringWidget',
1378
+ },
1379
+ },
1380
+ sortable: true,
1381
+ title: 'Order in folder',
1382
+ values: {},
1383
+ vocabulary: null,
1384
+ },
1385
+ modified: {
1386
+ description: 'The time and date an item was last modified',
1387
+ enabled: true,
1388
+ group: 'Dates',
1389
+ operations: [
1390
+ 'plone.app.querystring.operation.date.lessThan',
1391
+ 'plone.app.querystring.operation.date.largerThan',
1392
+ 'plone.app.querystring.operation.date.between',
1393
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
1394
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
1395
+ 'plone.app.querystring.operation.date.today',
1396
+ 'plone.app.querystring.operation.date.beforeToday',
1397
+ 'plone.app.querystring.operation.date.afterToday',
1398
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
1399
+ 'plone.app.querystring.operation.date.afterRelativeDate',
1400
+ ],
1401
+ operators: {
1402
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
1403
+ description: 'After N days in the future',
1404
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
1405
+ title: 'After relative Date',
1406
+ widget: 'RelativeDateWidget',
1407
+ },
1408
+ 'plone.app.querystring.operation.date.afterToday': {
1409
+ description: 'After the current day',
1410
+ operation: 'plone.app.querystring.queryparser._afterToday',
1411
+ title: 'After today',
1412
+ widget: null,
1413
+ },
1414
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
1415
+ description: 'Before N days in the past',
1416
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
1417
+ title: 'Before relative Date',
1418
+ widget: 'RelativeDateWidget',
1419
+ },
1420
+ 'plone.app.querystring.operation.date.beforeToday': {
1421
+ description: 'Before the current day',
1422
+ operation: 'plone.app.querystring.queryparser._beforeToday',
1423
+ title: 'Before today',
1424
+ widget: null,
1425
+ },
1426
+ 'plone.app.querystring.operation.date.between': {
1427
+ description: 'Please use YYYY/MM/DD.',
1428
+ operation: 'plone.app.querystring.queryparser._between',
1429
+ title: 'Between dates',
1430
+ widget: 'DateRangeWidget',
1431
+ },
1432
+ 'plone.app.querystring.operation.date.largerThan': {
1433
+ description: 'Please use YYYY/MM/DD.',
1434
+ operation: 'plone.app.querystring.queryparser._largerThan',
1435
+ title: 'After date',
1436
+ widget: 'DateWidget',
1437
+ },
1438
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
1439
+ description: 'Please enter the number in days.',
1440
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
1441
+ title: 'Within last',
1442
+ widget: 'RelativeDateWidget',
1443
+ },
1444
+ 'plone.app.querystring.operation.date.lessThan': {
1445
+ description: 'Please use YYYY/MM/DD.',
1446
+ operation: 'plone.app.querystring.queryparser._lessThan',
1447
+ title: 'Before date',
1448
+ widget: 'DateWidget',
1449
+ },
1450
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
1451
+ description: 'Please enter the number in days.',
1452
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
1453
+ title: 'Within next',
1454
+ widget: 'RelativeDateWidget',
1455
+ },
1456
+ 'plone.app.querystring.operation.date.today': {
1457
+ description: 'The current day',
1458
+ operation: 'plone.app.querystring.queryparser._today',
1459
+ title: 'Today',
1460
+ widget: null,
1461
+ },
1462
+ },
1463
+ sortable: true,
1464
+ title: 'Modification date',
1465
+ values: {},
1466
+ vocabulary: null,
1467
+ },
1468
+ review_state: {
1469
+ description: "An item's workflow state (e.g.published)",
1470
+ enabled: true,
1471
+ group: 'Metadata',
1472
+ operations: ['plone.app.querystring.operation.selection.any'],
1473
+ operators: {
1474
+ 'plone.app.querystring.operation.selection.any': {
1475
+ description: 'Tip: you can use * to autocomplete.',
1476
+ operation: 'plone.app.querystring.queryparser._contains',
1477
+ title: 'Matches any of',
1478
+ widget: 'MultipleSelectionWidget',
1479
+ },
1480
+ },
1481
+ sortable: true,
1482
+ title: 'Review state',
1483
+ values: {
1484
+ external: {
1485
+ title: 'Externally visible [external]',
1486
+ },
1487
+ internal: {
1488
+ title: 'Internal draft [internal]',
1489
+ },
1490
+ internally_published: {
1491
+ title: 'Internally published [internally_published]',
1492
+ },
1493
+ pending: {
1494
+ title: 'Pending [pending]',
1495
+ },
1496
+ private: {
1497
+ title: 'Private [private]',
1498
+ },
1499
+ published: {
1500
+ title: 'Published [published]',
1501
+ },
1502
+ rejected: {
1503
+ title: 'Rejected [rejected]',
1504
+ },
1505
+ spam: {
1506
+ title: 'Spam [spam]',
1507
+ },
1508
+ visible: {
1509
+ title: 'Public draft [visible]',
1510
+ },
1511
+ },
1512
+ vocabulary: 'plone.app.vocabularies.WorkflowStates',
1513
+ },
1514
+ sortable_title: {
1515
+ description: "The item's title, transformed for sorting",
1516
+ enabled: false,
1517
+ group: 'Text',
1518
+ operations: [
1519
+ 'plone.app.querystring.operation.string.contains',
1520
+ 'plone.app.querystring.operation.string.is',
1521
+ ],
1522
+ operators: {
1523
+ 'plone.app.querystring.operation.string.contains': {
1524
+ description: null,
1525
+ operation: 'plone.app.querystring.queryparser._contains',
1526
+ title: 'Contains',
1527
+ widget: 'StringWidget',
1528
+ },
1529
+ 'plone.app.querystring.operation.string.is': {
1530
+ description: 'Tip: you can use * to autocomplete.',
1531
+ operation: 'plone.app.querystring.queryparser._equal',
1532
+ title: 'Is',
1533
+ widget: 'StringWidget',
1534
+ },
1535
+ },
1536
+ sortable: true,
1537
+ title: 'Sortable Title',
1538
+ values: {},
1539
+ vocabulary: null,
1540
+ },
1541
+ start: {
1542
+ description: 'The start date and time of an event',
1543
+ enabled: true,
1544
+ group: 'Dates',
1545
+ operations: [
1546
+ 'plone.app.querystring.operation.date.lessThan',
1547
+ 'plone.app.querystring.operation.date.largerThan',
1548
+ 'plone.app.querystring.operation.date.between',
1549
+ 'plone.app.querystring.operation.date.lessThanRelativeDate',
1550
+ 'plone.app.querystring.operation.date.largerThanRelativeDate',
1551
+ 'plone.app.querystring.operation.date.today',
1552
+ 'plone.app.querystring.operation.date.beforeToday',
1553
+ 'plone.app.querystring.operation.date.afterToday',
1554
+ 'plone.app.querystring.operation.date.beforeRelativeDate',
1555
+ 'plone.app.querystring.operation.date.afterRelativeDate',
1556
+ ],
1557
+ operators: {
1558
+ 'plone.app.querystring.operation.date.afterRelativeDate': {
1559
+ description: 'After N days in the future',
1560
+ operation: 'plone.app.querystring.queryparser._afterRelativeDate',
1561
+ title: 'After relative Date',
1562
+ widget: 'RelativeDateWidget',
1563
+ },
1564
+ 'plone.app.querystring.operation.date.afterToday': {
1565
+ description: 'After the current day',
1566
+ operation: 'plone.app.querystring.queryparser._afterToday',
1567
+ title: 'After today',
1568
+ widget: null,
1569
+ },
1570
+ 'plone.app.querystring.operation.date.beforeRelativeDate': {
1571
+ description: 'Before N days in the past',
1572
+ operation: 'plone.app.querystring.queryparser._beforeRelativeDate',
1573
+ title: 'Before relative Date',
1574
+ widget: 'RelativeDateWidget',
1575
+ },
1576
+ 'plone.app.querystring.operation.date.beforeToday': {
1577
+ description: 'Before the current day',
1578
+ operation: 'plone.app.querystring.queryparser._beforeToday',
1579
+ title: 'Before today',
1580
+ widget: null,
1581
+ },
1582
+ 'plone.app.querystring.operation.date.between': {
1583
+ description: 'Please use YYYY/MM/DD.',
1584
+ operation: 'plone.app.querystring.queryparser._between',
1585
+ title: 'Between dates',
1586
+ widget: 'DateRangeWidget',
1587
+ },
1588
+ 'plone.app.querystring.operation.date.largerThan': {
1589
+ description: 'Please use YYYY/MM/DD.',
1590
+ operation: 'plone.app.querystring.queryparser._largerThan',
1591
+ title: 'After date',
1592
+ widget: 'DateWidget',
1593
+ },
1594
+ 'plone.app.querystring.operation.date.largerThanRelativeDate': {
1595
+ description: 'Please enter the number in days.',
1596
+ operation: 'plone.app.querystring.queryparser._moreThanRelativeDate',
1597
+ title: 'Within last',
1598
+ widget: 'RelativeDateWidget',
1599
+ },
1600
+ 'plone.app.querystring.operation.date.lessThan': {
1601
+ description: 'Please use YYYY/MM/DD.',
1602
+ operation: 'plone.app.querystring.queryparser._lessThan',
1603
+ title: 'Before date',
1604
+ widget: 'DateWidget',
1605
+ },
1606
+ 'plone.app.querystring.operation.date.lessThanRelativeDate': {
1607
+ description: 'Please enter the number in days.',
1608
+ operation: 'plone.app.querystring.queryparser._lessThanRelativeDate',
1609
+ title: 'Within next',
1610
+ widget: 'RelativeDateWidget',
1611
+ },
1612
+ 'plone.app.querystring.operation.date.today': {
1613
+ description: 'The current day',
1614
+ operation: 'plone.app.querystring.queryparser._today',
1615
+ title: 'Today',
1616
+ widget: null,
1617
+ },
1618
+ },
1619
+ sortable: true,
1620
+ title: 'Event start date',
1621
+ values: {},
1622
+ vocabulary: null,
1623
+ },
1624
+ },
1625
+ loaded: true,
1626
+ loading: false,
23
1627
  };
24
1628
 
25
- export const Query = QueryWidgetComponent.bind({});
1629
+ export const Query = WidgetStory.bind({
1630
+ props: {
1631
+ title: 'Query',
1632
+ id: 'queryfield',
1633
+ getQuerystring: () => {},
1634
+ indexes: querystring.indexes,
1635
+ },
1636
+ widget: QuerystringWidget,
1637
+ customStore: {
1638
+ querystring,
1639
+ },
1640
+ });
26
1641
 
27
1642
  export default {
28
1643
  title: 'Widgets/Query',
29
- component: QueryWidget,
1644
+ component: QuerystringWidgetComponent,
30
1645
  decorators: [
31
1646
  (Story) => (
32
1647
  <div className="ui segment form attached" style={{ width: '400px' }}>