survey-vue3-ui 2.2.3 → 2.2.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-vue3-ui",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -19,7 +19,7 @@
19
19
  "url": "https://github.com/surveyjs/surveyjs.git"
20
20
  },
21
21
  "peerDependencies": {
22
- "survey-core": "2.2.3",
22
+ "survey-core": "2.2.5",
23
23
  "vue": "^3.2.41"
24
24
  }
25
25
  }
@@ -2221,7 +2221,7 @@ const y1 = /* @__PURE__ */ y({
2221
2221
  }, null, 8, ["locString"])
2222
2222
  ], 2));
2223
2223
  }
2224
- }), O1 = { role: "radiogroup" }, z1 = /* @__PURE__ */ v("legend", {
2224
+ }), O1 = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], z1 = /* @__PURE__ */ v("legend", {
2225
2225
  role: "presentation",
2226
2226
  class: "sv-hidden"
2227
2227
  }, null, -1), U1 = /* @__PURE__ */ y({
@@ -2239,7 +2239,15 @@ const y1 = /* @__PURE__ */ y({
2239
2239
  ref_key: "root",
2240
2240
  ref: n
2241
2241
  }, [
2242
- v("fieldset", O1, [
2242
+ v("fieldset", {
2243
+ role: o.question.a11y_input_ariaRole,
2244
+ "aria-required": o.question.a11y_input_ariaRequired,
2245
+ "aria-label": o.question.a11y_input_ariaLabel,
2246
+ "aria-labelledby": o.question.a11y_input_ariaLabelledBy,
2247
+ "aria-describedby": o.question.a11y_input_ariaDescribedBy,
2248
+ "aria-invalid": o.question.a11y_input_ariaInvalid,
2249
+ "aria-errormessage": o.question.a11y_input_ariaErrormessage
2250
+ }, [
2243
2251
  z1,
2244
2252
  o.question.hasMinLabel ? (i(), a("span", {
2245
2253
  key: 0,
@@ -2266,10 +2274,10 @@ const y1 = /* @__PURE__ */ y({
2266
2274
  locString: o.question.locMaxRateDescription
2267
2275
  }, null, 8, ["locString"])
2268
2276
  ], 2)) : p("", !0)
2269
- ])
2277
+ ], 8, O1)
2270
2278
  ], 2));
2271
2279
  }
2272
- }), Q1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], K1 = ["data-text"], j1 = /* @__PURE__ */ y({
2280
+ }), Q1 = ["name", "id", "value", "disabled", "readonly", "aria-label"], K1 = ["data-text"], j1 = /* @__PURE__ */ y({
2273
2281
  __name: "RatingItem",
2274
2282
  props: {
2275
2283
  question: {},
@@ -2292,10 +2300,7 @@ const y1 = /* @__PURE__ */ y({
2292
2300
  disabled: n.question.isDisabledAttr,
2293
2301
  readonly: n.question.isReadOnlyAttr,
2294
2302
  onClick: s[0] || (s[0] = (o) => n.question.setValueFromClick(o.target.value)),
2295
- "aria-required": n.question.ariaRequired,
2296
- "aria-label": n.question.ariaLabel,
2297
- "aria-invalid": n.question.ariaInvalid,
2298
- "aria-errormessage": n.question.ariaErrormessage
2303
+ "aria-label": n.question.ariaLabel
2299
2304
  }, null, 8, Q1),
2300
2305
  v("span", {
2301
2306
  class: r(n.question.cssClasses.itemText),
@@ -2308,7 +2313,7 @@ const y1 = /* @__PURE__ */ y({
2308
2313
  ], 10, K1)
2309
2314
  ], 34));
2310
2315
  }
2311
- }), G1 = ["title"], X1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], J1 = /* @__PURE__ */ y({
2316
+ }), G1 = ["title"], X1 = ["name", "id", "value", "disabled", "readonly", "aria-label"], J1 = /* @__PURE__ */ y({
2312
2317
  __name: "RatingItemSmiley",
2313
2318
  props: {
2314
2319
  question: {},
@@ -2335,10 +2340,7 @@ const y1 = /* @__PURE__ */ y({
2335
2340
  disabled: n.question.isDisabledAttr,
2336
2341
  readonly: n.question.isReadOnlyAttr,
2337
2342
  onClick: s[0] || (s[0] = (o) => n.question.setValueFromClick(o.target.value)),
2338
- "aria-required": n.question.ariaRequired,
2339
- "aria-label": n.question.ariaLabel,
2340
- "aria-invalid": n.question.ariaInvalid,
2341
- "aria-errormessage": n.question.ariaErrormessage
2343
+ "aria-label": n.question.ariaLabel
2342
2344
  }, null, 8, X1),
2343
2345
  c(m, {
2344
2346
  is: "sv-svg-icon",
@@ -2347,7 +2349,7 @@ const y1 = /* @__PURE__ */ y({
2347
2349
  }, null, 8, ["iconName"])
2348
2350
  ], 46, G1));
2349
2351
  }
2350
- }), Y1 = ["title"], _1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], x1 = /* @__PURE__ */ y({
2352
+ }), Y1 = ["title"], _1 = ["name", "id", "value", "disabled", "readonly", "aria-label"], x1 = /* @__PURE__ */ y({
2351
2353
  __name: "RatingItemStar",
2352
2354
  props: {
2353
2355
  question: {},
@@ -2373,10 +2375,7 @@ const y1 = /* @__PURE__ */ y({
2373
2375
  disabled: n.question.isDisabledAttr,
2374
2376
  readonly: n.question.isReadOnlyAttr,
2375
2377
  onClick: s[0] || (s[0] = (o) => n.question.setValueFromClick((o == null ? void 0 : o.target).value)),
2376
- "aria-required": n.question.ariaRequired,
2377
- "aria-label": n.question.ariaLabel,
2378
- "aria-invalid": n.question.ariaInvalid,
2379
- "aria-errormessage": n.question.ariaErrormessage
2378
+ "aria-label": n.question.ariaLabel
2380
2379
  }, null, 8, _1),
2381
2380
  c(m, {
2382
2381
  is: "sv-svg-icon",
@@ -5029,7 +5028,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
5029
5028
  }
5030
5029
  });
5031
5030
  /*!
5032
- * surveyjs - Survey JavaScript library v2.2.3
5031
+ * surveyjs - Survey JavaScript library v2.2.5
5033
5032
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
5034
5033
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5035
5034
  */
@@ -5097,7 +5096,7 @@ var To = {
5097
5096
  "smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
5098
5097
  };
5099
5098
  /*!
5100
- * surveyjs - Survey JavaScript library v2.2.3
5099
+ * surveyjs - Survey JavaScript library v2.2.5
5101
5100
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
5102
5101
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5103
5102
  */