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 @@
export declare const allStringsOfArray1InArray2: (arr1: string[], arr2: string[]) => boolean;

View File

@@ -0,0 +1,9 @@
/**
* Error checking method to restrict a prop to some allowed values
* @param {String} name of the option key in the options object
* @param {String|Number|Object|Function|Array|Boolean} value of the option
* @param {String} type of the property
* @param {Array} allowed accepted values for option
* @param {String} furtherHelpLink a link to docs for further help
*/
export declare const checkOptionForErrors: (name: string, value: string | number | boolean | object | Function | any[], type?: string, allowed?: RegExp | any[], furtherHelpLink?: string) => void;

4
plugins/filterizr/utils/debounce.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
/**
* Debounce of Underscore.js
*/
export declare const debounce: (func: Function, wait: number, immediate: boolean) => Function;

View File

@@ -0,0 +1,9 @@
import FilterItem from '../FilterItem';
/**
* Simple method to check if two arrays of FilterItems
* are sorted in the same manner or not.
* @param {Array} arr1 the first array of FilterItems
* @param {Array} arr2 the second array of FilterItems
* @return {Boolean} equality
*/
export declare const filterItemArraysHaveSameSorting: (filterItemsA: FilterItem[], filterItemsB: FilterItem[]) => boolean;

View File

@@ -0,0 +1,2 @@
import { Dictionary } from '../types/interfaces/Dictionary';
export declare function getDataAttributesOfHTMLNode(node: Element): Dictionary;

View File

@@ -0,0 +1,6 @@
/**
* Wrapper around document.querySelector, will function as
* an identity function if an HTML element is passed in
* @param {HTMLElement|string} nodeOrSelector
*/
export declare const getHTMLElement: (selectorOrNode: string | HTMLElement) => HTMLElement;

12
plugins/filterizr/utils/index.d.ts vendored Normal file
View File

@@ -0,0 +1,12 @@
export { allStringsOfArray1InArray2 } from './allStringsOfArray1InArray2';
export { checkOptionForErrors } from './checkOptionForErrors';
export { debounce } from './debounce';
export { filterItemArraysHaveSameSorting, } from './filterItemArraysHaveSameSorting';
export { getDataAttributesOfHTMLNode } from './getDataAttributesOfHTMLNode';
export { getHTMLElement } from './getHTMLElement';
export { intersection } from './intersection';
export { merge } from './merge';
export { noop } from './noop';
export { setStyles } from './setStyles';
export { shuffle } from './shuffle';
export { sortBy } from './sortBy';

View File

@@ -0,0 +1,4 @@
/**
* A function get the intersection of two arrays. IE9+.
*/
export declare const intersection: (arr1: any[], arr2: any[]) => any[];

5
plugins/filterizr/utils/merge.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
import { Dictionary } from '../types/interfaces/Dictionary';
/**
* Deep merge two objects.
*/
export declare function merge(target: Dictionary, ...sources: Dictionary[]): Dictionary;

4
plugins/filterizr/utils/noop.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
/**
* A no-operation function
*/
export declare const noop: () => void;

View File

@@ -0,0 +1,7 @@
/**
* Set inline styles on an HTML node
* @param {HTMLElement} node - HTML node
* @param {Object} styles - object with styles
* @returns {undefined}
*/
export declare function setStyles(node: Element, styles: any): void;

6
plugins/filterizr/utils/shuffle.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
/**
* Fisher-Yates shuffle ES6 non-mutating implementation.
* @param {Array} array the array to shuffle
* @return {Array} shuffled array without mutating the initial array.
*/
export declare const shuffle: (array: any[]) => any[];

7
plugins/filterizr/utils/sortBy.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
/**
* Simple non-mutating sorting function for arrays of objects by a property
* @param {Array} array to sort
* @param {Function} propFn fetches the property by which to sort
* @return {Array} a new sorted array
*/
export declare const sortBy: (array: any[], propFn: Function) => any[];