@genexus/genexus-ide-ui 1.0.69 → 1.0.70

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 (33) hide show
  1. package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
  2. package/dist/cjs/gx-ide-ww-files.cjs.entry.js +372 -0
  3. package/dist/cjs/gx-ide-ww-files.cjs.entry.js.map +1 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +1 -0
  6. package/dist/collection/components/ww-files/gx-ide-assets/ww-files/langs/ww-files.lang.en.json +45 -0
  7. package/dist/collection/components/ww-files/gx-ide-assets/ww-files/langs/ww-files.lang.ja.json +45 -0
  8. package/dist/collection/components/ww-files/gx-ide-assets/ww-files/langs/ww-files.lang.zh.json +45 -0
  9. package/dist/collection/components/ww-files/helpers.js +11 -0
  10. package/dist/collection/components/ww-files/helpers.js.map +1 -0
  11. package/dist/collection/components/ww-files/ww-files.css +147 -0
  12. package/dist/collection/components/ww-files/ww-files.js +822 -0
  13. package/dist/collection/components/ww-files/ww-files.js.map +1 -0
  14. package/dist/collection/testing/locale.e2e.js +1 -0
  15. package/dist/collection/testing/locale.e2e.js.map +1 -1
  16. package/dist/components/gx-ide-ww-files.d.ts +11 -0
  17. package/dist/components/gx-ide-ww-files.js +427 -0
  18. package/dist/components/gx-ide-ww-files.js.map +1 -0
  19. package/dist/esm/genexus-ide-ui.js +1 -1
  20. package/dist/esm/gx-ide-ww-files.entry.js +368 -0
  21. package/dist/esm/gx-ide-ww-files.entry.js.map +1 -0
  22. package/dist/esm/loader.js +1 -1
  23. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  24. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
  25. package/dist/genexus-ide-ui/gx-ide-assets/ww-files/langs/ww-files.lang.en.json +45 -0
  26. package/dist/genexus-ide-ui/gx-ide-assets/ww-files/langs/ww-files.lang.ja.json +45 -0
  27. package/dist/genexus-ide-ui/gx-ide-assets/ww-files/langs/ww-files.lang.zh.json +45 -0
  28. package/dist/genexus-ide-ui/p-839f1b44.entry.js +564 -0
  29. package/dist/genexus-ide-ui/p-839f1b44.entry.js.map +1 -0
  30. package/dist/types/components/ww-files/helpers.d.ts +3 -0
  31. package/dist/types/components/ww-files/ww-files.d.ts +172 -0
  32. package/dist/types/components.d.ts +200 -12
  33. package/package.json +1 -1
