optimize build tool chain.

This commit is contained in:
2025-07-03 16:43:25 +09:00
parent e37ac9aa4a
commit 5926c08da5
13 changed files with 660 additions and 766 deletions

View File

@@ -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% {

View 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
View File

@@ -0,0 +1,5 @@
import { KintoneFormFieldProperty } from '@kintone/rest-api-client';
export type KintoneFormFieldProperties = {
[fieldCode: string]: KintoneFormFieldProperty.OneOf;
};