@yoobic/yobi 8.2.0-21 → 8.2.0-22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/yoo-form-autocomplete.cjs.entry.js +3 -1
- package/dist/collection/components/form/form-autocomplete/form-autocomplete.js +3 -1
- package/dist/design-system/yoo-form-autocomplete.entry.js +3 -1
- package/dist/esm/yoo-form-autocomplete.entry.js +3 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/ui/grid/grid.interface.d.ts +2 -0
- package/package.json +1 -1
|
@@ -403,13 +403,15 @@ const YooFormAutocompleteComponent = class {
|
|
|
403
403
|
const search = ev.detail;
|
|
404
404
|
const finalPageSize = 20;
|
|
405
405
|
this.isLoading = true;
|
|
406
|
+
const formDynamic = index$1.findParent(this.host, 'yoo-form-dynamic');
|
|
406
407
|
return this.customDataLoader({
|
|
407
408
|
currentPage: search.currentPage,
|
|
408
409
|
pageSize: finalPageSize,
|
|
409
410
|
startDate: search.startDate,
|
|
410
411
|
endDate: search.endDate,
|
|
411
412
|
sortAndFilters: this.sortsAndFilters,
|
|
412
|
-
search: search.search
|
|
413
|
+
search: search.search,
|
|
414
|
+
data: formDynamic.data
|
|
413
415
|
}).then((ret) => {
|
|
414
416
|
var _a, _b;
|
|
415
417
|
if (search.currentPage === 0) {
|
|
@@ -383,13 +383,15 @@ export class YooFormAutocompleteComponent {
|
|
|
383
383
|
const search = ev.detail;
|
|
384
384
|
const finalPageSize = 20;
|
|
385
385
|
this.isLoading = true;
|
|
386
|
+
const formDynamic = findParent(this.host, 'yoo-form-dynamic');
|
|
386
387
|
return this.customDataLoader({
|
|
387
388
|
currentPage: search.currentPage,
|
|
388
389
|
pageSize: finalPageSize,
|
|
389
390
|
startDate: search.startDate,
|
|
390
391
|
endDate: search.endDate,
|
|
391
392
|
sortAndFilters: this.sortsAndFilters,
|
|
392
|
-
search: search.search
|
|
393
|
+
search: search.search,
|
|
394
|
+
data: formDynamic.data
|
|
393
395
|
}).then((ret) => {
|
|
394
396
|
var _a, _b;
|
|
395
397
|
if (search.currentPage === 0) {
|
|
@@ -399,13 +399,15 @@ const YooFormAutocompleteComponent = class {
|
|
|
399
399
|
const search = ev.detail;
|
|
400
400
|
const finalPageSize = 20;
|
|
401
401
|
this.isLoading = true;
|
|
402
|
+
const formDynamic = findParent(this.host, 'yoo-form-dynamic');
|
|
402
403
|
return this.customDataLoader({
|
|
403
404
|
currentPage: search.currentPage,
|
|
404
405
|
pageSize: finalPageSize,
|
|
405
406
|
startDate: search.startDate,
|
|
406
407
|
endDate: search.endDate,
|
|
407
408
|
sortAndFilters: this.sortsAndFilters,
|
|
408
|
-
search: search.search
|
|
409
|
+
search: search.search,
|
|
410
|
+
data: formDynamic.data
|
|
409
411
|
}).then((ret) => {
|
|
410
412
|
var _a, _b;
|
|
411
413
|
if (search.currentPage === 0) {
|
|
@@ -399,13 +399,15 @@ const YooFormAutocompleteComponent = class {
|
|
|
399
399
|
const search = ev.detail;
|
|
400
400
|
const finalPageSize = 20;
|
|
401
401
|
this.isLoading = true;
|
|
402
|
+
const formDynamic = findParent(this.host, 'yoo-form-dynamic');
|
|
402
403
|
return this.customDataLoader({
|
|
403
404
|
currentPage: search.currentPage,
|
|
404
405
|
pageSize: finalPageSize,
|
|
405
406
|
startDate: search.startDate,
|
|
406
407
|
endDate: search.endDate,
|
|
407
408
|
sortAndFilters: this.sortsAndFilters,
|
|
408
|
-
search: search.search
|
|
409
|
+
search: search.search,
|
|
410
|
+
data: formDynamic.data
|
|
409
411
|
}).then((ret) => {
|
|
410
412
|
var _a, _b;
|
|
411
413
|
if (search.currentPage === 0) {
|
|
@@ -27,6 +27,7 @@ export interface IGridConfig {
|
|
|
27
27
|
keepValueFields?: string[];
|
|
28
28
|
collectionName?: string;
|
|
29
29
|
hideEntityColumn?: boolean;
|
|
30
|
+
hideDefaultGroupingColumn?: boolean;
|
|
30
31
|
customFilter?: Record<string, any>;
|
|
31
32
|
showSearch?: boolean;
|
|
32
33
|
showFilters?: boolean;
|
|
@@ -133,6 +134,7 @@ export interface IGridCustomDataLoaderOptions {
|
|
|
133
134
|
customFilter?: Record<string, any>;
|
|
134
135
|
search?: string;
|
|
135
136
|
state?: Record<string, any>;
|
|
137
|
+
data?: Record<string, any>;
|
|
136
138
|
}
|
|
137
139
|
export interface IGridCustomDataLoaderOptionsData<T = IEntity> {
|
|
138
140
|
total: number;
|