survey-analytics 2.2.0 → 2.2.2

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.
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.2.0
2
+ * surveyjs - SurveyJS Dashboard library v2.2.2
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
6
6
 
7
- import { D as DocumentHelper, l as localization, e as createImagesContainer, f as createLinksContainer, b as createCommercialLicenseLink, s as svgTemplate } from './shared.mjs';
8
- export { d as surveyStrings } from './shared.mjs';
7
+ import { D as DocumentHelper, l as localization, c as createImagesContainer, b as createLinksContainer, d as createCommercialLicenseLink, e as svgTemplate } from './shared.mjs';
8
+ export { s as surveyStrings } from './shared.mjs';
9
9
  import { ItemValue, settings, hasLicense, Serializer, EventBase, Event } from 'survey-core';
10
10
  import { TabulatorFull } from 'tabulator-tables';
11
11
 
package/package.json CHANGED
@@ -3,21 +3,22 @@
3
3
  "start": "webpack-dev-server --env buildType=dev",
4
4
  "test": "jest",
5
5
  "test_dev": "jest --watch",
6
- "test_debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
6
+ "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
7
7
  "testcafe": "concurrently \"http-server\" \"testcafe chrome testCafe/\"",
8
- "testcafe_ci": "http-server --silent & testcafe testCafe/ --reporter minimal",
8
+ "testcafe:ci": "http-server --silent & testcafe testCafe/ --reporter minimal",
9
9
  "testcafe:file": "concurrently \"http-server --silent\" \"testcafe chrome testCafe/tabulator/basetests.js --selector-timeout 1500 --reporter minimal --debug-mode\"",
10
10
  "release": "standard-version --message \"Release: %s [azurepipelines skip]\" ",
11
- "doc_gen": "node doc_generator/lib_docgenerator.js src/index.ts",
12
- "doc_update": "chmod +x ./docupdate_npm.sh && ./docupdate_npm.sh",
11
+ "doc:gen": "node doc_generator/lib_docgenerator.js src/index.ts",
12
+ "doc:update": "chmod +x ./docupdate_npm.sh && ./docupdate_npm.sh",
13
13
  "watch:dev": "concurrently \"webpack --env buildType=dev --env emitStyles\" \"rollup -c -w\" ",
14
14
  "build": "webpack --env buildType=dev --env emitNonSourceFiles --env emitStyles && webpack --env buildType=prod --env emitStyles && rollup -c",
15
+ "build:types:core": "tsc --p tsconfig.summary.core.json && echo \"export * from './survey-analytics.types/entries/summary.core';\" >> build/survey.analytics.core.d.ts",
15
16
  "build:types:summary": "tsc --p tsconfig.summary.json && echo \"export * from './survey-analytics.types/entries/summary';\" >> build/survey.analytics.d.ts",
16
17
  "build:types:tabulator": "tsc --p tsconfig.tabulator.json && echo \"export * from './survey-analytics-tabulator.types/entries/tabulator';\" >> build/survey.analytics.tabulator.d.ts",
17
18
  "lint": "eslint ./src --quiet",
18
19
  "pre-push-check": "npm run lint && npm run test"
19
20
  },
20
- "version": "2.2.0",
21
+ "version": "2.2.2",
21
22
  "name": "survey-analytics",
22
23
  "description": "SurveyJS analytics Library.",
23
24
  "main": "survey.analytics.js",
@@ -88,7 +89,7 @@
88
89
  "peerDependencies": {
89
90
  "@types/plotly.js-dist-min": "^2.3.0",
90
91
  "@types/tabulator-tables": "^6.2.3",
91
- "survey-core": "2.2.0"
92
+ "survey-core": "2.2.2"
92
93
  },
