Updated AdminLTE to 3.04 assets, added search to side bar, added company select drop down on sidebar. removed extra delete under edit contact

This commit is contained in:
johnny@pittpc.com
2020-04-04 20:23:44 -04:00
parent abf7a3b381
commit 7a0ef334a3
1519 changed files with 286395 additions and 36690 deletions

View File

@@ -0,0 +1,30 @@
/**
* Modified version of Jake Gordon's Bin Packing algorithm used for Filterizr's 'packed' layout
* @see {@link https://github.com/jakesgordon/bin-packing}
*/
interface PackerRoot {
x: number;
y: number;
w: number;
h?: number;
used?: boolean;
down?: PackerRoot;
right?: PackerRoot;
}
interface PackerBlock {
x?: number;
y?: number;
w?: number;
h?: number;
fit?: PackerRoot | void;
}
export default class Packer {
root: PackerRoot;
constructor(w: number);
init(w: number): void;
fit(blocks: PackerBlock[]): void;
findNode(root: PackerRoot, w: number, h: number): PackerRoot | void;
splitNode(node: PackerRoot, w: number, h: number): PackerRoot;
growDown(w: number, h: number): PackerRoot | void;
}
export {};

View File

@@ -0,0 +1 @@
export { default } from './makeLayoutPositions';

View File

@@ -0,0 +1,6 @@
import { ContainerLayout, Dimensions } from '../types/interfaces';
declare const _default: (itemsDimensions: Dimensions[], gutterPixels: number) => ContainerLayout;
/**
* Horizontal layout algorithm that arranges all FilterItems in one row. Their width may vary.
*/
export default _default;

View File

@@ -0,0 +1,7 @@
import { ContainerLayout, Dimensions, Options } from '../types/interfaces';
declare const _default: (containerWidth: number, itemsDimensions: Dimensions[], { gutterPixels, layout }: Options) => ContainerLayout;
/**
* Creates the specifications of the dimensions of the
* container and items for the next render of Filterizr.
*/
export default _default;

View File

@@ -0,0 +1,6 @@
import { ContainerLayout, Dimensions } from '../types/interfaces';
declare const _default: (containerWidth: number, itemsDimensions: Dimensions[], gutterPixels: number) => ContainerLayout;
/**
* Packed layout for items that can have varying width as well as varying height.
*/
export default _default;

View File

@@ -0,0 +1,6 @@
import { ContainerLayout, Dimensions } from '../types/interfaces';
declare const _default: (containerWidth: number, itemsDimensions: Dimensions[], gutterPixels: number) => ContainerLayout;
/**
* Same height layout for items that have the same height, but can have varying width
*/
export default _default;

View File

@@ -0,0 +1,6 @@
import { ContainerLayout, Dimensions } from '../types/interfaces';
declare const _default: (containerWidth: number, itemsDimensions: Dimensions[], gutterPixels: number) => ContainerLayout;
/**
* Same size layout for items that have the same width/height
*/
export default _default;

View File

@@ -0,0 +1,6 @@
import { ContainerLayout, Dimensions } from '../types/interfaces';
declare const _default: (containerWidth: number, itemsDimensions: Dimensions[], gutterPixels: number) => ContainerLayout;
/**
* Same width layout for items that have the same width and varying height
*/
export default _default;

View File

@@ -0,0 +1,6 @@
import { ContainerLayout, Dimensions } from '../types/interfaces';
declare const _default: (itemsDimensions: Dimensions[], gutterPixels: number) => ContainerLayout;
/**
* Vertical layout algorithm that arranges all FilterItems in one column. Their height may vary.
*/
export default _default;