UNPKG

@dakingindanorf/hive

Version:

A template for creating a nuxt generated static site using Netlify CMS to power the backend. Individual site components can be managed through Bit

1 lines 3.04 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{555:function(t,e,r){"use strict";r.r(e);r(19),r(11),r(18),r(21),r(15),r(22),r(42),r(12),r(31),r(41),r(23),r(43),r(44),r(28);var n=r(5),o=r(7),c=(r(40),r(294),r(313)),f=r.n(c),l=r(295),y=r.n(l),d=r(8),m=r(314),O=r(333),v=r(304),h=r.t(v,2),w=r(305),j=r.t(w,2),P=r(306),A=r.t(P,2),C=r(307),S=r.t(C,2),_=r(308),x=r.t(_,2),I=r(309),k=r.t(I,2),D=r(310),E=r.t(D,2),M=r(311),B=r.t(M,2),J=r(312),N=r.t(J,2);function R(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,f=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){f=!0,o=t},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function U(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function W(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?U(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):U(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}window.CMS_MANUAL_INIT=!0;var $=[h,j,A,S,x,k,E,B,N],L={layout:"admin",computed:W({},Object(d.c)(["demoConfig"])),mounted:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o,element;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y.a.init(),r=[],n=R($);try{for(n.s();!(o=n.n()).done;)element=o.value,r.push(Object.values(element.default)[0].fields)}catch(t){n.e(t)}finally{n.f()}return e.next=6,t.mergeBits(r);case 6:return e.next=8,f.a.init({config:t.demoConfig});case 8:f.a.registerWidget("color",m.ColorControl,m.ColorPreview),f.a.registerWidget("bits",O.b,O.a);case 10:case"end":return e.stop()}}),e)})))()},methods:W({},Object(d.b)(["mergeBits"]))},z=r(10),component=Object(z.a)(L,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"hive__cms"})}),[],!1,null,null,null);e.default=component.exports}}]);