survey-core 1.10.5 → 1.11.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.
- package/defaultV2.css +152 -18
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +152 -18
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +132 -1
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/philippines.js +246 -0
- package/i18n/philippines.js.map +1 -0
- package/i18n/philippines.min.js +6 -0
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +2 -2
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/modern.css +77 -9
- package/modern.css.map +1 -1
- package/modern.fontless.css +77 -9
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +1228 -502
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +17 -1
- package/survey.css.map +1 -1
- package/survey.i18n.js +132 -1
- package/survey.i18n.js.map +1 -1
- package/survey.i18n.min.js +2 -2
- package/survey.min.css +2 -2
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/actions/action.d.ts +21 -2
- package/ts3.4/typings/actions/adaptive-container.d.ts +0 -1
- package/ts3.4/typings/actions/container.d.ts +4 -0
- package/ts3.4/typings/base-interfaces.d.ts +1 -1
- package/ts3.4/typings/base.d.ts +7 -0
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +3 -0
- package/ts3.4/typings/dragdrop/ranking-choices.d.ts +7 -1
- package/ts3.4/typings/dragdrop/ranking-select-to-rank.d.ts +0 -9
- package/ts3.4/typings/functionsfactory.d.ts +3 -3
- package/ts3.4/typings/list.d.ts +19 -7
- package/ts3.4/typings/multiSelectListModel.d.ts +5 -2
- package/ts3.4/typings/panel.d.ts +1 -1
- package/ts3.4/typings/popup-dropdown-view-model.d.ts +6 -3
- package/ts3.4/typings/popup-view-model.d.ts +4 -1
- package/ts3.4/typings/popup.d.ts +5 -0
- package/ts3.4/typings/question.d.ts +6 -2
- package/ts3.4/typings/question_baseselect.d.ts +2 -0
- package/ts3.4/typings/question_boolean.d.ts +2 -0
- package/ts3.4/typings/question_file.d.ts +2 -1
- package/ts3.4/typings/question_matrix.d.ts +4 -0
- package/ts3.4/typings/question_matrixdropdown.d.ts +3 -0
- package/ts3.4/typings/question_matrixdropdownbase.d.ts +2 -0
- package/ts3.4/typings/question_matrixdropdownrendered.d.ts +0 -1
- package/ts3.4/typings/question_matrixdynamic.d.ts +4 -5
- package/ts3.4/typings/question_paneldynamic.d.ts +2 -4
- package/ts3.4/typings/question_ranking.d.ts +13 -5
- package/ts3.4/typings/question_text.d.ts +1 -0
- package/ts3.4/typings/question_textbase.d.ts +1 -1
- package/ts3.4/typings/survey-element.d.ts +3 -1
- package/ts3.4/typings/survey.d.ts +3 -2
- package/ts3.4/typings/surveyToc.d.ts +4 -0
- package/ts3.4/typings/utils/animation.d.ts +33 -19
- package/ts3.4/typings/utils/popup.d.ts +16 -4
- package/ts3.4/typings/utils/utils.d.ts +9 -0
- package/typings/actions/action.d.ts +21 -2
- package/typings/actions/adaptive-container.d.ts +0 -1
- package/typings/actions/container.d.ts +4 -0
- package/typings/base-interfaces.d.ts +1 -1
- package/typings/base.d.ts +7 -0
- package/typings/defaultCss/defaultV2Css.d.ts +3 -0
- package/typings/dragdrop/ranking-choices.d.ts +7 -1
- package/typings/dragdrop/ranking-select-to-rank.d.ts +0 -9
- package/typings/functionsfactory.d.ts +3 -3
- package/typings/list.d.ts +19 -7
- package/typings/multiSelectListModel.d.ts +5 -2
- package/typings/panel.d.ts +1 -1
- package/typings/popup-dropdown-view-model.d.ts +6 -3
- package/typings/popup-view-model.d.ts +5 -2
- package/typings/popup.d.ts +5 -0
- package/typings/question.d.ts +6 -2
- package/typings/question_baseselect.d.ts +2 -0
- package/typings/question_boolean.d.ts +2 -0
- package/typings/question_file.d.ts +2 -1
- package/typings/question_matrix.d.ts +4 -0
- package/typings/question_matrixdropdown.d.ts +3 -0
- package/typings/question_matrixdropdownbase.d.ts +2 -0
- package/typings/question_matrixdropdownrendered.d.ts +0 -1
- package/typings/question_matrixdynamic.d.ts +4 -5
- package/typings/question_paneldynamic.d.ts +2 -2
- package/typings/question_ranking.d.ts +18 -9
- package/typings/question_text.d.ts +1 -0
- package/typings/question_textbase.d.ts +1 -1
- package/typings/survey-element.d.ts +3 -1
- package/typings/survey.d.ts +3 -2
- package/typings/surveyToc.d.ts +4 -0
- package/typings/utils/animation.d.ts +31 -10
- package/typings/utils/popup.d.ts +16 -4
- package/typings/utils/utils.d.ts +9 -0
package/themes/default-dark.js
CHANGED
package/themes/default-light.js
CHANGED
package/themes/flat-dark.js
CHANGED
package/themes/flat-dark.min.js
CHANGED
package/themes/flat-light.js
CHANGED
package/themes/flat-light.min.js
CHANGED
package/themes/index.js
CHANGED
package/themes/index.min.js
CHANGED
package/themes/layered-dark.js
CHANGED
package/themes/layered-light.js
CHANGED
package/themes/plain-dark.js
CHANGED
package/themes/plain-dark.min.js
CHANGED
package/themes/plain-light.js
CHANGED
package/themes/sharp-dark.js
CHANGED
package/themes/sharp-dark.min.js
CHANGED
package/themes/sharp-light.js
CHANGED
package/themes/solid-dark.js
CHANGED
package/themes/solid-dark.min.js
CHANGED
package/themes/solid-light.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ILocalizableOwner, LocalizableString } from "../localizablestring";
|
|
2
2
|
import { Base, ComputedUpdater } from "../base";
|
|
3
3
|
import { IListModel } from "../list";
|
|
4
|
-
import { IPopupOptionsBase } from "../popup";
|
|
4
|
+
import { IPopupOptionsBase, PopupModel } from "../popup";
|
|
5
5
|
export declare type actionModeType = "large" | "small" | "popup" | "removed";
|
|
6
6
|
/**
|
|
7
7
|
* An action item.
|
|
@@ -146,13 +146,20 @@ export interface IAction {
|
|
|
146
146
|
ariaExpanded?: boolean;
|
|
147
147
|
ariaRole?: string;
|
|
148
148
|
elementId?: string;
|
|
149
|
+
items?: Array<IAction>;
|
|
150
|
+
markerIconName?: string;
|
|
151
|
+
markerIconSize?: number;
|
|
152
|
+
showPopup?: () => void;
|
|
153
|
+
hidePopup?: () => void;
|
|
149
154
|
}
|
|
150
155
|
export interface IActionDropdownPopupOptions extends IListModel, IPopupOptionsBase {
|
|
151
156
|
}
|
|
152
157
|
export declare function createDropdownActionModel(actionOptions: IAction, dropdownOptions: IActionDropdownPopupOptions, locOwner?: ILocalizableOwner): Action;
|
|
153
|
-
export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase
|
|
158
|
+
export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase): Action;
|
|
159
|
+
export declare function createPopupModelWithListModel(listOptions: IListModel, popupOptions: IPopupOptionsBase): PopupModel;
|
|
154
160
|
export declare function getActionDropdownButtonTarget(container: HTMLElement): HTMLElement;
|
|
155
161
|
export declare abstract class BaseAction extends Base implements IAction {
|
|
162
|
+
items?: IAction[];
|
|
156
163
|
private static renderedId;
|
|
157
164
|
private static getNextRendredId;
|
|
158
165
|
private cssClassesValue;
|
|
@@ -180,6 +187,8 @@ export declare abstract class BaseAction extends Base implements IAction {
|
|
|
180
187
|
removePriority: number;
|
|
181
188
|
iconName: string;
|
|
182
189
|
iconSize: number;
|
|
190
|
+
markerIconName: string;
|
|
191
|
+
markerIconSize: number;
|
|
183
192
|
css?: string;
|
|
184
193
|
minDimension: number;
|
|
185
194
|
maxDimension: number;
|
|
@@ -200,6 +209,15 @@ export declare abstract class BaseAction extends Base implements IAction {
|
|
|
200
209
|
getActionRootCss(): string;
|
|
201
210
|
getTooltip(): string;
|
|
202
211
|
getIsTrusted(args: any): boolean;
|
|
212
|
+
showPopup(): void;
|
|
213
|
+
hidePopup(): void;
|
|
214
|
+
isPressed: boolean;
|
|
215
|
+
isHovered: boolean;
|
|
216
|
+
private showPopupTimeout;
|
|
217
|
+
private hidePopupTimeout;
|
|
218
|
+
private clearPopupTimeouts;
|
|
219
|
+
showPopupDelayed(delay: number): void;
|
|
220
|
+
hidePopupDelayed(delay: number): void;
|
|
203
221
|
protected abstract getEnabled(): boolean;
|
|
204
222
|
protected abstract setEnabled(val: boolean): void;
|
|
205
223
|
protected abstract getVisible(): boolean;
|
|
@@ -218,6 +236,7 @@ export declare class Action extends BaseAction implements IAction, ILocalizableO
|
|
|
218
236
|
private raiseUpdate;
|
|
219
237
|
constructor(innerItem: IAction);
|
|
220
238
|
private createLocTitle;
|
|
239
|
+
setItems(items: Array<IAction>, onSelectionChanged?: (item: Action, ...params: any[]) => void): void;
|
|
221
240
|
location?: string;
|
|
222
241
|
id: string;
|
|
223
242
|
private _visible;
|
|
@@ -13,7 +13,6 @@ export declare class AdaptiveActionContainer<T extends Action = Action> extends
|
|
|
13
13
|
private static ContainerID;
|
|
14
14
|
constructor();
|
|
15
15
|
readonly hiddenItemsListModel: ListModel;
|
|
16
|
-
protected hiddenItemSelected(item: T): void;
|
|
17
16
|
protected onSet(): void;
|
|
18
17
|
protected onPush(item: T): void;
|
|
19
18
|
protected getRenderedActions(): Array<T>;
|
|
@@ -44,6 +44,10 @@ export declare class ActionContainer<T extends BaseAction = Action> extends Base
|
|
|
44
44
|
addAction(val: IAction, sortByVisibleIndex?: boolean): T;
|
|
45
45
|
private sortItems;
|
|
46
46
|
setItems(items: Array<IAction>, sortByVisibleIndex?: boolean): void;
|
|
47
|
+
subItemsShowDelay: number;
|
|
48
|
+
subItemsHideDelay: number;
|
|
49
|
+
protected popupAfterShowCallback(itemValue: T): void;
|
|
50
|
+
mouseOverHandler(itemValue: T): void;
|
|
47
51
|
initResponsivityManager(container: HTMLDivElement, delayedUpdateFunction?: (callback: () => void) => void): void;
|
|
48
52
|
resetResponsivityManager(): void;
|
|
49
53
|
getActionById(id: string): T;
|