@cleartrip/ct-design-common-constants
Advanced tools
Comparing version 2.14.0 to 2.15.0-SNAPSHOT-calendar.0
@@ -1,2 +0,2 @@ | ||
"use strict";var o,t,e,s,r,p,n,a,T,i,x;exports.ButtonVariant=void 0,(o=exports.ButtonVariant||(exports.ButtonVariant={})).CONTAINED="contained",o.OUTLINED="outlined",o.BARE="bare",exports.ButtonColor=void 0,(t=exports.ButtonColor||(exports.ButtonColor={})).PRIMARY="primary",t.SECONDARY="secondary",exports.ButtonSize=void 0,(e=exports.ButtonSize||(exports.ButtonSize={})).SMALL="sm",e.MEDIUM="md",e.LARGE="lg",exports.ButtonIconPosition=void 0,(s=exports.ButtonIconPosition||(exports.ButtonIconPosition={})).LEFT="left",s.RIGHT="right",exports.ButtonPosition=void 0,(r=exports.ButtonPosition||(exports.ButtonPosition={})).LEFT="left",r.RIGHT="right",r.CENTER="center",r.STRETCH="stretch",exports.ToastTypes=void 0,(p=exports.ToastTypes||(exports.ToastTypes={})).ERROR="ERROR",p.SUCCESS="SUCCESS",exports.CalloutTypes=void 0,(n=exports.CalloutTypes||(exports.CalloutTypes={})).ERROR="ERROR",n.WARNING="WARNING",n.SUCCESS="SUCCESS",exports.CalenderMode=void 0,(a=exports.CalenderMode||(exports.CalenderMode={})).PWA="pwa",a.DESKTOP="desktop",exports.Theme=void 0,(exports.Theme||(exports.Theme={})).PRIMARY="PRIMARY",exports.Tabs=void 0,(T=exports.Tabs||(exports.Tabs={})).FlatTabs="FlatTab",T.CapsuleTabs="CapsuleTab",exports.BorderStyle=void 0,(i=exports.BorderStyle||(exports.BorderStyle={})).SOLID="SOLID",i.DOTTED="DOTTED",exports.IconPosition=void 0,(x=exports.IconPosition||(exports.IconPosition={})).TOP="top",x.BOTTOM="bottom",x.LEFT="left",x.RIGHT="right";exports.ALPHA_NUMERIC=/^[a-zA-Z0-9]+$/,exports.DAYS=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],exports.FULL_NAMES_OF_DAYS={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},exports.KEYBOARD_KEY_CODE={LEFT_ARROW:37,RIGHT_ARROW:39,SPACEBAR:32},exports.MONTHS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],exports.ONLY_NUMERIC=/^[0-9]+$/,exports.WEEK_DAY_LABEL={0:"Mon",1:"Tue",2:"Wed",3:"Thu",4:"Fri",5:"Sat",6:"Sun"},exports.alphabetDays=["M","T","W","T","F","S","S"]; | ||
"use strict";var o,t,e,s,r,p,n,a,T,i,x;exports.ButtonVariant=void 0,(o=exports.ButtonVariant||(exports.ButtonVariant={})).CONTAINED="contained",o.OUTLINED="outlined",o.BARE="bare",exports.ButtonColor=void 0,(t=exports.ButtonColor||(exports.ButtonColor={})).PRIMARY="primary",t.SECONDARY="secondary",exports.ButtonSize=void 0,(e=exports.ButtonSize||(exports.ButtonSize={})).SMALL="sm",e.MEDIUM="md",e.LARGE="lg",exports.ButtonIconPosition=void 0,(s=exports.ButtonIconPosition||(exports.ButtonIconPosition={})).LEFT="left",s.RIGHT="right",exports.ButtonPosition=void 0,(r=exports.ButtonPosition||(exports.ButtonPosition={})).LEFT="left",r.RIGHT="right",r.CENTER="center",r.STRETCH="stretch",exports.ToastTypes=void 0,(p=exports.ToastTypes||(exports.ToastTypes={})).ERROR="ERROR",p.SUCCESS="SUCCESS",exports.CalloutTypes=void 0,(n=exports.CalloutTypes||(exports.CalloutTypes={})).ERROR="ERROR",n.WARNING="WARNING",n.SUCCESS="SUCCESS",exports.CalenderMode=void 0,(a=exports.CalenderMode||(exports.CalenderMode={})).PWA="pwa",a.DESKTOP="desktop",exports.Theme=void 0,(exports.Theme||(exports.Theme={})).PRIMARY="PRIMARY",exports.Tabs=void 0,(T=exports.Tabs||(exports.Tabs={})).FlatTabs="FlatTab",T.CapsuleTabs="CapsuleTab",exports.BorderStyle=void 0,(i=exports.BorderStyle||(exports.BorderStyle={})).SOLID="SOLID",i.DOTTED="DOTTED",exports.IconPosition=void 0,(x=exports.IconPosition||(exports.IconPosition={})).TOP="top",x.BOTTOM="bottom",x.LEFT="left",x.RIGHT="right";exports.ALPHA_NUMERIC=/^[a-zA-Z0-9]+$/,exports.DAYS=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],exports.FULL_NAMES_OF_DAYS={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},exports.KEYBOARD_KEY_CODE={LEFT_ARROW:37,RIGHT_ARROW:39,SPACEBAR:32},exports.MONTHS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],exports.ONLY_NUMERIC=/^[0-9]+$/,exports.WEEK_DAY_LABEL={0:"Sun",1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat",7:"Sun"},exports.alphabetDays=["M","T","W","T","F","S","S"]; | ||
//# sourceMappingURL=ct-design-constants.browser.cjs.js.map |
@@ -1,2 +0,2 @@ | ||
var n,t,R,T,a,u,S,E,e,o,i,r;!function(n){n.CONTAINED="contained",n.OUTLINED="outlined",n.BARE="bare"}(n||(n={})),function(n){n.PRIMARY="primary",n.SECONDARY="secondary"}(t||(t={})),function(n){n.SMALL="sm",n.MEDIUM="md",n.LARGE="lg"}(R||(R={})),function(n){n.LEFT="left",n.RIGHT="right"}(T||(T={})),function(n){n.LEFT="left",n.RIGHT="right",n.CENTER="center",n.STRETCH="stretch"}(a||(a={})),function(n){n.ERROR="ERROR",n.SUCCESS="SUCCESS"}(u||(u={})),function(n){n.ERROR="ERROR",n.WARNING="WARNING",n.SUCCESS="SUCCESS"}(S||(S={})),function(n){n.PWA="pwa",n.DESKTOP="desktop"}(E||(E={})),function(n){n.PRIMARY="PRIMARY"}(e||(e={})),function(n){n.FlatTabs="FlatTab",n.CapsuleTabs="CapsuleTab"}(o||(o={})),function(n){n.SOLID="SOLID",n.DOTTED="DOTTED"}(i||(i={})),function(n){n.TOP="top",n.BOTTOM="bottom",n.LEFT="left",n.RIGHT="right"}(r||(r={}));var c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],O={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},d={0:"Mon",1:"Tue",2:"Wed",3:"Thu",4:"Fri",5:"Sat",6:"Sun"},f=["M","T","W","T","F","S","S"],C=/^[0-9]+$/,I={LEFT_ARROW:37,RIGHT_ARROW:39,SPACEBAR:32},M=/^[a-zA-Z0-9]+$/;export{M as ALPHA_NUMERIC,i as BorderStyle,t as ButtonColor,T as ButtonIconPosition,a as ButtonPosition,R as ButtonSize,n as ButtonVariant,E as CalenderMode,S as CalloutTypes,c as DAYS,O as FULL_NAMES_OF_DAYS,r as IconPosition,I as KEYBOARD_KEY_CODE,A as MONTHS,C as ONLY_NUMERIC,o as Tabs,e as Theme,u as ToastTypes,d as WEEK_DAY_LABEL,f as alphabetDays}; | ||
var n,t,R,T,a,u,S,E,e,o,i,r;!function(n){n.CONTAINED="contained",n.OUTLINED="outlined",n.BARE="bare"}(n||(n={})),function(n){n.PRIMARY="primary",n.SECONDARY="secondary"}(t||(t={})),function(n){n.SMALL="sm",n.MEDIUM="md",n.LARGE="lg"}(R||(R={})),function(n){n.LEFT="left",n.RIGHT="right"}(T||(T={})),function(n){n.LEFT="left",n.RIGHT="right",n.CENTER="center",n.STRETCH="stretch"}(a||(a={})),function(n){n.ERROR="ERROR",n.SUCCESS="SUCCESS"}(u||(u={})),function(n){n.ERROR="ERROR",n.WARNING="WARNING",n.SUCCESS="SUCCESS"}(S||(S={})),function(n){n.PWA="pwa",n.DESKTOP="desktop"}(E||(E={})),function(n){n.PRIMARY="PRIMARY"}(e||(e={})),function(n){n.FlatTabs="FlatTab",n.CapsuleTabs="CapsuleTab"}(o||(o={})),function(n){n.SOLID="SOLID",n.DOTTED="DOTTED"}(i||(i={})),function(n){n.TOP="top",n.BOTTOM="bottom",n.LEFT="left",n.RIGHT="right"}(r||(r={}));var c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],O={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},d={0:"Sun",1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat",7:"Sun"},f=["M","T","W","T","F","S","S"],C=/^[0-9]+$/,I={LEFT_ARROW:37,RIGHT_ARROW:39,SPACEBAR:32},M=/^[a-zA-Z0-9]+$/;export{M as ALPHA_NUMERIC,i as BorderStyle,t as ButtonColor,T as ButtonIconPosition,a as ButtonPosition,R as ButtonSize,n as ButtonVariant,E as CalenderMode,S as CalloutTypes,c as DAYS,O as FULL_NAMES_OF_DAYS,r as IconPosition,I as KEYBOARD_KEY_CODE,A as MONTHS,C as ONLY_NUMERIC,o as Tabs,e as Theme,u as ToastTypes,d as WEEK_DAY_LABEL,f as alphabetDays}; | ||
//# sourceMappingURL=ct-design-constants.browser.esm.js.map |
@@ -81,9 +81,10 @@ 'use strict'; | ||
var WEEK_DAY_LABEL = { | ||
0: 'Mon', | ||
1: 'Tue', | ||
2: 'Wed', | ||
3: 'Thu', | ||
4: 'Fri', | ||
5: 'Sat', | ||
6: 'Sun', | ||
0: 'Sun', | ||
1: 'Mon', | ||
2: 'Tue', | ||
3: 'Wed', | ||
4: 'Thu', | ||
5: 'Fri', | ||
6: 'Sat', | ||
7: 'Sun', | ||
}; | ||
@@ -90,0 +91,0 @@ var alphabetDays = ['M', 'T', 'W', 'T', 'F', 'S', 'S']; |
@@ -79,9 +79,10 @@ var ButtonVariant; | ||
var WEEK_DAY_LABEL = { | ||
0: 'Mon', | ||
1: 'Tue', | ||
2: 'Wed', | ||
3: 'Thu', | ||
4: 'Fri', | ||
5: 'Sat', | ||
6: 'Sun', | ||
0: 'Sun', | ||
1: 'Mon', | ||
2: 'Tue', | ||
3: 'Wed', | ||
4: 'Thu', | ||
5: 'Fri', | ||
6: 'Sat', | ||
7: 'Sun', | ||
}; | ||
@@ -88,0 +89,0 @@ var alphabetDays = ['M', 'T', 'W', 'T', 'F', 'S', 'S']; |
@@ -85,9 +85,10 @@ (function (global, factory) { | ||
var WEEK_DAY_LABEL = { | ||
0: 'Mon', | ||
1: 'Tue', | ||
2: 'Wed', | ||
3: 'Thu', | ||
4: 'Fri', | ||
5: 'Sat', | ||
6: 'Sun', | ||
0: 'Sun', | ||
1: 'Mon', | ||
2: 'Tue', | ||
3: 'Wed', | ||
4: 'Thu', | ||
5: 'Fri', | ||
6: 'Sat', | ||
7: 'Sun', | ||
}; | ||
@@ -94,0 +95,0 @@ var alphabetDays = ['M', 'T', 'W', 'T', 'F', 'S', 'S']; |
@@ -93,2 +93,3 @@ export declare enum ButtonVariant { | ||
6: string; | ||
7: string; | ||
}; | ||
@@ -95,0 +96,0 @@ export declare const alphabetDays: string[]; |
{ | ||
"name": "@cleartrip/ct-design-common-constants", | ||
"version": "2.14.0", | ||
"version": "2.15.0-SNAPSHOT-calendar.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34493
431
2