dozy 1.0.61 → 1.0.63

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/dist/index.d.ts CHANGED
@@ -20,8 +20,8 @@ declare class Dozy {
20
20
  declare const dozy: Dozy;
21
21
 
22
22
  type Any = Items<any>;
23
- type Null<T> = T | undefined | null;
24
- type Nullable<T> = Null<T>;
23
+ type Null = undefined | null;
24
+ type Nullable<T> = T | Null;
25
25
  type Items<T> = {
26
26
  [x: string]: T;
27
27
  };
@@ -196,6 +196,7 @@ declare class Scaler {
196
196
  #private;
197
197
  heightElement: HTMLElement;
198
198
  widthElement: HTMLElement;
199
+ offsetHorizontal: number;
199
200
  set base(val: number);
200
201
  get base(): number;
201
202
  set mainScale(val: number);
@@ -223,6 +224,7 @@ declare const standardIniter: (args: {
223
224
  setFullScreenWidth?: (x: number) => void;
224
225
  setFullContentHeight?: (x: number) => void;
225
226
  setMainScale?: (x: number) => void;
227
+ offsetHorizontal?: number;
226
228
  heightElement?: HTMLElement;
227
229
  widthElement?: HTMLElement;
228
230
  base?: number;
@@ -331,6 +333,6 @@ declare function toRgbString(input: string | Color | any): string | undefined;
331
333
  */
332
334
  declare function toHslString(input: string | Color | any): string | undefined;
333
335
 
334
- declare const DOZY = "1.0.61";
336
+ declare const DOZY = "1.0.63";
335
337
 
336
338
  export { $Headers, $Request, $Response, $URL, $URLSearchParams, $arrayFrom, $arrayIsArray, $assign, $capitalize, $checkValidEmailWithUnicode, $clamp, $clearInterval, $clearTimeout, $clone, $compressImage, $copy, $crypto, $date, $decodeBase64ToBinary, $decodeBase64ToUnicode, $deepClone, $defineProperty, $document, $encodeUnicodeToBase64, $entries, $escapeHTML, $fallbackCopy, $fetch, $fileToBase64, $formatDate, $formatWithCommas, $freeze, $genSSF, $getFileType, $getTimeString, $hasKey, $if, $inRange, $inRange2, $is, $isObject, $isPlainClass, $isValidEmailWithUnicode, $isValidOrBriefURL, $jsonParse, $jsonStringify, $keys, $lastIndex, $lindex, $loadOpt, $location, $log, $lplus, $magic, $math, $now, $numberIsFinite, $numberIsNaN, $oc, $open, $parseParams, $promise, $pureText, $randomByte, $replaceHolesWithUndefined, $rmvSlash, $rsValue, $rsetValue, $rvalue, $s, $sc, $setInterval, $setRange, $setTimeout, $stringFromCharCode, $stringFromCodePoint, $stringToRange, $strings, $validName, $values, $window, type Any, type Atoa, type Coord, type Coord3, DOZY, type DozyConfig, type DozyConfigItem, type FileType, Gens, type Hel, type IOpt, type Items, type Null, type Nullable, RainbowGen, type ScaleComputer, type ScaleIniter, StringObfuscator, type UNumber, __GensDirectives, _res, boxShadow, dozy, enableScaler, err403, errArg, errCode, errContent, errMsg, errNotLoggedIn, errToString, getBrightness, getColorMap, isNowAroundUtcHour, isValidColor, maybeString, registerCustomColor, s, smallChance, smartParse, smartString, standardIniter, textShadow, toHexString, toHslString, toRgbString, toRgbaArray, web$enableHttpsRedirect, web$enableProdProtector, web$encodeURI, web$pathStartData, web$redirectToDomain, web$setPathTarget, xtrim };