@sydsoft/base 1.59.0 → 2.1.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/esm/_lib/baseFunctions.d.ts +5 -0
- package/dist/esm/_lib/baseFunctions.js +5 -0
- package/dist/esm/_lib/inputMask.d.ts +5 -0
- package/dist/esm/_lib/inputMask.js +6 -1
- package/dist/esm/_lib/listFunctions.d.ts +5 -0
- package/dist/esm/_lib/listFunctions.js +5 -0
- package/dist/esm/_lib/storage/cookies.d.ts +5 -0
- package/dist/esm/_lib/storage/cookies.js +6 -1
- package/dist/esm/_lib/storage/encData.d.ts +5 -0
- package/dist/esm/_lib/storage/encData.js +6 -1
- package/dist/esm/_lib/storage/localStorage.d.ts +5 -0
- package/dist/esm/_lib/storage/localStorage.js +7 -2
- package/dist/esm/_lib/storage/sessionStorage.d.ts +5 -0
- package/dist/esm/_lib/storage/sessionStorage.js +7 -2
- package/dist/esm/alert/index.d.ts +5 -0
- package/dist/esm/alert/index.js +5 -0
- package/dist/esm/alert/index.module.css +6 -0
- package/dist/esm/box/Box.d.ts +5 -0
- package/dist/esm/box/Box.js +5 -0
- package/dist/esm/box/Box.module.css +6 -0
- package/dist/esm/box/BoxContent.d.ts +5 -0
- package/dist/esm/box/BoxFooter.d.ts +5 -0
- package/dist/esm/box/BoxFooter.js +5 -0
- package/dist/esm/box/BoxHeader.d.ts +5 -0
- package/dist/esm/box/BoxHeader.js +5 -0
- package/dist/esm/box/index.js +4 -4
- package/dist/esm/countDown/index.d.ts +5 -0
- package/dist/esm/countDown/index.js +6 -1
- package/dist/esm/dateTime/index.d.ts +5 -0
- package/dist/esm/dateTime/index.js +5 -0
- package/dist/esm/form/Button.d.ts +5 -0
- package/dist/esm/form/Button.js +7 -2
- package/dist/esm/form/Checkbox.d.ts +5 -0
- package/dist/esm/form/Checkbox.js +5 -0
- package/dist/esm/form/Dialog.d.ts +5 -0
- package/dist/esm/form/Dialog.js +3 -3
- package/dist/esm/form/Form.d.ts +5 -0
- package/dist/esm/form/Form.js +5 -0
- package/dist/esm/form/FormOlustur.d.ts +5 -0
- package/dist/esm/form/FormOlustur.js +8 -3
- package/dist/esm/form/Input.js +4 -4
- package/dist/esm/form/Label.d.ts +5 -0
- package/dist/esm/form/Label.js +6 -1
- package/dist/esm/form/SearchableInput.d.ts +5 -0
- package/dist/esm/form/SearchableInput.js +9 -4
- package/dist/esm/form/UploadBase.js +1 -1
- package/dist/esm/form/index.d.ts +5 -0
- package/dist/esm/form/index.js +14 -9
- package/dist/esm/form/styles/Button.module.css +6 -0
- package/dist/esm/form/styles/Input.module.css +6 -0
- package/dist/esm/form/styles/Label.module.css +6 -0
- package/dist/esm/form/styles/SearchableInput.module.css +6 -0
- package/dist/esm/grid/index.d.ts +5 -0
- package/dist/esm/grid/index.js +5 -0
- package/dist/esm/grid/index.module.css +7 -0
- package/dist/esm/icon/icons.d.ts +5 -0
- package/dist/esm/icon/icons.js +5 -0
- package/dist/esm/icon/index.d.ts +6 -2
- package/dist/esm/icon/index.js +1 -2
- package/dist/esm/icon/mui.d.ts +5 -0
- package/dist/esm/icon/mui.js +5 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +24 -19
- package/dist/esm/menu/index.d.ts +7 -1
- package/dist/esm/menu/index.js +14 -7
- package/dist/esm/menu/index.module.css +18 -4
- package/dist/esm/modal/index.d.ts +3 -3
- package/dist/esm/modal/index.js +3 -3
- package/dist/esm/modal/index.module.css +6 -0
- package/dist/esm/popover/index.d.ts +1 -1
- package/dist/esm/popover/index.js +1 -1
- package/dist/esm/popover/index.module.css +6 -0
- package/dist/esm/tooltip/index.d.ts +5 -0
- package/dist/esm/tooltip/index.js +5 -0
- package/package.json +17 -4
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export declare const isDev: boolean;
|
|
2
7
|
export declare const isServerReq: (context: any) => boolean;
|
|
3
8
|
export declare const sleep: (ms?: number) => Promise<unknown>;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export var isDev = !process.env.NODE_ENV || process.env.NODE_ENV === 'development';
|
|
2
7
|
export var isServerReq = function (context) { var _a, _b; return !((_b = (_a = context === null || context === void 0 ? void 0 : context.req) === null || _a === void 0 ? void 0 : _a.url) === null || _b === void 0 ? void 0 : _b.startsWith('/_next')); };
|
|
3
8
|
export var sleep = function (ms) {
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export declare const applyInputMask: (inputElement: any, mask: string, options?: any) => {
|
|
2
7
|
destroy: () => void;
|
|
3
8
|
setValue: (value: any) => void;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
6
|
+
import { isDev } from "./baseFunctions.js";
|
|
2
7
|
// Mask işleme core fonksiyonları
|
|
3
8
|
var createMaskCore = function () {
|
|
4
9
|
var defaultTranslation = {
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export declare const onKeyboardSelection: ({ e, targetElement, itemClass, selectedClass, checkByValue, checkByInput, clear }: any) => null | undefined;
|
|
2
7
|
export declare function setScrollListPosition(targetElement: any): void;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export var onKeyboardSelection = function (_a) {
|
|
2
7
|
var e = _a.e, targetElement = _a.targetElement, _b = _a.itemClass, itemClass = _b === void 0 ? "item" : _b, _c = _a.selectedClass, selectedClass = _c === void 0 ? "selected" : _c, checkByValue = _a.checkByValue, checkByInput = _a.checkByInput, clear = _a.clear;
|
|
3
8
|
if (!targetElement.current)
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export declare const cerezOku: (context: any | null | undefined, key: string) => string | false;
|
|
2
7
|
export declare const cerezKaydet: (context: any | null | undefined, key: string, value: string, time?: number) => void;
|
|
3
8
|
export declare const cerezSil: (context: any | null | undefined, key: string) => void;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
import { __assign } from "tslib";
|
|
2
7
|
import nookies, { destroyCookie, parseCookies, setCookie } from 'nookies';
|
|
3
|
-
import { getDomain } from '../baseFunctions';
|
|
8
|
+
import { getDomain } from '../baseFunctions.js';
|
|
4
9
|
export var cerezOku = function (context, key) {
|
|
5
10
|
if (context === void 0) { context = null; }
|
|
6
11
|
var cookies = context ? nookies.get(context) : parseCookies();
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export declare const encData: (data: object | string | number, keys?: number[]) => string;
|
|
2
7
|
export declare const decData: (data: string, keys?: number[]) => any;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
6
|
+
import { isDev } from "../baseFunctions.js";
|
|
2
7
|
var encDecDataKeys = [3, 5, 8, 11, 15, 22];
|
|
3
8
|
export var encData = function (data, keys) {
|
|
4
9
|
if (keys === void 0) { keys = encDecDataKeys; }
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export declare const setLocalStorage: (key: string, value: any) => boolean;
|
|
2
7
|
export declare const getLocalStorage: (key: string) => any;
|
|
3
8
|
export declare const removeLocalStorage: (key: string) => boolean;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
6
|
+
import { decData, encData } from './encData.js';
|
|
7
|
+
import { isDev } from '../baseFunctions.js';
|
|
3
8
|
var storageAvailable = typeof Storage === 'undefined' || !window.localStorage ? false : true;
|
|
4
9
|
export var setLocalStorage = function (key, value) {
|
|
5
10
|
if (!storageAvailable)
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
export declare const setSessionStorage: (key: string, value: any) => boolean;
|
|
2
7
|
export declare const getSessionStorage: (key: string) => any;
|
|
3
8
|
export declare const removeSessionStorage: (key: string) => boolean;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
6
|
+
import { decData, encData } from "./encData.js";
|
|
7
|
+
import { isDev } from "../baseFunctions.js";
|
|
3
8
|
var storageAvailable = typeof Storage === "undefined" || !window.sessionStorage ? false : true;
|
|
4
9
|
export var setSessionStorage = function (key, value) {
|
|
5
10
|
if (!storageAvailable)
|
package/dist/esm/alert/index.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* @author : izzetseydaoglu
|
|
4
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
5
|
+
* @version : 2026-02-10 20:23:07
|
|
6
|
+
*/
|
|
2
7
|
import { useEffect } from "react";
|
|
3
8
|
import { createRoot } from "react-dom/client";
|
|
4
9
|
import styles from "./index.module.css";
|
package/dist/esm/box/Box.d.ts
CHANGED
package/dist/esm/box/Box.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* @author : izzetseydaoglu
|
|
4
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
5
|
+
* @version : 2026-02-10 20:23:07
|
|
6
|
+
*/
|
|
2
7
|
import { memo, useEffect, useRef, useState } from "react";
|
|
3
8
|
import styles from "./Box.module.css";
|
|
4
9
|
export var Box = memo(function MemoFunction(_a) {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
/**
|
|
4
|
+
* @author : izzetseydaoglu
|
|
5
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
6
|
+
* @version : 2026-02-10 20:23:07
|
|
7
|
+
*/
|
|
3
8
|
import { memo } from "react";
|
|
4
9
|
import styles from "./Box.module.css";
|
|
5
10
|
export var BoxFooter = memo(function FunctionMemo(_a) {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/**
|
|
4
|
+
* @author : izzetseydaoglu
|
|
5
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
6
|
+
* @version : 2026-02-10 20:23:07
|
|
7
|
+
*/
|
|
3
8
|
import { memo } from 'react';
|
|
4
9
|
import styles from './Box.module.css';
|
|
5
10
|
export var BoxHeader = memo(function FunctionMemo(_a) {
|
package/dist/esm/box/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @author: izzetseydaoglu
|
|
4
4
|
* @last-modified: 29.01.2024 02:41
|
|
5
5
|
*/
|
|
6
|
-
export * from "./Box";
|
|
7
|
-
export * from './BoxContent';
|
|
8
|
-
export * from './BoxFooter';
|
|
9
|
-
export * from './BoxHeader';
|
|
6
|
+
export * from "./Box.js";
|
|
7
|
+
export * from './BoxContent.js';
|
|
8
|
+
export * from './BoxFooter.js';
|
|
9
|
+
export * from './BoxHeader.js';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
import { useEffect, useRef, useState } from 'react';
|
|
2
7
|
import React from 'react';
|
|
3
|
-
import { useInterval } from '../_lib/useInterval';
|
|
8
|
+
import { useInterval } from '../_lib/useInterval.js';
|
|
4
9
|
export var useCountDown = function (_a) {
|
|
5
10
|
var _b = _a.autoStart, autoStart = _b === void 0 ? false : _b, onComplete = _a.onComplete, getStatus = _a.getStatus, targetTime = _a.targetTime, _c = _a.timerType, timerType = _c === void 0 ? 'countdown' : _c, _d = _a.countType, countType = _d === void 0 ? 'seconds' : _d, _e = _a.speed, speed = _e === void 0 ? 1000 : _e, hide = _a.hide;
|
|
6
11
|
var refCountDownRender = useRef(null);
|
package/dist/esm/form/Button.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @author : izzetseydaoglu
|
|
5
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
6
|
+
* @version : 2026-02-10 20:23:07
|
|
7
|
+
*/
|
|
8
|
+
import { Dialog } from "./Dialog.js";
|
|
4
9
|
import { memo, useCallback, useEffect, useState } from "react";
|
|
5
|
-
import { Tooltip } from "../tooltip";
|
|
10
|
+
import { Tooltip } from "../tooltip/index.js";
|
|
6
11
|
import Link from "next/link";
|
|
7
12
|
import styles from "./styles/Button.module.css";
|
|
8
13
|
export var Button = memo(function MemoFunction(_a) {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* @author : izzetseydaoglu
|
|
4
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
5
|
+
* @version : 2026-02-10 20:23:07
|
|
6
|
+
*/
|
|
2
7
|
import { useRef } from "react";
|
|
3
8
|
import styles from "./styles/Input.module.css";
|
|
4
9
|
export var Checkbox = function (_a) {
|
package/dist/esm/form/Dialog.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Box, BoxFooter } from '../box';
|
|
3
|
+
import { Box, BoxFooter } from '../box/index.js';
|
|
4
4
|
import { createRoot } from 'react-dom/client';
|
|
5
|
-
import { Modal } from '../modal';
|
|
6
|
-
import { Button } from './Button';
|
|
5
|
+
import { Modal } from '../modal/index.js';
|
|
6
|
+
import { Button } from './Button.js';
|
|
7
7
|
export var Dialog = function (config) {
|
|
8
8
|
return new Promise(function (resolve) {
|
|
9
9
|
if (typeof window === 'undefined')
|
package/dist/esm/form/Form.d.ts
CHANGED
package/dist/esm/form/Form.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
/**
|
|
4
|
+
* @author : izzetseydaoglu
|
|
5
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
6
|
+
* @version : 2026-02-10 20:23:07
|
|
7
|
+
*/
|
|
3
8
|
import { memo } from "react";
|
|
4
9
|
export var Form = memo(function FunctionMemo(_a) {
|
|
5
10
|
var _b = _a.encType, encType = _b === void 0 ? "multipart/form-data" : _b, onSubmit = _a.onSubmit, style = _a.style, _c = _a.disableOnEnterSubmit, disableOnEnterSubmit = _c === void 0 ? false : _c, other = __rest(_a, ["encType", "onSubmit", "style", "disableOnEnterSubmit"]);
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
1
6
|
import React from 'react';
|
|
2
7
|
import { typeJustifyContent, typeSpacingValues } from '../grid';
|
|
3
8
|
type gridValues = 'auto' | 'full' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/**
|
|
4
|
+
* @author : izzetseydaoglu
|
|
5
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
6
|
+
* @version : 2026-02-10 20:23:07
|
|
7
|
+
*/
|
|
3
8
|
import React, { memo, useEffect, useMemo } from 'react';
|
|
4
|
-
import { Col, Row } from '../grid';
|
|
5
|
-
import { isDev } from '../_lib/baseFunctions';
|
|
6
|
-
import { Label } from './Label';
|
|
9
|
+
import { Col, Row } from '../grid/index.js';
|
|
10
|
+
import { isDev } from '../_lib/baseFunctions.js';
|
|
11
|
+
import { Label } from './Label.js';
|
|
7
12
|
export var FormOlustur = memo(function FunctionMemo(props) {
|
|
8
13
|
var form = props.form, formOgeler = props.formOgeler, onChange = props.onChange, formType = props.formType, sabitGrid = props.sabitGrid, justifyContent = props.justifyContent, rowSpacing = props.rowSpacing, colSpacing = props.colSpacing;
|
|
9
14
|
useEffect(function () {
|
package/dist/esm/form/Input.js
CHANGED
|
@@ -6,10 +6,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
* @version : 2026-01-21 21:35:48
|
|
7
7
|
*/
|
|
8
8
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
9
|
-
import { convertForSEO, inputTumuBuyukCevir, inputTumuKucukCevir } from '../_lib/baseFunctions';
|
|
10
|
-
import { applyInputMask } from '../_lib/inputMask';
|
|
11
|
-
import { alert_add } from '../alert';
|
|
12
|
-
import { Dialog } from './Dialog';
|
|
9
|
+
import { convertForSEO, inputTumuBuyukCevir, inputTumuKucukCevir } from '../_lib/baseFunctions.js';
|
|
10
|
+
import { applyInputMask } from '../_lib/inputMask.js';
|
|
11
|
+
import { alert_add } from '../alert/index.js';
|
|
12
|
+
import { Dialog } from './Dialog.js';
|
|
13
13
|
import styles from './styles/Input.module.css';
|
|
14
14
|
export var Input = function (_a) {
|
|
15
15
|
var componentRef = _a.componentRef, inputRef = _a.inputRef, className = _a.className, propsComponent = _a.propsComponent, propsInput = _a.propsInput, id = _a.id, name = _a.name, _b = _a.value, value = _b === void 0 ? '' : _b, type = _a.type, label = _a.label, startAdornment = _a.startAdornment, endAdornment = _a.endAdornment, placeholder = _a.placeholder, onChange = _a.onChange, onFocus = _a.onFocus, onBlur = _a.onBlur, onClick = _a.onClick, onKeyPress = _a.onKeyPress, onKeyUp = _a.onKeyUp, onKeyDown = _a.onKeyDown, _c = _a.disabled, disabled = _c === void 0 ? false : _c, _d = _a.required, required = _d === void 0 ? false : _d, _e = _a.loading, loading = _e === void 0 ? false : _e, _f = _a.autoFocus, autoFocus = _f === void 0 ? false : _f, select = _a.select, _g = _a.valueKey, valueKey = _g === void 0 ? 'value' : _g, _h = _a.labelKey, labelKey = _h === void 0 ? 'label' : _h, _j = _a.ilkSec, ilkSec = _j === void 0 ? false : _j, _k = _a.multiline, multiline = _k === void 0 ? false : _k, _l = _a.rows, rows = _l === void 0 ? 2 : _l, sadeceYazi = _a.sadeceYazi, sadeceSayi = _a.sadeceSayi, tumuBuyuk = _a.tumuBuyuk, tumuKucuk = _a.tumuKucuk, seoCevir = _a.seoCevir, dosyaNoGiris = _a.dosyaNoGiris, fileNameGiris = _a.fileNameGiris, dateGecmisKontrol = _a.dateGecmisKontrol, autoSelectText = _a.autoSelectText, _m = _a.mask, mask = _m === void 0 ? '' : _m, _o = _a.maskSettings, maskSettings = _o === void 0 ? {
|
package/dist/esm/form/Label.d.ts
CHANGED
package/dist/esm/form/Label.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/**
|
|
4
|
+
* @author : izzetseydaoglu
|
|
5
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
6
|
+
* @version : 2026-02-10 20:23:07
|
|
7
|
+
*/
|
|
3
8
|
import { memo } from 'react';
|
|
4
|
-
import { Tooltip } from '../tooltip';
|
|
9
|
+
import { Tooltip } from '../tooltip/index.js';
|
|
5
10
|
import styles from './styles/Label.module.css';
|
|
6
11
|
export var Label = memo(function FMemo(_a) {
|
|
7
12
|
var _b = _a.required, required = _b === void 0 ? false : _b, children = _a.children, other = __rest(_a, ["required", "children"]);
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { __assign, __rest, __spreadArray } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @author : izzetseydaoglu
|
|
5
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
6
|
+
* @version : 2026-02-10 20:23:07
|
|
7
|
+
*/
|
|
8
|
+
import { Button, Input } from './index.js';
|
|
9
|
+
import { convertForSearch, convertLowerCase } from '../_lib/baseFunctions.js';
|
|
5
10
|
import { forwardRef, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
6
|
-
import { onKeyboardSelection, setScrollListPosition } from '../_lib/listFunctions';
|
|
7
|
-
import { Icon } from '../icon';
|
|
11
|
+
import { onKeyboardSelection, setScrollListPosition } from '../_lib/listFunctions.js';
|
|
12
|
+
import { Icon } from '../icon/index.js';
|
|
8
13
|
import styles from './styles/SearchableInput.module.css';
|
|
9
14
|
export var SearchableInput = forwardRef(function (_a, ref) {
|
|
10
15
|
var _b = _a.autoCompleteList, autoCompleteList = _b === void 0 ? [] : _b, isDataFromApi = _a.isDataFromApi, name = _a.name, value = _a.value, parentInputValue = _a.parentInputValue, disabled = _a.disabled, itemComponent = _a.itemComponent, _c = _a.valueKey, valueKey = _c === void 0 ? 'value' : _c, _d = _a.labelKey, labelKey = _d === void 0 ? 'label' : _d, onSelect = _a.onSelect, onChange = _a.onChange, onText = _a.onText, onLoad = _a.onLoad, style = _a.style, _e = _a.listPositionRelative, listPositionRelative = _e === void 0 ? false : _e, _f = _a.loadingMessage, loadingMessage = _f === void 0 ? 'Lütfen bekleyiniz...' : _f, _g = _a.notFoundMessage, notFoundMessage = _g === void 0 ? 'Kayıt bulunamadı...' : _g, placeholder = _a.placeholder, endAdornment = _a.endAdornment, _h = _a.ilkSec, ilkSec = _h === void 0 ? false : _h, _j = _a.newCreate, newCreate = _j === void 0 ? false : _j, inputRef = _a.inputRef, other = __rest(_a, ["autoCompleteList", "isDataFromApi", "name", "value", "parentInputValue", "disabled", "itemComponent", "valueKey", "labelKey", "onSelect", "onChange", "onText", "onLoad", "style", "listPositionRelative", "loadingMessage", "notFoundMessage", "placeholder", "endAdornment", "ilkSec", "newCreate", "inputRef"]);
|
|
@@ -6,7 +6,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
* @last-modified: 11.06.2024 02:39
|
|
7
7
|
*/
|
|
8
8
|
import { useEffect, useRef } from "react";
|
|
9
|
-
import { alert_add } from "../alert";
|
|
9
|
+
import { alert_add } from "../alert/index.js";
|
|
10
10
|
var upload_ext_ok = ["pdf", "doc", "docx", "xls", "xlsx", "jpg", "jpeg", "png", "bmp", "tiff", "tif", "udf", "txt", "rtf", "csv", "xml", "zip", "rar"];
|
|
11
11
|
var upload_maxsize = 30;
|
|
12
12
|
var upload_maxfile = 50;
|
package/dist/esm/form/index.d.ts
CHANGED
package/dist/esm/form/index.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-10 20:23:07
|
|
5
|
+
*/
|
|
6
|
+
export * from "./Button.js";
|
|
7
|
+
export * from "./Checkbox.js";
|
|
8
|
+
export * from "./Dialog.js";
|
|
9
|
+
export * from "./Form.js";
|
|
10
|
+
export * from "./FormOlustur.js";
|
|
11
|
+
export * from "./Input.js";
|
|
12
|
+
export * from "./Label.js";
|
|
13
|
+
export * from "./SearchableInput.js";
|
|
14
|
+
export * from "./UploadBase.js";
|
package/dist/esm/grid/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-11 17:53:21
|
|
5
|
+
*/
|
|
1
6
|
import React from 'react';
|
|
2
7
|
export type typeSpacingValues = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3
8
|
export type typeJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
|