@@ -0,0 +1,822 @@
1
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
+ if (kind === "a" && !f)
3
+ throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
5
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
6
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
7
+ };
8
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
9
+ if (kind === "m")
10
+ throw new TypeError("Private method is not writable");
11
+ if (kind === "a" && !f)
12
+ throw new TypeError("Private accessor was defined without a setter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
15
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
16
+ };
17
+ var _GxIdeWWFiles_componentLocale, _GxIdeWWFiles_ACCORDION_FILTER_ID, _GxIdeWWFiles_ACCORDION_MODEL, _GxIdeWWFiles_chGridEl, _GxIdeWWFiles_filterAfterTypeEl, _GxIdeWWFiles_filterAllDescendantsEl, _GxIdeWWFiles_filterCategoryEl, _GxIdeWWFiles_filterModifiedDateEl, _GxIdeWWFiles_filterModuleEl, _GxIdeWWFiles_filterModifiedEl, _GxIdeWWFiles_filterNameEl, _GxIdeWWFiles_filterSearchContentsEl, _GxIdeWWFiles_filterUserEl, _GxIdeWWFiles_renderHeader, _GxIdeWWFiles_renderObjects, _GxIdeWWFiles_hiChar, _GxIdeWWFiles_formatDate, _GxIdeWWFiles_getObjects, _GxIdeWWFiles_filterFiles, _GxIdeWWFiles_handleFilterInput, _GxIdeWWFiles_handleSearchContentsInput, _GxIdeWWFiles_deleteSelectionCallbackHandle, _GxIdeWWFiles_deselectAll, _GxIdeWWFiles_expandedHandler, _GxIdeWWFiles_filterModifiedCallbackHandle, _GxIdeWWFiles_filterAfterTypeCallbackHandle, _GxIdeWWFiles_listenChanges, _GxIdeWWFiles_newFileCallbackHandle, _GxIdeWWFiles_openSelectionCallbackHandle, _GxIdeWWFiles_selectAll;
18
+ import { Host, h } from "@stencil/core";
19
+ import { Locale } from "../../common/locale";
20
+ import { config } from "../../common/config";
21
+ import { mapOptionsToComboBoxItemModel } from "./helpers";
22
+ const CSS_BUNDLES = [
23
+ "resets/box-sizing",
24
+ "components/button",
25
+ "components/checkbox",
26
+ "components/combo-box",
27
+ "components/accordion",
28
+ "components/edit",
29
+ "components/tabular-grid",
30
+ "utils/form",
31
+ "utils/layout",
32
+ "utils/typography",
33
+ "utils/spacing"
34
+ ];
35
+ const FILTER_AFTER_DATE_TIME = "afterDateTime";
36
+ const FILTER_AFTER_LAST_BUILD = "afterLastBuild";
37
+ const FILTER_AFTER_IMPORT = "afterImport";
38
+ export class GxIdeWWFiles {
39
+ constructor() {
40
+ _GxIdeWWFiles_componentLocale.set(this, void 0);
41
+ _GxIdeWWFiles_ACCORDION_FILTER_ID.set(this, "advanced-filter");
42
+ _GxIdeWWFiles_ACCORDION_MODEL.set(this, []);
43
+ _GxIdeWWFiles_chGridEl.set(this, void 0);
44
+ _GxIdeWWFiles_filterAfterTypeEl.set(this, void 0);
45
+ _GxIdeWWFiles_filterAllDescendantsEl.set(this, void 0);
46
+ _GxIdeWWFiles_filterCategoryEl.set(this, void 0);
47
+ _GxIdeWWFiles_filterModifiedDateEl.set(this, void 0);
48
+ _GxIdeWWFiles_filterModuleEl.set(this, void 0);
49
+ _GxIdeWWFiles_filterModifiedEl.set(this, void 0);
50
+ _GxIdeWWFiles_filterNameEl.set(this, void 0);
51
+ _GxIdeWWFiles_filterSearchContentsEl.set(this, void 0);
52
+ _GxIdeWWFiles_filterUserEl.set(this, void 0);
53
+ _GxIdeWWFiles_renderHeader.set(this, () => {
54
+ return [
55
+ h("div", { class: "field field-block name" }, h("label", { class: "label", htmlFor: "filter-files" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.name), h("ch-edit", { id: "filter-files", class: "input", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterNameEl, el, "f")), value: this.filterFilesInputValue, onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_handleFilterInput, "f"), part: "filter-files" })),
56
+ h("div", { class: "field field-block module-folder" }, h("label", { class: "label", htmlFor: "module-folder" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.moduleFolder), h("gx-ide-entity-selector", { part: "filter-module-folder", id: "module/folder", labelPosition: "none", value: this.defaultModule, defaultValue: this.defaultModule, selectEntityCallback: this.selectModuleCallback, ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterModuleEl, el, "f")) })),
57
+ h("ch-accordion-render", { class: "accordion-outlined advanced-filter-accordion", model: __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_MODEL, "f"), onExpandedChange: __classPrivateFieldGet(this, _GxIdeWWFiles_expandedHandler, "f") }, h("div", { slot: __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_FILTER_ID, "f"), class: "spacing-body" }, h("div", { class: "main__filter" }, this.showSearchContents && (h("div", { class: "search-content" }, h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "filter-content" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.content), h("ch-edit", { id: "filter-content", class: "input", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterSearchContentsEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_handleSearchContentsInput, "f"), part: "filter-content" })))), h("div", { class: "filter-row" }, h("div", { class: "category-column" }, h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "filter-category" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.category), h("ch-combo-box-render", { id: "filter-category", class: "combo-box", value: this.defaultCategory, disabled: !this.categories, ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterCategoryEl, el, "f")), model: this.categoriesComboBoxModel, part: "filter-category", onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f") }))), h("div", { class: "checkboxes-column" }, h("ch-checkbox", { class: "checkbox", caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.allDescendants, checkedValue: "filterAllDescendants", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterAllDescendantsEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f"), part: "filter-all-descendants" }), h("ch-checkbox", { class: "checkbox align-center", caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.modified, checkedValue: "filterModified", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterModifiedEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedCallbackHandle, "f"), part: "filter-modified" })), h("div", { class: "empty-column" })), h("div", { class: { "modified-inputs": true, "hide": !this.filterModified } }, h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "filter-after-type" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.after), h("ch-combo-box-render", { id: "filter-after-type", class: "combo-box", value: this.afterCurrentValue, ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterAfterTypeEl, el, "f")), model: this.filterAfterOptions, onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeCallbackHandle, "f"), part: "filter-after-type" })), h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "filter-user" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.user), h("ch-edit", { id: "filter-user", class: "input", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterUserEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f"), part: "filter-user" })), h("div", { class: {
58
+ "field field-block": true,
59
+ "hide": this.afterCurrentValue !== FILTER_AFTER_DATE_TIME
60
+ } }, h("label", { class: "label", htmlFor: "filter-modified-date" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.dateTime), h("ch-edit", { id: "filter-modified-date", type: "date", class: "input", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterModifiedDateEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f"), part: "filter-modified-date" }))))))
61
+ ];
62
+ });
63
+ _GxIdeWWFiles_renderObjects.set(this, () => {
64
+ return (h("div", { class: "field-group main__grid" }, h("ch-tabular-grid", { ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_chGridEl, el, "f")), class: "tabular-grid tabular-grid-ww-files", rowSelectionMode: "multiple", part: "ch-grid-files" }, h("ch-tabular-grid-columnset", { class: "tabular-grid-column-set" }, h("ch-tabular-grid-column", { columnName: "", columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" }), h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.name, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.common, class: "tabular-grid-column" }), this.showType && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.type, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.common, class: "tabular-grid-column" })), h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.module, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.common, class: "tabular-grid-column" }), this.showDescription && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.description, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.commonDouble, class: "tabular-grid-column" })), this.showModifiedDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.modifiedDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.showLastUser && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.lastUser, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.showImportDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.importDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.showLastBuildDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.lastBuildDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" }))), this.filteredFiles.length ? (h("ch-tabular-grid-rowset", { class: "tabular-grid-rowset" }, this.filteredFiles.map((obj) => {
65
+ var _a;
66
+ return (h("ch-tabular-grid-row", { rowid: obj.id, class: "tabular-grid-row" }, h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, h("ch-image", { src: obj.icon })), h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.name.toLowerCase(), this.filterFilesInputValue)), this.showType && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.type.toLowerCase(), this.filterFilesInputValue))), h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.module.toLowerCase(), this.filterFilesInputValue)), this.showDescription && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.description.toLowerCase(), this.filterFilesInputValue))), this.showModifiedDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.modifiedDate
67
+ ? __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, obj.modifiedDate)
68
+ : "", this.filterFilesInputValue))), this.showLastUser && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, ((_a = obj.lastUser) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || "", this.filterFilesInputValue))), this.showImportDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.importDate ? __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, obj.importDate) : "", this.filterFilesInputValue))), this.showLastBuildDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.lastBuildDate
69
+ ? __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, obj.lastBuildDate)
70
+ : "", this.filterFilesInputValue)))));
71
+ }))) : null)));
72
+ });
73
+ _GxIdeWWFiles_hiChar.set(this, (text, search) => {
74
+ if (!search)
75
+ return text;
76
+ const parts = text.split(new RegExp(`(${search})`, "gi"));
77
+ return parts.map((part, i) => part.toLowerCase() === search.toLowerCase() ? (h("span", { key: i, class: "highlight" }, part)) : (part));
78
+ });
79
+ _GxIdeWWFiles_formatDate.set(this, (date) => {
80
+ return date.toISOString().slice(0, 10);
81
+ });
82
+ _GxIdeWWFiles_getObjects.set(this, () => {
83
+ var _a;
84
+ const filters = {
85
+ name: __classPrivateFieldGet(this, _GxIdeWWFiles_filterNameEl, "f").value,
86
+ searchContents: this.showSearchContents
87
+ ? (_a = __classPrivateFieldGet(this, _GxIdeWWFiles_filterSearchContentsEl, "f")) === null || _a === void 0 ? void 0 : _a.value
88
+ : null,
89
+ category: __classPrivateFieldGet(this, _GxIdeWWFiles_filterCategoryEl, "f").value,
90
+ parent: __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").value ? __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").value.id : null,
91
+ allDescendants: !!__classPrivateFieldGet(this, _GxIdeWWFiles_filterAllDescendantsEl, "f").value,
92
+ modifiedAfter: this.filterModified ? this.afterCurrentValue : null,
93
+ modifiedBy: this.filterModified ? __classPrivateFieldGet(this, _GxIdeWWFiles_filterUserEl, "f").value : null,
94
+ modifiedDate: this.filterModified && this.afterCurrentValue === FILTER_AFTER_DATE_TIME
95
+ ? new Date(__classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedDateEl, "f").value)
96
+ : null
97
+ };
98
+ this.loadCallback(filters).then((items) => {
99
+ this.objects = items;
100
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterFiles, "f").call(this);
101
+ this.selectedObjectsIds = [];
102
+ __classPrivateFieldGet(this, _GxIdeWWFiles_deselectAll, "f").call(this);
103
+ });
104
+ });
105
+ _GxIdeWWFiles_filterFiles.set(this, () => {
106
+ var _a, _b;
107
+ const filterValue = this.filterFilesInputValue.toLowerCase();
108
+ const searchContents = this.showSearchContents
109
+ ? ((_b = (_a = __classPrivateFieldGet(this, _GxIdeWWFiles_filterSearchContentsEl, "f")) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || ""
110
+ : "";
111
+ this.filteredFiles = this.objects.filter(file => {
112
+ var _a, _b, _c, _d, _e;
113
+ const nameMatch = file.name.toLowerCase().includes(filterValue);
114
+ const typeMatch = file.type.toLowerCase().includes(filterValue);
115
+ const moduleMatch = file.module.toLowerCase().includes(filterValue);
116
+ const descriptionMatch = (_a = file.description) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(filterValue);
117
+ const modifiedDateMatch = (_b = file.modifiedDate) === null || _b === void 0 ? void 0 : _b.toString().includes(filterValue);
118
+ const lastUserMatch = (_c = file.lastUser) === null || _c === void 0 ? void 0 : _c.toLowerCase().includes(filterValue);
119
+ const importDateMatch = (_d = file.importDate) === null || _d === void 0 ? void 0 : _d.toString().includes(filterValue);
120
+ const contentsMatch = searchContents
121
+ ? (_e = file.description) === null || _e === void 0 ? void 0 : _e.toLowerCase().includes(searchContents)
122
+ : true;
123
+ return ((nameMatch ||
124
+ typeMatch ||
125
+ moduleMatch ||
126
+ descriptionMatch ||
127
+ modifiedDateMatch ||
128
+ lastUserMatch ||
129
+ importDateMatch) &&
130
+ contentsMatch);
131
+ });
132
+ });
133
+ _GxIdeWWFiles_handleFilterInput.set(this, (event) => {
134
+ this.filterFilesInputValue = event.detail.toLowerCase();
135
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterFiles, "f").call(this);
136
+ });
137
+ _GxIdeWWFiles_handleSearchContentsInput.set(this, () => {
138
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterFiles, "f").call(this);
139
+ });
140
+ _GxIdeWWFiles_deleteSelectionCallbackHandle.set(this, () => {
141
+ this.deleteSelectionCallback(this.selectedObjectsIds);
142
+ });
143
+ _GxIdeWWFiles_deselectAll.set(this, () => {
144
+ __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").selectAllRows(false);
145
+ });
146
+ _GxIdeWWFiles_expandedHandler.set(this, (e) => {
147
+ if (e.detail.id === __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_FILTER_ID, "f")) {
148
+ this.advancedFilterAccordionExpanded = e.detail.expanded;
149
+ this.filterMore = e.detail.expanded;
150
+ }
151
+ });
152
+ _GxIdeWWFiles_filterModifiedCallbackHandle.set(this, () => {
153
+ this.filterModified = !!__classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedEl, "f").value;
154
+ this.enabledModifiedControls = this.filterModified;
155
+ if (!this.filterModified) {
156
+ // Reset related fields when unchecking Modified
157
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterUserEl, "f").value = null;
158
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value = null;
159
+ this.afterCurrentValue = null;
160
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedDateEl, "f").value = null;
161
+ }
162
+ else {
163
+ // Restore default values when checking Modified
164
+ this.afterCurrentValue = FILTER_AFTER_DATE_TIME;
165
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value = FILTER_AFTER_DATE_TIME;
166
+ }
167
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
168
+ });
169
+ _GxIdeWWFiles_filterAfterTypeCallbackHandle.set(this, () => {
170
+ const newValue = __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value;
171
+ // Validar que el valor sea uno de los permitidos
172
+ if ([
173
+ FILTER_AFTER_DATE_TIME,
174
+ FILTER_AFTER_LAST_BUILD,
175
+ FILTER_AFTER_IMPORT
176
+ ].includes(newValue)) {
177
+ this.afterCurrentValue = newValue;
178
+ }
179
+ else {
180
+ // Si no es un valor válido, establecer el valor por defecto
181
+ this.afterCurrentValue = FILTER_AFTER_DATE_TIME;
182
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value = FILTER_AFTER_DATE_TIME;
183
+ }
184
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
185
+ });
186
+ _GxIdeWWFiles_listenChanges.set(this, () => {
187
+ /* module/folder */
188
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").addEventListener("valueChanged", () => {
189
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
190
+ });
191
+ // for grid selection
192
+ __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("selectionChanged", (ev) => {
193
+ this.selectedObjectsIds = ev.detail.rowsId;
194
+ this.selectionChangeCallback(this.selectedObjectsIds);
195
+ });
196
+ __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("rowDoubleClicked", () => {
197
+ __classPrivateFieldGet(this, _GxIdeWWFiles_openSelectionCallbackHandle, "f").call(this);
198
+ });
199
+ __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("rowContextMenu", (ev) => {
200
+ ev.preventDefault();
201
+ ev.stopPropagation();
202
+ this.contextMenuCallback({
203
+ selection: ev.detail.selectedRowsId,
204
+ clientX: ev.detail.clientX,
205
+ clientY: ev.detail.clientY
206
+ });
207
+ });
208
+ });
209
+ _GxIdeWWFiles_newFileCallbackHandle.set(this, () => {
210
+ this.newFileCallback();
211
+ });
212
+ _GxIdeWWFiles_openSelectionCallbackHandle.set(this, () => {
213
+ this.openSelectionCallback(this.selectedObjectsIds);
214
+ });
215
+ _GxIdeWWFiles_selectAll.set(this, () => {
216
+ __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").selectAllRows();
217
+ });
218
+ this.categoriesComboBoxModel = [];
219
+ this.afterCurrentValue = FILTER_AFTER_DATE_TIME;
220
+ this.filterAfterOptions = undefined;
221
+ this.enabledModifiedControls = false;
222
+ this.filterModified = false;
223
+ this.filterMore = false;
224
+ this.objects = [];
225
+ this.filterFilesInputValue = "";
226
+ this.filteredFiles = [];
227
+ this.selectedObjectsIds = [];
228
+ this.advancedFilterAccordionExpanded = false;
229
+ this.categories = undefined;
230
+ this.defaultCategory = undefined;
231
+ this.defaultModule = undefined;
232
+ this.filterModules = undefined;
233
+ this.types = undefined;
234
+ this.contextMenuCallback = undefined;
235
+ this.deleteSelectionCallback = undefined;
236
+ this.loadCallback = undefined;
237
+ this.newFileCallback = undefined;
238
+ this.openSelectionCallback = undefined;
239
+ this.selectModuleCallback = undefined;
240
+ this.selectionChangeCallback = undefined;
241
+ this.showSearchContents = false;
242
+ this.showDescription = false;
243
+ this.showModifiedDate = false;
244
+ this.showLastUser = false;
245
+ this.showImportDate = false;
246
+ this.showType = false;
247
+ this.showLastBuildDate = false;
248
+ }
249
+ categoriesChanged(newCategories) {
250
+ this.categoriesComboBoxModel = mapOptionsToComboBoxItemModel(newCategories);
251
+ }
252
+ async componentWillLoad() {
253
+ __classPrivateFieldSet(this, _GxIdeWWFiles_componentLocale, await Locale.getComponentStrings(this.el), "f");
254
+ // initialize combo-box models
255
+ this.categoriesChanged(this.categories);
256
+ // initialize "After" combo-box options
257
+ this.filterAfterOptions = [
258
+ {
259
+ caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter[FILTER_AFTER_DATE_TIME],
260
+ value: FILTER_AFTER_DATE_TIME
261
+ },
262
+ {
263
+ caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter[FILTER_AFTER_LAST_BUILD],
264
+ value: FILTER_AFTER_LAST_BUILD
265
+ },
266
+ {
267
+ caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter[FILTER_AFTER_IMPORT],
268
+ value: FILTER_AFTER_IMPORT
269
+ }
270
+ ];
271
+ this.afterCurrentValue = FILTER_AFTER_DATE_TIME;
272
+ // initialize accordion model with proper configuration
273
+ __classPrivateFieldSet(this, _GxIdeWWFiles_ACCORDION_MODEL, [
274
+ {
275
+ id: __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_FILTER_ID, "f"),
276
+ caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.accordionCaption,
277
+ expanded: this.advancedFilterAccordionExpanded
278
+ }
279
+ ], "f");
280
+ // initialize filtered files
281
+ this.filteredFiles = this.objects;
282
+ this.componentDidLoadEvent.emit(true);
283
+ }
284
+ componentDidLoad() {
285
+ __classPrivateFieldGet(this, _GxIdeWWFiles_listenChanges, "f").call(this);
286
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
287
+ }
288
+ keyDownHandler(eventInfo) {
289
+ if (document.activeElement === this.el) {
290
+ switch (eventInfo.key) {
291
+ case "Enter":
292
+ eventInfo.preventDefault();
293
+ __classPrivateFieldGet(this, _GxIdeWWFiles_openSelectionCallbackHandle, "f").call(this);
294
+ break;
295
+ case "Delete":
296
+ eventInfo.preventDefault();
297
+ __classPrivateFieldGet(this, _GxIdeWWFiles_deleteSelectionCallbackHandle, "f").call(this);
298
+ break;
299
+ case "Escape":
300
+ eventInfo.preventDefault();
301
+ __classPrivateFieldGet(this, _GxIdeWWFiles_deselectAll, "f").call(this);
302
+ break;
303
+ }
304
+ }
305
+ }
306
+ /**
307
+ * Validate necessary data input
308
+ */
309
+ async validate() {
310
+ const isValid = true;
311
+ return isValid;
312
+ }
313
+ /**
314
+ * This method reload the view, refreshing the filters and the table of files.
315
+ */
316
+ async reload() {
317
+ this.filterFilesInputValue = "";
318
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterUserEl, "f").value = null;
319
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value = null;
320
+ this.afterCurrentValue = null;
321
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedEl, "f").value = undefined;
322
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterAllDescendantsEl, "f").value = undefined;
323
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").value = this.defaultModule;
324
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterCategoryEl, "f").value = null;
325
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterSearchContentsEl, "f").value = null;
326
+ __classPrivateFieldGet(this, _GxIdeWWFiles_filterNameEl, "f").value = null;
327
+ this.filterMore = false;
328
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
329
+ }
330
+ render() {
331
+ return (h(Host, { class: "widget" }, h("ch-theme", { model: CSS_BUNDLES }), h("section", { class: "section" }, h("header", { class: "header control-header-with-border spacing-body-inline spacing-body-block-start field-group" }, __classPrivateFieldGet(this, _GxIdeWWFiles_renderHeader, "f").call(this)), h("div", { class: "main" }, __classPrivateFieldGet(this, _GxIdeWWFiles_renderObjects, "f").call(this)), h("footer", { class: "control-footer-with-border control-footer-space-between spacing-body" }, h("p", {
332
+ // matching objects
333
+ class: "text-body", part: "objects-matching"
334
+ }, `${this.filteredFiles.length} ${__classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").objCount.matching}`), h("div", { class: "buttons-spacer" }, h("button", {
335
+ // select all button
336
+ id: "button-select-all", class: "button-secondary", onClick: __classPrivateFieldGet(this, _GxIdeWWFiles_selectAll, "f"), part: "button button--select-all"
337
+ }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").footer.btnSelectAll), h("button", {
338
+ // new file button
339
+ id: "button-new-file", class: "button-primary button-icon-and-text", onClick: __classPrivateFieldGet(this, _GxIdeWWFiles_newFileCallbackHandle, "f"), part: "button button--new-file"
340
+ }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").footer.btnNew))))));
341
+ }
342
+ static get is() { return "gx-ide-ww-files"; }
343
+ static get encapsulation() { return "shadow"; }
344
+ static get originalStyleUrls() {
345
+ return {
346
+ "$": ["ww-files.scss"]
347
+ };
348
+ }
349
+ static get styleUrls() {
350
+ return {
351
+ "$": ["ww-files.css"]
352
+ };
353
+ }
354
+ static get assetsDirs() { return ["gx-ide-assets/ww-files"]; }
355
+ static get properties() {
356
+ return {
357
+ "categories": {
358
+ "type": "unknown",
359
+ "mutable": false,
360
+ "complexType": {
361
+ "original": "GxOption[]",
362
+ "resolved": "GxOption[]",
363
+ "references": {
364
+ "GxOption": {
365
+ "location": "import",
366
+ "path": "../../common/types",
367
+ "id": "src/common/types.ts::GxOption"
368
+ }
369
+ }
370
+ },
371
+ "required": true,
372
+ "optional": false,
373
+ "docs": {
374
+ "tags": [],
375
+ "text": "The categories render in the filter category selector"
376
+ }
377
+ },
378
+ "defaultCategory": {
379
+ "type": "string",
380
+ "mutable": false,
381
+ "complexType": {
382
+ "original": "string",
383
+ "resolved": "string",
384
+ "references": {}
385
+ },
386
+ "required": false,
387
+ "optional": false,
388
+ "docs": {
389
+ "tags": [],
390
+ "text": "The default value for the category filter"
391
+ },
392
+ "attribute": "default-category",
393
+ "reflect": false
394
+ },
395
+ "defaultModule": {
396
+ "type": "unknown",
397
+ "mutable": false,
398
+ "complexType": {
399
+ "original": "EntityData",
400
+ "resolved": "{ id: string; name: string; iconSrc?: string; }",
401
+ "references": {
402
+ "EntityData": {
403
+ "location": "import",
404
+ "path": "../../common/types",
405
+ "id": "src/common/types.ts::EntityData"
406
+ }
407
+ }
408
+ },
409
+ "required": false,
410
+ "optional": false,
411
+ "docs": {
412
+ "tags": [],
413
+ "text": "The default value for the module/folder filter"
414
+ }
415
+ },
416
+ "filterModules": {
417
+ "type": "unknown",
418
+ "mutable": false,
419
+ "complexType": {
420
+ "original": "GxOption[]",
421
+ "resolved": "GxOption[]",
422
+ "references": {
423
+ "GxOption": {
424
+ "location": "import",
425
+ "path": "../../common/types",
426
+ "id": "src/common/types.ts::GxOption"
427
+ }
428
+ }
429
+ },
430
+ "required": true,
431
+ "optional": false,
432
+ "docs": {
433
+ "tags": [],
434
+ "text": "The modules/folders render in the module/folder selector"
435
+ }
436
+ },
437
+ "types": {
438
+ "type": "unknown",
439
+ "mutable": false,
440
+ "complexType": {
441
+ "original": "GxOption[]",
442
+ "resolved": "GxOption[]",
443
+ "references": {
444
+ "GxOption": {
445
+ "location": "import",
446
+ "path": "../../common/types",
447
+ "id": "src/common/types.ts::GxOption"
448
+ }
449
+ }
450
+ },
451
+ "required": true,
452
+ "optional": false,
453
+ "docs": {
454
+ "tags": [],
455
+ "text": "The types render in the filter type selector"
456
+ }
457
+ },
458
+ "contextMenuCallback": {
459
+ "type": "unknown",
460
+ "mutable": false,
461
+ "complexType": {
462
+ "original": "ContextMenuCallback",
463
+ "resolved": "(contextMenuInfo: ContextMenuInfo) => Promise<void>",
464
+ "references": {
465
+ "ContextMenuCallback": {
466
+ "location": "local",
467
+ "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
468
+ "id": "src/components/ww-files/ww-files.tsx::ContextMenuCallback"
469
+ }
470
+ }
471
+ },
472
+ "required": true,
473
+ "optional": false,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": "This is a function provided by the developer for show the context menu of the selected files."
477
+ }
478
+ },
479
+ "deleteSelectionCallback": {
480
+ "type": "unknown",
481
+ "mutable": false,
482
+ "complexType": {
483
+ "original": "DeleteSelectionCallback",
484
+ "resolved": "(ids: string[]) => Promise<void>",
485
+ "references": {
486
+ "DeleteSelectionCallback": {
487
+ "location": "local",
488
+ "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
489
+ "id": "src/components/ww-files/ww-files.tsx::DeleteSelectionCallback"
490
+ }
491
+ }
492
+ },
493
+ "required": true,
494
+ "optional": false,
495
+ "docs": {
496
+ "tags": [],
497
+ "text": "This is a function provided by the developer for delete the selected files."
498
+ }
499
+ },
500
+ "loadCallback": {
501
+ "type": "unknown",
502
+ "mutable": false,
503
+ "complexType": {
504
+ "original": "LoadCallback",
505
+ "resolved": "(filters: ObjectFiltersData) => Promise<ObjectData[]>",
506
+ "references": {
507
+ "LoadCallback": {
508
+ "location": "local",
509
+ "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
510
+ "id": "src/components/ww-files/ww-files.tsx::LoadCallback"
511
+ }
512
+ }
513
+ },
514
+ "required": true,
515
+ "optional": false,
516
+ "docs": {
517
+ "tags": [],
518
+ "text": "This is a function provided by the developer that return a list of files to populate the table of files."
519
+ }
520
+ },
521
+ "newFileCallback": {
522
+ "type": "unknown",
523
+ "mutable": false,
524
+ "complexType": {
525
+ "original": "NewFileCallback",
526
+ "resolved": "() => Promise<void>",
527
+ "references": {
528
+ "NewFileCallback": {
529
+ "location": "local",
530
+ "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
531
+ "id": "src/components/ww-files/ww-files.tsx::NewFileCallback"
532
+ }
533
+ }
534
+ },
535
+ "required": true,
536
+ "optional": false,
537
+ "docs": {
538
+ "tags": [],
539
+ "text": ""
540
+ }
541
+ },
542
+ "openSelectionCallback": {
543
+ "type": "unknown",
544
+ "mutable": false,
545
+ "complexType": {
546
+ "original": "OpenSelectionCallback",
547
+ "resolved": "(ids: string[]) => Promise<void>",
548
+ "references": {
549
+ "OpenSelectionCallback": {
550
+ "location": "local",
551
+ "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
552
+ "id": "src/components/ww-files/ww-files.tsx::OpenSelectionCallback"
553
+ }
554
+ }
555
+ },
556
+ "required": true,
557
+ "optional": false,
558
+ "docs": {
559
+ "tags": [],
560
+ "text": "This is a function provided by the developer to expand the data of files that is double-clicked or entered."
561
+ }
562
+ },
563
+ "selectModuleCallback": {
564
+ "type": "unknown",
565
+ "mutable": false,
566
+ "complexType": {
567
+ "original": "SelectModuleCallback",
568
+ "resolved": "() => Promise<EntityData>",
569
+ "references": {
570
+ "SelectModuleCallback": {
571
+ "location": "local",
572
+ "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
573
+ "id": "src/components/ww-files/ww-files.tsx::SelectModuleCallback"
574
+ }
575
+ }
576
+ },
577
+ "required": true,
578
+ "optional": false,
579
+ "docs": {
580
+ "tags": [],
581
+ "text": "Callback invoked when the action is executed on the Module/Folder filter (button '...'). It returns the information of the selected object (id and name) or 'undefined' if it was canceled."
582
+ }
583
+ },
584
+ "selectionChangeCallback": {
585
+ "type": "unknown",
586
+ "mutable": false,
587
+ "complexType": {
588
+ "original": "SelectionChangeCallback",
589
+ "resolved": "(ids: string[]) => Promise<void>",
590
+ "references": {
591
+ "SelectionChangeCallback": {
592
+ "location": "local",
593
+ "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
594
+ "id": "src/components/ww-files/ww-files.tsx::SelectionChangeCallback"
595
+ }
596
+ }
597
+ },
598
+ "required": true,
599
+ "optional": false,
600
+ "docs": {
601
+ "tags": [],
602
+ "text": "This is a function provided by the developer for expanded the data of files that is double-clicked or entered."
603
+ }
604
+ },
605
+ "showSearchContents": {
606
+ "type": "boolean",
607
+ "mutable": false,
608
+ "complexType": {
609
+ "original": "boolean",
610
+ "resolved": "boolean",
611
+ "references": {}
612
+ },
613
+ "required": false,
614
+ "optional": false,
615
+ "docs": {
616
+ "tags": [],
617
+ "text": "Controls whether to show the Search contents field in the advanced filter section"
618
+ },
619
+ "attribute": "show-search-contents",
620
+ "reflect": false,
621
+ "defaultValue": "false"
622
+ },
623
+ "showDescription": {
624
+ "type": "boolean",
625
+ "mutable": false,
626
+ "complexType": {
627
+ "original": "boolean",
628
+ "resolved": "boolean",
629
+ "references": {}
630
+ },
631
+ "required": false,
632
+ "optional": false,
633
+ "docs": {
634
+ "tags": [],
635
+ "text": "Controls whether to show the description column in the grid"
636
+ },
637
+ "attribute": "show-description",
638
+ "reflect": false,
639
+ "defaultValue": "false"
640
+ },
641
+ "showModifiedDate": {
642
+ "type": "boolean",
643
+ "mutable": false,
644
+ "complexType": {
645
+ "original": "boolean",
646
+ "resolved": "boolean",
647
+ "references": {}
648
+ },
649
+ "required": false,
650
+ "optional": false,
651
+ "docs": {
652
+ "tags": [],
653
+ "text": "Controls whether to show the modified date column in the grid"
654
+ },
655
+ "attribute": "show-modified-date",
656
+ "reflect": false,
657
+ "defaultValue": "false"
658
+ },
659
+ "showLastUser": {
660
+ "type": "boolean",
661
+ "mutable": false,
662
+ "complexType": {
663
+ "original": "boolean",
664
+ "resolved": "boolean",
665
+ "references": {}
666
+ },
667
+ "required": false,
668
+ "optional": false,
669
+ "docs": {
670
+ "tags": [],
671
+ "text": "Controls whether to show the last user column in the grid"
672
+ },
673
+ "attribute": "show-last-user",
674
+ "reflect": false,
675
+ "defaultValue": "false"
676
+ },
677
+ "showImportDate": {
678
+ "type": "boolean",
679
+ "mutable": false,
680
+ "complexType": {
681
+ "original": "boolean",
682
+ "resolved": "boolean",
683
+ "references": {}
684
+ },
685
+ "required": false,
686
+ "optional": false,
687
+ "docs": {
688
+ "tags": [],
689
+ "text": "Controls whether to show the import date column in the grid"
690
+ },
691
+ "attribute": "show-import-date",
692
+ "reflect": false,
693
+ "defaultValue": "false"
694
+ },
695
+ "showType": {
696
+ "type": "boolean",
697
+ "mutable": false,
698
+ "complexType": {
699
+ "original": "boolean",
700
+ "resolved": "boolean",
701
+ "references": {}
702
+ },
703
+ "required": false,
704
+ "optional": false,
705
+ "docs": {
706
+ "tags": [],
707
+ "text": "Controls whether to show the type column in the grid"
708
+ },
709
+ "attribute": "show-type",
710
+ "reflect": false,
711
+ "defaultValue": "false"
712
+ },
713
+ "showLastBuildDate": {
714
+ "type": "boolean",
715
+ "mutable": false,
716
+ "complexType": {
717
+ "original": "boolean",
718
+ "resolved": "boolean",
719
+ "references": {}
720
+ },
721
+ "required": false,
722
+ "optional": false,
723
+ "docs": {
724
+ "tags": [],
725
+ "text": "Controls whether to show the last build date column in the grid"
726
+ },
727
+ "attribute": "show-last-build-date",
728
+ "reflect": false,
729
+ "defaultValue": "false"
730
+ }
731
+ };
732
+ }
733
+ static get states() {
734
+ return {
735
+ "categoriesComboBoxModel": {},
736
+ "afterCurrentValue": {},
737
+ "filterAfterOptions": {},
738
+ "enabledModifiedControls": {},
739
+ "filterModified": {},
740
+ "filterMore": {},
741
+ "objects": {},
742
+ "filterFilesInputValue": {},
743
+ "filteredFiles": {},
744
+ "selectedObjectsIds": {},
745
+ "advancedFilterAccordionExpanded": {}
746
+ };
747
+ }
748
+ static get events() {
749
+ return [{
750
+ "method": "componentDidLoadEvent",
751
+ "name": "componentDidLoadEvent",
752
+ "bubbles": true,
753
+ "cancelable": true,
754
+ "composed": true,
755
+ "docs": {
756
+ "tags": [],
757
+ "text": "This event is emitted once just after the component is fully loaded and the first render() occurs."
758
+ },
759
+ "complexType": {
760
+ "original": "boolean",
761
+ "resolved": "boolean",
762
+ "references": {}
763
+ }
764
+ }];
765
+ }
766
+ static get methods() {
767
+ return {
768
+ "validate": {
769
+ "complexType": {
770
+ "signature": "() => Promise<boolean>",
771
+ "parameters": [],
772
+ "references": {
773
+ "Promise": {
774
+ "location": "global",
775
+ "id": "global::Promise"
776
+ }
777
+ },
778
+ "return": "Promise<boolean>"
779
+ },
780
+ "docs": {
781
+ "text": "Validate necessary data input",
782
+ "tags": []
783
+ }
784
+ },
785
+ "reload": {
786
+ "complexType": {
787
+ "signature": "() => Promise<void>",
788
+ "parameters": [],
789
+ "references": {
790
+ "Promise": {
791
+ "location": "global",
792
+ "id": "global::Promise"
793
+ }
794
+ },
795
+ "return": "Promise<void>"
796
+ },
797
+ "docs": {
798
+ "text": "This method reload the view, refreshing the filters and the table of files.",
799
+ "tags": []
800
+ }
801
+ }
802
+ };
803
+ }
804
+ static get elementRef() { return "el"; }
805
+ static get watchers() {
806
+ return [{
807
+ "propName": "categories",
808
+ "methodName": "categoriesChanged"
809
+ }];
810
+ }
811
+ static get listeners() {
812
+ return [{
813
+ "name": "keydown",
814
+ "method": "keyDownHandler",
815
+ "target": undefined,
816
+ "capture": false,
817
+ "passive": true
818
+ }];
819
+ }
820
+ }
821
+ _GxIdeWWFiles_componentLocale = new WeakMap(), _GxIdeWWFiles_ACCORDION_FILTER_ID = new WeakMap(), _GxIdeWWFiles_ACCORDION_MODEL = new WeakMap(), _GxIdeWWFiles_chGridEl = new WeakMap(), _GxIdeWWFiles_filterAfterTypeEl = new WeakMap(), _GxIdeWWFiles_filterAllDescendantsEl = new WeakMap(), _GxIdeWWFiles_filterCategoryEl = new WeakMap(), _GxIdeWWFiles_filterModifiedDateEl = new WeakMap(), _GxIdeWWFiles_filterModuleEl = new WeakMap(), _GxIdeWWFiles_filterModifiedEl = new WeakMap(), _GxIdeWWFiles_filterNameEl = new WeakMap(), _GxIdeWWFiles_filterSearchContentsEl = new WeakMap(), _GxIdeWWFiles_filterUserEl = new WeakMap(), _GxIdeWWFiles_renderHeader = new WeakMap(), _GxIdeWWFiles_renderObjects = new WeakMap(), _GxIdeWWFiles_hiChar = new WeakMap(), _GxIdeWWFiles_formatDate = new WeakMap(), _GxIdeWWFiles_getObjects = new WeakMap(), _GxIdeWWFiles_filterFiles = new WeakMap(), _GxIdeWWFiles_handleFilterInput = new WeakMap(), _GxIdeWWFiles_handleSearchContentsInput = new WeakMap(), _GxIdeWWFiles_deleteSelectionCallbackHandle = new WeakMap(), _GxIdeWWFiles_deselectAll = new WeakMap(), _GxIdeWWFiles_expandedHandler = new WeakMap(), _GxIdeWWFiles_filterModifiedCallbackHandle = new WeakMap(), _GxIdeWWFiles_filterAfterTypeCallbackHandle = new WeakMap(), _GxIdeWWFiles_listenChanges = new WeakMap(), _GxIdeWWFiles_newFileCallbackHandle = new WeakMap(), _GxIdeWWFiles_openSelectionCallbackHandle = new WeakMap(), _GxIdeWWFiles_selectAll = new WeakMap();
822
+ //# sourceMappingURL=ww-files.js.map