Browse Source

auto upgrade version to 2.0.20201225105411

master
data 4 years ago
parent
commit
f84312a292
  1. 2
      dist/2.0/fineui.css
  2. 2
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.js
  4. 2
      dist/2.0/fineui.min.css
  5. 2
      dist/2.0/fineui.min.js
  6. 2
      dist/2.0/fineui_without_normalize.css
  7. 2
      dist/2.0/fineui_without_normalize.min.css
  8. 2
      dist/core.css
  9. 2
      dist/core.js
  10. 2
      dist/demo.css
  11. 2
      dist/demo.js
  12. 2
      dist/fineui.css
  13. 2
      dist/fineui.ie.min.js
  14. 2
      dist/fineui.js
  15. 2
      dist/fineui.min.css
  16. 2
      dist/fineui.min.js
  17. 2
      dist/fineui_without_jquery_polyfill.js
  18. 2
      dist/font.css
  19. 5
      dist/lib/core/platform/web/detectElementResize.d.ts
  20. 121
      dist/lib/core/platform/web/dom.d.ts
  21. 5
      dist/lib/core/platform/web/eventListener.d.ts
  22. 9
      dist/lib/core/platform/web/index.d.ts
  23. 3
      dist/lib/core/platform/web/load.d.ts
  24. 2
      dist/resource.css
  25. 2
      dist/utils.js
  26. 2
      dist/utils.min.js
  27. 2
      package.json

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-24 19:50:28 */
/*! time: 2020-12-25 10:53:08 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-24 19:50:28 */
/*! time: 2020-12-25 10:53:08 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-24 19:50:28 */
/*! time: 2020-12-25 10:53:08 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-24 19:50:28 */
/*! time: 2020-12-25 10:53:08 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-24 19:50:28 */
/*! time: 2020-12-25 10:53:08 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

5
dist/lib/core/platform/web/detectElementResize.d.ts vendored

@ -0,0 +1,5 @@
import { Widget } from "../../../core/widget";
export declare type _DetectElementResize = {
addResizeListener: (widget: Widget, fn: Function) => Function;
removeResizeListener: (widget: Widget, fn: Function) => void;
};

121
dist/lib/core/platform/web/dom.d.ts vendored

@ -0,0 +1,121 @@
import { Widget } from "../../../core/widget";
export declare type _DOM = {
ready: (fn: Function) => void;
patchProps: (fromElement: any, toElement: any) => void;
hang: (doms: Widget[]) => DocumentFragment;
isExist: (obj: Widget) => boolean;
preloadImages: (srcArray: string[], onload: Function) => void;
getTextSizeWidth: (text: string, fontSize?: number) => number;
getTextSizeHeight: (text: string, fontSize?: number) => number;
getScrollWidth: () => number;
getImage: (param: string, fillStyle?: string, backgroundColor?: string) => {
width: number;
height: number;
src: string;
style: string;
param: string;
};
isColor: (color: string) => boolean;
isRGBColor: (color: string) => boolean;
isHexColor: (color: string) => boolean;
isDarkColor: (hex: string) => boolean;
getContrastColor: (color: string) => string;
rgb2hex: (rgbColour: string) => string;
rgb2json: (rgbColour: string) => {
r: number;
g: number;
b: number;
};
rgba2json: (rgbColour: string) => {
r: number;
g: number;
b: number;
a: number;
};
json2rgb: (rgb: {
r: number;
g: number;
b: number;
}) => string;
json2rgba: (rgba: {
r: number;
g: number;
b: number;
a: number;
}) => string;
int2hex: (strNum: number) => string;
hex2rgb: (color: string) => string;
rgba2rgb: (rgbColor: string, bgColor?: string) => string;
getLeftPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getInnerLeftPosition: (combo: Widget, popup?: Widget, extraWidth?: number) => {
left: number;
};
getRightPosition: (combo: Widget, popup?: Widget, extraWidth?: number) => {
left: number;
};
getInnerRightPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getTopPosition: (combo: Widget, popup: Widget, extraHeight?: number) => {
top: number;
};
getBottomPosition: (combo: Widget, popup?: Widget, extraHeight?: number) => {
top: number;
};
isLeftSpaceEnough: (combo: Widget, popup: Widget, extraWidth?: number) => boolean;
isInnerLeftSpaceEnough: (combo: Widget, popup: Widget, extraWidth?: number) => boolean;
isRightSpaceEnough: (combo: Widget, popup: Widget, extraWidth?: number) => boolean;
isInnerRightSpaceEnough: (combo: Widget, popup: Widget, extraWidth?: number) => boolean;
isTopSpaceEnough: (combo: Widget, popup?: Widget, extraHeight?: number) => boolean;
isBottomSpaceEnough: (combo: Widget, popup?: Widget, extraHeight?: number) => boolean;
isRightSpaceLarger: (combo: Widget) => boolean;
isBottomSpaceLarger: (combo: Widget) => boolean;
getLeftAlignPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getLeftAdaptPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getRightAlignPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getRightAdaptPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getTopAlignPosition: (combo: Widget, popup: Widget, extraHeight?: number, needAdaptHeight?: boolean) => {
top: number;
adaptHeight?: number;
};
getTopAdaptPosition: (combo: Widget, popup: Widget, extraHeight?: number, needAdaptHeight?: boolean) => {
top: number;
adaptHeight?: number;
};
getBottomAlignPosition: (combo: Widget, popup: Widget, extraHeight?: number, needAdaptHeight?: boolean) => {
top: number;
adaptHeight?: number;
};
getBottomAdaptPosition: (combo: Widget, popup: Widget, extraHeight?: number, needAdaptHeight?: boolean) => {
top: number;
adaptHeight?: number;
};
getCenterAdaptPosition: (combo: Widget, popup: Widget) => {
left: number;
};
getMiddleAdaptPosition: (combo: Widget, popup: Widget) => {
top: number;
};
getComboPositionByDirections: (combo: Widget, popup: Widget, extraWidth?: number, extraHeight?: number, needAdaptHeight?: number, directions?: number) => {
dir: string;
left?: number;
top?: number;
change?: string;
};
getComboPosition: (combo: Widget, popup: Widget, extraWidth?: number, extraHeight?: number, needAdaptHeight?: number, directions?: number) => {
dir: string;
left?: number;
top?: number;
change?: string;
};
};

5
dist/lib/core/platform/web/eventListener.d.ts vendored

@ -0,0 +1,5 @@
export declare type _EventListener = {
listen: (target: EventTarget, eventType: string, callback: Function) => void;
capture: (target: EventTarget, eventType: string, callback: Function) => void;
registerDefault: () => void;
};

9
dist/lib/core/platform/web/index.d.ts vendored

@ -1,3 +1,10 @@
import { _function } from "./function";
export interface _web extends _function {
import { _EventListener } from './eventListener';
import { _DetectElementResize } from './detectElementResize';
import { _load } from './load';
import { _DOM } from './dom';
export interface _web extends _function, _load {
EventListener: _EventListener;
ResizeDetector: _DetectElementResize;
DOM: _DOM;
}

3
dist/lib/core/platform/web/load.d.ts vendored

@ -0,0 +1,3 @@
export declare type _load = {
$import: (src: string, ext?: string, must?: boolean) => void;
};

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-24 19:50:28 */
/*! time: 2020-12-25 10:53:08 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20201224195215",
"version": "2.0.20201225105411",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

Loading…
Cancel
Save