@syncfusion/ej2-querybuilder 25.2.7 → 26.1.35
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/.eslintrc.json +3 -2
- package/dist/ej2-querybuilder.min.js +2 -2
- package/dist/ej2-querybuilder.umd.min.js +2 -2
- package/dist/ej2-querybuilder.umd.min.js.map +1 -1
- package/dist/es6/ej2-querybuilder.es2015.js +1326 -290
- package/dist/es6/ej2-querybuilder.es2015.js.map +1 -1
- package/dist/es6/ej2-querybuilder.es5.js +1319 -282
- package/dist/es6/ej2-querybuilder.es5.js.map +1 -1
- package/dist/global/ej2-querybuilder.min.js +2 -2
- package/dist/global/ej2-querybuilder.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/query-builder/query-builder-model.d.ts +45 -6
- package/src/query-builder/query-builder.d.ts +102 -5
- package/src/query-builder/query-builder.js +1311 -262
- package/src/query-builder/query-library.js +2 -2
- package/styles/bootstrap-dark.css +194 -21
- package/styles/bootstrap-dark.scss +15 -1
- package/styles/bootstrap.css +194 -21
- package/styles/bootstrap.scss +15 -1
- package/styles/bootstrap4.css +198 -22
- package/styles/bootstrap4.scss +15 -1
- package/styles/bootstrap5-dark.css +198 -30
- package/styles/bootstrap5-dark.scss +15 -1
- package/styles/bootstrap5.css +198 -30
- package/styles/bootstrap5.scss +15 -1
- package/styles/fabric-dark.css +192 -20
- package/styles/fabric-dark.scss +15 -1
- package/styles/fabric.css +192 -20
- package/styles/fabric.scss +15 -1
- package/styles/fluent-dark.css +196 -28
- package/styles/fluent-dark.scss +15 -1
- package/styles/fluent.css +196 -28
- package/styles/fluent.scss +15 -1
- package/styles/fluent2.css +2052 -0
- package/styles/fluent2.scss +15 -0
- package/styles/highcontrast-light.css +195 -20
- package/styles/highcontrast-light.scss +15 -1
- package/styles/highcontrast.css +195 -20
- package/styles/highcontrast.scss +15 -1
- package/styles/material-dark.css +205 -24
- package/styles/material-dark.scss +15 -1
- package/styles/material.css +207 -24
- package/styles/material.scss +15 -1
- package/styles/material3-dark.css +211 -26
- package/styles/material3-dark.scss +15 -1
- package/styles/material3.css +211 -26
- package/styles/material3.scss +15 -1
- package/styles/query-builder/_bds-definition.scss +7 -1
- package/styles/query-builder/_bootstrap-dark-definition.scss +7 -0
- package/styles/query-builder/_bootstrap-definition.scss +7 -0
- package/styles/query-builder/_bootstrap4-definition.scss +7 -0
- package/styles/query-builder/_bootstrap5-definition.scss +7 -1
- package/styles/query-builder/_bootstrap5.3-definition.scss +114 -0
- package/styles/query-builder/_fabric-dark-definition.scss +7 -0
- package/styles/query-builder/_fabric-definition.scss +7 -0
- package/styles/query-builder/_fluent-definition.scss +7 -1
- package/styles/query-builder/_fluent2-definition.scss +114 -0
- package/styles/query-builder/_fusionnew-definition.scss +7 -1
- package/styles/query-builder/_highcontrast-definition.scss +7 -0
- package/styles/query-builder/_highcontrast-light-definition.scss +7 -0
- package/styles/query-builder/_layout.scss +275 -12
- package/styles/query-builder/_material-dark-definition.scss +7 -0
- package/styles/query-builder/_material-definition.scss +7 -0
- package/styles/query-builder/_material3-definition.scss +7 -1
- package/styles/query-builder/_tailwind-definition.scss +7 -1
- package/styles/query-builder/_theme.scss +34 -22
- package/styles/query-builder/bootstrap-dark.css +194 -21
- package/styles/query-builder/bootstrap.css +194 -21
- package/styles/query-builder/bootstrap4.css +198 -22
- package/styles/query-builder/bootstrap5-dark.css +198 -30
- package/styles/query-builder/bootstrap5.css +198 -30
- package/styles/query-builder/fabric-dark.css +192 -20
- package/styles/query-builder/fabric.css +192 -20
- package/styles/query-builder/fluent-dark.css +196 -28
- package/styles/query-builder/fluent.css +196 -28
- package/styles/query-builder/fluent2.css +2052 -0
- package/styles/query-builder/fluent2.scss +15 -0
- package/styles/query-builder/highcontrast-light.css +195 -20
- package/styles/query-builder/highcontrast.css +195 -20
- package/styles/query-builder/icons/_bds.scss +4 -0
- package/styles/query-builder/icons/_bootstrap-dark.scss +4 -0
- package/styles/query-builder/icons/_bootstrap.scss +4 -0
- package/styles/query-builder/icons/_bootstrap4.scss +4 -0
- package/styles/query-builder/icons/_bootstrap5.3.scss +11 -0
- package/styles/query-builder/icons/_bootstrap5.scss +4 -0
- package/styles/query-builder/icons/_fabric-dark.scss +4 -0
- package/styles/query-builder/icons/_fabric.scss +4 -0
- package/styles/query-builder/icons/_fluent.scss +4 -0
- package/styles/query-builder/icons/_fluent2.scss +11 -0
- package/styles/query-builder/icons/_fusionnew.scss +4 -0
- package/styles/query-builder/icons/_highcontrast-light.scss +4 -0
- package/styles/query-builder/icons/_highcontrast.scss +4 -0
- package/styles/query-builder/icons/_material-dark.scss +4 -0
- package/styles/query-builder/icons/_material.scss +4 -0
- package/styles/query-builder/icons/_material3.scss +4 -0
- package/styles/query-builder/icons/_tailwind-dark.scss +4 -0
- package/styles/query-builder/icons/_tailwind.scss +4 -0
- package/styles/query-builder/material-dark.css +205 -24
- package/styles/query-builder/material.css +207 -24
- package/styles/query-builder/material3-dark.css +211 -26
- package/styles/query-builder/material3.css +211 -26
- package/styles/query-builder/tailwind-dark.css +205 -24
- package/styles/query-builder/tailwind.css +205 -24
- package/styles/tailwind-dark.css +205 -24
- package/styles/tailwind-dark.scss +15 -1
- package/styles/tailwind.css +205 -24
- package/styles/tailwind.scss +15 -1
- package/CHANGELOG.md +0 -828
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 26.1.35
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-querybuilder@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-querybuilder@25.
|
|
3
|
+
"_id": "@syncfusion/ej2-querybuilder@25.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-W3exELIqlmdnWS7F6uATRvxZVN7OHpowLNOPAHeuuTcOK4HKyPn9KyZEWJO72g1Er7YYIdz6g3Wc5fPiP5oOoQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-querybuilder",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-querybuilder",
|
|
24
24
|
"/@syncfusion/ej2-vue-querybuilder"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-25.1.35.tgz",
|
|
27
|
+
"_shasum": "a76ae5e9c93e58df39733f9c530228af5d87d771",
|
|
28
28
|
"_spec": "@syncfusion/ej2-querybuilder@*",
|
|
29
|
-
"_where": "/jenkins/workspace/elease-
|
|
29
|
+
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
31
31
|
"name": "Syncfusion Inc."
|
|
32
32
|
},
|
|
33
33
|
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@syncfusion/ej2-base": "~
|
|
36
|
-
"@syncfusion/ej2-buttons": "~
|
|
37
|
-
"@syncfusion/ej2-calendars": "~
|
|
38
|
-
"@syncfusion/ej2-dropdowns": "~
|
|
39
|
-
"@syncfusion/ej2-inputs": "~
|
|
40
|
-
"@syncfusion/ej2-splitbuttons": "~
|
|
35
|
+
"@syncfusion/ej2-base": "~26.1.35",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~26.1.35",
|
|
37
|
+
"@syncfusion/ej2-calendars": "~26.1.35",
|
|
38
|
+
"@syncfusion/ej2-dropdowns": "~26.1.35",
|
|
39
|
+
"@syncfusion/ej2-inputs": "~26.1.35",
|
|
40
|
+
"@syncfusion/ej2-splitbuttons": "~26.1.35"
|
|
41
41
|
},
|
|
42
42
|
"deprecated": false,
|
|
43
43
|
"description": "Essential JS 2 QueryBuilder",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/querybuilder"
|
|
67
67
|
},
|
|
68
68
|
"typings": "index.d.ts",
|
|
69
|
-
"version": "
|
|
69
|
+
"version": "26.1.35",
|
|
70
70
|
"sideEffects": false,
|
|
71
71
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
72
72
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Component, INotifyPropertyChanged, NotifyPropertyChanges, getComponent, MouseEventArgs, Browser, compile, append, ModuleDeclaration,
|
|
2
|
-
import {TemplateColumn,Validation,FormatObject,ActionEventArgs,ChangeEventArgs,RuleChangeEventArgs,FieldMode,DisplayMode,SortDirection} from "./query-builder";
|
|
1
|
+
import { Component, INotifyPropertyChanged, NotifyPropertyChanges, getComponent, MouseEventArgs, Browser, compile, append, ModuleDeclaration, Draggable, remove } from '@syncfusion/ej2-base';import { Property, ChildProperty, Complex, L10n, closest, extend, isNullOrUndefined, Collection, cldrData } from '@syncfusion/ej2-base';import { getInstance, addClass, removeClass, rippleEffect, detach, classList } from '@syncfusion/ej2-base';import { Internationalization, DateFormatOptions, KeyboardEventArgs, getUniqueID, select } from '@syncfusion/ej2-base';import { Button, CheckBox, RadioButton, ChangeEventArgs as ButtonChangeEventArgs, RadioButtonModel } from '@syncfusion/ej2-buttons';import { DropDownList, ChangeEventArgs as DropDownChangeEventArgs, FieldSettingsModel, CheckBoxSelection, DropDownTreeModel, DropDownTree } from '@syncfusion/ej2-dropdowns';import { MultiSelect, MultiSelectChangeEventArgs, PopupEventArgs, MultiSelectModel, DropDownListModel } from '@syncfusion/ej2-dropdowns';import { EmitType, Event, EventHandler, getValue, Animation, BaseEventArgs } from '@syncfusion/ej2-base';import { Query, Predicate, DataManager, Deferred } from '@syncfusion/ej2-data';import { TextBox, NumericTextBox, InputEventArgs, ChangeEventArgs as InputChangeEventArgs } from '@syncfusion/ej2-inputs';import { TextBoxModel, NumericTextBoxModel } from '@syncfusion/ej2-inputs';import { DatePicker, ChangeEventArgs as CalendarChangeEventArgs, DatePickerModel } from '@syncfusion/ej2-calendars';import { DropDownButton, ItemModel, MenuEventArgs } from '@syncfusion/ej2-splitbuttons';import { Tooltip, createSpinner, showSpinner, hideSpinner, TooltipEventArgs } from '@syncfusion/ej2-popups';import { compile as templateCompiler } from '@syncfusion/ej2-base';
|
|
2
|
+
import {TemplateColumn,Validation,FormatObject,ActionEventArgs,ChangeEventArgs,RuleChangeEventArgs,DragEventArgs,DropEventArgs,FieldMode,DisplayMode,SortDirection} from "./query-builder";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -98,7 +98,6 @@ export interface ColumnsModel {
|
|
|
98
98
|
* Specifies the sub fields in columns.
|
|
99
99
|
*
|
|
100
100
|
* @default null
|
|
101
|
-
*
|
|
102
101
|
*/
|
|
103
102
|
columns?: ColumnsModel[];
|
|
104
103
|
|
|
@@ -325,6 +324,27 @@ export interface QueryBuilderModel extends ComponentModel{
|
|
|
325
324
|
*/
|
|
326
325
|
ruleChange?: EmitType<RuleChangeEventArgs>;
|
|
327
326
|
|
|
327
|
+
/**
|
|
328
|
+
* Triggers when rule/ group dragging starts.
|
|
329
|
+
*
|
|
330
|
+
*
|
|
331
|
+
*/
|
|
332
|
+
dragStart?: EmitType<DragEventArgs>;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Triggers when rule/ group are dragged (moved) continuously.
|
|
336
|
+
*
|
|
337
|
+
*
|
|
338
|
+
*/
|
|
339
|
+
drag?: EmitType<DragEventArgs>;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Triggers when rule/ group are dropped on to the target rule/ group.
|
|
343
|
+
*
|
|
344
|
+
*
|
|
345
|
+
*/
|
|
346
|
+
drop?: EmitType<DropEventArgs>;
|
|
347
|
+
|
|
328
348
|
/**
|
|
329
349
|
* Specifies the showButtons settings of the query builder component.
|
|
330
350
|
* The showButtons can be enable Enables or disables the ruleDelete, groupInsert, and groupDelete buttons.
|
|
@@ -484,7 +504,6 @@ export interface QueryBuilderModel extends ComponentModel{
|
|
|
484
504
|
* @remarks
|
|
485
505
|
* If this property is true, the empty rule is inserted while inserting new group.
|
|
486
506
|
* If set to false, the group is inserted without any rule.
|
|
487
|
-
*
|
|
488
507
|
* @default true
|
|
489
508
|
*/
|
|
490
509
|
addRuleToNewGroups?: boolean;
|
|
@@ -495,7 +514,6 @@ export interface QueryBuilderModel extends ComponentModel{
|
|
|
495
514
|
* @remarks
|
|
496
515
|
* If this property is true, the field dropdown list will render with the first value of the dropdown list.
|
|
497
516
|
* If set to false, the dropdown list render with placeholder.
|
|
498
|
-
*
|
|
499
517
|
* @default false
|
|
500
518
|
*/
|
|
501
519
|
autoSelectField?: boolean;
|
|
@@ -506,7 +524,6 @@ export interface QueryBuilderModel extends ComponentModel{
|
|
|
506
524
|
* @remarks
|
|
507
525
|
* If this property is true, the operator dropdown list will render with the first value of the dropdown list.
|
|
508
526
|
* If set to false, the dropdown list render with placeholder.
|
|
509
|
-
*
|
|
510
527
|
* @default true
|
|
511
528
|
*/
|
|
512
529
|
autoSelectOperator?: boolean;
|
|
@@ -518,6 +535,18 @@ export interface QueryBuilderModel extends ComponentModel{
|
|
|
518
535
|
*/
|
|
519
536
|
separator?: string;
|
|
520
537
|
|
|
538
|
+
/**
|
|
539
|
+
* Specifies whether to enable separate connectors between rules/groups.
|
|
540
|
+
*
|
|
541
|
+
* @remarks
|
|
542
|
+
* When this property is set to true, each rule/group will have its own connector, allowing them to be connected independently with different connectors.
|
|
543
|
+
* When set to false, will result in connectors being shared between rules/groups, possibly connecting them with the same connector.
|
|
544
|
+
*
|
|
545
|
+
* @default false
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
enableSeparateConnector?: boolean;
|
|
549
|
+
|
|
521
550
|
/**
|
|
522
551
|
* Defines rules in the QueryBuilder.
|
|
523
552
|
* Specifies the initial rule, which is JSON data.
|
|
@@ -526,4 +555,14 @@ export interface QueryBuilderModel extends ComponentModel{
|
|
|
526
555
|
*/
|
|
527
556
|
rule?: RuleModel;
|
|
528
557
|
|
|
558
|
+
/**
|
|
559
|
+
* Specifies a boolean value whether to enable / disable the drag and drop support to move the rules/ groups.
|
|
560
|
+
*
|
|
561
|
+
* @remarks
|
|
562
|
+
* If this property is true, the drag handle will be rendered in front of the rule/ group element to perform, drag and drop.
|
|
563
|
+
* If set to false, the drag handle element is not rendered.
|
|
564
|
+
* @default false
|
|
565
|
+
*/
|
|
566
|
+
allowDragAndDrop?: boolean;
|
|
567
|
+
|
|
529
568
|
}
|
|
@@ -96,7 +96,6 @@ export declare class Columns extends ChildProperty<Columns> {
|
|
|
96
96
|
* Specifies the sub fields in columns.
|
|
97
97
|
*
|
|
98
98
|
* @default null
|
|
99
|
-
*
|
|
100
99
|
*/
|
|
101
100
|
columns: ColumnsModel[];
|
|
102
101
|
}
|
|
@@ -342,6 +341,11 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
342
341
|
private isMiddleGroup;
|
|
343
342
|
private cloneRuleBtnClick;
|
|
344
343
|
private isNumInput;
|
|
344
|
+
private draggable;
|
|
345
|
+
private draggedRule;
|
|
346
|
+
private dragElement;
|
|
347
|
+
private prvtEvtTgrDaD;
|
|
348
|
+
private isDragEventPrevent;
|
|
345
349
|
/**
|
|
346
350
|
* Triggers when the component is created.
|
|
347
351
|
*
|
|
@@ -384,6 +388,24 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
384
388
|
* @blazorProperty 'RuleChanged'
|
|
385
389
|
*/
|
|
386
390
|
ruleChange: EmitType<RuleChangeEventArgs>;
|
|
391
|
+
/**
|
|
392
|
+
* Triggers when rule/ group dragging starts.
|
|
393
|
+
*
|
|
394
|
+
*
|
|
395
|
+
*/
|
|
396
|
+
dragStart: EmitType<DragEventArgs>;
|
|
397
|
+
/**
|
|
398
|
+
* Triggers when rule/ group are dragged (moved) continuously.
|
|
399
|
+
*
|
|
400
|
+
*
|
|
401
|
+
*/
|
|
402
|
+
drag: EmitType<DragEventArgs>;
|
|
403
|
+
/**
|
|
404
|
+
* Triggers when rule/ group are dropped on to the target rule/ group.
|
|
405
|
+
*
|
|
406
|
+
*
|
|
407
|
+
*/
|
|
408
|
+
drop: EmitType<DropEventArgs>;
|
|
387
409
|
/**
|
|
388
410
|
* Specifies the showButtons settings of the query builder component.
|
|
389
411
|
* The showButtons can be enable Enables or disables the ruleDelete, groupInsert, and groupDelete buttons.
|
|
@@ -522,7 +544,6 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
522
544
|
* @remarks
|
|
523
545
|
* If this property is true, the empty rule is inserted while inserting new group.
|
|
524
546
|
* If set to false, the group is inserted without any rule.
|
|
525
|
-
*
|
|
526
547
|
* @default true
|
|
527
548
|
*/
|
|
528
549
|
addRuleToNewGroups: boolean;
|
|
@@ -532,7 +553,6 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
532
553
|
* @remarks
|
|
533
554
|
* If this property is true, the field dropdown list will render with the first value of the dropdown list.
|
|
534
555
|
* If set to false, the dropdown list render with placeholder.
|
|
535
|
-
*
|
|
536
556
|
* @default false
|
|
537
557
|
*/
|
|
538
558
|
autoSelectField: boolean;
|
|
@@ -542,7 +562,6 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
542
562
|
* @remarks
|
|
543
563
|
* If this property is true, the operator dropdown list will render with the first value of the dropdown list.
|
|
544
564
|
* If set to false, the dropdown list render with placeholder.
|
|
545
|
-
*
|
|
546
565
|
* @default true
|
|
547
566
|
*/
|
|
548
567
|
autoSelectOperator: boolean;
|
|
@@ -552,6 +571,17 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
552
571
|
* @default ''
|
|
553
572
|
*/
|
|
554
573
|
separator: string;
|
|
574
|
+
/**
|
|
575
|
+
* Specifies whether to enable separate connectors between rules/groups.
|
|
576
|
+
*
|
|
577
|
+
* @remarks
|
|
578
|
+
* When this property is set to true, each rule/group will have its own connector, allowing them to be connected independently with different connectors.
|
|
579
|
+
* When set to false, will result in connectors being shared between rules/groups, possibly connecting them with the same connector.
|
|
580
|
+
*
|
|
581
|
+
* @default false
|
|
582
|
+
*
|
|
583
|
+
*/
|
|
584
|
+
enableSeparateConnector: boolean;
|
|
555
585
|
/**
|
|
556
586
|
* Defines rules in the QueryBuilder.
|
|
557
587
|
* Specifies the initial rule, which is JSON data.
|
|
@@ -559,6 +589,15 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
559
589
|
* @default {}
|
|
560
590
|
*/
|
|
561
591
|
rule: RuleModel;
|
|
592
|
+
/**
|
|
593
|
+
* Specifies a boolean value whether to enable / disable the drag and drop support to move the rules/ groups.
|
|
594
|
+
*
|
|
595
|
+
* @remarks
|
|
596
|
+
* If this property is true, the drag handle will be rendered in front of the rule/ group element to perform, drag and drop.
|
|
597
|
+
* If set to false, the drag handle element is not rendered.
|
|
598
|
+
* @default false
|
|
599
|
+
*/
|
|
600
|
+
allowDragAndDrop: boolean;
|
|
562
601
|
constructor(options?: QueryBuilderModel, element?: string | HTMLDivElement);
|
|
563
602
|
protected getPersistData(): string;
|
|
564
603
|
/**
|
|
@@ -598,7 +637,10 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
598
637
|
private ruleTemplate;
|
|
599
638
|
private addGroupElement;
|
|
600
639
|
private addGroupSuccess;
|
|
640
|
+
private setMultiConnector;
|
|
641
|
+
private addHeaderDiv;
|
|
601
642
|
private headerTemplateFn;
|
|
643
|
+
private enableSeparateConnectorInitialRule;
|
|
602
644
|
/**
|
|
603
645
|
* Notify the changes to component.
|
|
604
646
|
*
|
|
@@ -695,6 +737,11 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
695
737
|
onPropertyChanged(newProp: QueryBuilderModel, oldProp: QueryBuilderModel): void;
|
|
696
738
|
protected preRender(): void;
|
|
697
739
|
protected render(): void;
|
|
740
|
+
private initializeDrag;
|
|
741
|
+
private helper;
|
|
742
|
+
private dragStartHandler;
|
|
743
|
+
private dragHandler;
|
|
744
|
+
private dragStopHandler;
|
|
698
745
|
private templateParser;
|
|
699
746
|
private executeDataManager;
|
|
700
747
|
private initControl;
|
|
@@ -910,8 +957,10 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
910
957
|
lockGroup(groupID: string): void;
|
|
911
958
|
private sqlParser;
|
|
912
959
|
private parseSqlStrings;
|
|
960
|
+
private getDoubleQuoteString;
|
|
913
961
|
private checkCondition;
|
|
914
962
|
private getSingleQuoteString;
|
|
963
|
+
private combineSingleQuoteString;
|
|
915
964
|
private checkLiteral;
|
|
916
965
|
private checkNumberLiteral;
|
|
917
966
|
private getOperator;
|
|
@@ -919,7 +968,6 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
|
|
|
919
968
|
private getLabelFromColumn;
|
|
920
969
|
private getLabelFromField;
|
|
921
970
|
private processParser;
|
|
922
|
-
private getValueFromParser;
|
|
923
971
|
/**
|
|
924
972
|
* Clone the Group
|
|
925
973
|
*
|
|
@@ -1054,3 +1102,52 @@ export interface ParameterizedNamedSql {
|
|
|
1054
1102
|
*/
|
|
1055
1103
|
params: Record<string, object>;
|
|
1056
1104
|
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Interface to define the DragEventArgs for dragging action of group and rules.
|
|
1107
|
+
*
|
|
1108
|
+
*/
|
|
1109
|
+
export interface DragEventArgs {
|
|
1110
|
+
/**
|
|
1111
|
+
* Returns the ID of the rule id to be dragged.
|
|
1112
|
+
*
|
|
1113
|
+
* @returns {string} The ID of the rule where the drag action is performed.
|
|
1114
|
+
*/
|
|
1115
|
+
dragRuleID: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Returns the ID of the group to be dragged.
|
|
1118
|
+
*
|
|
1119
|
+
* @returns {string} The ID of the group where the drag action is performed.
|
|
1120
|
+
*/
|
|
1121
|
+
dragGroupID: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* Determines whether to cancel the dragging action based on certain conditions.
|
|
1124
|
+
*
|
|
1125
|
+
* @returns {boolean} True if the dragging action should be cancelled, otherwise false.
|
|
1126
|
+
*
|
|
1127
|
+
*/
|
|
1128
|
+
cancel: boolean;
|
|
1129
|
+
}
|
|
1130
|
+
/**
|
|
1131
|
+
* Interface to define the DropEventArgs for dropping action of group and rules.
|
|
1132
|
+
*
|
|
1133
|
+
*/
|
|
1134
|
+
export interface DropEventArgs {
|
|
1135
|
+
/**
|
|
1136
|
+
* Determines whether to cancel the dropping action based on certain conditions.
|
|
1137
|
+
*
|
|
1138
|
+
* @returns {boolean} True if the dropping action should be cancelled, otherwise false.
|
|
1139
|
+
*/
|
|
1140
|
+
cancel: boolean;
|
|
1141
|
+
/**
|
|
1142
|
+
* Returns the ID of the rule where the drop action is initiated.
|
|
1143
|
+
*
|
|
1144
|
+
* @returns {string} The ID of the rule where the drop action is performed.
|
|
1145
|
+
*/
|
|
1146
|
+
dropRuleID: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Returns the ID of the group where the drop action is initiated.
|
|
1149
|
+
*
|
|
1150
|
+
* @returns {string} The ID of the group where the drop action is performed.
|
|
1151
|
+
*/
|
|
1152
|
+
dropGroupID: string;
|
|
1153
|
+
}
|