@nice2dev/ui 1.0.6 → 1.0.10
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/NiceAPIFlow.doc-DnQLPUie.js +30 -0
- package/dist/NiceAPIFlow.doc-Dx4qw1lm.cjs +6 -0
- package/dist/NiceBranchManager.doc-BXjiENlD.cjs +6 -0
- package/dist/NiceBranchManager.doc-xLB82YwU.js +30 -0
- package/dist/NiceButton-CDiS45Ya.cjs +1 -0
- package/dist/NiceButton-D9l39Rs7.js +595 -0
- package/dist/NiceCodeTemplate.doc-BWxTE4C_.cjs +6 -0
- package/dist/NiceCodeTemplate.doc-CA2U5F-v.js +30 -0
- package/dist/NiceDataBranchGraph.doc-CkitupWc.js +29 -0
- package/dist/NiceDataBranchGraph.doc-DDUgipqH.cjs +5 -0
- package/dist/NiceDataBranchManager.doc-B0ODKOs4.js +30 -0
- package/dist/NiceDataBranchManager.doc-CC5o8ihs.cjs +6 -0
- package/dist/NiceDataConflictResolver.doc-CdzScNie.cjs +5 -0
- package/dist/NiceDataConflictResolver.doc-V8vxYAeo.js +29 -0
- package/dist/NiceDataDiffViewer.doc-CR14Bq3A.cjs +6 -0
- package/dist/NiceDataDiffViewer.doc-w2I2QjhX.js +30 -0
- package/dist/NiceDataMapper.doc-C7jSyHRM.js +30 -0
- package/dist/NiceDataMapper.doc-DXjQHz87.cjs +6 -0
- package/dist/NiceDataMergeBuilder.doc-CV32WC_w.cjs +6 -0
- package/dist/NiceDataMergeBuilder.doc-DtuYb3nx.js +30 -0
- package/dist/NiceDataSnapshot.doc-CFLkY3ry.js +30 -0
- package/dist/NiceDataSnapshot.doc-CpZyQ17u.cjs +6 -0
- package/dist/NiceErrorBoundary-B5nF-OVn.cjs +1 -0
- package/dist/NiceErrorBoundary-BAeqfoSc.cjs +1 -0
- package/dist/NiceErrorBoundary-D75yr_WE.js +762 -0
- package/dist/NiceErrorBoundary-niMx1aSJ.js +837 -0
- package/dist/NiceEventOrchestrator.doc-C4SJfIDV.js +30 -0
- package/dist/NiceEventOrchestrator.doc-CxjsLxBG.cjs +6 -0
- package/dist/NiceForm-CKoJA6NG.js +5131 -0
- package/dist/NiceForm-D7xnpnRJ.cjs +382 -0
- package/dist/NiceForm.css +1 -0
- package/dist/NiceGitBlame.doc-BG3_K9_0.cjs +6 -0
- package/dist/NiceGitBlame.doc-DrJABEat.js +30 -0
- package/dist/NiceGitConflictResolver.doc-BK7hAfz6.js +30 -0
- package/dist/NiceGitConflictResolver.doc-CgroGM9_.cjs +6 -0
- package/dist/NiceGitDiffViewer.doc-BAwgcY_3.cjs +6 -0
- package/dist/NiceGitDiffViewer.doc-BXKJeP-E.js +30 -0
- package/dist/NiceGitGraph.doc-B-WtGuzn.cjs +5 -0
- package/dist/NiceGitGraph.doc-DxnDPCgC.js +29 -0
- package/dist/NiceGitHooks.doc-BrEizvMp.js +29 -0
- package/dist/NiceGitHooks.doc-C4EdV5zj.cjs +5 -0
- package/dist/NiceMergeRequestBuilder.doc-C5p8mYuh.cjs +6 -0
- package/dist/NiceMergeRequestBuilder.doc-Ct9RCmU8.js +30 -0
- package/dist/NiceModal-1QX7NhyH.js +95 -0
- package/dist/NiceModal-CAwsKVQ2.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-Brg1RLwi.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-C9xMSjOF.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-CMrPbSw9.js +5249 -0
- package/dist/NiceModuleLifecyclePanel-I_TXRiiY.js +5053 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -0
- package/dist/NicePagination-DbE-uOkl.js +171 -0
- package/dist/NicePagination-DlealakT.cjs +1 -0
- package/dist/NicePinCodeInput-B8cI8zu8.js +11830 -0
- package/dist/NicePinCodeInput-CrMfdxxc.js +15287 -0
- package/dist/NicePinCodeInput-D0aF9MK8.cjs +692 -0
- package/dist/NicePinCodeInput-SGQaHvpE.cjs +419 -0
- package/dist/NicePinCodeInput.css +1 -1
- package/dist/NicePipelineEditor.doc-0eGt8zbX.cjs +5 -0
- package/dist/NicePipelineEditor.doc-DTmaOebn.js +29 -0
- package/dist/NicePipelineMonitor.doc-67CmsRcf.cjs +5 -0
- package/dist/NicePipelineMonitor.doc-mSMdhuG8.js +29 -0
- package/dist/NiceSavedQueryPanel-BZNvqSQW.cjs +596 -0
- package/dist/NiceSavedQueryPanel-CUAsdOjJ.js +6190 -0
- package/dist/NiceSavedQueryPanel-CZ5bYOe_.js +6449 -0
- package/dist/NiceSavedQueryPanel-Ce2s060j.cjs +596 -0
- package/dist/NiceStateDesigner.doc-B36u0hNU.js +29 -0
- package/dist/NiceStateDesigner.doc-MPmvNHSx.cjs +5 -0
- package/dist/NiceTabs-DvOmxKyQ.cjs +1 -0
- package/dist/NiceTabs-DzLHzwuA.js +1636 -0
- package/dist/NiceTestBuilder.doc-BFInj8GJ.js +30 -0
- package/dist/NiceTestBuilder.doc-CB03U_uR.cjs +6 -0
- package/dist/NiceToggle-CaY1u82g.js +277 -0
- package/dist/NiceToggle-DFJFQv_Z.cjs +1 -0
- package/dist/NiceWindow-CVgkxcCz.cjs +1 -0
- package/dist/NiceWindow-DeC83yfE.js +1409 -0
- package/dist/NiceWindow-IdHAcP70.cjs +1 -0
- package/dist/NiceWindow-SiCaREbq.js +1408 -0
- package/dist/charts-BAS21jkC.js +4621 -0
- package/dist/charts-Bx_kNBsE.js +4280 -0
- package/dist/charts-DECVsCHX.cjs +754 -0
- package/dist/charts-DShUbWrP.cjs +759 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.css +1 -0
- package/dist/charts.d.ts +45 -48
- package/dist/charts.mjs +1 -1
- package/dist/core-BZBTsGWN.cjs +96 -0
- package/dist/core-BpghV7Ls.js +17555 -0
- package/dist/core-C2ZmWe_u.cjs +96 -0
- package/dist/core-Da43q-pO.js +22094 -0
- package/dist/data-branching-CJlrg8qf.cjs +1 -0
- package/dist/data-branching-DCUwI53s.js +6121 -0
- package/dist/data-branching-De4ExX-S.cjs +1 -0
- package/dist/data-branching-DiRfob1f.js +6071 -0
- package/dist/data-branching.cjs +1 -0
- package/dist/data-branching.d.ts +364 -0
- package/dist/data-branching.mjs +9 -0
- package/dist/data.cjs +1 -1
- package/dist/data.d.ts +206 -192
- package/dist/data.mjs +1 -1
- package/dist/devops-BnYinjkT.cjs +17 -0
- package/dist/devops-CXynFG3X.cjs +17 -0
- package/dist/devops-Ckh57eti.js +7198 -0
- package/dist/devops-D0TfzV5B.js +7660 -0
- package/dist/devops.cjs +1 -0
- package/dist/devops.d.ts +721 -0
- package/dist/devops.mjs +12 -0
- package/dist/editors.cjs +1 -1
- package/dist/editors.d.ts +311 -393
- package/dist/editors.mjs +61 -64
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.d.ts +3 -44
- package/dist/feedback.mjs +11 -10
- package/dist/index-B8wxZ8Ps.cjs +5192 -0
- package/dist/index-CBIZ6mTQ.cjs +5734 -0
- package/dist/index-CIl98Vbm.js +72951 -0
- package/dist/index-pAuGTbuB.js +57319 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4673 -10015
- package/dist/index.mjs +880 -969
- package/dist/lazy.cjs +1 -0
- package/dist/lazy.d.ts +1848 -0
- package/dist/lazy.mjs +98 -0
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +151 -216
- package/dist/navigation.mjs +111 -48
- package/dist/no-code-B5bzduNP.cjs +332 -0
- package/dist/no-code-BCuadkm4.cjs +332 -0
- package/dist/no-code-D8RJ7lx0.js +7064 -0
- package/dist/no-code-TL7PyulA.js +7005 -0
- package/dist/no-code.cjs +1 -0
- package/dist/no-code.d.ts +833 -0
- package/dist/no-code.mjs +13 -0
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.d.ts +13 -45
- package/dist/overlays.mjs +490 -24
- package/package.json +24 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.nice-country-picker{position:relative;display:inline-block;width:100%;max-width:320px;font-family:inherit}.nice-country-picker--sm{font-size:12px}.nice-country-picker--md{font-size:14px}.nice-country-picker--lg{font-size:16px}.nice-country-picker__trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 12px;border:1px solid var(--border-color, var(--nice-border-color, #d1d5db));border-radius:6px;background:var(--bg-primary, var(--nice-bg, #fff));cursor:pointer;text-align:left;font-size:inherit;color:var(--text-primary, var(--nice-text, #1f2937));transition:border-color .2s,box-shadow .2s}.nice-country-picker--sm .nice-country-picker__trigger{padding:6px 10px}.nice-country-picker--lg .nice-country-picker__trigger{padding:10px 14px}.nice-country-picker__trigger:hover:not(:disabled){border-color:var(--nice-primary, #3b82f6)}.nice-country-picker__trigger:focus{outline:none;border-color:var(--nice-primary, #3b82f6);box-shadow:0 0 0 3px #3b82f633}.nice-country-picker--open .nice-country-picker__trigger{border-color:var(--nice-primary, #3b82f6);box-shadow:0 0 0 3px #3b82f633}.nice-country-picker--disabled .nice-country-picker__trigger{background:var(--nice-disabled-bg, #f3f4f6);color:var(--nice-disabled-text, #9ca3af);cursor:not-allowed}.nice-country-picker__value{display:flex;align-items:center;gap:8px;flex:1;overflow:hidden}.nice-country-picker__flag{font-size:1.2em;line-height:1;flex-shrink:0}.nice-country-picker__name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nice-country-picker__dial-code{color:var(--nice-text-secondary, #6b7280);font-size:.9em;flex-shrink:0}.nice-country-picker__placeholder{color:var(--nice-placeholder, #9ca3af)}.nice-country-picker__icons{display:flex;align-items:center;gap:4px;margin-left:8px;flex-shrink:0}.nice-country-picker__clear{display:flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:10px;color:var(--nice-text-secondary, #6b7280);background:var(--nice-hover-bg, #f3f4f6);border-radius:50%;cursor:pointer;transition:background .2s,color .2s}.nice-country-picker__clear:hover{background:var(--nice-danger, #ef4444);color:#fff}.nice-country-picker__arrow{font-size:10px;color:var(--nice-text-secondary, #6b7280);transition:transform .2s}.nice-country-picker__dropdown{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:var(--bg-primary, var(--nice-bg, #fff));color:var(--text-primary, var(--nice-text, #1f2937));border:1px solid var(--border-color, var(--nice-border-color, #d1d5db));border-radius:6px;box-shadow:0 10px 25px #00000026;z-index:1000;max-height:320px;display:flex;flex-direction:column;overflow:hidden}.nice-country-picker__search{padding:8px;border-bottom:1px solid var(--nice-border-color, #e5e7eb);flex-shrink:0}.nice-country-picker__search-input{width:100%;padding:8px 12px;border:1px solid var(--nice-border-color, #d1d5db);border-radius:4px;font-size:inherit;background:var(--nice-bg, #fff);color:var(--nice-text, #1f2937)}.nice-country-picker__search-input:focus{outline:none;border-color:var(--nice-primary, #3b82f6);box-shadow:0 0 0 2px #3b82f626}.nice-country-picker__search-input::placeholder{color:var(--nice-placeholder, #9ca3af)}.nice-country-picker__list{flex:1;overflow-y:auto;padding:4px}.nice-country-picker__option{display:flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;border-radius:4px;transition:background .15s}.nice-country-picker__option:hover,.nice-country-picker__option--highlighted{background:color-mix(in srgb,var(--color-primary, #3b82f6) 14%,transparent);color:var(--text-primary, var(--nice-text, #1f2937))}.nice-country-picker__option--selected{background:color-mix(in srgb,var(--color-primary, #3b82f6) 22%,transparent);color:var(--text-primary, var(--nice-text, #1f2937));font-weight:600}.nice-country-picker__option--selected:hover,.nice-country-picker__option--selected.nice-country-picker__option--highlighted{background:color-mix(in srgb,var(--color-primary, #3b82f6) 30%,transparent)}.nice-country-picker__option .nice-country-picker__dial-code{margin-left:auto}.nice-country-picker__empty{padding:16px;text-align:center;color:var(--nice-text-secondary, #6b7280)}@media(prefers-color-scheme:dark){.nice-country-picker__trigger{background:var(--nice-bg, #1f2937);border-color:var(--nice-border-color, #374151);color:var(--nice-text, #f3f4f6)}.nice-country-picker--disabled .nice-country-picker__trigger{background:var(--nice-disabled-bg, #374151);color:var(--nice-disabled-text, #6b7280)}.nice-country-picker__dropdown{background:var(--nice-bg, #1f2937);border-color:var(--nice-border-color, #374151);box-shadow:0 10px 25px #0006}.nice-country-picker__search{border-color:var(--nice-border-color, #374151)}.nice-country-picker__search-input{background:var(--nice-bg, #111827);border-color:var(--nice-border-color, #374151);color:var(--nice-text, #f3f4f6)}.nice-country-picker__option:hover,.nice-country-picker__option--highlighted{background:var(--nice-hover-bg, #374151)}.nice-country-picker__option--selected,.nice-country-picker__option--selected:hover,.nice-country-picker__option--selected.nice-country-picker__option--highlighted{background:var(--nice-primary-dark, #1e3a8a)}.nice-country-picker__clear{background:var(--nice-hover-bg, #374151);color:var(--nice-text-secondary, #9ca3af)}}.nice-country-picker__list::-webkit-scrollbar{width:8px}.nice-country-picker__list::-webkit-scrollbar-track{background:transparent}.nice-country-picker__list::-webkit-scrollbar-thumb{background:var(--nice-border-color, #d1d5db);border-radius:4px}.nice-country-picker__list::-webkit-scrollbar-thumb:hover{background:var(--nice-text-secondary, #9ca3af)}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceGitBlame",i="Git blame view showing commit info per line with author, date, and commit message.",n="devops",o="1.0.7",a="stable",s=[{name:"content",type:"string",required:!0,description:"File content"},{name:"blameData",type:"BlameEntry[]",required:!0,description:"Blame data per line"},{name:"language",type:"string",description:"Language for syntax highlighting"},{name:"onCommitClick",type:"(hash: string) => void",description:"Callback when clicking a commit"},{name:"showAge",type:"boolean",default:!0,description:"Show relative age colors"}],c=[{title:"Git Blame",description:"View line-by-line commit history",code:`<NiceGitBlame
|
|
2
|
+
content={fileContent}
|
|
3
|
+
blameData={blameInfo}
|
|
4
|
+
language="typescript"
|
|
5
|
+
onCommitClick={handleCommitClick}
|
|
6
|
+
/>`}],l={role:"region",ariaLabel:"Git blame view"},m=["NiceGitGraph","NiceGitDiffViewer"],r={$schema:e,name:t,description:i,category:n,since:o,status:a,props:s,examples:c,accessibility:l,seeAlso:m};exports.$schema=e;exports.accessibility=l;exports.category=n;exports.default=r;exports.description=i;exports.examples=c;exports.name=t;exports.props=s;exports.seeAlso=m;exports.since=o;exports.status=a;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceGitBlame", i = "Git blame view showing commit info per line with author, date, and commit message.", n = "devops", o = "1.0.7", a = "stable", c = [{ name: "content", type: "string", required: !0, description: "File content" }, { name: "blameData", type: "BlameEntry[]", required: !0, description: "Blame data per line" }, { name: "language", type: "string", description: "Language for syntax highlighting" }, { name: "onCommitClick", type: "(hash: string) => void", description: "Callback when clicking a commit" }, { name: "showAge", type: "boolean", default: !0, description: "Show relative age colors" }], s = [{ title: "Git Blame", description: "View line-by-line commit history", code: `<NiceGitBlame
|
|
2
|
+
content={fileContent}
|
|
3
|
+
blameData={blameInfo}
|
|
4
|
+
language="typescript"
|
|
5
|
+
onCommitClick={handleCommitClick}
|
|
6
|
+
/>` }], l = { role: "region", ariaLabel: "Git blame view" }, m = ["NiceGitGraph", "NiceGitDiffViewer"], r = {
|
|
7
|
+
$schema: e,
|
|
8
|
+
name: t,
|
|
9
|
+
description: i,
|
|
10
|
+
category: n,
|
|
11
|
+
since: o,
|
|
12
|
+
status: a,
|
|
13
|
+
props: c,
|
|
14
|
+
examples: s,
|
|
15
|
+
accessibility: l,
|
|
16
|
+
seeAlso: m
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
e as $schema,
|
|
20
|
+
l as accessibility,
|
|
21
|
+
n as category,
|
|
22
|
+
r as default,
|
|
23
|
+
i as description,
|
|
24
|
+
s as examples,
|
|
25
|
+
t as name,
|
|
26
|
+
c as props,
|
|
27
|
+
m as seeAlso,
|
|
28
|
+
o as since,
|
|
29
|
+
a as status
|
|
30
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceGitConflictResolver", n = "Three-way merge conflict resolution tool with side-by-side comparison and conflict actions.", s = "devops", i = "1.0.7", o = "stable", c = [{ name: "base", type: "string", required: !0, description: "Base version content" }, { name: "ours", type: "string", required: !0, description: "Our changes content" }, { name: "theirs", type: "string", required: !0, description: "Their changes content" }, { name: "filename", type: "string", description: "File name" }, { name: "onResolve", type: "(resolved: string) => void", description: "Callback with resolved content" }, { name: "language", type: "string", description: "Language for syntax highlighting" }], r = [{ title: "Conflict Resolver", description: "Resolve merge conflicts", code: `<NiceGitConflictResolver
|
|
2
|
+
base={baseContent}
|
|
3
|
+
ours={ourChanges}
|
|
4
|
+
theirs={theirChanges}
|
|
5
|
+
onResolve={handleResolve}
|
|
6
|
+
/>` }], a = { role: "region", ariaLabel: "Git conflict resolver" }, l = ["NiceGitDiffViewer", "NiceMergeRequestBuilder"], d = {
|
|
7
|
+
$schema: e,
|
|
8
|
+
name: t,
|
|
9
|
+
description: n,
|
|
10
|
+
category: s,
|
|
11
|
+
since: i,
|
|
12
|
+
status: o,
|
|
13
|
+
props: c,
|
|
14
|
+
examples: r,
|
|
15
|
+
accessibility: a,
|
|
16
|
+
seeAlso: l
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
e as $schema,
|
|
20
|
+
a as accessibility,
|
|
21
|
+
s as category,
|
|
22
|
+
d as default,
|
|
23
|
+
n as description,
|
|
24
|
+
r as examples,
|
|
25
|
+
t as name,
|
|
26
|
+
c as props,
|
|
27
|
+
l as seeAlso,
|
|
28
|
+
i as since,
|
|
29
|
+
o as status
|
|
30
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceGitConflictResolver",s="Three-way merge conflict resolution tool with side-by-side comparison and conflict actions.",n="devops",i="1.0.7",o="stable",c=[{name:"base",type:"string",required:!0,description:"Base version content"},{name:"ours",type:"string",required:!0,description:"Our changes content"},{name:"theirs",type:"string",required:!0,description:"Their changes content"},{name:"filename",type:"string",description:"File name"},{name:"onResolve",type:"(resolved: string) => void",description:"Callback with resolved content"},{name:"language",type:"string",description:"Language for syntax highlighting"}],r=[{title:"Conflict Resolver",description:"Resolve merge conflicts",code:`<NiceGitConflictResolver
|
|
2
|
+
base={baseContent}
|
|
3
|
+
ours={ourChanges}
|
|
4
|
+
theirs={theirChanges}
|
|
5
|
+
onResolve={handleResolve}
|
|
6
|
+
/>`}],a={role:"region",ariaLabel:"Git conflict resolver"},l=["NiceGitDiffViewer","NiceMergeRequestBuilder"],d={$schema:e,name:t,description:s,category:n,since:i,status:o,props:c,examples:r,accessibility:a,seeAlso:l};exports.$schema=e;exports.accessibility=a;exports.category=n;exports.default=d;exports.description=s;exports.examples=r;exports.name=t;exports.props=c;exports.seeAlso=l;exports.since=i;exports.status=o;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",i="NiceGitDiffViewer",t="Side-by-side or unified diff viewer with syntax highlighting and line navigation.",n="devops",o="1.0.7",s="stable",c=[{name:"oldContent",type:"string",required:!0,description:"Original file content"},{name:"newContent",type:"string",required:!0,description:"Modified file content"},{name:"filename",type:"string",description:"File name for syntax detection"},{name:"mode",type:"'split' | 'unified'",default:"split",description:"Diff display mode"},{name:"language",type:"string",description:"Language for syntax highlighting"},{name:"showLineNumbers",type:"boolean",default:!0,description:"Show line numbers"}],a=[{title:"Diff Viewer",description:"Compare two file versions",code:`<NiceGitDiffViewer
|
|
2
|
+
oldContent={oldCode}
|
|
3
|
+
newContent={newCode}
|
|
4
|
+
filename="index.ts"
|
|
5
|
+
mode="split"
|
|
6
|
+
/>`}],r={role:"region",ariaLabel:"File diff viewer"},d=["NiceGitGraph","NiceGitBlame","NiceGitConflictResolver"],l={$schema:e,name:i,description:t,category:n,since:o,status:s,props:c,examples:a,accessibility:r,seeAlso:d};exports.$schema=e;exports.accessibility=r;exports.category=n;exports.default=l;exports.description=t;exports.examples=a;exports.name=i;exports.props=c;exports.seeAlso=d;exports.since=o;exports.status=s;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", i = "NiceGitDiffViewer", n = "Side-by-side or unified diff viewer with syntax highlighting and line navigation.", t = "devops", o = "1.0.7", s = "stable", c = [{ name: "oldContent", type: "string", required: !0, description: "Original file content" }, { name: "newContent", type: "string", required: !0, description: "Modified file content" }, { name: "filename", type: "string", description: "File name for syntax detection" }, { name: "mode", type: "'split' | 'unified'", default: "split", description: "Diff display mode" }, { name: "language", type: "string", description: "Language for syntax highlighting" }, { name: "showLineNumbers", type: "boolean", default: !0, description: "Show line numbers" }], r = [{ title: "Diff Viewer", description: "Compare two file versions", code: `<NiceGitDiffViewer
|
|
2
|
+
oldContent={oldCode}
|
|
3
|
+
newContent={newCode}
|
|
4
|
+
filename="index.ts"
|
|
5
|
+
mode="split"
|
|
6
|
+
/>` }], a = { role: "region", ariaLabel: "File diff viewer" }, d = ["NiceGitGraph", "NiceGitBlame", "NiceGitConflictResolver"], l = {
|
|
7
|
+
$schema: e,
|
|
8
|
+
name: i,
|
|
9
|
+
description: n,
|
|
10
|
+
category: t,
|
|
11
|
+
since: o,
|
|
12
|
+
status: s,
|
|
13
|
+
props: c,
|
|
14
|
+
examples: r,
|
|
15
|
+
accessibility: a,
|
|
16
|
+
seeAlso: d
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
e as $schema,
|
|
20
|
+
a as accessibility,
|
|
21
|
+
t as category,
|
|
22
|
+
l as default,
|
|
23
|
+
n as description,
|
|
24
|
+
r as examples,
|
|
25
|
+
i as name,
|
|
26
|
+
c as props,
|
|
27
|
+
d as seeAlso,
|
|
28
|
+
o as since,
|
|
29
|
+
s as status
|
|
30
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceGitGraph",i="Interactive Git commit graph visualization with branch lines, commit nodes, and merge indicators.",c="devops",o="1.0.7",s="stable",n=[{name:"commits",type:"GitCommit[]",required:!0,description:"Array of commits to visualize"},{name:"branches",type:"GitBranch[]",description:"Branch information for coloring"},{name:"selectedCommit",type:"string",description:"Currently selected commit hash"},{name:"onCommitSelect",type:"(hash: string) => void",description:"Callback when a commit is clicked"},{name:"onBranchSelect",type:"(branch: string) => void",description:"Callback when a branch is clicked"},{name:"layout",type:"'horizontal' | 'vertical'",default:"vertical",description:"Graph layout direction"},{name:"showMerges",type:"boolean",default:!0,description:"Show merge commit indicators"}],a=[{title:"Git Graph",description:"Visualize commit history with branches",code:`<NiceGitGraph
|
|
2
|
+
commits={commits}
|
|
3
|
+
branches={branches}
|
|
4
|
+
onCommitSelect={(hash) => console.log('Selected:', hash)}
|
|
5
|
+
/>`}],r={role:"tree",ariaLabel:"Git commit history graph"},m=["NiceBranchManager","NiceGitDiffViewer","NiceGitBlame"],l={$schema:e,name:t,description:i,category:c,since:o,status:s,props:n,examples:a,accessibility:r,seeAlso:m};exports.$schema=e;exports.accessibility=r;exports.category=c;exports.default=l;exports.description=i;exports.examples=a;exports.name=t;exports.props=n;exports.seeAlso=m;exports.since=o;exports.status=s;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceGitGraph", i = "Interactive Git commit graph visualization with branch lines, commit nodes, and merge indicators.", c = "devops", o = "1.0.7", n = "stable", a = [{ name: "commits", type: "GitCommit[]", required: !0, description: "Array of commits to visualize" }, { name: "branches", type: "GitBranch[]", description: "Branch information for coloring" }, { name: "selectedCommit", type: "string", description: "Currently selected commit hash" }, { name: "onCommitSelect", type: "(hash: string) => void", description: "Callback when a commit is clicked" }, { name: "onBranchSelect", type: "(branch: string) => void", description: "Callback when a branch is clicked" }, { name: "layout", type: "'horizontal' | 'vertical'", default: "vertical", description: "Graph layout direction" }, { name: "showMerges", type: "boolean", default: !0, description: "Show merge commit indicators" }], s = [{ title: "Git Graph", description: "Visualize commit history with branches", code: `<NiceGitGraph
|
|
2
|
+
commits={commits}
|
|
3
|
+
branches={branches}
|
|
4
|
+
onCommitSelect={(hash) => console.log('Selected:', hash)}
|
|
5
|
+
/>` }], r = { role: "tree", ariaLabel: "Git commit history graph" }, m = ["NiceBranchManager", "NiceGitDiffViewer", "NiceGitBlame"], h = {
|
|
6
|
+
$schema: e,
|
|
7
|
+
name: t,
|
|
8
|
+
description: i,
|
|
9
|
+
category: c,
|
|
10
|
+
since: o,
|
|
11
|
+
status: n,
|
|
12
|
+
props: a,
|
|
13
|
+
examples: s,
|
|
14
|
+
accessibility: r,
|
|
15
|
+
seeAlso: m
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
e as $schema,
|
|
19
|
+
r as accessibility,
|
|
20
|
+
c as category,
|
|
21
|
+
h as default,
|
|
22
|
+
i as description,
|
|
23
|
+
s as examples,
|
|
24
|
+
t as name,
|
|
25
|
+
a as props,
|
|
26
|
+
m as seeAlso,
|
|
27
|
+
o as since,
|
|
28
|
+
n as status
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const o = "https://nice2dev.com/schemas/component-doc-v1.json", e = "NiceGitHooks", s = "Git hooks configuration panel for pre-commit, pre-push, and other hook types.", t = "devops", i = "1.0.7", n = "stable", c = [{ name: "hooks", type: "GitHook[]", required: !0, description: "Configured hooks" }, { name: "onChange", type: "(hooks: GitHook[]) => void", description: "Callback when hooks change" }, { name: "availableHooks", type: "string[]", description: "Available hook types" }, { name: "templates", type: "HookTemplate[]", description: "Hook script templates" }], a = [{ title: "Git Hooks", description: "Configure repository hooks", code: `<NiceGitHooks
|
|
2
|
+
hooks={repoHooks}
|
|
3
|
+
onChange={handleHooksChange}
|
|
4
|
+
availableHooks={['pre-commit', 'pre-push', 'commit-msg']}
|
|
5
|
+
/>` }], p = { role: "region", ariaLabel: "Git hooks configuration" }, r = ["NiceGitManager", "NicePipelineEditor"], k = {
|
|
6
|
+
$schema: o,
|
|
7
|
+
name: e,
|
|
8
|
+
description: s,
|
|
9
|
+
category: t,
|
|
10
|
+
since: i,
|
|
11
|
+
status: n,
|
|
12
|
+
props: c,
|
|
13
|
+
examples: a,
|
|
14
|
+
accessibility: p,
|
|
15
|
+
seeAlso: r
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
o as $schema,
|
|
19
|
+
p as accessibility,
|
|
20
|
+
t as category,
|
|
21
|
+
k as default,
|
|
22
|
+
s as description,
|
|
23
|
+
a as examples,
|
|
24
|
+
e as name,
|
|
25
|
+
c as props,
|
|
26
|
+
r as seeAlso,
|
|
27
|
+
i as since,
|
|
28
|
+
n as status
|
|
29
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o="https://nice2dev.com/schemas/component-doc-v1.json",e="NiceGitHooks",s="Git hooks configuration panel for pre-commit, pre-push, and other hook types.",t="devops",i="1.0.7",n="stable",c=[{name:"hooks",type:"GitHook[]",required:!0,description:"Configured hooks"},{name:"onChange",type:"(hooks: GitHook[]) => void",description:"Callback when hooks change"},{name:"availableHooks",type:"string[]",description:"Available hook types"},{name:"templates",type:"HookTemplate[]",description:"Hook script templates"}],a=[{title:"Git Hooks",description:"Configure repository hooks",code:`<NiceGitHooks
|
|
2
|
+
hooks={repoHooks}
|
|
3
|
+
onChange={handleHooksChange}
|
|
4
|
+
availableHooks={['pre-commit', 'pre-push', 'commit-msg']}
|
|
5
|
+
/>`}],r={role:"region",ariaLabel:"Git hooks configuration"},p=["NiceGitManager","NicePipelineEditor"],l={$schema:o,name:e,description:s,category:t,since:i,status:n,props:c,examples:a,accessibility:r,seeAlso:p};exports.$schema=o;exports.accessibility=r;exports.category=t;exports.default=l;exports.description=s;exports.examples=a;exports.name=e;exports.props=c;exports.seeAlso=p;exports.since=i;exports.status=n;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceMergeRequestBuilder",r="Merge/Pull request creation wizard with title, description, reviewers, and labels.",s="devops",i="1.0.7",n="stable",a=[{name:"sourceBranch",type:"string",required:!0,description:"Source branch name"},{name:"targetBranch",type:"string",required:!0,description:"Target branch name"},{name:"commits",type:"GitCommit[]",description:"Commits in the merge request"},{name:"reviewers",type:"User[]",description:"Available reviewers"},{name:"labels",type:"Label[]",description:"Available labels"},{name:"onSubmit",type:"(request: MergeRequest) => Promise<void>",description:"Submit callback"}],c=[{title:"Merge Request Builder",description:"Create a merge request",code:`<NiceMergeRequestBuilder
|
|
2
|
+
sourceBranch="feature/new-feature"
|
|
3
|
+
targetBranch="main"
|
|
4
|
+
commits={branchCommits}
|
|
5
|
+
onSubmit={handleSubmit}
|
|
6
|
+
/>`}],o={role:"form",ariaLabel:"Create merge request"},m=["NiceBranchManager","NiceGitDiffViewer"],l={$schema:e,name:t,description:r,category:s,since:i,status:n,props:a,examples:c,accessibility:o,seeAlso:m};exports.$schema=e;exports.accessibility=o;exports.category=s;exports.default=l;exports.description=r;exports.examples=c;exports.name=t;exports.props=a;exports.seeAlso=m;exports.since=i;exports.status=n;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceMergeRequestBuilder", r = "Merge/Pull request creation wizard with title, description, reviewers, and labels.", i = "devops", s = "1.0.7", n = "stable", a = [{ name: "sourceBranch", type: "string", required: !0, description: "Source branch name" }, { name: "targetBranch", type: "string", required: !0, description: "Target branch name" }, { name: "commits", type: "GitCommit[]", description: "Commits in the merge request" }, { name: "reviewers", type: "User[]", description: "Available reviewers" }, { name: "labels", type: "Label[]", description: "Available labels" }, { name: "onSubmit", type: "(request: MergeRequest) => Promise<void>", description: "Submit callback" }], c = [{ title: "Merge Request Builder", description: "Create a merge request", code: `<NiceMergeRequestBuilder
|
|
2
|
+
sourceBranch="feature/new-feature"
|
|
3
|
+
targetBranch="main"
|
|
4
|
+
commits={branchCommits}
|
|
5
|
+
onSubmit={handleSubmit}
|
|
6
|
+
/>` }], o = { role: "form", ariaLabel: "Create merge request" }, m = ["NiceBranchManager", "NiceGitDiffViewer"], u = {
|
|
7
|
+
$schema: e,
|
|
8
|
+
name: t,
|
|
9
|
+
description: r,
|
|
10
|
+
category: i,
|
|
11
|
+
since: s,
|
|
12
|
+
status: n,
|
|
13
|
+
props: a,
|
|
14
|
+
examples: c,
|
|
15
|
+
accessibility: o,
|
|
16
|
+
seeAlso: m
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
e as $schema,
|
|
20
|
+
o as accessibility,
|
|
21
|
+
i as category,
|
|
22
|
+
u as default,
|
|
23
|
+
r as description,
|
|
24
|
+
c as examples,
|
|
25
|
+
t as name,
|
|
26
|
+
a as props,
|
|
27
|
+
m as seeAlso,
|
|
28
|
+
s as since,
|
|
29
|
+
n as status
|
|
30
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as g, useRef as E, useState as F, useEffect as u } from "react";
|
|
3
|
+
import { createPortal as T } from "react-dom";
|
|
4
|
+
import { W as $, N as j, c as D, d as M, e as P } from "./core-Da43q-pO.js";
|
|
5
|
+
const q = ({
|
|
6
|
+
open: l,
|
|
7
|
+
onClose: a,
|
|
8
|
+
title: t,
|
|
9
|
+
size: f = "md",
|
|
10
|
+
children: h,
|
|
11
|
+
footer: r,
|
|
12
|
+
closeOnOverlay: y = !0,
|
|
13
|
+
closeOnEscape: c = !0,
|
|
14
|
+
fullscreenable: v,
|
|
15
|
+
zIndex: d,
|
|
16
|
+
className: _,
|
|
17
|
+
style: N,
|
|
18
|
+
displayStyle: i
|
|
19
|
+
}) => {
|
|
20
|
+
const { t: b } = $(), p = g(j), m = E(null), [s, C] = F(!1), k = D("modal", i), w = M("modal", i);
|
|
21
|
+
if (P(m, l), u(() => {
|
|
22
|
+
if (!l || !c)
|
|
23
|
+
return;
|
|
24
|
+
const o = (L) => {
|
|
25
|
+
L.key === "Escape" && a();
|
|
26
|
+
};
|
|
27
|
+
return document.addEventListener("keydown", o), () => document.removeEventListener("keydown", o);
|
|
28
|
+
}, [l, c, a]), u(() => (l ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
29
|
+
document.body.style.overflow = "";
|
|
30
|
+
}), [l]), !l || typeof document > "u")
|
|
31
|
+
return null;
|
|
32
|
+
const x = /* @__PURE__ */ e(
|
|
33
|
+
"div",
|
|
34
|
+
{
|
|
35
|
+
className: "nice-modal-overlay",
|
|
36
|
+
style: d ? { zIndex: d } : void 0,
|
|
37
|
+
onClick: y ? a : void 0,
|
|
38
|
+
children: /* @__PURE__ */ n(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
ref: m,
|
|
42
|
+
className: `nice-modal nice-modal--${s ? "full" : f} nice-modal--ds-${w} ${_ || ""}`,
|
|
43
|
+
style: { ...k, ...N },
|
|
44
|
+
role: "dialog",
|
|
45
|
+
"aria-modal": "true",
|
|
46
|
+
"aria-label": t,
|
|
47
|
+
onClick: (o) => o.stopPropagation(),
|
|
48
|
+
children: [
|
|
49
|
+
t && /* @__PURE__ */ n("div", { className: "nice-modal__header", children: [
|
|
50
|
+
/* @__PURE__ */ e("h2", { className: "nice-modal__title", children: t }),
|
|
51
|
+
/* @__PURE__ */ n("div", { className: "nice-modal__header-actions", children: [
|
|
52
|
+
v && /* @__PURE__ */ e(
|
|
53
|
+
"button",
|
|
54
|
+
{
|
|
55
|
+
type: "button",
|
|
56
|
+
className: "nice-modal__fullscreen",
|
|
57
|
+
onClick: () => C((o) => !o),
|
|
58
|
+
"aria-label": s ? "Exit fullscreen" : "Fullscreen",
|
|
59
|
+
children: s ? "⇲" : "⇱"
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
/* @__PURE__ */ e(
|
|
63
|
+
"button",
|
|
64
|
+
{
|
|
65
|
+
type: "button",
|
|
66
|
+
className: "nice-modal__close",
|
|
67
|
+
onClick: a,
|
|
68
|
+
"aria-label": b("controls.close", "Close"),
|
|
69
|
+
children: /* @__PURE__ */ e(
|
|
70
|
+
"svg",
|
|
71
|
+
{
|
|
72
|
+
width: "24",
|
|
73
|
+
height: "24",
|
|
74
|
+
viewBox: "0 0 20 20",
|
|
75
|
+
fill: "currentColor",
|
|
76
|
+
"aria-hidden": "true",
|
|
77
|
+
children: /* @__PURE__ */ e("path", { d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" })
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
] })
|
|
83
|
+
] }),
|
|
84
|
+
/* @__PURE__ */ e("div", { className: "nice-modal__body", children: h }),
|
|
85
|
+
r && /* @__PURE__ */ e("div", { className: "nice-modal__footer", children: r })
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
return T(x, p?.portalTarget ?? document.body);
|
|
92
|
+
};
|
|
93
|
+
export {
|
|
94
|
+
q as N
|
|
95
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),t=require("react"),L=require("react-dom"),o=require("./core-C2ZmWe_u.cjs"),g=({open:l,onClose:a,title:n,size:f="md",children:h,footer:r,closeOnOverlay:y=!0,closeOnEscape:i=!0,fullscreenable:v,zIndex:d,className:x,style:_,displayStyle:u})=>{const{t:b}=o.Wo(),j=t.useContext(o.NiceThemeContext),m=t.useRef(null),[c,N]=t.useState(!1),C=o.useComponentDisplayStyle("modal",u),k=o.useComponentDisplayClass("modal",u);if(o.useFocusTrap(m,l),t.useEffect(()=>{if(!l||!i)return;const s=w=>{w.key==="Escape"&&a()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[l,i,a]),t.useEffect(()=>(l?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[l]),!l||typeof document>"u")return null;const p=e.jsx("div",{className:"nice-modal-overlay",style:d?{zIndex:d}:void 0,onClick:y?a:void 0,children:e.jsxs("div",{ref:m,className:`nice-modal nice-modal--${c?"full":f} nice-modal--ds-${k} ${x||""}`,style:{...C,..._},role:"dialog","aria-modal":"true","aria-label":n,onClick:s=>s.stopPropagation(),children:[n&&e.jsxs("div",{className:"nice-modal__header",children:[e.jsx("h2",{className:"nice-modal__title",children:n}),e.jsxs("div",{className:"nice-modal__header-actions",children:[v&&e.jsx("button",{type:"button",className:"nice-modal__fullscreen",onClick:()=>N(s=>!s),"aria-label":c?"Exit fullscreen":"Fullscreen",children:c?"⇲":"⇱"}),e.jsx("button",{type:"button",className:"nice-modal__close",onClick:a,"aria-label":b("controls.close","Close"),children:e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})})})]})]}),e.jsx("div",{className:"nice-modal__body",children:h}),r&&e.jsx("div",{className:"nice-modal__footer",children:r})]})});return L.createPortal(p,j?.portalTarget??document.body)};exports.NiceModal=g;
|