Skip to content

Commit 3280e64

Browse files
committed
fix: include dayjs in build
1 parent b7c592a commit 3280e64

18 files changed

+337
-26
lines changed

dist/components/form/index.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/form/index.es.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/index.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/index.es.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dayjs.min-BDMWgl2D.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";function et(_){return _&&_.__esModule&&Object.prototype.hasOwnProperty.call(_,"default")?_.default:_}var N={exports:{}},I={exports:{}},rt=I.exports,V;function R(){return V||(V=1,(function(_,B){(function(O,p){_.exports=p()})(rt,(function(){var O=1e3,p=6e4,W=36e5,L="millisecond",l="second",M="minute",v="hour",D="day",A="week",y="month",U="quarter",S="year",T="date",G="Invalid Date",Q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,K=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var r=["th","st","nd","rd"],t=s%100;return"["+s+(r[(t-20)%10]||r[t]||r[0])+"]"}},q=function(s,r,t){var n=String(s);return!n||n.length>=r?s:""+Array(r+1-n.length).join(t)+s},tt={s:q,z:function(s){var r=-s.utcOffset(),t=Math.abs(r),n=Math.floor(t/60),e=t%60;return(r<=0?"+":"-")+q(n,2,"0")+":"+q(e,2,"0")},m:function s(r,t){if(r.date()<t.date())return-s(t,r);var n=12*(t.year()-r.year())+(t.month()-r.month()),e=r.clone().add(n,y),i=t-e<0,a=r.clone().add(n+(i?-1:1),y);return+(-(n+(t-e)/(i?e-a:a-e))||0)},a:function(s){return s<0?Math.ceil(s)||0:Math.floor(s)},p:function(s){return{M:y,y:S,w:A,d:D,D:T,h:v,m:M,s:l,ms:L,Q:U}[s]||String(s||"").toLowerCase().replace(/s$/,"")},u:function(s){return s===void 0}},k="en",w={};w[k]=X;var Z="$isDayjsObject",E=function(s){return s instanceof J||!(!s||!s[Z])},F=function s(r,t,n){var e;if(!r)return k;if(typeof r=="string"){var i=r.toLowerCase();w[i]&&(e=i),t&&(w[i]=t,e=i);var a=r.split("-");if(!e&&a.length>1)return s(a[0])}else{var o=r.name;w[o]=r,e=o}return!n&&e&&(k=e),e||!n&&k},f=function(s,r){if(E(s))return s.clone();var t=typeof r=="object"?r:{};return t.date=s,t.args=arguments,new J(t)},u=tt;u.l=F,u.i=E,u.w=function(s,r){return f(s,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var J=(function(){function s(t){this.$L=F(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[Z]=!0}var r=s.prototype;return r.parse=function(t){this.$d=(function(n){var e=n.date,i=n.utc;if(e===null)return new Date(NaN);if(u.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var a=e.match(Q);if(a){var o=a[2]-1||0,c=(a[7]||"0").substring(0,3);return i?new Date(Date.UTC(a[1],o,a[3]||1,a[4]||0,a[5]||0,a[6]||0,c)):new Date(a[1],o,a[3]||1,a[4]||0,a[5]||0,a[6]||0,c)}}return new Date(e)})(t),this.init()},r.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},r.$utils=function(){return u},r.isValid=function(){return this.$d.toString()!==G},r.isSame=function(t,n){var e=f(t);return this.startOf(n)<=e&&e<=this.endOf(n)},r.isAfter=function(t,n){return f(t)<this.startOf(n)},r.isBefore=function(t,n){return this.endOf(n)<f(t)},r.$g=function(t,n,e){return u.u(t)?this[n]:this.set(e,t)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(t,n){var e=this,i=!!u.u(n)||n,a=u.p(t),o=function(Y,$){var g=u.w(e.$u?Date.UTC(e.$y,$,Y):new Date(e.$y,$,Y),e);return i?g:g.endOf(D)},c=function(Y,$){return u.w(e.toDate()[Y].apply(e.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice($)),e)},d=this.$W,h=this.$M,m=this.$D,H="set"+(this.$u?"UTC":"");switch(a){case S:return i?o(1,0):o(31,11);case y:return i?o(1,h):o(0,h+1);case A:var b=this.$locale().weekStart||0,x=(d<b?d+7:d)-b;return o(i?m-x:m+(6-x),h);case D:case T:return c(H+"Hours",0);case v:return c(H+"Minutes",1);case M:return c(H+"Seconds",2);case l:return c(H+"Milliseconds",3);default:return this.clone()}},r.endOf=function(t){return this.startOf(t,!1)},r.$set=function(t,n){var e,i=u.p(t),a="set"+(this.$u?"UTC":""),o=(e={},e[D]=a+"Date",e[T]=a+"Date",e[y]=a+"Month",e[S]=a+"FullYear",e[v]=a+"Hours",e[M]=a+"Minutes",e[l]=a+"Seconds",e[L]=a+"Milliseconds",e)[i],c=i===D?this.$D+(n-this.$W):n;if(i===y||i===S){var d=this.clone().set(T,1);d.$d[o](c),d.init(),this.$d=d.set(T,Math.min(this.$D,d.daysInMonth())).$d}else o&&this.$d[o](c);return this.init(),this},r.set=function(t,n){return this.clone().$set(t,n)},r.get=function(t){return this[u.p(t)]()},r.add=function(t,n){var e,i=this;t=Number(t);var a=u.p(n),o=function(h){var m=f(i);return u.w(m.date(m.date()+Math.round(h*t)),i)};if(a===y)return this.set(y,this.$M+t);if(a===S)return this.set(S,this.$y+t);if(a===D)return o(1);if(a===A)return o(7);var c=(e={},e[M]=p,e[v]=W,e[l]=O,e)[a]||1,d=this.$d.getTime()+t*c;return u.w(d,this)},r.subtract=function(t,n){return this.add(-1*t,n)},r.format=function(t){var n=this,e=this.$locale();if(!this.isValid())return e.invalidDate||G;var i=t||"YYYY-MM-DDTHH:mm:ssZ",a=u.z(this),o=this.$H,c=this.$m,d=this.$M,h=e.weekdays,m=e.months,H=e.meridiem,b=function($,g,j,C){return $&&($[g]||$(n,i))||j[g].slice(0,C)},x=function($){return u.s(o%12||12,$,"0")},Y=H||function($,g,j){var C=$<12?"AM":"PM";return j?C.toLowerCase():C};return i.replace(K,(function($,g){return g||(function(j){switch(j){case"YY":return String(n.$y).slice(-2);case"YYYY":return u.s(n.$y,4,"0");case"M":return d+1;case"MM":return u.s(d+1,2,"0");case"MMM":return b(e.monthsShort,d,m,3);case"MMMM":return b(m,d);case"D":return n.$D;case"DD":return u.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return b(e.weekdaysMin,n.$W,h,2);case"ddd":return b(e.weekdaysShort,n.$W,h,3);case"dddd":return h[n.$W];case"H":return String(o);case"HH":return u.s(o,2,"0");case"h":return x(1);case"hh":return x(2);case"a":return Y(o,c,!0);case"A":return Y(o,c,!1);case"m":return String(c);case"mm":return u.s(c,2,"0");case"s":return String(n.$s);case"ss":return u.s(n.$s,2,"0");case"SSS":return u.s(n.$ms,3,"0");case"Z":return a}return null})($)||a.replace(":","")}))},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(t,n,e){var i,a=this,o=u.p(n),c=f(t),d=(c.utcOffset()-this.utcOffset())*p,h=this-c,m=function(){return u.m(a,c)};switch(o){case S:i=m()/12;break;case y:i=m();break;case U:i=m()/3;break;case A:i=(h-d)/6048e5;break;case D:i=(h-d)/864e5;break;case v:i=h/W;break;case M:i=h/p;break;case l:i=h/O;break;default:i=h}return e?i:u.a(i)},r.daysInMonth=function(){return this.endOf(y).$D},r.$locale=function(){return w[this.$L]},r.locale=function(t,n){if(!t)return this.$L;var e=this.clone(),i=F(t,n,!0);return i&&(e.$L=i),e},r.clone=function(){return u.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},s})(),z=J.prototype;return f.prototype=z,[["$ms",L],["$s",l],["$m",M],["$H",v],["$W",D],["$M",y],["$y",S],["$D",T]].forEach((function(s){z[s[1]]=function(r){return this.$g(r,s[0],s[1])}})),f.extend=function(s,r){return s.$i||(s(r,J,f),s.$i=!0),f},f.locale=F,f.isDayjs=E,f.unix=function(s){return f(1e3*s)},f.en=w[k],f.Ls=w,f.p={},f}))})(I)),I.exports}var nt=N.exports,P;function st(){return P||(P=1,(function(_,B){(function(O,p){_.exports=p(R())})(nt,(function(O){function p(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var W=p(O),L={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(l){var M=["th","st","nd","rd"],v=l%100;return"["+l+(M[(v-20)%10]||M[v]||M[0])+"]"}};return W.default.locale(L,null,!0),L}))})(N)),N.exports}st();var it=R();const at=et(it);exports.dayjs=at;
2+
//# sourceMappingURL=dayjs.min-BDMWgl2D.cjs.map

dist/dayjs.min-BDMWgl2D.cjs.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)