@sydsoft/base 1.59.0 → 2.0.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 +5 -0
- 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 +5 -0
- package/dist/esm/_lib/storage/encData.d.ts +5 -0
- package/dist/esm/_lib/storage/encData.js +5 -0
- package/dist/esm/_lib/storage/localStorage.d.ts +5 -0
- package/dist/esm/_lib/storage/localStorage.js +5 -0
- package/dist/esm/_lib/storage/sessionStorage.d.ts +5 -0
- package/dist/esm/_lib/storage/sessionStorage.js +5 -0
- 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/countDown/index.d.ts +5 -0
- package/dist/esm/countDown/index.js +5 -0
- 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 +5 -0
- 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/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 +5 -0
- package/dist/esm/form/Label.d.ts +5 -0
- package/dist/esm/form/Label.js +5 -0
- package/dist/esm/form/SearchableInput.d.ts +5 -0
- package/dist/esm/form/SearchableInput.js +5 -0
- package/dist/esm/form/index.d.ts +5 -0
- package/dist/esm/form/index.js +5 -0
- 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 +0 -1
- 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 +5 -0
- package/dist/esm/menu/index.d.ts +7 -1
- package/dist/esm/menu/index.js +12 -5
- 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 +7 -3
|
@@ -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,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,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 { __assign } from "tslib";
|
|
2
7
|
import nookies, { destroyCookie, parseCookies, setCookie } from 'nookies';
|
|
3
8
|
import { getDomain } from '../baseFunctions';
|
|
@@ -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,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,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 { decData, encData } from './encData';
|
|
2
7
|
import { isDev } from '../baseFunctions';
|
|
3
8
|
var storageAvailable = typeof Storage === 'undefined' || !window.localStorage ? false : true;
|
|
@@ -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,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 { decData, encData } from "./encData";
|
|
2
7
|
import { isDev } from "../baseFunctions";
|
|
3
8
|
var storageAvailable = typeof Storage === "undefined" || !window.sessionStorage ? false : true;
|
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/form/Button.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 { Dialog } from "./Dialog";
|
|
4
9
|
import { memo, useCallback, useEffect, useState } from "react";
|
|
5
10
|
import { Tooltip } from "../tooltip";
|
|
@@ -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/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,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 React, { memo, useEffect, useMemo } from 'react';
|
|
4
9
|
import { Col, Row } from '../grid';
|
|
5
10
|
import { isDev } from '../_lib/baseFunctions';
|
package/dist/esm/form/Label.d.ts
CHANGED
package/dist/esm/form/Label.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
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
9
|
import { Tooltip } from '../tooltip';
|
|
5
10
|
import styles from './styles/Label.module.css';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { __assign, __rest, __spreadArray } 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 { Button, Input } from './index';
|
|
4
9
|
import { convertForSearch, convertLowerCase } from '../_lib/baseFunctions';
|
|
5
10
|
import { forwardRef, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
package/dist/esm/form/index.d.ts
CHANGED
package/dist/esm/form/index.js
CHANGED
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';
|
package/dist/esm/grid/index.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { __assign, __rest, __spreadArray } 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-11 17:53:21
|
|
7
|
+
*/
|
|
3
8
|
import React, { useState } from 'react';
|
|
4
9
|
import styles from './index.module.css';
|
|
5
10
|
export var Row = function (_a) {
|
package/dist/esm/icon/icons.d.ts
CHANGED
package/dist/esm/icon/icons.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, 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
|
export var iconMap = {
|
|
3
8
|
close: {
|
|
4
9
|
viewBox: '0 -960 960 960',
|
package/dist/esm/icon/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author : izzetseydaoglu
|
|
3
|
+
* @copyright : sydSOFT Bilişim Hizmetleri (c) 2026
|
|
4
|
+
* @version : 2026-02-11 17:57:22
|
|
5
|
+
*/
|
|
6
|
+
import { MaterialIconName } from './mui';
|
|
1
7
|
import React from 'react';
|
|
2
8
|
import { iconMap } from './icons';
|
|
3
|
-
import { MaterialIconName } from './mui';
|
|
4
|
-
export declare const iconList: IconName[];
|
|
5
9
|
export type IconName = keyof typeof iconMap;
|
|
6
10
|
interface BaseProps {
|
|
7
11
|
color?: string;
|
package/dist/esm/icon/index.js
CHANGED