@eturnity/eturnity_reusable_components 8.40.8--dev-06.0 → 8.40.8-dashboard-poc.0
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/main.es12.js +2 -2
- package/dist/main.es13.js +5 -5
- package/dist/main.es14.js +3 -3
- package/dist/main.es15.js +62 -22
- package/dist/main.es16.js +174 -1031
- package/dist/main.es17.js +21 -224
- package/dist/main.es18.js +1046 -89
- package/dist/main.es19.js +195 -68
- package/dist/main.es20.js +77 -172
- package/dist/main.es21.js +100 -2
- package/dist/main.es22.js +158 -505
- package/dist/main.es23.js +2 -24
- package/dist/main.es24.js +530 -188
- package/dist/main.es25.js +21 -61
- package/dist/main.es26.js +2 -2
- package/dist/main.es387.js +1 -1
- package/dist/main.es5.js +3 -3
- package/dist/main.es6.js +4 -4
- package/dist/main.es743.js +60 -21
- package/dist/main.es744.js +21 -60
- package/dist/main.es9.js +1 -1
- package/package.json +1 -1
- package/src/components/buttons/buttonIcon/index.vue +3 -3
- package/src/components/pageTitle/index.vue +6 -21
- package/src/components/tables/mainTable/index.vue +20 -44
package/dist/main.es25.js
CHANGED
|
@@ -1,66 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import styled from "./main.es7.js";
|
|
2
|
+
import "./main.es3.js";
|
|
3
|
+
import _export_sfc from "./main.es11.js";
|
|
4
|
+
import { resolveComponent, openBlock, createBlock, withCtx, createTextVNode } from "./main.es6.js";
|
|
5
|
+
const StarElement = styled.span`
|
|
6
|
+
color: ${({
|
|
7
|
+
theme
|
|
8
|
+
}) => theme.colors.red};
|
|
9
|
+
`;
|
|
10
|
+
const _sfc_main = {
|
|
11
|
+
name: "IsRequiredLabelStar",
|
|
12
|
+
components: {
|
|
13
|
+
StarElement
|
|
6
14
|
}
|
|
7
|
-
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
8
|
-
}
|
|
9
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
-
const onRE = /^on[^a-z]/;
|
|
12
|
-
const isOn = (key) => onRE.test(key);
|
|
13
|
-
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
14
|
-
const extend = Object.assign;
|
|
15
|
-
const isArray = Array.isArray;
|
|
16
|
-
const isFunction = (val) => typeof val === "function";
|
|
17
|
-
const isString = (val) => typeof val === "string";
|
|
18
|
-
const cacheStringFunction = (fn) => {
|
|
19
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
20
|
-
return (str) => {
|
|
21
|
-
const hit = cache[str];
|
|
22
|
-
return hit || (cache[str] = fn(str));
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
const hyphenateRE = /\B([A-Z])/g;
|
|
26
|
-
const hyphenate = cacheStringFunction(
|
|
27
|
-
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
28
|
-
);
|
|
29
|
-
const capitalize = cacheStringFunction(
|
|
30
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
31
|
-
);
|
|
32
|
-
const invokeArrayFns = (fns, arg) => {
|
|
33
|
-
for (let i = 0; i < fns.length; i++) {
|
|
34
|
-
fns[i](arg);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
const looseToNumber = (val) => {
|
|
38
|
-
const n = parseFloat(val);
|
|
39
|
-
return isNaN(n) ? val : n;
|
|
40
15
|
};
|
|
41
|
-
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
function includeBooleanAttr(value) {
|
|
48
|
-
return !!value || value === "";
|
|
16
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17
|
+
const _component_StarElement = resolveComponent("StarElement");
|
|
18
|
+
return openBlock(), createBlock(_component_StarElement, null, {
|
|
19
|
+
default: withCtx(() => [createTextVNode("*")]),
|
|
20
|
+
_: 1
|
|
21
|
+
});
|
|
49
22
|
}
|
|
23
|
+
const IsRequiredLabelStar = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
50
24
|
export {
|
|
51
|
-
|
|
52
|
-
extend,
|
|
53
|
-
hyphenate,
|
|
54
|
-
includeBooleanAttr,
|
|
55
|
-
invokeArrayFns,
|
|
56
|
-
isArray,
|
|
57
|
-
isFunction,
|
|
58
|
-
isHTMLTag,
|
|
59
|
-
isModelListener,
|
|
60
|
-
isOn,
|
|
61
|
-
isSVGTag,
|
|
62
|
-
isSpecialBooleanAttr,
|
|
63
|
-
isString,
|
|
64
|
-
looseToNumber,
|
|
65
|
-
makeMap
|
|
25
|
+
IsRequiredLabelStar as default
|
|
66
26
|
};
|
package/dist/main.es26.js
CHANGED
|
@@ -2,9 +2,9 @@ import "./main.es3.js";
|
|
|
2
2
|
import styled from "./main.es7.js";
|
|
3
3
|
import { fetchIcon } from "./main.es383.js";
|
|
4
4
|
import { rotateSvg } from "./main.es384.js";
|
|
5
|
-
import { reactive } from "./main.
|
|
5
|
+
import { reactive } from "./main.es18.js";
|
|
6
6
|
import { computed, onMounted, watch, openBlock, createBlock, withCtx, createVNode, createElementVNode as createBaseVNode, createTextVNode, createCommentVNode } from "./main.es6.js";
|
|
7
|
-
import { toDisplayString } from "./main.
|
|
7
|
+
import { toDisplayString } from "./main.es16.js";
|
|
8
8
|
const _hoisted_1 = ["innerHTML"];
|
|
9
9
|
const _sfc_main = {
|
|
10
10
|
__name: "index",
|
package/dist/main.es387.js
CHANGED
package/dist/main.es5.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isRuntimeOnly, warn, createRenderer, callWithAsyncErrorHandling } from "./main.es6.js";
|
|
2
2
|
import { Comment, Fragment, Static, Teleport, Text, callWithErrorHandling, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createStaticVNode, createTextVNode, createVNode, defineComponent, devtools, getCurrentInstance, guardReactiveProps, h, handleError, initCustomFormatter, inject, isVNode, mergeProps, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onServerPrefetch, onUnmounted, onUpdated, openBlock, provide, queuePostFlushCb, renderList, renderSlot, resolveComponent, resolveDynamicComponent, setBlockTracking, setDevtoolsHook, ssrContextKey, useSSRContext, version, watch, watchEffect, withCtx, withDirectives } from "./main.es6.js";
|
|
3
|
-
import { isFunction, isHTMLTag, isSVGTag, isString, looseToNumber, isArray, invokeArrayFns, hyphenate, extend, isOn, isModelListener, capitalize, isSpecialBooleanAttr, includeBooleanAttr } from "./main.
|
|
4
|
-
import { camelize } from "./main.
|
|
5
|
-
import { capitalize as capitalize2, normalizeClass, normalizeStyle, toDisplayString, toHandlerKey } from "./main.
|
|
3
|
+
import { isFunction, isHTMLTag, isSVGTag, isString, looseToNumber, isArray, invokeArrayFns, hyphenate, extend, isOn, isModelListener, capitalize, isSpecialBooleanAttr, includeBooleanAttr } from "./main.es15.js";
|
|
4
|
+
import { camelize } from "./main.es16.js";
|
|
5
|
+
import { capitalize as capitalize2, normalizeClass, normalizeStyle, toDisplayString, toHandlerKey } from "./main.es16.js";
|
|
6
6
|
const svgNS = "http://www.w3.org/2000/svg";
|
|
7
7
|
const doc = typeof document !== "undefined" ? document : null;
|
|
8
8
|
const templateContainer = doc && /* @__PURE__ */ doc.createElement("template");
|
package/dist/main.es6.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isRef, toRaw, getCurrentScope, isShallow as isShallow$1, isReactive, ReactiveEffect, isProxy, computed as computed$1, pauseTracking, resetTracking, isReadonly, track, proxyRefs, markRaw, shallowReadonly, EffectScope, reactive, shallowReactive, trigger } from "./main.
|
|
2
|
-
import { readonly, ref, shallowRef, unref } from "./main.
|
|
3
|
-
import { isString, isFunction, getGlobalThis, isArray, NOOP, EMPTY_OBJ, normalizeClass, isObject, extend, normalizeStyle, isOn, isPromise, hasChanged, remove, isSet, isMap, isPlainObject, camelize, capitalize, toHandlerKey, hasOwn, EMPTY_ARR, NO, isBuiltInDirective, isReservedProp, invokeArrayFns, makeMap, looseToNumber, hyphenate, def, toRawType, isModelListener } from "./main.
|
|
4
|
-
import { toDisplayString } from "./main.
|
|
1
|
+
import { isRef, toRaw, getCurrentScope, isShallow as isShallow$1, isReactive, ReactiveEffect, isProxy, computed as computed$1, pauseTracking, resetTracking, isReadonly, track, proxyRefs, markRaw, shallowReadonly, EffectScope, reactive, shallowReactive, trigger } from "./main.es18.js";
|
|
2
|
+
import { readonly, ref, shallowRef, unref } from "./main.es18.js";
|
|
3
|
+
import { isString, isFunction, getGlobalThis, isArray, NOOP, EMPTY_OBJ, normalizeClass, isObject, extend, normalizeStyle, isOn, isPromise, hasChanged, remove, isSet, isMap, isPlainObject, camelize, capitalize, toHandlerKey, hasOwn, EMPTY_ARR, NO, isBuiltInDirective, isReservedProp, invokeArrayFns, makeMap, looseToNumber, hyphenate, def, toRawType, isModelListener } from "./main.es16.js";
|
|
4
|
+
import { toDisplayString } from "./main.es16.js";
|
|
5
5
|
const stack = [];
|
|
6
6
|
function pushWarningContext(vnode) {
|
|
7
7
|
stack.push(vnode);
|
package/dist/main.es743.js
CHANGED
|
@@ -1,25 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return supported;
|
|
1
|
+
function makeMap(str, expectsLowerCase) {
|
|
2
|
+
const map = /* @__PURE__ */ Object.create(null);
|
|
3
|
+
const list = str.split(",");
|
|
4
|
+
for (let i = 0; i < list.length; i++) {
|
|
5
|
+
map[list[i]] = true;
|
|
7
6
|
}
|
|
8
|
-
|
|
9
|
-
supported = true;
|
|
10
|
-
perf = window.performance;
|
|
11
|
-
} else if (typeof globalThis !== "undefined" && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
12
|
-
supported = true;
|
|
13
|
-
perf = globalThis.perf_hooks.performance;
|
|
14
|
-
} else {
|
|
15
|
-
supported = false;
|
|
16
|
-
}
|
|
17
|
-
return supported;
|
|
18
|
-
}
|
|
19
|
-
function now() {
|
|
20
|
-
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
7
|
+
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
21
8
|
}
|
|
9
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
+
const NOOP = () => {
|
|
12
|
+
};
|
|
13
|
+
const extend = Object.assign;
|
|
14
|
+
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15
|
+
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
16
|
+
const isArray = Array.isArray;
|
|
17
|
+
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
18
|
+
const isFunction = (val) => typeof val === "function";
|
|
19
|
+
const isString = (val) => typeof val === "string";
|
|
20
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
21
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
22
|
+
const objectToString = Object.prototype.toString;
|
|
23
|
+
const toTypeString = (value) => objectToString.call(value);
|
|
24
|
+
const toRawType = (value) => {
|
|
25
|
+
return toTypeString(value).slice(8, -1);
|
|
26
|
+
};
|
|
27
|
+
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
28
|
+
const cacheStringFunction = (fn) => {
|
|
29
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
+
return (str) => {
|
|
31
|
+
const hit = cache[str];
|
|
32
|
+
return hit || (cache[str] = fn(str));
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
const capitalize = cacheStringFunction(
|
|
36
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
+
);
|
|
38
|
+
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
39
|
+
const def = (obj, key, value) => {
|
|
40
|
+
Object.defineProperty(obj, key, {
|
|
41
|
+
configurable: true,
|
|
42
|
+
enumerable: false,
|
|
43
|
+
value
|
|
44
|
+
});
|
|
45
|
+
};
|
|
22
46
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
47
|
+
NOOP,
|
|
48
|
+
capitalize,
|
|
49
|
+
def,
|
|
50
|
+
extend,
|
|
51
|
+
hasChanged,
|
|
52
|
+
hasOwn,
|
|
53
|
+
isArray,
|
|
54
|
+
isFunction,
|
|
55
|
+
isIntegerKey,
|
|
56
|
+
isMap,
|
|
57
|
+
isObject,
|
|
58
|
+
isString,
|
|
59
|
+
isSymbol,
|
|
60
|
+
makeMap,
|
|
61
|
+
objectToString,
|
|
62
|
+
toRawType,
|
|
63
|
+
toTypeString
|
|
25
64
|
};
|
package/dist/main.es744.js
CHANGED
|
@@ -1,64 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
let supported;
|
|
2
|
+
let perf;
|
|
3
|
+
function isPerformanceSupported() {
|
|
4
|
+
var _a;
|
|
5
|
+
if (supported !== void 0) {
|
|
6
|
+
return supported;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
+
if (typeof window !== "undefined" && window.performance) {
|
|
9
|
+
supported = true;
|
|
10
|
+
perf = window.performance;
|
|
11
|
+
} else if (typeof globalThis !== "undefined" && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
12
|
+
supported = true;
|
|
13
|
+
perf = globalThis.perf_hooks.performance;
|
|
14
|
+
} else {
|
|
15
|
+
supported = false;
|
|
16
|
+
}
|
|
17
|
+
return supported;
|
|
18
|
+
}
|
|
19
|
+
function now() {
|
|
20
|
+
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
8
21
|
}
|
|
9
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
-
const NOOP = () => {
|
|
12
|
-
};
|
|
13
|
-
const extend = Object.assign;
|
|
14
|
-
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15
|
-
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
16
|
-
const isArray = Array.isArray;
|
|
17
|
-
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
18
|
-
const isFunction = (val) => typeof val === "function";
|
|
19
|
-
const isString = (val) => typeof val === "string";
|
|
20
|
-
const isSymbol = (val) => typeof val === "symbol";
|
|
21
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
22
|
-
const objectToString = Object.prototype.toString;
|
|
23
|
-
const toTypeString = (value) => objectToString.call(value);
|
|
24
|
-
const toRawType = (value) => {
|
|
25
|
-
return toTypeString(value).slice(8, -1);
|
|
26
|
-
};
|
|
27
|
-
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
28
|
-
const cacheStringFunction = (fn) => {
|
|
29
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
-
return (str) => {
|
|
31
|
-
const hit = cache[str];
|
|
32
|
-
return hit || (cache[str] = fn(str));
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
const capitalize = cacheStringFunction(
|
|
36
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
-
);
|
|
38
|
-
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
39
|
-
const def = (obj, key, value) => {
|
|
40
|
-
Object.defineProperty(obj, key, {
|
|
41
|
-
configurable: true,
|
|
42
|
-
enumerable: false,
|
|
43
|
-
value
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
22
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
def,
|
|
50
|
-
extend,
|
|
51
|
-
hasChanged,
|
|
52
|
-
hasOwn,
|
|
53
|
-
isArray,
|
|
54
|
-
isFunction,
|
|
55
|
-
isIntegerKey,
|
|
56
|
-
isMap,
|
|
57
|
-
isObject,
|
|
58
|
-
isString,
|
|
59
|
-
isSymbol,
|
|
60
|
-
makeMap,
|
|
61
|
-
objectToString,
|
|
62
|
-
toRawType,
|
|
63
|
-
toTypeString
|
|
23
|
+
isPerformanceSupported,
|
|
24
|
+
now
|
|
64
25
|
};
|
package/dist/main.es9.js
CHANGED
|
@@ -4,7 +4,7 @@ import theme from "./main.es8.js";
|
|
|
4
4
|
import "./main.es3.js";
|
|
5
5
|
import _export_sfc from "./main.es11.js";
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, withCtx, createVNode, createTextVNode } from "./main.es6.js";
|
|
7
|
-
import { toDisplayString } from "./main.
|
|
7
|
+
import { toDisplayString } from "./main.es16.js";
|
|
8
8
|
const TagContainer = styled.div`
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
>
|
|
23
23
|
<Icon
|
|
24
24
|
:color="
|
|
25
|
-
|
|
26
|
-
(isDisabled
|
|
25
|
+
isDisabled
|
|
27
26
|
? theme.mainButton[appTheme][type][variant].disabled.textColor
|
|
28
|
-
:
|
|
27
|
+
: iconColor ||
|
|
28
|
+
theme.mainButton[appTheme][type][variant].default.textColor
|
|
29
29
|
"
|
|
30
30
|
:disable-hover="disableIconHover"
|
|
31
31
|
:fill-type="fillType"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<TitleWrap
|
|
3
|
-
data-test-id="page_wrapper"
|
|
4
|
-
:has-info-text="!!infoText"
|
|
5
|
-
:no-margin="noMargin"
|
|
6
|
-
>
|
|
2
|
+
<TitleWrap data-test-id="page_wrapper" :has-info-text="!!infoText">
|
|
7
3
|
<TitleText
|
|
8
4
|
:color="color"
|
|
9
5
|
data-test-id="page_title_text"
|
|
@@ -35,27 +31,21 @@
|
|
|
35
31
|
import styled from 'vue3-styled-components'
|
|
36
32
|
import InfoText from '../infoText'
|
|
37
33
|
|
|
38
|
-
const wrapAttrs = { hasInfoText: Boolean
|
|
34
|
+
const wrapAttrs = { hasInfoText: Boolean }
|
|
39
35
|
const TitleWrap = styled('div', wrapAttrs)`
|
|
40
36
|
display: grid;
|
|
41
37
|
align-items: center;
|
|
42
38
|
grid-gap: 12px;
|
|
43
39
|
grid-template-columns: ${(props) =>
|
|
44
40
|
props.hasInfoText ? 'auto auto 1fr' : '1fr'};
|
|
45
|
-
margin-bottom:
|
|
41
|
+
margin-bottom: 20px;
|
|
46
42
|
`
|
|
47
43
|
|
|
48
44
|
const titleAttrs = { color: String, fontSize: String, uppercase: Boolean }
|
|
49
45
|
const TitleText = styled('span', titleAttrs)`
|
|
50
46
|
color: ${(props) => (props.color ? props.color : props.theme.colors.black)};
|
|
51
|
-
font-weight:
|
|
52
|
-
|
|
53
|
-
font-size: ${(props) =>
|
|
54
|
-
props.fontSize === 'large'
|
|
55
|
-
? '24px'
|
|
56
|
-
: props.fontSize === 'small'
|
|
57
|
-
? '18px'
|
|
58
|
-
: '20px'};
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
font-size: ${(props) => (props.fontSize ? props.fontSize : '20px')};
|
|
59
49
|
`
|
|
60
50
|
|
|
61
51
|
export default {
|
|
@@ -78,7 +68,7 @@
|
|
|
78
68
|
fontSize: {
|
|
79
69
|
required: false,
|
|
80
70
|
type: String,
|
|
81
|
-
default: '
|
|
71
|
+
default: '',
|
|
82
72
|
},
|
|
83
73
|
uppercase: {
|
|
84
74
|
required: false,
|
|
@@ -95,11 +85,6 @@
|
|
|
95
85
|
type: String,
|
|
96
86
|
default: 'center',
|
|
97
87
|
},
|
|
98
|
-
noMargin: {
|
|
99
|
-
required: false,
|
|
100
|
-
type: Boolean,
|
|
101
|
-
default: false,
|
|
102
|
-
},
|
|
103
88
|
},
|
|
104
89
|
}
|
|
105
90
|
</script>
|
|
@@ -54,8 +54,9 @@
|
|
|
54
54
|
|
|
55
55
|
const TableTitle = styled.div`
|
|
56
56
|
margin-bottom: 16px;
|
|
57
|
-
font-weight:
|
|
57
|
+
font-weight: bold;
|
|
58
58
|
font-size: 14px;
|
|
59
|
+
text-transform: uppercase;
|
|
59
60
|
`
|
|
60
61
|
|
|
61
62
|
const tableScrollProps = {
|
|
@@ -65,6 +66,12 @@
|
|
|
65
66
|
const TableScroll = styled('div', tableScrollProps)`
|
|
66
67
|
max-width: 100%;
|
|
67
68
|
height: auto;
|
|
69
|
+
${(props) =>
|
|
70
|
+
props.isPositionAbsolute &&
|
|
71
|
+
`
|
|
72
|
+
position: absolute;
|
|
73
|
+
left: -20px;
|
|
74
|
+
`}
|
|
68
75
|
`
|
|
69
76
|
|
|
70
77
|
const wrapperAttrs = { fullWidth: Boolean, isOverflowHidden: Boolean }
|
|
@@ -104,24 +111,15 @@
|
|
|
104
111
|
|
|
105
112
|
const TableContainer = styled('table', containerAttrs)`
|
|
106
113
|
width: 100%;
|
|
107
|
-
border-collapse:
|
|
108
|
-
border
|
|
109
|
-
|
|
110
|
-
'1px solid ' + props.theme.semanticColors.grey[200]};
|
|
111
|
-
border-left: ${(props) =>
|
|
112
|
-
'1px solid ' + props.theme.semanticColors.grey[200]};
|
|
113
|
-
border-top: ${(props) =>
|
|
114
|
-
'1px solid ' + props.theme.semanticColors.grey[200]};
|
|
115
|
-
border-radius: 4px;
|
|
116
|
-
font-size: 12px;
|
|
114
|
+
border-collapse: collapse;
|
|
115
|
+
border: none;
|
|
116
|
+
font-size: 13px;
|
|
117
117
|
|
|
118
118
|
thead {
|
|
119
|
-
font-weight:
|
|
120
|
-
line-height: 140%;
|
|
119
|
+
font-weight: bold;
|
|
121
120
|
|
|
122
121
|
tr {
|
|
123
122
|
border-bottom: none !important;
|
|
124
|
-
background-color: ${(props) => props.theme.semanticColors.grey[100]};
|
|
125
123
|
}
|
|
126
124
|
}
|
|
127
125
|
|
|
@@ -130,8 +128,6 @@
|
|
|
130
128
|
}
|
|
131
129
|
|
|
132
130
|
tbody {
|
|
133
|
-
font-weight: 400;
|
|
134
|
-
line-height: 150%;
|
|
135
131
|
tr {
|
|
136
132
|
&:hover,
|
|
137
133
|
td.hovered-column {
|
|
@@ -152,25 +148,18 @@
|
|
|
152
148
|
}
|
|
153
149
|
|
|
154
150
|
td {
|
|
155
|
-
height:
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.drag-placeholder {
|
|
159
|
-
min-height: 48px;
|
|
160
|
-
min-width: 20px;
|
|
161
|
-
border-bottom: 1px solid
|
|
162
|
-
${(props) => props.theme.semanticColors.grey[200]};
|
|
151
|
+
height: 40px;
|
|
163
152
|
}
|
|
164
153
|
}
|
|
165
154
|
}
|
|
166
155
|
|
|
167
156
|
th {
|
|
168
|
-
padding:
|
|
157
|
+
padding: 11px 15px;
|
|
169
158
|
background-color: ${(props) => props.theme.semanticColors.grey[100]};
|
|
170
159
|
border-bottom: 1px solid
|
|
171
|
-
${(props) => props.theme.semanticColors.
|
|
160
|
+
${(props) => props.theme.semanticColors.teal[100]};
|
|
172
161
|
cursor: auto;
|
|
173
|
-
height:
|
|
162
|
+
height: 40px;
|
|
174
163
|
font-weight: 500;
|
|
175
164
|
|
|
176
165
|
.ordering {
|
|
@@ -262,10 +251,6 @@
|
|
|
262
251
|
visibility: hidden;
|
|
263
252
|
}
|
|
264
253
|
|
|
265
|
-
&.footer {
|
|
266
|
-
background-color: ${(props) => props.theme.colors.grey5};
|
|
267
|
-
}
|
|
268
|
-
|
|
269
254
|
&.footer,
|
|
270
255
|
&.total-row {
|
|
271
256
|
td {
|
|
@@ -298,8 +283,6 @@
|
|
|
298
283
|
flex-wrap: nowrap;
|
|
299
284
|
background-color: ${(props) => props.theme.colors.white};
|
|
300
285
|
vertical-align: middle;
|
|
301
|
-
border-bottom: 1px solid
|
|
302
|
-
${(props) => props.theme.semanticColors.grey[200]};
|
|
303
286
|
}
|
|
304
287
|
|
|
305
288
|
.arrow-container {
|
|
@@ -318,11 +301,6 @@
|
|
|
318
301
|
.arrow-container {
|
|
319
302
|
border-bottom: none;
|
|
320
303
|
}
|
|
321
|
-
|
|
322
|
-
.drag-container,
|
|
323
|
-
.icons-container {
|
|
324
|
-
border-bottom: none !important;
|
|
325
|
-
}
|
|
326
304
|
}
|
|
327
305
|
|
|
328
306
|
&:hover {
|
|
@@ -348,14 +326,12 @@
|
|
|
348
326
|
display: table-cell;
|
|
349
327
|
width: 20px;
|
|
350
328
|
min-width: 20px;
|
|
351
|
-
height:
|
|
352
|
-
border-bottom: ${(props) =>
|
|
353
|
-
'1px solid ' + props.theme.semanticColors.grey[200]};
|
|
329
|
+
height: 40px;
|
|
354
330
|
}
|
|
355
331
|
|
|
356
332
|
.drag-wrapper {
|
|
357
333
|
width: 16px;
|
|
358
|
-
height:
|
|
334
|
+
height: 36px;
|
|
359
335
|
display: grid;
|
|
360
336
|
align-items: center;
|
|
361
337
|
justify-items: center;
|
|
@@ -401,9 +377,9 @@
|
|
|
401
377
|
}
|
|
402
378
|
|
|
403
379
|
input {
|
|
404
|
-
font-size:
|
|
380
|
+
font-size: 13px;
|
|
405
381
|
padding: 5px 10px;
|
|
406
|
-
background:
|
|
382
|
+
background: #fff;
|
|
407
383
|
height: unset;
|
|
408
384
|
|
|
409
385
|
&:focus {
|