@ix_waterford/lib 1.0.21 → 1.0.22
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.
- package/README.md +32 -32
- package/dist/components.07dfd60b.js +10 -0
- package/dist/components.html +1 -1
- package/dist/hooks.2d503d40.js +1 -0
- package/dist/hooks.html +1 -1
- package/dist/index.f9d9a2d7.js +10 -0
- package/dist/index.html +1 -1
- package/dist/static/css/components.1d98581c.css +1 -0
- package/dist/static/css/index.1d98581c.css +1 -0
- package/dist/types/components/autocomplete/autocomplete.d.ts +29 -0
- package/dist/types/components/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/types/components/autocomplete/index.d.ts +3 -0
- package/dist/types/components/autocomplete/index.d.ts.map +1 -0
- package/dist/types/components/autocomplete/style.d.ts +10 -0
- package/dist/types/components/autocomplete/style.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/utils.91dba1f9.js +1 -0
- package/dist/utils.html +1 -1
- package/package.json +163 -149
- package/dist/components.js +0 -22942
- package/dist/components.js.map +0 -1
- package/dist/hooks.js +0 -1373
- package/dist/hooks.js.map +0 -1
- package/dist/index.js +0 -23127
- package/dist/index.js.map +0 -1
- package/dist/static/css/components.css +0 -633
- package/dist/static/css/components.css.map +0 -1
- package/dist/static/css/index.css +0 -633
- package/dist/static/css/index.css.map +0 -1
- package/dist/utils.js +0 -1691
- package/dist/utils.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.editor-input{outline:none;min-height:200px;padding:12px;font-size:16px;line-height:1.5}.editor-placeholder{color:#aaa;pointer-events:none;padding:12px;position:absolute}.editor-textBold{font-weight:700}.editor-textItalic{font-style:italic}.editor-textUnderline{text-decoration:underline}.editor-textStrikethrough{text-decoration:line-through}.editor-textSubscript{vertical-align:sub;font-size:.8em}.editor-textSuperscript{vertical-align:super;font-size:.8em}.editor-heading-h1{margin:.67em 0;font-size:2em;font-weight:700}.editor-heading-h2{margin:.75em 0;font-size:1.75em;font-weight:700}.editor-heading-h3{margin:.83em 0;font-size:1.5em;font-weight:700}.editor-heading-h4{margin:1em 0;font-size:1.25em;font-weight:700}.editor-heading-h5{margin:1.17em 0;font-size:1.1em;font-weight:700}.editor-heading-h6{margin:1.33em 0;font-size:1em;font-weight:700}.editor-list-ol,.editor-list-ul{margin:.5em 0;padding-left:30px}.editor-list-item{margin:.25em 0}.editor-quote{color:#666;border-left:4px solid #ccc;margin:0;padding-left:20px;font-style:italic}:root{--swiper-theme-color:#007aff}:host{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.swiper{z-index:1;margin-left:auto;margin-right:auto;padding:0;list-style:none;display:block;position:relative;overflow:hidden}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{z-index:1;width:100%;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box;display:flex;position:relative}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate(0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}.swiper-lazy-preloader{z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-top-color:#0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}:is(.swiper:not(.swiper-watch-progress),.swiper-watch-progress .swiper-slide-visible) .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translate(0,0)}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);width:100%;left:0}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);display:inline-block}button.swiper-pagination-bullet{box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity,1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translateY(-50%)}:is(.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets) .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px)0;display:block}:is(.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%)}:is(.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}:is(.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-horizontal.swiper-pagination-bullets) .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}:is(.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%)}:is(.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:100% 0}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size,4px);height:100%;top:0;left:0}.swiper-pagination-lock{display:none}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
|
|
3
|
+
export interface AutocompleteOption {
|
|
4
|
+
value: string | number;
|
|
5
|
+
label: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface AutocompleteProps extends Omit<MuiAutocompleteProps<AutocompleteOption, boolean | undefined, boolean | undefined, boolean | undefined>, 'renderInput' | 'options' | 'onChange' | 'getOptionLabel' | 'isOptionEqualToValue' | 'getOptionDisabled'> {
|
|
9
|
+
options: AutocompleteOption[];
|
|
10
|
+
value?: AutocompleteOption | AutocompleteOption[] | null;
|
|
11
|
+
onChange?: (event: React.SyntheticEvent, value: AutocompleteOption | AutocompleteOption[] | null, reason?: string) => void;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
helperText?: string;
|
|
15
|
+
error?: boolean;
|
|
16
|
+
size?: 'small' | 'medium';
|
|
17
|
+
variant?: 'outlined' | 'filled' | 'standard';
|
|
18
|
+
fullWidth?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
multiple?: boolean;
|
|
23
|
+
getOptionLabel?: (option: AutocompleteOption) => string;
|
|
24
|
+
isOptionEqualToValue?: (option: AutocompleteOption, value: AutocompleteOption) => boolean;
|
|
25
|
+
getOptionDisabled?: (option: AutocompleteOption) => boolean;
|
|
26
|
+
}
|
|
27
|
+
declare const _default: import("@emotion/styled").StyledComponent<AutocompleteProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../../../src/components/autocomplete/autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAGH,KAAK,iBAAiB,IAAI,oBAAoB,EAEjD,MAAM,eAAe,CAAC;AAIvB,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAC3C,oBAAoB,CAAC,kBAAkB,EAAE,OAAO,GAAG,SAAS,EAAE,OAAO,GAAG,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,EACvG,aAAa,GAAG,SAAS,GAAG,UAAU,GAAG,gBAAgB,GAAG,sBAAsB,GAAG,mBAAmB,CAC3G;IACG,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,kBAAkB,GAAG,kBAAkB,EAAE,GAAG,IAAI,CAAC;IACzD,QAAQ,CAAC,EAAE,CACP,KAAK,EAAE,KAAK,CAAC,cAAc,EAC3B,KAAK,EAAE,kBAAkB,GAAG,kBAAkB,EAAE,GAAG,IAAI,EACvD,MAAM,CAAC,EAAE,MAAM,KACd,IAAI,CAAC;IACV,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,MAAM,CAAC;IACxD,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,KAAK,OAAO,CAAC;IAC1F,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,OAAO,CAAC;CAC/D;;AAwFD,wBAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/autocomplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/components/autocomplete/style.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;CAUjB,CAAC"}
|
|
@@ -23,6 +23,7 @@ export { Switch } from './switch';
|
|
|
23
23
|
export { Menu } from './menu';
|
|
24
24
|
export { Chip } from './chip';
|
|
25
25
|
export { Select, MultiSelect } from './select';
|
|
26
|
+
export { Autocomplete } from './autocomplete';
|
|
26
27
|
export { SearchBar } from './searchBar';
|
|
27
28
|
export { Typography } from './typography';
|
|
28
29
|
export { TextField } from './textField';
|
|
@@ -55,4 +56,5 @@ export type { PopoverProps } from './popOver';
|
|
|
55
56
|
export type { TimePickerProps } from './timePicker';
|
|
56
57
|
export type { DatePickerProps, Dayjs } from './datePicker';
|
|
57
58
|
export type { TableProps } from './table';
|
|
59
|
+
export type { AutocompleteProps, AutocompleteOption } from './autocomplete';
|
|
58
60
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE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AAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC3D,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let t,e,r,s,a,o,i,n,c,l,u,f,_,p,h,m;import g from"dayjs";var d,S,$={826(t){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(s,a,o){var i=a.prototype;o.utc=function(t){var e={date:t,utc:!0,args:arguments};return new a(e)},i.utc=function(e){var r=o(this.toDate(),{locale:this.$L,utc:!0});return e?r.add(this.utcOffset(),t):r},i.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var n=i.parse;i.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),n.call(this,t)};var c=i.init;i.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=i.utcOffset;i.utcOffset=function(s,a){var o=this.$utils().u;if(o(s))return this.$u?0:o(this.$offset)?l.call(this):this.$offset;if("string"==typeof s&&null===(s=function(t){void 0===t&&(t="");var s=t.match(e);if(!s)return null;var a=(""+s[0]).match(r)||["-",0,0],o=a[0],i=60*a[1]+ +a[2];return 0===i?0:"+"===o?i:-i}(s)))return this;var i=16>=Math.abs(s)?60*s:s;if(0===i)return this.utc(a);var n=this.clone();if(a)return n.$offset=i,n.$u=!1,n;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(n=this.local().add(i+c,t)).$offset=i,n.$x.$localOffset=c,n};var u=i.format;i.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},i.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var f=i.toDate;i.toDate=function(t){return"s"===t&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var _=i.diff;i.diff=function(t,e,r){if(t&&this.$u===t.$u)return _.call(this,t,e,r);var s=this.local(),a=o(t).local();return _.call(s,a,e,r)}}}()}},y={};function v(t){var e=y[t];if(void 0!==e)return e.exports;var r=y[t]={exports:{}};return $[t].call(r.exports,r,r.exports,v),r.exports}v.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return v.d(e,{a:e}),e},v.d=(t,e)=>{for(var r in e)v.o(e,r)&&!v.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},v.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var b={};v.d(b,{Xm:()=>l,J2:()=>h,_S:()=>u,X:()=>m,u5:()=>c,VP:()=>s,sc:()=>_,Hd:()=>p,B9:()=>e,bs:()=>n,Yq:()=>t,AP:()=>f,RI:()=>a,Im:()=>o,jw:()=>r}),d=v(826),S=v.n(d),g.extend(S()),t=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{if(!t||"boolean"==typeof t)return null;let s=r?g.utc(t):g(t);if(!s.isValid())return null;return s.format(e)}catch(t){return null}},e=t=>!!t&&"string"==typeof t&&/^(?!\.)(?!.*\.\.)[A-Za-z0-9.!#$%&'*+/=?^_`{|}~-]+(?<!\.)@[A-Za-z0-9-]+(?:\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/.test(t.trim()),r=t=>null==t||"string"==typeof t&&0===t.trim().length,s=t=>null==t||!!Array.isArray(t)&&0===t.length,a=t=>null==t||!Array.isArray(t)&&t.constructor===Object&&0===Object.keys(t).length,o=t=>null==t||("string"==typeof t?r(t):Array.isArray(t)?s(t):"object"==typeof t&&a(t)),i=["#e57373","#f06292","#ba68c8","#9575cd","#c5cae9","#7986cb","#4fc3f7","#4dd0e1","#4db6ac","#81c784","#aed581","#dce775","#ffee58","#ffca28","#ff7043","#8d6e63","#bdbdbd"],n=t=>t||0===t?i[String(t).split("").reduce((t,e)=>t+e.charCodeAt(0),0)%i.length]:i[0],c=t=>t?t.slice().split(" ").map(t=>t[0]||"").join("").slice(0,2).toUpperCase():"",l=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,r="string"==typeof t?t.trim():String(t??"");return r.length>e?`${r.substring(0,e)}...`:r},u=t=>{try{let e=window.localStorage.getItem(t);return e?JSON.parse(e):null}catch(t){return null}},f=(t,e)=>{try{return window.localStorage.setItem(t,JSON.stringify(e)),!0}catch(t){return!1}},_=t=>{try{return window.localStorage.removeItem(t),!0}catch{return!1}},p=t=>{try{let e=window.sessionStorage.getItem(t);return e?JSON.parse(e):null}catch{return null}},h=(t,e)=>{try{return window.sessionStorage.setItem(t,JSON.stringify(e)),!0}catch{return!1}},m=t=>{try{return window.sessionStorage.removeItem(t),!0}catch{return!1}};var w=b.Yq,I=b.bs,x=b.u5,O=b._S,D=b.Hd,k=b.Im,A=b.VP,C=b.RI,T=b.jw,E=b.B9,j=b.sc,U=b.X,Y=b.AP,M=b.J2,H=b.Xm;export{w as formatDate,I as getColorFromId,x as getFormattedName,O as getLocalStorageItem,D as getSessionStorageItem,k as isEmpty,A as isEmptyArray,C as isEmptyObject,T as isEmptyString,E as isValidEmail,j as removeLocalStorageItem,U as removeSessionStorageItem,Y as setLocalStorageItem,M as setSessionStorageItem,H as strEllipsis};
|
package/dist/utils.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Rsbuild App</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/utils.js"></script></head><body><div id="root"></div></body></html>
|
|
1
|
+
<!doctype html><html><head><title>Rsbuild App</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/utils.91dba1f9.js"></script></head><body><div id="root"></div></body></html>
|
package/package.json
CHANGED
|
@@ -1,149 +1,163 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ix_waterford/lib",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"module": "./dist/index.js",
|
|
7
|
-
"types": "./dist/types/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/types/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"default": "./dist/index.js"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"sideEffects": false,
|
|
16
|
-
"files": [
|
|
17
|
-
"dist",
|
|
18
|
-
"README.md"
|
|
19
|
-
],
|
|
20
|
-
"publishConfig": {
|
|
21
|
-
"access": "public"
|
|
22
|
-
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"dev": "rsbuild dev",
|
|
25
|
-
"build": "NODE_ENV=production npm run build:types && NODE_ENV=production rsbuild build && npm run build:types",
|
|
26
|
-
"build:types": "tsc -p tsconfig.build.json || true",
|
|
27
|
-
"preview": "rsbuild preview",
|
|
28
|
-
"lint": "eslint src --ext .ts,.tsx",
|
|
29
|
-
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
30
|
-
"type-check": "tsc --noEmit",
|
|
31
|
-
"prepare": "husky",
|
|
32
|
-
"pre-commit": "lint-staged",
|
|
33
|
-
"test": "
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@lexical/
|
|
56
|
-
"
|
|
57
|
-
"lexical": "^0.38.2",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"@
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"@
|
|
124
|
-
"@
|
|
125
|
-
"@
|
|
126
|
-
"@
|
|
127
|
-
"@
|
|
128
|
-
"@
|
|
129
|
-
"@
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"eslint-plugin
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"typescript": "^
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@ix_waterford/lib",
|
|
3
|
+
"version": "1.0.22",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/types/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/types/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"dev": "rsbuild dev",
|
|
25
|
+
"build": "cross-env NODE_ENV=production npm run build:types && cross-env NODE_ENV=production rsbuild build && npm run build:types",
|
|
26
|
+
"build:types": "tsc -p tsconfig.build.json || true",
|
|
27
|
+
"preview": "rsbuild preview",
|
|
28
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
29
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
30
|
+
"type-check": "tsc --noEmit",
|
|
31
|
+
"prepare": "husky",
|
|
32
|
+
"pre-commit": "lint-staged",
|
|
33
|
+
"test": "jest",
|
|
34
|
+
"test:watch": "jest --watch",
|
|
35
|
+
"test:coverage": "jest --coverage",
|
|
36
|
+
"test:ci": "jest --ci --coverage --maxWorkers=2",
|
|
37
|
+
"test:update": "jest --updateSnapshot",
|
|
38
|
+
"test:clear": "jest --clearCache"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"react",
|
|
42
|
+
"mui",
|
|
43
|
+
"material-ui",
|
|
44
|
+
"components",
|
|
45
|
+
"ui-library",
|
|
46
|
+
"typescript"
|
|
47
|
+
],
|
|
48
|
+
"author": "",
|
|
49
|
+
"license": "ISC",
|
|
50
|
+
"description": "Waterford UI component library built with React and Material-UI",
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@dnd-kit/core": "^6.3.1",
|
|
53
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
54
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
55
|
+
"@lexical/history": "^0.38.2",
|
|
56
|
+
"@lexical/html": "^0.38.2",
|
|
57
|
+
"@lexical/react": "^0.38.2",
|
|
58
|
+
"@lexical/rich-text": "^0.38.2",
|
|
59
|
+
"@lexical/selection": "^0.38.2",
|
|
60
|
+
"@lexical/utils": "^0.38.2",
|
|
61
|
+
"date-fns": "^4.1.0",
|
|
62
|
+
"lexical": "^0.38.2",
|
|
63
|
+
"react-color": "^2.19.3",
|
|
64
|
+
"react-player": "^3.3.3",
|
|
65
|
+
"swiper": "^12.0.3"
|
|
66
|
+
},
|
|
67
|
+
"peerDependenciesMeta": {
|
|
68
|
+
"@dnd-kit/core": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"@dnd-kit/sortable": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"@dnd-kit/utilities": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"@lexical/history": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"@lexical/html": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"@lexical/react": {
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
86
|
+
"@lexical/rich-text": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"@lexical/selection": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"@lexical/utils": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"lexical": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"react-color": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"react-player": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"swiper": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"date-fns": {
|
|
108
|
+
"optional": true
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"peerDependencies": {
|
|
112
|
+
"@emotion/react": "^11.14.0",
|
|
113
|
+
"@emotion/styled": "^11.14.1",
|
|
114
|
+
"@mui/icons-material": "^7.3.4",
|
|
115
|
+
"@mui/lab": "^7.0.1-beta.19",
|
|
116
|
+
"@mui/material": "^7.3.4",
|
|
117
|
+
"@mui/x-date-pickers": "^8.16.0",
|
|
118
|
+
"dayjs": "^1.11.19",
|
|
119
|
+
"react": "^19.2.0",
|
|
120
|
+
"react-dom": "^19.2.0"
|
|
121
|
+
},
|
|
122
|
+
"devDependencies": {
|
|
123
|
+
"@emotion/react": "^11.14.0",
|
|
124
|
+
"@emotion/styled": "^11.14.1",
|
|
125
|
+
"@mui/icons-material": "^7.3.4",
|
|
126
|
+
"@mui/material": "^7.3.4",
|
|
127
|
+
"@mui/x-date-pickers": "^8.16.0",
|
|
128
|
+
"@rsbuild/core": "^1.5.17",
|
|
129
|
+
"@rsbuild/plugin-react": "^1.4.1",
|
|
130
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
131
|
+
"@testing-library/react": "^16.3.1",
|
|
132
|
+
"@testing-library/user-event": "^14.6.1",
|
|
133
|
+
"@types/jest": "^30.0.0",
|
|
134
|
+
"@types/react": "^19.2.2",
|
|
135
|
+
"@types/react-color": "^3.0.13",
|
|
136
|
+
"@types/react-dom": "^19.2.2",
|
|
137
|
+
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
138
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
139
|
+
"cross-env": "^10.1.0",
|
|
140
|
+
"dayjs": "^1.11.19",
|
|
141
|
+
"eslint": "^9.38.0",
|
|
142
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
143
|
+
"eslint-plugin-import": "^2.32.0",
|
|
144
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
145
|
+
"eslint-plugin-react": "^7.37.5",
|
|
146
|
+
"eslint-plugin-react-hooks": "^7.0.0",
|
|
147
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
148
|
+
"husky": "^9.1.7",
|
|
149
|
+
"identity-obj-proxy": "^3.0.0",
|
|
150
|
+
"jest": "^30.2.0",
|
|
151
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
152
|
+
"lint-staged": "^16.2.4",
|
|
153
|
+
"react": "^19.2.0",
|
|
154
|
+
"react-dom": "^19.2.0",
|
|
155
|
+
"ts-jest": "^29.4.6",
|
|
156
|
+
"typescript": "^5.9.3"
|
|
157
|
+
},
|
|
158
|
+
"lint-staged": {
|
|
159
|
+
"*.{ts,tsx}": [
|
|
160
|
+
"eslint"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
}
|