93
94
  "husky": {
94
95
  "hooks": {
@@ -101,6 +102,11 @@
101
102
  "import": "./fesm/survey.analytics.mjs",
102
103
  "require": "./survey.analytics.js"
103
104
  },
105
+ "./survey.analytics.core": {
106
+ "types": "./survey.analytics.core.d.ts",
107
+ "import": "./fesm/survey.analytics.core.mjs",
108
+ "require": "./survey.analytics.core.js"
109
+ },
104
110
  "./*.css": "./*.css",
105
111
  "./survey.analytics.tabulator": {
106
112
  "types": "./survey.analytics.tabulator.d.ts",
@@ -0,0 +1,34 @@
1
+ export * from "../localizationManager";
2
+ import "../analytics-localization/farsi";
3
+ import "../analytics-localization/french";
4
+ import "../analytics-localization/german";
5
+ import "../analytics-localization/norwegian";
6
+ import "../analytics-localization/portuguese";
7
+ import "../analytics-localization/russian";
8
+ import "../analytics-localization/dutch";
9
+ import "../analytics-localization/spanish";
10
+ import "../analytics-localization/italian";
11
+ import "../analytics-localization/arabic";
12
+ import "../analytics-localization/japanese";
13
+ import "../analytics-localization/polish";
14
+ import "../analytics-localization/finnish";
15
+ export * from "../dataProvider";
16
+ export * from "../visualizerFactory";
17
+ export * from "../number";
18
+ export * from "../selectBase";
19
+ export * from "../matrix";
20
+ export * from "../boolean";
21
+ export * from "../histogram";
22
+ export * from "../visualizerBase";
23
+ export * from "../visualizationManager";
24
+ export * from "../visualizationPanel";
25
+ export * from "../visualizationPanelDynamic";
26
+ export * from "../visualizationMatrixDynamic";
27
+ export * from "../visualizationMatrixDropdown";
28
+ export * from "../alternativeVizualizersWrapper";
29
+ export * from "../wordcloud/wordcloud";
30
+ export * from "../wordcloud/stopwords/index";
31
+ export * from "../text";
32
+ export * from "../statistics-table";
33
+ export * from "../nps";
34
+ export { DocumentHelper } from "../utils/index";
@@ -1,35 +1,2 @@
1
- export * from "../localizationManager";
2
- import "../analytics-localization/farsi";
3
- import "../analytics-localization/french";
4
- import "../analytics-localization/german";
5
- import "../analytics-localization/norwegian";
6
- import "../analytics-localization/portuguese";
7
- import "../analytics-localization/russian";
8
- import "../analytics-localization/dutch";
9
- import "../analytics-localization/spanish";
10
- import "../analytics-localization/italian";
11
- import "../analytics-localization/arabic";
12
- import "../analytics-localization/japanese";
13
- import "../analytics-localization/polish";
14
- import "../analytics-localization/finnish";
15
- export * from "../dataProvider";
16
- export * from "../visualizerFactory";
17
- export * from "../number";
18
- export * from "../selectBase";
19
- export * from "../matrix";
20
- export * from "../boolean";
21
- export * from "../histogram";
22
- export * from "../visualizerBase";
23
- export * from "../visualizationManager";
24
- export * from "../visualizationPanel";
25
- export * from "../visualizationPanelDynamic";
26
- export * from "../visualizationMatrixDynamic";
27
- export * from "../visualizationMatrixDropdown";
28
- export * from "../alternativeVizualizersWrapper";
29
1
  export * from "../plotly/index";
30
- export * from "../wordcloud/wordcloud";
31
- export * from "../wordcloud/stopwords/index";
32
- export * from "../text";
33
- export * from "../statistics-table";
34
- export * from "../nps";
35
- export { DocumentHelper } from "../utils/index";
2
+ export * from "./summary.core";
@@ -245,6 +245,7 @@ export declare class VisualizerBase implements IDataInfo {
245
245
  protected destroyContent(container: HTMLElement): void;
246
246
  protected renderHeader(container: HTMLElement): void;
247
247
  protected renderContentAsync(container: HTMLElement): Promise<HTMLElement>;
248
+ protected ensureQuestionIsReady(): Promise<void>;
248
249
  protected renderContent(container: HTMLElement): void;
249
250
  protected destroyFooter(container: HTMLElement): void;
250
251
  protected renderFooter(container: HTMLElement): void;
@@ -0,0 +1,424 @@
1
+ /*!
2
+ * surveyjs - SurveyJS Dashboard library v2.2.2
3
+ * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
+ * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
+ */
6
+ /*!**************************************************************************************************************************************************************************!*\
7
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/visualizerBase.scss ***!
8
+ \**************************************************************************************************************************************************************************/
9
+ .sa-visualizer__header {
10
+ font-family: var(--font-family-secondary, Raleway, Arial, sans-serif);
11
+ font-size: var(--root-font-size, 14px);
12
+ }
13
+
14
+ .sa-visualizer__content {
15
+ font-family: var(--font-family, "Segoe UI", SegoeUI, Arial, sans-serif);
16
+ display: inline-block;
17
+ overflow: hidden;
18
+ width: 100%;
19
+ }
20
+
21
+ .sa-visualizer__footer {
22
+ margin-top: 10px;
23
+ }
24
+
25
+ .sa-visualizer__footer-title {
26
+ display: inline-block;
27
+ font-family: var(--font-family-secondary, Raleway, Arial, sans-serif);
28
+ font-size: var(--root-font-size, 14px);
29
+ color: #404040;
30
+ line-height: 34px;
31
+ vertical-align: middle;
32
+ margin: 0;
33
+ }
34
+
35
+ .sa-visualizer__footer-content {
36
+ margin-top: 10px;
37
+ }
38
+
39
+ .sa-data-loading-indicator-panel {
40
+ width: 100%;
41
+ min-height: 200px;
42
+ position: relative;
43
+ }
44
+
45
+ .sa-data-loading-indicator {
46
+ position: absolute;
47
+ width: 64px;
48
+ height: 64px;
49
+ left: calc((100% - 64px) / 2);
50
+ top: calc((100% - 64px) / 2);
51
+ animation: sa-data-loading-indicator-spinner 1s infinite linear;
52
+ }
53
+
54
+ @keyframes sa-data-loading-indicator-spinner {
55
+ from {
56
+ transform: rotate(0deg);
57
+ }
58
+ to {
59
+ transform: rotate(359deg);
60
+ }
61
+ }
62
+ /*!******************************************************************************************************************************************************************************!*\
63
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/visualizationPanel.scss ***!
64
+ \******************************************************************************************************************************************************************************/
65
+ .sa-panel__header {
66
+ margin: 0 1em;
67
+ }
68
+
69
+ .sa-grid {
70
+ position: relative;
71
+ }
72
+
73
+ .sa-grid__grid-sizer {
74
+ width: 100%;
75
+ box-sizing: border-box;
76
+ }
77
+ @media screen and (min-width: 1400px) {
78
+ .sa-grid__grid-sizer {
79
+ width: 50%;
80
+ }
81
+ }
82
+
83
+ .sa-question {
84
+ display: inline-block;
85
+ width: 100%;
86
+ vertical-align: top;
87
+ box-sizing: border-box;
88
+ overflow: hidden;
89
+ padding: 1em;
90
+ }
91
+
92
+ .sa-question-layouted {
93
+ position: absolute;
94
+ }
95
+ @media screen and (min-width: 1400px) {
96
+ .sa-question-layouted {
97
+ width: calc(50% - 1px);
98
+ }
99
+ }
100
+
101
+ .sa-question__content {
102
+ background-color: var(--background-color, #f7f7f7);
103
+ padding: 20px;
104
+ }
105
+
106
+ .sa-question__title {
107
+ margin-left: 30px;
108
+ font-family: var(--font-family-secondary, Raleway, Arial, sans-serif);
109
+ font-size: 18px;
110
+ font-weight: bold;
111
+ color: var(--text-color, #404040);
112
+ margin: 0;
113
+ margin-bottom: 1em;
114
+ }
115
+
116
+ .sa-question__title--draggable {
117
+ cursor: move;
118
+ }
119
+ .sa-question__title--draggable:after {
120
+ content: " ";
121
+ display: block;
122
+ float: right;
123
+ width: 15px;
124
+ height: 15px;
125
+ background-image: url("data:image/svg+xml,%3Csvg version=%271.1%27 xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cg%3E%3Cpolygon style=%27fill: %231ab394%27 points=%2713,5 12,6 13,7 9,7 9,3 10,4 11,3 8,0 5,3 6,4 7,3 7,7 3,7 4,6 3,5 0,8 3,11 4,10 3,9 7,9 7,13 6,12 5,13 8,16 11,13 10,12 9,13 9,9 13,9 12,10 13,11 16,8 %27/%3E%3C/g%3E%3C/svg%3E");
126
+ }
127
+
128
+ [dir=rtl] .sa-question__title--draggable:after, [style*="direction: rtl"] .sa-question__title--draggable:after, [style*="direction:rtl"] .sa-question__title--draggable:after {
129
+ float: left;
130
+ }
131
+
132
+ .sa-toolbar {
133
+ font-family: var(--font-family, "Segoe UI", SegoeUI, Arial, sans-serif);
134
+ font-size: var(--root-font-size, 14px);
135
+ color: var(--text-color, #404040);
136
+ line-height: 34px;
137
+ margin-bottom: 25px;
138
+ display: flex;
139
+ flex-direction: row;
140
+ flex-wrap: wrap;
141
+ gap: 10px;
142
+ }
143
+
144
+ .sa-toolbar.sa-toolbar > * {
145
+ display: inline-flex;
146
+ line-height: 1em;
147
+ }
148
+
149
+ .sa-toolbar__button {
150
+ font-family: var(--font-family, "Segoe UI", SegoeUI, Arial, sans-serif);
151
+ font-size: var(--root-font-size, 14px);
152
+ padding: 8px;
153
+ vertical-align: middle;
154
+ cursor: pointer;
155
+ border: 1px solid transparent;
156
+ white-space: nowrap;
157
+ margin: 0 10px;
158
+ }
159
+ .sa-toolbar__button:hover {
160
+ border-color: var(--border-color, #e7e7e7);
161
+ background-blend-mode: darken;
162
+ }
163
+ .sa-toolbar__button:first-child {
164
+ margin-left: 0;
165
+ }
166
+ .sa-toolbar__button:last-child {
167
+ margin-right: 0;
168
+ }
169
+
170
+ .sa-toolbar__svg-button {
171
+ width: 15px;
172
+ height: 15px;
173
+ padding: 0;
174
+ border: none;
175
+ outline: none;
176
+ background-color: inherit;
177
+ cursor: pointer;
178
+ }
179
+ .sa-toolbar__svg-button use {
180
+ fill: var(--svg-color, rgba(159, 159, 159, 0.4));
181
+ }
182
+ .sa-toolbar__svg-button:hover use {
183
+ fill: var(--svg-hover-color, #9f9f9f);
184
+ }
185
+ .sa-toolbar__svg-button svg {
186
+ width: 15px;
187
+ height: 15px;
188
+ }
189
+
190
+ .sa-toolbar__button--right {
191
+ float: right;
192
+ }
193
+
194
+ .sa-question__select-wrapper {
195
+ position: relative;
196
+ display: inline-block;
197
+ min-width: 100px;
198
+ max-width: 300px;
199
+ }
200
+ .sa-question__select-wrapper .sa-question__select {
201
+ width: 100%;
202
+ display: block;
203
+ position: relative;
204
+ appearance: none;
205
+ -webkit-appearance: none;
206
+ -moz-appearance: none;
207
+ border-radius: 2px;
208
+ background: var(--text-color-inverse, #fff);
209
+ border-color: var(--border-color, #e7e7e7);
210
+ height: 34px;
211
+ padding: 5px 23px 5px 15px;
212
+ line-height: initial;
213
+ }
214
+ .sa-question__select-wrapper .sa-question__select::-ms-expand {
215
+ display: none;
216
+ }
217
+ .sa-question__select-wrapper .sa-question__select:focus {
218
+ outline: 0;
219
+ box-shadow: none;
220
+ }
221
+ .sa-question__select-wrapper .sa-question__select:disabled {
222
+ color: var(--disabled-color, #b0b0b0);
223
+ }
224
+ .sa-question__select-wrapper:before {
225
+ margin-top: -4px;
226
+ top: 50%;
227
+ right: 10px;
228
+ z-index: 1;
229
+ content: "";
230
+ position: absolute;
231
+ width: 4px;
232
+ height: 4px;
233
+ border-right: 2px solid var(--text-color, #404040);
234
+ border-bottom: 2px solid var(--text-color, #404040);
235
+ transform: rotate(45deg);
236
+ box-sizing: content-box;
237
+ pointer-events: none;
238
+ }
239
+
240
+ .sa-question__filter {
241
+ display: inline-block;
242
+ padding: 0 1em;
243
+ }
244
+
245
+ .sa-question__filter-text {
246
+ vertical-align: middle;
247
+ margin-top: 1px;
248
+ line-height: 32px;
249
+ }
250
+
251
+ .sa-commercial {
252
+ font-size: 12px;
253
+ padding: 0.5em 0 0.5em 2em;
254
+ }
255
+ .sa-commercial svg {
256
+ width: 20px;
257
+ height: 20px;
258
+ fill: var(--main-color, #1ab394);
259
+ vertical-align: middle;
260
+ }
261
+
262
+ .sa-commercial__text {
263
+ font-weight: bold;
264
+ text-decoration: none;
265
+ color: var(--main-color, #1ab394);
266
+ }
267
+
268
+ .sa-commercial__product {
269
+ padding-left: 0.5em;
270
+ }
271
+
272
+ /* latin-ext */
273
+ @font-face {
274
+ font-family: "Raleway";
275
+ font-style: normal;
276
+ font-weight: 400;
277
+ src: local("Raleway"), local("Raleway-Regular"), url(https://fonts.gstatic.com/s/raleway/v14/1Ptug8zYS_SKggPNyCMIT5lu.woff2) format("woff2");
278
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
279
+ }
280
+ /* latin */
281
+ @font-face {
282
+ font-family: "Raleway";
283
+ font-style: normal;
284
+ font-weight: 400;
285
+ src: local("Raleway"), local("Raleway-Regular"), url(https://fonts.gstatic.com/s/raleway/v14/1Ptug8zYS_SKggPNyC0ITw.woff2) format("woff2");
286
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
287
+ }
288
+ /* latin-ext */
289
+ @font-face {
290
+ font-family: "Raleway";
291
+ font-style: normal;
292
+ font-weight: 700;
293
+ src: local("Raleway Bold"), local("Raleway-Bold"), url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwJYtWqhPAMif.woff2) format("woff2");
294
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
295
+ }
296
+ /* latin */
297
+ @font-face {
298
+ font-family: "Raleway";
299
+ font-style: normal;
300
+ font-weight: 700;
301
+ src: local("Raleway Bold"), local("Raleway-Bold"), url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwJYtWqZPAA.woff2) format("woff2");
302
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
303
+ }
304
+ /*!****************************************************************************************************************************************************************!*\
305
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/text.scss ***!
306
+ \****************************************************************************************************************************************************************/
307
+ .sa-text-table__container {
308
+ width: 100%;
309
+ min-height: 200px;
310
+ max-height: 500px;
311
+ overflow: auto;
312
+ }
313
+
314
+ .sa-text-table {
315
+ width: 100%;
316
+ font-family: var(--font-family, "Segoe UI", SegoeUI, Arial, sans-serif);
317
+ font-size: var(--root-font-size, 14px);
318
+ color: var(--text-color, #404040);
319
+ border-width: 1px;
320
+ border-collapse: collapse;
321
+ background-color: var(--background-color, #f7f7f7);
322
+ }
323
+
324
+ .sa-text-table__cell {
325
+ border-width: 1px;
326
+ padding: 8px;
327
+ border-style: solid;
328
+ border-color: var(--border-color, #e7e7e7);
329
+ background-color: var(--background-color, #f7f7f7);
330
+ min-height: 34px;
331
+ }
332
+
333
+ .sa-text-table__cell--number {
334
+ text-align: end;
335
+ }
336
+
337
+ th.sa-text-table__cell {
338
+ font-weight: 600;
339
+ }
340
+ /*!****************************************************************************************************************************************************************************!*\
341
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/statistics-table.scss ***!
342
+ \****************************************************************************************************************************************************************************/
343
+ .sa-statistics-table__container {
344
+ width: 100%;
345
+ min-height: 200px;
346
+ max-height: 500px;
347
+ overflow: auto;
348
+ }
349
+
350
+ .sa-statistics-table {
351
+ width: 100%;
352
+ font-family: var(--font-family, "Segoe UI", SegoeUI, Arial, sans-serif);
353
+ font-size: var(--root-font-size, 14px);
354
+ color: var(--text-color, #404040);
355
+ background-color: var(--background-color, #f7f7f7);
356
+ }
357
+
358
+ .sa-statistics-table__cell {
359
+ border-width: 1px;
360
+ padding: 8px;
361
+ border-style: solid;
362
+ border-color: var(--border-color, #e7e7e7);
363
+ background-color: var(--background-color, #f7f7f7);
364
+ min-height: 34px;
365
+ }
366
+
367
+ .sa-statistics-table__cell-value {
368
+ text-align: right;
369
+ min-width: 30px;
370
+ }
371
+
372
+ .sa-statistics-table__cell-header {
373
+ font-weight: bold;
374
+ }
375
+
376
+ .sa-choices-sparkline {
377
+ min-width: 100px;
378
+ height: 24px;
379
+ border: 1px solid var(--main-color, #1ab394);
380
+ }
381
+
382
+ .sa-choices-sparkline-value {
383
+ height: 100%;
384
+ background-color: var(--main-color, #1ab394);
385
+ }
386
+ /*!***************************************************************************************************************************************************************!*\
387
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/nps.scss ***!
388
+ \***************************************************************************************************************************************************************/
389
+ .sa-visualizer-nps {
390
+ display: flex;
391
+ flex-direction: row;
392
+ gap: 16px;
393
+ overflow-x: auto;
394
+ }
395
+
396
+ .sa-visualizer-nps__score-part {
397
+ display: flex;
398
+ flex-direction: column;
399
+ padding: 0 16px;
400
+ }
401
+
402
+ .sa-visualizer-nps__score-part-title {
403
+ font-size: 32px;
404
+ text-align: center;
405
+ color: #909090;
406
+ }
407
+
408
+ .sa-visualizer-nps__score-part-values {
409
+ display: flex;
410
+ flex-direction: row;
411
+ gap: 16px;
412
+ align-items: baseline;
413
+ }
414
+
415
+ .sa-visualizer-nps__score-part-value {
416
+ font-size: 48px;
417
+ }
418
+
419
+ .sa-visualizer-nps__score-part-percent {
420
+ font-size: 24px;
421
+ color: #606060;
422
+ }
423
+
424
+ /*# sourceMappingURL=survey.analytics.core.css.map*/
@@ -0,0 +1 @@
1
+ {"version":3,"file":"survey.analytics.core.css","mappings":";;;;;;;;AAKA;EACE,qECsBsB;EDrBtB,sCCsBe;AD1BjB;;AAOA;EACE,uECgBY;EDfZ;EACA;EACA;AAJF;;AAOA;EACE;AAJF;;AAOA;EACE;EACA,qECKsB;EDJtB,sCCKe;EDJf;EACA;EACA;EACA;AAJF;;AAOA;EACE;AAJF;;AAOA;EACE;EACA;EACA;AAJF;;AAOA;EACE;EACA;EACA;EACA;EACA;EACA;AAJF;;AAOA;EACE;IACE;EAJF;EAMA;IACE;EAJF;AACF;;;;AElDA;EACE;AADF;;AAIA;EACE;AADF;;AAIA;EACE;EACA;AADF;AAEE;EAHF;IAII;EACF;AACF;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;AACF;;AAEA;EACE;AACF;AACE;EAHF;IAII;EAEF;AACF;;AACA;EACE,kDDpBiB;ECqBjB;AAEF;;AACA;EACE;EACA,qEDdsB;ECetB;EACA;EACA,iCDjCW;ECkCX;EACA;AAEF;;AACA;EACE;AAEF;AADE;EACE;EACA;EACA;EACA;EACA;EACA;AAGJ;;AAEE;EACE;AACJ;;AAGA;EACE,uED1CY;EC2CZ,sCDzCe;EC0Cf,iCD3DW;EC4DX;EACA;EACA;EACA;EACA;EACA;AAAF;;AAEA;EACE;EACA;AACF;;AAEA;EACE,uED1DY;EC2DZ,sCDzDe;EC0Df;EACA;EACA;EACA;EACA;EACA;AACF;AACE;EACE,0CD3EW;EC4EX;AACJ;AACE;EACE;AACJ;AACE;EACE;AACJ;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;AAAF;AACE;EACE,gDD3FQ;AC4FZ;AAEI;EACE,qCD9FY;AC8FlB;AAGE;EACE;EACA;AADJ;;AAKA;EACE;AAFF;;AAMA;EACE;EACA;EACA;EACA;AAHF;AAKE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA,2CDxIiB;ECyIjB,0CDhIW;ECiIX,YD/HkB;ECgIlB;EACA;AAHJ;AAKI;EACE;AAHN;AAMI;EACE;EACA;AAJN;AAOI;EACE,qCD9JW;ACyJjB;AASE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAPJ;;AAYA;EACE;EACA;AATF;;AAYA;EACE;EACA;EACA;AATF;;AAYA;EACE;EACA;AATF;AAUE;EACE;EACA;EACA,gCD1MS;EC2MT;AARJ;;AAWA;EACE;EACA;EACA,iCDjNW;ACyMb;;AAUA;EACE;AAPF;;AAUA;AACA;EACE;EACA;EACA;EACA,4IACE;EAGF;AAVF;AAYA;AACA;EACE;EACA;EACA;EACA,0IACE;EAGF;AAbF;AAgBA;AACA;EACE;EACA;EACA;EACA,kJACE;EAGF;AAjBF;AAmBA;AACA;EACE;EACA;EACA;EACA,gJACE;EAGF;AApBF;;;;AC5OA;EACE;EACA;EACA;EACA;AADF;;AAIA;EACE;EACA,uEFgBY;EEfZ,sCFiBe;EEhBf,iCFDW;EEEX;EACA;EACA;AADF;;AAIA;EACE;EACA;EACA;EACA,0CFHa;EEIb,kDFRiB;EESjB,gBFHoB;AEEtB;;AAIA;EACE;AADF;;AAIA;EACE;AADF;;;;AC9BA;EACE;EACA;EACA;EACA;AADF;;AAIA;EACE;EACA,uEHgBY;EGfZ,sCHiBe;EGhBf,iCHDW;EGGX,kDHCiB;AGHnB;;AAKA;EACE;EACA;EACA;EACA,0CHFa;EGGb,kDHPiB;EGQjB,gBHFoB;AGAtB;;AAKA;EACE;EACA;AAFF;;AAKA;EACE;AAFF;;AAKA;EACE;EACA;EACA;AAFF;;AAIA;EACE;EACA,4CH3CW;AG0Cb;;;;AC1CA;EACE;EACA;EACA;EACA;AACF;;AAEA;EACE;EACA;EACA;AACF;;AAEA;EACE;EACA;EACA;AACF;;AAEA;EACE;EACA;EACA;EACA;AACF;;AAEA;EACE;AACF;;AAEA;EACE;EACA;AACF","sources":["webpack://SurveyAnalytics/./src/visualizerBase.scss","webpack://SurveyAnalytics/./src/_globals.scss","webpack://SurveyAnalytics/./src/visualizationPanel.scss","webpack://SurveyAnalytics/./src/text.scss","webpack://SurveyAnalytics/./src/statistics-table.scss","webpack://SurveyAnalytics/./src/nps.scss"],"sourcesContent":["@use \"globals\" as *;\n\n.sa-visualizer__toolbar {\n}\n\n.sa-visualizer__header {\n font-family: $font-family-secondary;\n font-size: $root-font-size;\n}\n\n.sa-visualizer__content {\n font-family: $font-family;\n display: inline-block;\n overflow: hidden;\n width: 100%;\n}\n\n.sa-visualizer__footer {\n margin-top: 10px;\n}\n\n.sa-visualizer__footer-title {\n display: inline-block;\n font-family: $font-family-secondary;\n font-size: $root-font-size;\n color: #404040;\n line-height: 34px;\n vertical-align: middle;\n margin: 0;\n}\n\n.sa-visualizer__footer-content {\n margin-top: 10px;\n}\n\n.sa-data-loading-indicator-panel {\n width: 100%;\n min-height: 200px;\n position: relative;\n}\n\n.sa-data-loading-indicator {\n position: absolute;\n width: 64px;\n height: 64px;\n left: calc((100% - 64px) / 2);\n top: calc((100% - 64px) / 2);\n animation: sa-data-loading-indicator-spinner 1s infinite linear;\n}\n\n@keyframes sa-data-loading-indicator-spinner {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n}\n","$main-color: var(--main-color, #1ab394);\n$auxiliary-color: var(--auxiliary-color, #ff9814);\n$auxiliary-color-1: var(--auxiliary-color-1, #666666);\n$auxiliary-color-2: var(--auxiliary-color-2, #1948b3);\n$danger-color: var(--danger-color, #d9534f);\n$disabled-color: var(--disabled-color, #b0b0b0);\n\n$blue-color: var(--blue-color, #394cff);\n$purple-color: var(--purple-color, #aa42d0);\n$green-color: var(--green-color, #41c02c);\n\n$text-color-inverse: var(--text-color-inverse, #fff);\n$text-color: var(--text-color, #404040);\n\n$content-max-width: 1170px;\n\n$background-color: var(--background-color, #f7f7f7);\n$background-color-dark: var(--background-color-dark, #eeeeee);\n$background-disabled-color: var(--background-disabled-color, #b7b7b7);\n\n$border-color: var(--border-color, #e7e7e7);\n\n$form-element-height: 34px;\n\n$svg-color: var(--svg-color, rgba(#9f9f9f, 0.4));\n$svg-hover-color: var(--svg-hover-color, #9f9f9f);\n\n$font-family: var(--font-family, \"Segoe UI\", SegoeUI, Arial, sans-serif);\n$font-family-secondary: var(--font-family-secondary, Raleway, Arial, sans-serif);\n$root-font-size: var(--root-font-size, 14px);","@use \"globals\" as *;\n\n.sa-panel__header {\n margin: 0 1em;\n}\n\n.sa-grid {\n position: relative;\n}\n\n.sa-grid__grid-sizer {\n width: 100%;\n box-sizing: border-box;\n @media screen and (min-width: 1400px) {\n width: 50%;\n }\n}\n\n.sa-question {\n display: inline-block;\n width: 100%;\n vertical-align: top;\n box-sizing: border-box;\n overflow: hidden;\n padding: 1em;\n}\n\n.sa-question-layouted {\n position: absolute;\n\n @media screen and (min-width: 1400px) {\n width: calc(50% - 1px);\n }\n}\n\n.sa-question__content {\n background-color: $background-color;\n padding: 20px;\n}\n\n.sa-question__title {\n margin-left: 30px;\n font-family: $font-family-secondary;\n font-size: 18px;\n font-weight: bold;\n color: $text-color;\n margin: 0;\n margin-bottom: 1em;\n}\n\n.sa-question__title--draggable {\n cursor: move;\n &:after {\n content: \" \";\n display: block;\n float: right;\n width: 15px;\n height: 15px;\n background-image: url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg%3E%3Cpolygon style='fill: %231ab394' points='13,5 12,6 13,7 9,7 9,3 10,4 11,3 8,0 5,3 6,4 7,3 7,7 3,7 4,6 3,5 0,8 3,11 4,10 3,9 7,9 7,13 6,12 5,13 8,16 11,13 10,12 9,13 9,9 13,9 12,10 13,11 16,8 '/%3E%3C/g%3E%3C/svg%3E \");\n }\n}\n\n[dir=\"rtl\"] .sa-question__title--draggable, [style*=\"direction: rtl\"] .sa-question__title--draggable, [style*=\"direction:rtl\"] .sa-question__title--draggable {\n &:after {\n float: left;\n }\n}\n\n.sa-toolbar {\n font-family: $font-family;\n font-size: $root-font-size;\n color: $text-color;\n line-height: 34px;\n margin-bottom: 25px;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 10px;\n}\n.sa-toolbar.sa-toolbar > * {\n display: inline-flex;\n line-height: 1em;\n}\n\n.sa-toolbar__button {\n font-family: $font-family;\n font-size: $root-font-size;\n padding: 8px;\n vertical-align: middle;\n cursor: pointer;\n border: 1px solid transparent;\n white-space: nowrap;\n margin: 0 10px;\n\n &:hover {\n border-color: $border-color;\n background-blend-mode: darken;\n }\n &:first-child {\n margin-left: 0;\n }\n &:last-child {\n margin-right: 0;\n }\n}\n\n.sa-toolbar__svg-button {\n width: 15px;\n height: 15px;\n padding: 0;\n border: none;\n outline: none;\n background-color: inherit;\n cursor: pointer;\n use {\n fill: $svg-color;\n }\n &:hover {\n use {\n fill: $svg-hover-color;\n }\n }\n svg {\n width: 15px;\n height: 15px;\n }\n}\n\n.sa-toolbar__button--right {\n float: right;\n}\n\n// custom select\n.sa-question__select-wrapper {\n position: relative;\n display: inline-block;\n min-width: 100px;\n max-width: 300px;\n\n .sa-question__select {\n width: 100%;\n display: block;\n position: relative;\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n border-radius: 2px;\n background: $text-color-inverse;\n border-color: $border-color;\n height: $form-element-height;\n padding: 5px 23px 5px 15px;\n line-height: initial;\n\n &::-ms-expand {\n display: none;\n }\n\n &:focus {\n outline: 0;\n box-shadow: none;\n }\n\n &:disabled {\n color: $disabled-color;\n }\n }\n\n &:before {\n margin-top: -4px;\n top: 50%;\n right: 10px;\n z-index: 1;\n content: \"\";\n position: absolute;\n width: 4px;\n height: 4px;\n border-right: 2px solid $text-color;\n border-bottom: 2px solid $text-color;\n transform: rotate(45deg);\n box-sizing: content-box;\n pointer-events: none;\n }\n}\n// EO custom select\n\n.sa-question__filter {\n display: inline-block;\n padding: 0 1em;\n}\n\n.sa-question__filter-text {\n vertical-align: middle;\n margin-top: 1px;\n line-height: 32px;\n}\n\n.sa-commercial {\n font-size: 12px;\n padding: 0.5em 0 0.5em 2em;\n svg {\n width: 20px;\n height: 20px;\n fill: $main-color;\n vertical-align: middle;\n }\n}\n.sa-commercial__text {\n font-weight: bold;\n text-decoration: none;\n color: $main-color;\n}\n.sa-commercial__product {\n padding-left: 0.5em;\n}\n\n/* latin-ext */\n@font-face {\n font-family: \"Raleway\";\n font-style: normal;\n font-weight: 400;\n src:\n local(\"Raleway\"),\n local(\"Raleway-Regular\"),\n url(https://fonts.gstatic.com/s/raleway/v14/1Ptug8zYS_SKggPNyCMIT5lu.woff2) format(\"woff2\");\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: \"Raleway\";\n font-style: normal;\n font-weight: 400;\n src:\n local(\"Raleway\"),\n local(\"Raleway-Regular\"),\n url(https://fonts.gstatic.com/s/raleway/v14/1Ptug8zYS_SKggPNyC0ITw.woff2) format(\"woff2\");\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC,\n U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: \"Raleway\";\n font-style: normal;\n font-weight: 700;\n src:\n local(\"Raleway Bold\"),\n local(\"Raleway-Bold\"),\n url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwJYtWqhPAMif.woff2) format(\"woff2\");\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: \"Raleway\";\n font-style: normal;\n font-weight: 700;\n src:\n local(\"Raleway Bold\"),\n local(\"Raleway-Bold\"),\n url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwJYtWqZPAA.woff2) format(\"woff2\");\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC,\n U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n","@use \"globals\" as *;\n\n.sa-text-table__container {\n width: 100%;\n min-height: 200px;\n max-height: 500px;\n overflow: auto;\n}\n\n.sa-text-table {\n width: 100%;\n font-family: $font-family;\n font-size: $root-font-size;\n color: $text-color;\n border-width: 1px;\n border-collapse: collapse;\n background-color: $background-color;\n}\n\n.sa-text-table__cell {\n border-width: 1px;\n padding: 8px;\n border-style: solid;\n border-color: $border-color;\n background-color: $background-color;\n min-height: $form-element-height;\n}\n\n.sa-text-table__cell--number {\n text-align: end;\n}\n\nth.sa-text-table__cell {\n font-weight: 600;\n}\n","@use \"globals\" as *;\n\n.sa-statistics-table__container {\n width: 100%;\n min-height: 200px;\n max-height: 500px;\n overflow: auto;\n}\n\n.sa-statistics-table {\n width: 100%;\n font-family: $font-family;\n font-size: $root-font-size;\n color: $text-color;\n // border-collapse: collapse;\n background-color: $background-color;\n}\n\n.sa-statistics-table__cell {\n border-width: 1px;\n padding: 8px;\n border-style: solid;\n border-color: $border-color;\n background-color: $background-color;\n min-height: $form-element-height;\n}\n\n.sa-statistics-table__cell-value {\n text-align: right;\n min-width: 30px;\n}\n\n.sa-statistics-table__cell-header {\n font-weight: bold;\n}\n\n.sa-choices-sparkline {\n min-width: 100px;\n height: 24px;\n border: 1px solid $main-color;\n}\n.sa-choices-sparkline-value {\n height: 100%;\n background-color: $main-color;\n}\n",".sa-visualizer-nps {\n display: flex;\n flex-direction: row;\n gap: 16px;\n overflow-x: auto;\n}\n\n.sa-visualizer-nps__score-part {\n display: flex;\n flex-direction: column;\n padding: 0 16px;\n}\n\n.sa-visualizer-nps__score-part-title {\n font-size: 32px;\n text-align: center;\n color: #909090;\n}\n\n.sa-visualizer-nps__score-part-values {\n display: flex;\n flex-direction: row;\n gap: 16px;\n align-items: baseline;\n}\n\n.sa-visualizer-nps__score-part-value {\n font-size: 48px;\n}\n\n.sa-visualizer-nps__score-part-percent {\n font-size: 24px;\n color: #606060;\n}"],"names":[],"sourceRoot":""}