@central-design-system/components 2.9.0 → 2.10.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.
Files changed (90) hide show
  1. package/dist/CdsAccordion/index.js +3 -3
  2. package/dist/CdsAccordion/styles.css +2 -2
  3. package/dist/CdsBreadcrumbs/index.js +3 -3
  4. package/dist/CdsBreadcrumbs/styles.css +2 -2
  5. package/dist/CdsButton/index.js +3 -3
  6. package/dist/CdsButton/styles.css +2 -2
  7. package/dist/CdsCheckbox/index.js +3 -3
  8. package/dist/CdsCheckbox/styles.css +2 -2
  9. package/dist/CdsCombobox/index.js +3 -3
  10. package/dist/CdsCombobox/styles.css +2 -2
  11. package/dist/CdsContainer/index.js +3 -3
  12. package/dist/CdsContainer/styles.css +2 -2
  13. package/dist/CdsContentSwitcher/index.js +3 -3
  14. package/dist/CdsContentSwitcher/styles.css +2 -2
  15. package/dist/CdsDataTable/index.js +3 -3
  16. package/dist/CdsDataTable/styles.css +2 -2
  17. package/dist/CdsDatePicker/index.js +5 -5
  18. package/dist/CdsDatePicker/styles.css +2 -2
  19. package/dist/CdsDrawer/index.js +3 -3
  20. package/dist/CdsDrawer/styles.css +2 -2
  21. package/dist/CdsDropdown/index.js +3 -3
  22. package/dist/CdsDropdown/styles.css +2 -2
  23. package/dist/CdsEmptyState/index.js +3 -3
  24. package/dist/CdsEmptyState/styles.css +2 -2
  25. package/dist/CdsForm/index.js +3 -3
  26. package/dist/CdsForm/styles.css +2 -2
  27. package/dist/CdsGrid/index.js +3 -3
  28. package/dist/CdsGrid/styles.css +2 -2
  29. package/dist/CdsIcon/index.js +3 -3
  30. package/dist/CdsIcon/styles.css +2 -2
  31. package/dist/CdsImage/index.js +3 -3
  32. package/dist/CdsImage/styles.css +2 -2
  33. package/dist/CdsInput/index.js +3 -3
  34. package/dist/CdsInput/styles.css +2 -2
  35. package/dist/CdsLink/index.js +3 -3
  36. package/dist/CdsLink/styles.css +2 -2
  37. package/dist/CdsList/index.js +3 -3
  38. package/dist/CdsList/styles.css +2 -2
  39. package/dist/CdsLoading/index.js +3 -3
  40. package/dist/CdsLoading/styles.css +2 -2
  41. package/dist/CdsModal/index.js +3 -3
  42. package/dist/CdsModal/styles.css +2 -2
  43. package/dist/CdsMultiselect/index.js +3 -3
  44. package/dist/CdsMultiselect/styles.css +2 -2
  45. package/dist/CdsNotification/index.js +3 -3
  46. package/dist/CdsNotification/styles.css +2 -2
  47. package/dist/CdsOverflowMenu/index.js +3 -3
  48. package/dist/CdsOverflowMenu/styles.css +2 -2
  49. package/dist/CdsPagination/index.js +3 -3
  50. package/dist/CdsPagination/styles.css +2 -2
  51. package/dist/CdsRadioButton/index.js +3 -3
  52. package/dist/CdsRadioButton/styles.css +2 -2
  53. package/dist/CdsSearch/index.js +3 -3
  54. package/dist/CdsSearch/styles.css +2 -2
  55. package/dist/CdsSelect/index.js +3 -3
  56. package/dist/CdsSelect/styles.css +2 -2
  57. package/dist/CdsSkeleton/index.js +3 -3
  58. package/dist/CdsSkeleton/styles.css +2 -2
  59. package/dist/CdsStages/index.js +3 -3
  60. package/dist/CdsStages/styles.css +2 -2
  61. package/dist/CdsStatus/index.js +3 -3
  62. package/dist/CdsStatus/styles.css +2 -2
  63. package/dist/CdsSteps/index.js +3 -3
  64. package/dist/CdsSteps/styles.css +2 -2
  65. package/dist/CdsTable/index.js +3 -3
  66. package/dist/CdsTable/styles.css +3 -3
  67. package/dist/CdsTabs/index.js +3 -3
  68. package/dist/CdsTabs/styles.css +2 -2
  69. package/dist/CdsTag/index.js +3 -3
  70. package/dist/CdsTag/styles.css +2 -2
  71. package/dist/CdsTextArea/index.js +3 -3
  72. package/dist/CdsTextArea/styles.css +2 -2
  73. package/dist/CdsTextInput/index.js +3 -3
  74. package/dist/CdsTextInput/styles.css +2 -2
  75. package/dist/CdsToggle/index.js +3 -3
  76. package/dist/CdsToggle/styles.css +2 -2
  77. package/dist/CdsTooltip/index.js +3 -3
  78. package/dist/CdsTooltip/styles.css +2 -2
  79. package/dist/CdsUploader/index.js +4 -4
  80. package/dist/CdsUploader/styles.css +2 -2
  81. package/dist/cds.css +3 -3
  82. package/dist/cds.js +2433 -1376
  83. package/dist/cds.min.css +3 -3
  84. package/dist/cds.min.js +6 -6
  85. package/dist/types/CdsTable.ts +4 -0
  86. package/dist/types/CdsTooltip.ts +2 -0
  87. package/dist/utils/deepFind.js +14 -0
  88. package/dist/utils/helpers.js +2 -0
  89. package/dist/utils/test/deepFind.test.js +18 -0
  90. package/package.json +7 -5
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * CDS v2.8.0 (https://cds.b2b-center.ru/)
2
+ * CDS v2.10.0 (https://cds.b2b-center.ru/)
3
3
  *
4
4
  * @package @central-design-system/components
5
5
  * @author Design System Team <cds@b2b-center.ru>
6
- * © 2021, B2B-Center. (https://b2b-center.ru/)
6
+ * © 2022, B2B-Center. (https://b2b-center.ru/)
7
7
  */
8
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.CdsStages=e():t.CdsStages=e()}("undefined"!=typeof self?self:this,(function(){return function(){var t={6077:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:function(t,e,n){var r=n(5112),o=n(30),i=n(3070),c=r("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},9670:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},1318:function(t,e,n){var r=n(5656),o=n(7466),i=n(1400),c=function(t){return function(e,n,c){var u,s=r(e),a=o(s.length),f=i(c,a);if(t&&n!=n){for(;a>f;)if((u=s[f++])!=u)return!0}else for(;a>f;f++)if((t||f in s)&&s[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},4326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9920:function(t,e,n){var r=n(6656),o=n(3887),i=n(1236),c=n(3070);t.exports=function(t,e){for(var n=o(e),u=c.f,s=i.f,a=0;a<n.length;a++){var f=n[a];r(t,f)||u(t,f,s(e,f))}}},4964:function(t,e,n){var r=n(5112)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},8880:function(t,e,n){var r=n(9781),o=n(3070),i=n(9114);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,e,n){var r=n(7854),o=n(111),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},8113:function(t,e,n){var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,n){var r,o,i=n(7854),c=n(8113),u=i.process,s=i.Deno,a=u&&u.versions||s&&s.version,f=a&&a.v8;f?o=(r=f.split("."))[0]<4?1:r[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),c=n(1320),u=n(3505),s=n(9920),a=n(4705);t.exports=function(t,e){var n,f,l,p,v,d=t.target,h=t.global,y=t.stat;if(n=h?r:y?r[d]||u(d,{}):(r[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(v=o(n,f))&&v.value:n[f],!a(h?f:d+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;s(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(n,f,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},6677:function(t,e,n){var r=n(7293);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},5005:function(t,e,n){var r=n(7854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(t,e,n){var r=n(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(7293),o=n(4326),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},9587:function(t,e,n){var r=n(111),o=n(7674);t.exports=function(t,e,n){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(c=i.prototype)&&c!==n.prototype&&o(t,c),t}},2788:function(t,e,n){var r=n(5465),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},2423:function(t,e,n){var r=n(2109),o=n(3501),i=n(111),c=n(6656),u=n(3070).f,s=n(8006),a=n(1156),f=n(9711),l=n(6677),p=!1,v=f("meta"),d=0,h=Object.isExtensible||function(){return!0},y=function(t){u(t,v,{value:{objectID:"O"+d++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},p=!0;var t=s.f,e=[].splice,n={};n[v]=1,t(n).length&&(s.f=function(n){for(var r=t(n),o=0,i=r.length;o<i;o++)if(r[o]===v){e.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,v)){if(!h(t))return"F";if(!e)return"E";y(t)}return t[v].objectID},getWeakData:function(t,e){if(!c(t,v)){if(!h(t))return!0;if(!e)return!1;y(t)}return t[v].weakData},onFreeze:function(t){return l&&p&&h(t)&&!c(t,v)&&y(t),t}};o[v]=!0},9909:function(t,e,n){var r,o,i,c=n(8536),u=n(7854),s=n(111),a=n(8880),f=n(6656),l=n(5465),p=n(6200),v=n(3501),d="Object already initialized",h=u.WeakMap;if(c||l.state){var y=l.state||(l.state=new h),g=y.get,b=y.has,m=y.set;r=function(t,e){if(b.call(y,t))throw new TypeError(d);return e.facade=t,m.call(y,t,e),e},o=function(t){return g.call(y,t)||{}},i=function(t){return b.call(y,t)}}else{var x=p("state");v[x]=!0,r=function(t,e){if(f(t,x))throw new TypeError(d);return e.facade=t,a(t,x,e),e},o=function(t){return f(t,x)?t[x]:{}},i=function(t){return f(t,x)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!s(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},4705:function(t,e,n){var r=n(7293),o=/#|\.prototype\./,i=function(t,e){var n=u[c(t)];return n==a||n!=s&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:function(t){t.exports=!1},7850:function(t,e,n){var r=n(111),o=n(4326),i=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},2190:function(t,e,n){var r=n(5005),o=n(3307);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},133:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(t,e,n){var r=n(7854),o=n(2788),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},3929:function(t,e,n){var r=n(7850);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},30:function(t,e,n){var r,o=n(9670),i=n(6048),c=n(748),u=n(3501),s=n(490),a=n(317),f=n(6200),l=f("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"</"+"script>"},d=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}h=document.domain&&r?d(r):function(){var t,e=a("iframe");if(e.style)return e.style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F}()||d(r);for(var t=c.length;t--;)delete h.prototype[c[t]];return h()};u[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=h(),void 0===e?n:i(n,e)}},6048:function(t,e,n){var r=n(9781),o=n(3070),i=n(9670),c=n(1956);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),u=r.length,s=0;u>s;)o.f(t,n=r[s++],e[n]);return t}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(9670),c=n(4948),u=Object.defineProperty;e.f=r?u:function(t,e,n){if(i(t),e=c(e),i(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(5296),i=n(9114),c=n(5656),u=n(4948),s=n(6656),a=n(4664),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=c(t),e=u(e),a)try{return f(t,e)}catch(t){}if(s(t,e))return i(!o.f.call(t,e),t[e])}},1156:function(t,e,n){var r=n(5656),o=n(8006).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(r(t))}},8006:function(t,e,n){var r=n(6324),o=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},6324:function(t,e,n){var r=n(6656),o=n(5656),i=n(1318).indexOf,c=n(3501);t.exports=function(t,e){var n,u=o(t),s=0,a=[];for(n in u)!r(c,n)&&r(u,n)&&a.push(n);for(;e.length>s;)r(u,n=e[s++])&&(~i(a,n)||a.push(n));return a}},1956:function(t,e,n){var r=n(6324),o=n(748);t.exports=Object.keys||function(t){return r(t,o)}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){var r=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},2140:function(t,e,n){var r=n(111);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(8006),i=n(5181),c=n(9670);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},1320:function(t,e,n){var r=n(7854),o=n(8880),i=n(6656),c=n(3505),u=n(2788),s=n(9909),a=s.get,f=s.enforce,l=String(String).split("String");(t.exports=function(t,e,n,u){var s,a=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(s=f(n)).source||(s.source=l.join("string"==typeof e?e:""))),t!==r?(a?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},4488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:function(t,e,n){var r=n(7854);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3505),i="__core-js_shared__",c=r[i]||o(i,{});t.exports=c},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},3111:function(t,e,n){var r=n(4488),o=n(1340),i="["+n(1361)+"]",c=RegExp("^"+i+i+"*"),u=RegExp(i+i+"*$"),s=function(t){return function(e){var n=o(r(e));return 1&t&&(n=n.replace(c,"")),2&t&&(n=n.replace(u,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},1400:function(t,e,n){var r=n(9958),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9958:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},7466:function(t,e,n){var r=n(9958),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488);t.exports=function(t){return Object(r(t))}},7593:function(t,e,n){var r=n(111),o=n(2190),i=n(2140),c=n(5112)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,u=t[c];if(void 0!==u){if(void 0===e&&(e="default"),n=u.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},1340:function(t,e,n){var r=n(2190);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},9711:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},3307:function(t,e,n){var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(6656),c=n(9711),u=n(133),s=n(3307),a=o("wks"),f=r.Symbol,l=s?f:f&&f.withoutSetter||c;t.exports=function(t){return i(a,t)&&(u||"string"==typeof a[t])||(u&&i(f,t)?a[t]=f[t]:a[t]=l("Symbol."+t)),a[t]}},1361:function(t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},6699:function(t,e,n){"use strict";var r=n(2109),o=n(1318).includes,i=n(1223);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},8309:function(t,e,n){var r=n(9781),o=n(3070).f,i=Function.prototype,c=i.toString,u=/^\s*function ([^ (]*)/,s="name";r&&!(s in i)&&o(i,s,{configurable:!0,get:function(){try{return c.call(this).match(u)[1]}catch(t){return""}}})},9653:function(t,e,n){"use strict";var r=n(9781),o=n(7854),i=n(4705),c=n(1320),u=n(6656),s=n(4326),a=n(9587),f=n(2190),l=n(7593),p=n(7293),v=n(30),d=n(8006).f,h=n(1236).f,y=n(3070).f,g=n(3111).trim,b="Number",m=o.Number,x=m.prototype,w=s(v(x))==b,_=function(t){if(f(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,r,o,i,c,u,s,a=l(t,"number");if("string"==typeof a&&a.length>2)if(43===(e=(a=g(a)).charCodeAt(0))||45===e){if(88===(n=a.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(a.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+a}for(c=(i=a.slice(2)).length,u=0;u<c;u++)if((s=i.charCodeAt(u))<48||s>o)return NaN;return parseInt(i,r)}return+a};if(i(b,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var O,S=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof S&&(w?p((function(){x.valueOf.call(n)})):s(n)!=b)?a(new m(_(e)),n,S):_(e)},j=r?d(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),E=0;j.length>E;E++)u(m,O=j[E])&&!u(S,O)&&y(S,O,h(m,O));S.prototype=x,x.constructor=S,c(o,b,S)}},3371:function(t,e,n){var r=n(2109),o=n(6677),i=n(7293),c=n(111),u=n(2423).onFreeze,s=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){s(1)})),sham:!o},{freeze:function(t){return s&&c(t)?s(u(t)):t}})},2023:function(t,e,n){"use strict";var r=n(2109),o=n(3929),i=n(4488),c=n(1340);r({target:"String",proto:!0,forced:!n(4964)("includes")},{includes:function(t){return!!~c(i(this)).indexOf(c(o(t)),arguments.length>1?arguments[1]:void 0)}})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}();var r={};return function(){"use strict";n(8309);function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n(9653),n(6699),n(2023),n(3371),Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34});var e=Object.freeze({hover:"cds-state-hover",focus:"cds-state-focus",active:"cds-state-active",visited:"cds-state-visited",disabled:"cds-state-disabled",checked:"cds-state-checked",indeterminate:"cds-state-indeterminate",invalid:"cds-state-invalid",empty:"cds-state-empty",loading:"cds-state-loading"});function r(t,e,n,r,o,i,c,u){var s,a="function"==typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),c?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},a._ssrRegister=s):o&&(s=u?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(a.functional){a._injectStyles=s;var f=a.render;a.render=function(t,e){return s.call(e),f(t,e)}}else{var l=a.beforeCreate;a.beforeCreate=l?[].concat(l,s):[s]}return{exports:t,options:a}}var o=r({name:"CdsStages",props:{current:{type:[Number,String],default:0,description:"Текущий этап"},stages:{type:Array,required:!0,description:"Этапы",validator:function(t){var e=t.every((function(t){return"string"==typeof t}));return e||console.warn("CdsStages.stages - значение должно содержать массивом строк"),e}},errors:{type:Array,default:function(){return[]},description:"Этапы с ошибками (массив чисел)"},error:{type:Boolean,default:!1,description:"Состояние ошибки"}},data:function(){return{stateClasses:e}},computed:{innerStyle:function(){return"grid-template-columns: repeat(".concat(this.stages.length,", 1fr);")}},methods:{_isCurrent:function(t){return+this.current===t+1},_isSuccess:function(t){return+this.current>t+1},_isErrors:function(t){return this.errors.includes(t+1)},_isError:function(t){return this._isCurrent(t)&&this.error},_getItemClasses:function(e){var n;return["cds-stages__item",(n={},t(n,this.stateClasses.active,this._isCurrent(e)),t(n,this.stateClasses.checked,this._isSuccess(e)),t(n,this.stateClasses.invalid,this._isErrors(e)),t(n,this.stateClasses.invalid,this._isError(e)),n)]}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",t._g({staticClass:"cds-stages",style:t.innerStyle},t.$listeners),t._l(t.stages,(function(e,r){return n("li",{key:r,class:t._getItemClasses(r)},[0!==r?n("svg",{staticClass:"cds-stages__arrow cds-stages__arrow--before",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 11 32",width:"11",height:"32"}},[!t._isCurrent(r)||t._isErrors(r)||t._isError(r)?n("path",{attrs:{d:"M12 0v1H1.618l7.5 15-7.5 15H12v1H0l8-16L0 0z"}}):n("path",{attrs:{"fill-rule":"evenodd",d:"M12 0v2H3.235l7.001 14-7.001 14H12v2H0l8-16L0 0z"}})]):t._e(),t._v(" "),n("span",[t._v(t._s(e))]),t._v(" "),r!==t.stages.length-1?n("svg",{staticClass:"cds-stages__arrow cds-stages__arrow--after",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 11 32",width:"11",height:"32"}},[!t._isCurrent(r)||t._isErrors(r)||t._isError(r)?n("path",{attrs:{d:"M1 0l8 16-8 16H0v-1h.383l7.499-15-7.5-15H0V0z"}}):n("path",{attrs:{"fill-rule":"evenodd",d:"M2.5 0l8 16-8 16h-2v-2h.765l7-14L1.264 2H.5V0z"}})]):t._e()])})),0)}),[],!1,null,null,null).exports,i=r({name:"CdsStagesSkeleton"},(function(){var t=this.$createElement;return(this._self._c||t)("cds-skeleton",{attrs:{width:"100%",height:"32px"}})}),[],!1,null,null,null).exports;o.install=function(t){t.component(o.name,o)},i.install=function(t){t.component(i.name,i)},"undefined"!=typeof window&&window.Vue&&(o.install(window.Vue),i.install(window.Vue))}(),r=r.default}()}));
8
+ !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.CdsStages=n():t.CdsStages=n()}("undefined"!=typeof self?self:this,(function(){return function(){var t={9662:function(t,n,r){var e=r(7854),o=r(614),i=r(6330),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},6077:function(t,n,r){var e=r(7854),o=r(614),i=e.String,u=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},1223:function(t,n,r){var e=r(5112),o=r(30),i=r(3070),u=e("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},9670:function(t,n,r){var e=r(7854),o=r(111),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},7556:function(t,n,r){var e=r(7293);t.exports=e((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},1318:function(t,n,r){var e=r(5656),o=r(1400),i=r(6244),u=function(t){return function(n,r,u){var c,s=e(n),a=i(s),f=o(u,a);if(t&&r!=r){for(;a>f;)if((c=s[f++])!=c)return!0}else for(;a>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},1589:function(t,n,r){var e=r(7854),o=r(1400),i=r(6244),u=r(6135),c=e.Array,s=Math.max;t.exports=function(t,n,r){for(var e=i(t),a=o(n,e),f=o(void 0===r?e:r,e),p=c(s(f-a,0)),l=0;a<f;a++,l++)u(p,l,t[a]);return p.length=l,p}},4326:function(t,n,r){var e=r(1702),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:function(t,n,r){var e=r(7854),o=r(1694),i=r(614),u=r(4326),c=r(5112)("toStringTag"),s=e.Object,a="Arguments"==u(function(){return arguments}());t.exports=o?u:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=s(t),c))?r:a?u(n):"Object"==(e=u(n))&&i(n.callee)?"Arguments":e}},9920:function(t,n,r){var e=r(2597),o=r(3887),i=r(1236),u=r(3070);t.exports=function(t,n){for(var r=o(n),c=u.f,s=i.f,a=0;a<r.length;a++){var f=r[a];e(t,f)||c(t,f,s(n,f))}}},4964:function(t,n,r){var e=r(5112)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,"/./"[t](n)}catch(t){}}return!1}},8880:function(t,n,r){var e=r(9781),o=r(3070),i=r(9114);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},9114:function(t){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},6135:function(t,n,r){"use strict";var e=r(4948),o=r(3070),i=r(9114);t.exports=function(t,n,r){var u=e(n);u in t?o.f(t,u,i(0,r)):t[u]=r}},9781:function(t,n,r){var e=r(7293);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,n,r){var e=r(7854),o=r(111),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},8113:function(t,n,r){var e=r(5005);t.exports=e("navigator","userAgent")||""},7392:function(t,n,r){var e,o,i=r(7854),u=r(8113),c=i.process,s=i.Deno,a=c&&c.versions||s&&s.version,f=a&&a.v8;f&&(o=(e=f.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,n,r){var e=r(7854),o=r(1236).f,i=r(8880),u=r(1320),c=r(3505),s=r(9920),a=r(4705);t.exports=function(t,n){var r,f,p,l,v,d=t.target,h=t.global,g=t.stat;if(r=h?e:g?e[d]||c(d,{}):(e[d]||{}).prototype)for(f in n){if(l=n[f],p=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!a(h?f:d+(g?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;s(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,f,l,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},6677:function(t,n,r){var e=r(7293);t.exports=!e((function(){return Object.isExtensible(Object.preventExtensions({}))}))},6916:function(t){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},6530:function(t,n,r){var e=r(9781),o=r(2597),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,a=c&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:a}},1702:function(t){var n=Function.prototype,r=n.bind,e=n.call,o=r&&r.bind(e);t.exports=r?function(t){return t&&o(e,t)}:function(t){return t&&function(){return e.apply(t,arguments)}}},5005:function(t,n,r){var e=r(7854),o=r(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},8173:function(t,n,r){var e=r(9662);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},7854:function(t,n,r){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},2597:function(t,n,r){var e=r(1702),o=r(7908),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},3501:function(t){t.exports={}},490:function(t,n,r){var e=r(5005);t.exports=e("document","documentElement")},4664:function(t,n,r){var e=r(9781),o=r(7293),i=r(317);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,n,r){var e=r(7854),o=r(1702),i=r(7293),u=r(4326),c=e.Object,s=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?s(t,""):c(t)}:c},9587:function(t,n,r){var e=r(614),o=r(111),i=r(7674);t.exports=function(t,n,r){var u,c;return i&&e(u=n.constructor)&&u!==r&&o(c=u.prototype)&&c!==r.prototype&&i(t,c),t}},2788:function(t,n,r){var e=r(1702),o=r(614),i=r(5465),u=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},2423:function(t,n,r){var e=r(2109),o=r(1702),i=r(3501),u=r(111),c=r(2597),s=r(3070).f,a=r(8006),f=r(1156),p=r(2050),l=r(9711),v=r(6677),d=!1,h=l("meta"),g=0,y=function(t){s(t,h,{value:{objectID:"O"+g++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},d=!0;var t=a.f,n=o([].splice),r={};r[h]=1,t(r).length&&(a.f=function(r){for(var e=t(r),o=0,i=e.length;o<i;o++)if(e[o]===h){n(e,o,1);break}return e},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,n){if(!u(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,h)){if(!p(t))return"F";if(!n)return"E";y(t)}return t[h].objectID},getWeakData:function(t,n){if(!c(t,h)){if(!p(t))return!0;if(!n)return!1;y(t)}return t[h].weakData},onFreeze:function(t){return v&&d&&p(t)&&!c(t,h)&&y(t),t}};i[h]=!0},9909:function(t,n,r){var e,o,i,u=r(8536),c=r(7854),s=r(1702),a=r(111),f=r(8880),p=r(2597),l=r(5465),v=r(6200),d=r(3501),h="Object already initialized",g=c.TypeError,y=c.WeakMap;if(u||l.state){var b=l.state||(l.state=new y),m=s(b.get),x=s(b.has),w=s(b.set);e=function(t,n){if(x(b,t))throw new g(h);return n.facade=t,w(b,t,n),n},o=function(t){return m(b,t)||{}},i=function(t){return x(b,t)}}else{var _=v("state");d[_]=!0,e=function(t,n){if(p(t,_))throw new g(h);return n.facade=t,f(t,_,n),n},o=function(t){return p(t,_)?t[_]:{}},i=function(t){return p(t,_)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!a(n)||(r=o(n)).type!==t)throw g("Incompatible receiver, "+t+" required");return r}}}},614:function(t){t.exports=function(t){return"function"==typeof t}},4705:function(t,n,r){var e=r(7293),o=r(614),i=/#|\.prototype\./,u=function(t,n){var r=s[c(t)];return r==f||r!=a&&(o(n)?e(n):!!n)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=u.data={},a=u.NATIVE="N",f=u.POLYFILL="P";t.exports=u},111:function(t,n,r){var e=r(614);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},1913:function(t){t.exports=!1},7850:function(t,n,r){var e=r(111),o=r(4326),i=r(5112)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},2190:function(t,n,r){var e=r(7854),o=r(5005),i=r(614),u=r(7976),c=r(3307),s=e.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&u(n.prototype,s(t))}},6244:function(t,n,r){var e=r(7466);t.exports=function(t){return e(t.length)}},133:function(t,n,r){var e=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},8536:function(t,n,r){var e=r(7854),o=r(614),i=r(2788),u=e.WeakMap;t.exports=o(u)&&/native code/.test(i(u))},3929:function(t,n,r){var e=r(7854),o=r(7850),i=e.TypeError;t.exports=function(t){if(o(t))throw i("The method doesn't accept regular expressions");return t}},30:function(t,n,r){var e,o=r(9670),i=r(6048),u=r(748),c=r(3501),s=r(490),a=r(317),f=r(6200),p=f("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"</"+"script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;h="undefined"!=typeof document?document.domain&&e?d(e):((n=a("iframe")).style.display="none",s.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(e);for(var r=u.length;r--;)delete h.prototype[u[r]];return h()};c[p]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(l.prototype=o(t),r=new l,l.prototype=null,r[p]=t):r=h(),void 0===n?r:i(r,n)}},6048:function(t,n,r){var e=r(9781),o=r(3070),i=r(9670),u=r(5656),c=r(1956);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),s=c(n),a=s.length,f=0;a>f;)o.f(t,r=s[f++],e[r]);return t}},3070:function(t,n,r){var e=r(7854),o=r(9781),i=r(4664),u=r(9670),c=r(4948),s=e.TypeError,a=Object.defineProperty;n.f=o?a:function(t,n,r){if(u(t),n=c(n),u(r),i)try{return a(t,n,r)}catch(t){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},1236:function(t,n,r){var e=r(9781),o=r(6916),i=r(5296),u=r(9114),c=r(5656),s=r(4948),a=r(2597),f=r(4664),p=Object.getOwnPropertyDescriptor;n.f=e?p:function(t,n){if(t=c(t),n=s(n),f)try{return p(t,n)}catch(t){}if(a(t,n))return u(!o(i.f,t,n),t[n])}},1156:function(t,n,r){var e=r(4326),o=r(5656),i=r(8006).f,u=r(1589),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"==e(t)?function(t){try{return i(t)}catch(t){return u(c)}}(t):i(o(t))}},8006:function(t,n,r){var e=r(6324),o=r(748).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},5181:function(t,n){n.f=Object.getOwnPropertySymbols},2050:function(t,n,r){var e=r(7293),o=r(111),i=r(4326),u=r(7556),c=Object.isExtensible,s=e((function(){c(1)}));t.exports=s||u?function(t){return!!o(t)&&((!u||"ArrayBuffer"!=i(t))&&(!c||c(t)))}:c},7976:function(t,n,r){var e=r(1702);t.exports=e({}.isPrototypeOf)},6324:function(t,n,r){var e=r(1702),o=r(2597),i=r(5656),u=r(1318).indexOf,c=r(3501),s=e([].push);t.exports=function(t,n){var r,e=i(t),a=0,f=[];for(r in e)!o(c,r)&&o(e,r)&&s(f,r);for(;n.length>a;)o(e,r=n[a++])&&(~u(f,r)||s(f,r));return f}},1956:function(t,n,r){var e=r(6324),o=r(748);t.exports=Object.keys||function(t){return e(t,o)}},5296:function(t,n){"use strict";var r={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,o=e&&!r.call({1:2},1);n.f=o?function(t){var n=e(this,t);return!!n&&n.enumerable}:r},7674:function(t,n,r){var e=r(1702),o=r(9670),i=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(t){}return function(r,e){return o(r),i(e),n?t(r,e):r.__proto__=e,r}}():void 0)},288:function(t,n,r){"use strict";var e=r(1694),o=r(648);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},2140:function(t,n,r){var e=r(7854),o=r(6916),i=r(614),u=r(111),c=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!u(e=o(r,t)))return e;if(i(r=t.valueOf)&&!u(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!u(e=o(r,t)))return e;throw c("Can't convert object to primitive value")}},3887:function(t,n,r){var e=r(5005),o=r(1702),i=r(8006),u=r(5181),c=r(9670),s=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(c(t)),r=u.f;return r?s(n,r(t)):n}},1320:function(t,n,r){var e=r(7854),o=r(614),i=r(2597),u=r(8880),c=r(3505),s=r(2788),a=r(9909),f=r(6530).CONFIGURABLE,p=a.get,l=a.enforce,v=String(String).split("String");(t.exports=function(t,n,r,s){var a,p=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet,g=s&&void 0!==s.name?s.name:n;o(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==g)&&u(r,"name",g),(a=l(r)).source||(a.source=v.join("string"==typeof g?g:""))),t!==e?(p?!h&&t[n]&&(d=!0):delete t[n],d?t[n]=r:u(t,n,r)):d?t[n]=r:c(n,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||s(this)}))},4488:function(t,n,r){var e=r(7854).TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},3505:function(t,n,r){var e=r(7854),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},6200:function(t,n,r){var e=r(2309),o=r(9711),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,n,r){var e=r(7854),o=r(3505),i="__core-js_shared__",u=e[i]||o(i,{});t.exports=u},2309:function(t,n,r){var e=r(1913),o=r(5465);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.19.3",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},3111:function(t,n,r){var e=r(1702),o=r(4488),i=r(1340),u=r(1361),c=e("".replace),s="["+u+"]",a=RegExp("^"+s+s+"*"),f=RegExp(s+s+"*$"),p=function(t){return function(n){var r=i(o(n));return 1&t&&(r=c(r,a,"")),2&t&&(r=c(r,f,"")),r}};t.exports={start:p(1),end:p(2),trim:p(3)}},863:function(t,n,r){var e=r(1702);t.exports=e(1..valueOf)},1400:function(t,n,r){var e=r(9303),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},5656:function(t,n,r){var e=r(8361),o=r(4488);t.exports=function(t){return e(o(t))}},9303:function(t){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?r:n)(e)}},7466:function(t,n,r){var e=r(9303),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},7908:function(t,n,r){var e=r(7854),o=r(4488),i=e.Object;t.exports=function(t){return i(o(t))}},7593:function(t,n,r){var e=r(7854),o=r(6916),i=r(111),u=r(2190),c=r(8173),s=r(2140),a=r(5112),f=e.TypeError,p=a("toPrimitive");t.exports=function(t,n){if(!i(t)||u(t))return t;var r,e=c(t,p);if(e){if(void 0===n&&(n="default"),r=o(e,t,n),!i(r)||u(r))return r;throw f("Can't convert object to primitive value")}return void 0===n&&(n="number"),s(t,n)}},4948:function(t,n,r){var e=r(7593),o=r(2190);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},1694:function(t,n,r){var e={};e[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(e)},1340:function(t,n,r){var e=r(7854),o=r(648),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:function(t,n,r){var e=r(7854).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:function(t,n,r){var e=r(1702),o=0,i=Math.random(),u=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},3307:function(t,n,r){var e=r(133);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,n,r){var e=r(7854),o=r(2309),i=r(2597),u=r(9711),c=r(133),s=r(3307),a=o("wks"),f=e.Symbol,p=f&&f.for,l=s?f:f&&f.withoutSetter||u;t.exports=function(t){if(!i(a,t)||!c&&"string"!=typeof a[t]){var n="Symbol."+t;c&&i(f,t)?a[t]=f[t]:a[t]=s&&p?p(n):l(n)}return a[t]}},1361:function(t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},6699:function(t,n,r){"use strict";var e=r(2109),o=r(1318).includes,i=r(1223);e({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},8309:function(t,n,r){var e=r(9781),o=r(6530).EXISTS,i=r(1702),u=r(3070).f,c=Function.prototype,s=i(c.toString),a=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(a.exec);e&&!o&&u(c,"name",{configurable:!0,get:function(){try{return f(a,s(this))[1]}catch(t){return""}}})},9653:function(t,n,r){"use strict";var e=r(9781),o=r(7854),i=r(1702),u=r(4705),c=r(1320),s=r(2597),a=r(9587),f=r(7976),p=r(2190),l=r(7593),v=r(7293),d=r(8006).f,h=r(1236).f,g=r(3070).f,y=r(863),b=r(3111).trim,m="Number",x=o.Number,w=x.prototype,_=o.TypeError,O=i("".slice),S=i("".charCodeAt),j=function(t){var n=l(t,"number");return"bigint"==typeof n?n:E(n)},E=function(t){var n,r,e,o,i,u,c,s,a=l(t,"number");if(p(a))throw _("Cannot convert a Symbol value to a number");if("string"==typeof a&&a.length>2)if(a=b(a),43===(n=S(a,0))||45===n){if(88===(r=S(a,2))||120===r)return NaN}else if(48===n){switch(S(a,1)){case 66:case 98:e=2,o=49;break;case 79:case 111:e=8,o=55;break;default:return+a}for(u=(i=O(a,2)).length,c=0;c<u;c++)if((s=S(i,c))<48||s>o)return NaN;return parseInt(i,e)}return+a};if(u(m,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var C,I=function(t){var n=arguments.length<1?0:x(j(t)),r=this;return f(w,r)&&v((function(){y(r)}))?a(Object(n),r,I):n},T=e?d(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),N=0;T.length>N;N++)s(x,C=T[N])&&!s(I,C)&&g(I,C,h(x,C));I.prototype=w,w.constructor=I,c(o,m,I)}},3371:function(t,n,r){var e=r(2109),o=r(6677),i=r(7293),u=r(111),c=r(2423).onFreeze,s=Object.freeze;e({target:"Object",stat:!0,forced:i((function(){s(1)})),sham:!o},{freeze:function(t){return s&&u(t)?s(c(t)):t}})},1539:function(t,n,r){var e=r(1694),o=r(1320),i=r(288);e||o(Object.prototype,"toString",i,{unsafe:!0})},2023:function(t,n,r){"use strict";var e=r(2109),o=r(1702),i=r(3929),u=r(4488),c=r(1340),s=r(4964),a=o("".indexOf);e({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~a(c(u(this)),c(i(t)),arguments.length>1?arguments[1]:void 0)}})}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}();var e={};return function(){"use strict";r(8309);function t(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r(9653),r(1539),r(6699),r(2023),r(3371),Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34});var n=Object.freeze({hover:"cds-state-hover",focus:"cds-state-focus",active:"cds-state-active",visited:"cds-state-visited",disabled:"cds-state-disabled",checked:"cds-state-checked",indeterminate:"cds-state-indeterminate",invalid:"cds-state-invalid",empty:"cds-state-empty",loading:"cds-state-loading"});function e(t,n,r,e,o,i,u,c){var s,a="function"==typeof t?t.options:t;if(n&&(a.render=n,a.staticRenderFns=r,a._compiled=!0),e&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),u?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},a._ssrRegister=s):o&&(s=c?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(a.functional){a._injectStyles=s;var f=a.render;a.render=function(t,n){return s.call(n),f(t,n)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,s):[s]}return{exports:t,options:a}}var o=e({name:"CdsStages",props:{current:{type:[Number,String],default:0,description:"Текущий этап"},stages:{type:Array,required:!0,description:"Этапы",validator:function(t){var n=t.every((function(t){return"string"==typeof t}));return n||console.warn("CdsStages.stages - значение должно содержать массивом строк"),n}},errors:{type:Array,default:function(){return[]},description:"Этапы с ошибками (массив чисел)"},error:{type:Boolean,default:!1,description:"Состояние ошибки"}},data:function(){return{stateClasses:n}},computed:{innerStyle:function(){return"grid-template-columns: repeat(".concat(this.stages.length,", 1fr);")}},methods:{_isCurrent:function(t){return+this.current===t+1},_isSuccess:function(t){return+this.current>t+1},_isErrors:function(t){return this.errors.includes(t+1)},_isError:function(t){return this._isCurrent(t)&&this.error},_getItemClasses:function(n){var r;return["cds-stages__item",(r={},t(r,this.stateClasses.active,this._isCurrent(n)),t(r,this.stateClasses.checked,this._isSuccess(n)),t(r,this.stateClasses.invalid,this._isErrors(n)),t(r,this.stateClasses.invalid,this._isError(n)),r)]}}},(function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("ul",t._g({staticClass:"cds-stages",style:t.innerStyle},t.$listeners),t._l(t.stages,(function(n,e){return r("li",{key:e,class:t._getItemClasses(e)},[0!==e?r("svg",{staticClass:"cds-stages__arrow cds-stages__arrow--before",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 11 32",width:"11",height:"32"}},[!t._isCurrent(e)||t._isErrors(e)||t._isError(e)?r("path",{attrs:{d:"M12 0v1H1.618l7.5 15-7.5 15H12v1H0l8-16L0 0z"}}):r("path",{attrs:{"fill-rule":"evenodd",d:"M12 0v2H3.235l7.001 14-7.001 14H12v2H0l8-16L0 0z"}})]):t._e(),t._v(" "),r("span",[t._v(t._s(n))]),t._v(" "),e!==t.stages.length-1?r("svg",{staticClass:"cds-stages__arrow cds-stages__arrow--after",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 11 32",width:"11",height:"32"}},[!t._isCurrent(e)||t._isErrors(e)||t._isError(e)?r("path",{attrs:{d:"M1 0l8 16-8 16H0v-1h.383l7.499-15-7.5-15H0V0z"}}):r("path",{attrs:{"fill-rule":"evenodd",d:"M2.5 0l8 16-8 16h-2v-2h.765l7-14L1.264 2H.5V0z"}})]):t._e()])})),0)}),[],!1,null,null,null).exports,i=e({name:"CdsStagesSkeleton"},(function(){var t=this.$createElement;return(this._self._c||t)("cds-skeleton",{attrs:{width:"100%",height:"32px"}})}),[],!1,null,null,null).exports;o.install=function(t){t.component(o.name,o)},i.install=function(t){t.component(i.name,i)},"undefined"!=typeof window&&window.Vue&&(o.install(window.Vue),i.install(window.Vue))}(),e=e.default}()}));
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * CDS v2.8.0 (https://cds.b2b-center.ru/)
2
+ * CDS v2.10.0 (https://cds.b2b-center.ru/)
3
3
  *
4
4
  * @package @central-design-system/components
5
5
  * @author Design System Team <cds@b2b-center.ru>
6
- * © 2021, B2B-Center. (https://b2b-center.ru/)
6
+ * © 2022, B2B-Center. (https://b2b-center.ru/)
7
7
  */
8
8
  .cds-stages{display:grid;list-style:none;margin:0;padding:0;border:0}@media (max-width: 42rem){.cds-stages{align-self:baseline;overflow-x:scroll}}.cds-stages .cds-stages__item{display:flex;justify-content:center;align-items:center;position:relative;height:2rem;padding:0 1rem;margin:0;margin-right:.5rem;color:var(--cds-color-disabled-02);border:var(--cds-border-element-01) var(--cds-color-disabled-02);border-left-color:transparent;border-right-color:transparent;list-style:none;font-family:var(--cds-font-family-sans);font-size:var(--cds-font-body-size-s);line-height:var(--cds-font-height-helper);font-weight:var(--cds-font-weight-normal);max-width:28rem}.cds-stages .cds-stages__item:after,.cds-stages .cds-stages__item:before{content:none}.cds-stages .cds-stages__item svg{fill:var(--cds-color-disabled-02)}.cds-stages .cds-stages__item:first-child{border-left-color:var(--cds-color-disabled-02);border-top-left-radius:var(--cds-border-radius-s);border-bottom-left-radius:var(--cds-border-radius-s)}.cds-stages .cds-stages__item:last-child{border-right-color:var(--cds-color-disabled-02);border-top-right-radius:var(--cds-border-radius-s);border-bottom-right-radius:var(--cds-border-radius-s);margin-right:0}.cds-stages .cds-stages__item.cds-state-active{color:var(--cds-color-text-primary);border:var(--cds-border-element-02) var(--cds-color-feedback-progress-100);border-left-color:transparent;border-right-color:transparent;z-index:1}.cds-stages .cds-stages__item.cds-state-active svg{fill:var(--cds-color-feedback-progress-100)}.cds-stages .cds-stages__item.cds-state-active:first-child{border-left-color:var(--cds-color-feedback-progress-100)}.cds-stages .cds-stages__item.cds-state-active:last-child{border-right-color:var(--cds-color-feedback-progress-100)}.cds-stages .cds-stages__item.cds-state-active .cds-stages__arrow--before{left:-.6875rem}.cds-stages .cds-stages__item.cds-state-checked{color:var(--cds-color-text-primary);border:var(--cds-border-element-01) var(--cds-color-feedback-success-100);border-left-color:transparent;border-right-color:transparent}.cds-stages .cds-stages__item.cds-state-checked svg{fill:var(--cds-color-feedback-success-100)}.cds-stages .cds-stages__item.cds-state-checked:first-child{border-left-color:var(--cds-color-feedback-success-100)}.cds-stages .cds-stages__item.cds-state-checked:last-child{border-right-color:var(--cds-color-feedback-success-100)}.cds-stages .cds-stages__item.cds-state-invalid{color:var(--cds-color-text-primary);border:var(--cds-border-element-01) var(--cds-color-feedback-error-100);border-left-color:transparent;border-right-color:transparent;z-index:1}.cds-stages .cds-stages__item.cds-state-invalid svg{fill:var(--cds-color-feedback-error-100)}.cds-stages .cds-stages__item.cds-state-invalid:first-child{border-left-color:var(--cds-color-feedback-error-100)}.cds-stages .cds-stages__item.cds-state-invalid:last-child{border-right-color:var(--cds-color-feedback-error-100)}.cds-stages .cds-stages__item.cds-state-invalid .cds-stages__arrow--before{left:-.625rem}.cds-stages__arrow{position:absolute}.cds-stages__arrow--before{left:-.625rem}.cds-stages__arrow--after{right:-.6875rem}
9
9