optimize build tool chain.
This commit is contained in:
@@ -7,14 +7,16 @@
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
z-index: 9999;
|
||||
}
|
||||
.spinner-container {
|
||||
|
||||
.spinnerContainer {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 10000;
|
||||
}
|
||||
.spinner-container .spinner {
|
||||
|
||||
.spinnerContainer .spinner {
|
||||
font-size: 10px;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
@@ -24,6 +26,7 @@
|
||||
animation: mulShdSpin 1.1s infinite ease;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
@keyframes mulShdSpin {
|
||||
0%,
|
||||
100% {
|
||||
|
7
src/common/stringUtils.ts
Normal file
7
src/common/stringUtils.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const naturalCompare = (a: string, b: string): number => {
|
||||
const locales = new Set<string>([...navigator.languages, 'en-US', 'ja-JP']);
|
||||
return new Intl.Collator(Array.from(locales), {
|
||||
sensitivity: 'variant',
|
||||
numeric: true,
|
||||
}).compare(a, b);
|
||||
};
|
5
src/common/types.ts
Normal file
5
src/common/types.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { KintoneFormFieldProperty } from '@kintone/rest-api-client';
|
||||
|
||||
export type KintoneFormFieldProperties = {
|
||||
[fieldCode: string]: KintoneFormFieldProperty.OneOf;
|
||||
};
|
Reference in New Issue
Block a user