@progress/kendo-vue-gauges 10.0.1-develop.7 → 10.1.0-develop.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.
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1790258074,
14
- version: "10.0.1-develop.7",
13
+ publishDate: 1791190253,
14
+ version: "10.1.0-develop.1",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
16
16
  };
17
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-gauges",
3
- "version": "10.0.1-develop.7",
3
+ "version": "10.1.0-develop.1",
4
4
  "description": "TODO",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -26,8 +26,8 @@
26
26
  "peerDependencies": {
27
27
  "@progress/kendo-drawing": "^1.21.1",
28
28
  "@progress/kendo-licensing": "^1.7.2",
29
- "@progress/kendo-vue-common": "10.0.1-develop.7",
30
- "@progress/kendo-vue-intl": "10.0.1-develop.7",
29
+ "@progress/kendo-vue-common": "10.1.0-develop.1",
30
+ "@progress/kendo-vue-intl": "10.1.0-develop.1",
31
31
  "vue": "^3.0.2"
32
32
  },
33
33
  "dependencies": {
@@ -49,7 +49,7 @@
49
49
  "package": {
50
50
  "productName": "Kendo UI for Vue",
51
51
  "productCode": "KENDOUIVUE",
52
- "publishDate": 1790258074,
52
+ "publishDate": 1791190253,
53
53
  "licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
54
54
  }
55
55
  },
package/store/reducer.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=(t,e)=>{if(e.type)switch(e.type){case"set":return c.themeItem(t,e);case"push":return Object.assign(t,e.payload);default:return t}else return{}},c={configurationItem(t,e){return Object.assign(t,{[e.gaugeKey]:e.payload})},collectionConfigurationItem(t,e){let l=!1;const[n,o]=e.gaugeCollectionIdxKey.split("_"),i=t[n].map((r,s)=>parseInt(o,10)===s?(l=!0,e.payload):r);return l===!1&&i.splice(parseInt(o,10),0,e.payload),Object.assign(t,{[n]:i})},themeItem(t,e){let l={},n=Object.assign(l,t);const{field:o,value:i}=e.payload,r=o.split(".");let s=r.shift();for(;r.length>0;)l=l[s]=l[s]||{},s=r.shift();return l[s]=i,n}};exports.themeReducer=a;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@progress/kendo-vue-common"),a=(t,e)=>{if(e.type)switch(e.type){case"set":return i.themeItem(t,e);case"push":return Object.assign(t,e.payload);default:return t}else return{}},i={configurationItem(t,e){return Object.assign(t,{[e.gaugeKey]:e.payload})},collectionConfigurationItem(t,e){let o=!1;const[l,r]=e.gaugeCollectionIdxKey.split("_"),s=t[l].map((n,u)=>parseInt(r,10)===u?(o=!0,e.payload):n);return o===!1&&s.splice(parseInt(r,10),0,e.payload),Object.assign(t,{[l]:s})},themeItem(t,e){const o={...t},{field:l,value:r}=e.payload;return c.setter(l)(o,r),o}};exports.themeReducer=a;
package/store/reducer.mjs CHANGED
@@ -5,7 +5,8 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- const c = (t, e) => {
8
+ import { setter as c } from "@progress/kendo-vue-common";
9
+ const p = (t, e) => {
9
10
  if (e.type)
10
11
  switch (e.type) {
11
12
  case "set":
@@ -25,20 +26,16 @@ const c = (t, e) => {
25
26
  },
26
27
  collectionConfigurationItem(t, e) {
27
28
  let l = !1;
28
- const [o, r] = e.gaugeCollectionIdxKey.split("_"), a = t[o].map((n, s) => parseInt(r, 10) === s ? (l = !0, e.payload) : n);
29
- return l === !1 && a.splice(parseInt(r, 10), 0, e.payload), Object.assign(t, {
30
- [o]: a
29
+ const [s, o] = e.gaugeCollectionIdxKey.split("_"), r = t[s].map((n, a) => parseInt(o, 10) === a ? (l = !0, e.payload) : n);
30
+ return l === !1 && r.splice(parseInt(o, 10), 0, e.payload), Object.assign(t, {
31
+ [s]: r
31
32
  });
32
33
  },
33
34
  themeItem(t, e) {
34
- let l = {}, o = Object.assign(l, t);
35
- const { field: r, value: a } = e.payload, n = r.split(".");
36
- let s = n.shift();
37
- for (; n.length > 0; )
38
- l = l[s] = l[s] || {}, s = n.shift();
39
- return l[s] = a, o;
35
+ const l = { ...t }, { field: s, value: o } = e.payload;
36
+ return c(s)(l, o), l;
40
37
  }
41
38
  };
42
39
  export {
43
- c as themeReducer
40
+ p as themeReducer
44
41
  };