// npm 패키지
@kruzer/lib-ui
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
버전
526
메인테이너
1
라이선스
ISC
최초 publish
2024-05-29
publisher
adminkruzer
tarball
6,863,604 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2026-05-22
// offending code· @0.0.0-alpha.555· 1 file flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
- @0.0.0-alpha.555··AUTO-PUBLISHED·publisher: adminkruzerheuristic 75/100static flags 1llm benign (0.85) via ollamamature-packageosv-flagged:MAL-2026-4401install-path-npm-publish
→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
// offending code· 1 file flaggedpatterns: 1
--- package/package.json (excerpt) --- { "name": "@kruzer/lib-ui", "version": "0.0.0-alpha.555", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" } }, "scripts": { "dev": "vite", "build": "npm run format && rm -rf dist && tsc --p ./tsconfig.lib.json && vite build", "build:publish": "npm run build && npm publish --tag alpha", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "format": "prettier --write ./src", "preview": "vite preview", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, "author": "Kruzer Product Team", "license": "ISC", "dependencies": { "@azure/msal-browser": "^4.20.0", "@cyntler/react-doc-viewer": "1.17.1", "@emotion/react": "11.13.3", "@emotion/styled": "11.13.0", "@hookform/resolvers": "3.5.0", "@kruzer/styles": "3.0.0-alpha.36", "@mui/icons-material": "6.1.6", "@mui/material": "6.1.6", "@mui/x-date-pickers": "7.22.1", "@originjs/vite-plugin-federation": "1.3.6", "@radix-ui/react-alert-dialog": "1.0.5", "@radix-ui/react-avatar": "1.0.4", "@radix-ui/react-checkbox": "1.0.4", "@radix-ui/react-collapsible": "1.1.0", "@radix-ui/react-dialog": "1.0.5", "@radix-ui/react-dropdown-menu": "2.0.6", "@radix --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/index.d.ts (bundled) --- export * from './components/Alert/index'; export * from './components/AlertDialog/index'; export * from './components/Avatar/index'; export * from './components/Button/index'; export * from './components/ResponsiveBillboard/index'; export * from './components/FloatSelector/index'; export * from './components/Card/index'; export * from './components/Chip/index'; export * from './components/Charts/Bar/index'; export * from './components/Charts/Pie/index'; export * from './components/Collapse/index'; export * from './components/CompletePercent/index'; export * from './components/DataTable/index'; export * from './components/DynamicTable/index'; export * from './components/DynamicTableV2/index'; export * from './components/DynamicTableV2/components/TopToolbar/TopToolbar'; export * from './components/MaterialProps/index'; export * from './components/Markdown/index'; export * from './components/DraftJS/index'; export * from './components/DatePicker/index'; export * from './components/Dialog/index'; export * from './components/DropdownMenu/index'; export * from './components/FeedbackMessage/index'; export * from './components/Flag/index'; export * from './components/FormLanguageSelector/index'; export * from './components/Forms/index'; export { InputPhone, type InputPhoneProps, } from './components/Forms/InputPhone/index'; export * from './components/Header/index'; export * from './components/Highlight/index'; export * from './components/Icon/index'; export * from './components/InfoTooltip/index'; export * from './components/Layout/index'; export * from './components/Loading/index'; export * from './components/Link/index'; export * from './components/Pagination/index'; export * from './components/PageHeader/index'; export * from './components/PageHeaderV2/index'; export * from './components/Permissions/index'; export * from './components/Popover/index'; export * from './components/ProgressBar/index'; export * from './components/RadioCard/index'; export * from './components --- dist/index.js (bundled) --- var fl = Object.defineProperty; var hl = (e, t, n) => t in e ? fl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; var ha = (e, t, n) => hl(e, typeof t != "symbol" ? t + "" : t, n); import { jsx as o, jsxs as b, Fragment as se } from "react/jsx-runtime"; import k, { clsx as bl } from "clsx"; import { twMerge as vl } from "tailwind-merge"; import { cva as xe } from "class-variance-authority"; import * as ee from "react"; import ye, { forwardRef as z, createContext as ut, useId as Ht, useContext as nt, useLayoutEffect as Xa, useRef as oe, useState as D, useMemo as ce, useCallback as Q, Component as yl, Fragment as Sa, useEffect as L, isValidElement as fo, useImperativeHandle as xl } from "react"; import * as Ea from "@radix-ui/react-checkbox"; import { Check as Cl, icons as Il, X as _l, ChevronRight as wl, Copy as Nl } from "lucide-react"; import { Slot as za } from "@radix-ui/react-slot"; import { useFormContext as ie, Controller as Al, FormProvider as Sl, appendErrors as El, useForm as Wt } from "react-hook-form"; import * as ba from "@radix-ui/react-avatar"; import { useTranslation as V, initReactI18next as $l, Trans as Fl } from "react-i18next"; import $a, { t as Fa } from "i18next"; import { default as z3 } from "i18next"; import yt, { get as A, forEach as Dl, pullAt as yn, find as ho, some as Mn, isNull as Tl, isEqual as Vn, isObject as lt, set as Rt, isUndefined as Gt, isEmpty as Da, cloneDeep as bo, uniqBy as Ll, isArray as Ml, map as Bn, unset as Vl, merge as Bl } from "lodash"; import * as vo from "@radix-ui/react-label"; import * as Ta from "@radix-ui/react-switch"; import xn, { components as Cn } from "react-select"; import * as Re from "@radix-ui/react-tooltip"; import { Root as yo, Item as xo, Indicator as Co } from "@radix-ui/react-radio-group"; import { PatternFormat as Rl } from "react-number-format"; import Io from "axios"; import { useMutation as Rn, useQuery as It, useQueryClient as Pn } from "@tanstack/react-query"; --- dist/utils/base64.d.ts (bundled) --- export declare class Base64 { toBase64: <T>(object: T) => string | undefined; fromBase64: <T>(base64?: string | null) => T | undefined; } --- dist/utils/cn.d.ts (bundled) --- import { ClassValue } from 'clsx'; export declare function cn(...inputs: ClassValue[]): string; --- dist/utils/formatDate.d.ts (bundled) --- import { LocaleKeys } from '../types'; type FormatDateType = { date?: Date | string; locale: LocaleKeys; month?: 'short' | '2-digit'; hours?: 'none' | '2-digit'; }; export declare function formatDate({ date, locale, month, hours, }: FormatDateType): string; export declare function isOutdated(date?: string | Date): boolean; export declare function parseDate(dateString: string | Date): Date | undefined; export declare function formatCustomDate(inputDate: Date, pattern: string): string | undefined; export {}; --- dist/utils/formatter.d.ts (bundled) --- import { ApiErrorResponse } from '../api/types'; import { AxiosError } from 'axios'; export declare class FormatterUtils { formatError(error: AxiosError<ApiErrorResponse> | unknown, unknownErrorMessage: string): { variant: "danger"; title: string; description: import("react/jsx-runtime").JSX.Element; }; formatCurrency(value: number, locale?: string): string; formatTime(ms?: number): { value: number | undefined; label: string; }; } --- dist/utils/generateRandomString.d.ts (bundled) --- export declare const generateRandomString: (length?: number) => string; --- dist/utils/generateSaturation.d.ts (bundled) --- export declare const generateSaturation: (hex?: string, percent?: number) => string; --- dist/utils/i18n.d.ts (bundled) --- import { default as i18next } from 'i18next'; export default i18next; --- dist/utils/index.d.ts (bundled) --- import { cn } from './cn'; import { default as i18n } from './i18n'; import { FormatterUtils } from './formatter'; import { default as setDefaultLanguage } from './setDefaultLanguage'; import { removeEmptyFields } from './removeEmptyFields'; import { generateSaturation } from './generateSaturation'; import { formatDate, parseDate, formatCustomDate, isOutdated } from './formatDate'; import { MatchUtils } from './match'; import { ParserUtils } from './parser'; export { cn, i18n, parseDate, isOutdated, formatDate, formatCustomDate, removeEmptyFields, setDefaultLanguage, generateSaturation, MatchUtils, ParserUtils, FormatterUtils, }; --- dist/utils/match.d.ts (bundled) --- export declare class MatchUtils { isUrl: (value: string) => boolean; } --- dist/utils/parser.d.ts (bundled) --- import { TFunction } from 'i18next'; import { MultiSelectOptions } from '../types'; export declare class ParserUtils { enumToOptions: (t: TFunction<'translation', undefined>, options: object) => MultiSelectOptions<string>; } --- dist/utils/removeEmptyFields.d.ts (bundled) --- export declare function removeEmptyFields(obj: any): {}; --- dist/utils/setDefaultLanguage.d.ts (bundled) --- export default function setDefaultLanguage(): void; --- dist/types/attribute-fields.type.d.ts (bundled) --- import { GeneratedDefault } from '.'; import { CustomFieldsTypeEnum } from '..'; import { AttributeTypeEnum } from '../enums/attribute_type.enum'; import { NativeFieldTypeEnum } from '../enums/native_field_type.enum'; import { AssociationTypeEnumKeys } from '../enums/association_type.enum'; export type AttributeFields = GeneratedDefault & { groups?: string[] | Record<string, unknown>[]; key: string; name: Record<string, string>; description: Record<string, string>; type?: AttributeTypeEnum | NativeFieldTypeEnum | CustomFieldsTypeEnum; type_config?: Record<string, unknown>; required?: boolean; sequence?: number; enabled?: boolean; tags?: string[]; native?: boolean; association: AssociationTypeEnumKeys; unique?: boolean; pro
