@nice2dev/ui 1.0.28 → 1.0.29

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/NiceAssessment.doc-BB1rXcVx.cjs +1 -0
  3. package/dist/NiceAssessment.doc-C3QQawiZ.js +23 -0
  4. package/dist/NiceConfirmDialog-DPfYwO2B.js +81 -0
  5. package/dist/NiceConfirmDialog-Dyh42OiK.cjs +1 -0
  6. package/dist/NiceErrorBoundary-BHCKA1h8.cjs +1 -0
  7. package/dist/NiceErrorBoundary-CBxXcleR.js +695 -0
  8. package/dist/NiceExam.doc-BpTJpwGb.js +23 -0
  9. package/dist/NiceExam.doc-Br8pEbQb.cjs +1 -0
  10. package/dist/NiceForm-C8yEx3VV.cjs +382 -0
  11. package/dist/NiceForm-Ci3XG7s7.js +5000 -0
  12. package/dist/NiceModal-Crbhc7GB.cjs +1 -0
  13. package/dist/NiceModal-XvEKVVLa.js +95 -0
  14. package/dist/NiceModuleLifecyclePanel-D3k8kAey.js +7582 -0
  15. package/dist/NiceModuleLifecyclePanel-MAyTh_s5.cjs +1 -0
  16. package/dist/NicePagination-DUnMbROj.cjs +1 -0
  17. package/dist/NicePagination-DyC6dQ7_.js +171 -0
  18. package/dist/NicePinCodeInput-C43eB9h4.js +13102 -0
  19. package/dist/NicePinCodeInput-p5IFVwfY.cjs +696 -0
  20. package/dist/NicePoll.doc-DCiXvOb0.js +23 -0
  21. package/dist/NicePoll.doc-IOgqVPhc.cjs +1 -0
  22. package/dist/NicePollLive.doc-CdUyiCyf.js +23 -0
  23. package/dist/NicePollLive.doc-xBMqHeyt.cjs +1 -0
  24. package/dist/NiceQuiz.doc-BhAeGrcP.cjs +1 -0
  25. package/dist/NiceQuiz.doc-BiZq8X1P.js +23 -0
  26. package/dist/NiceSavedQueryPanel-DV4a4axz.cjs +596 -0
  27. package/dist/NiceSavedQueryPanel-Dgbn1ExK.js +6893 -0
  28. package/dist/NiceSurvey.doc-9UorYdXy.cjs +1 -0
  29. package/dist/NiceSurvey.doc-CPF1ZEHo.js +23 -0
  30. package/dist/NiceWindow-BehN3PKk.js +1592 -0
  31. package/dist/NiceWindow-Dqu9ik8A.cjs +1 -0
  32. package/dist/charts-CJruxLRY.js +4657 -0
  33. package/dist/charts-D8oj6Nf5.cjs +761 -0
  34. package/dist/charts.cjs +1 -1
  35. package/dist/charts.mjs +1 -1
  36. package/dist/core-BIdbG6p3.js +27212 -0
  37. package/dist/core-bzK0ZnUp.cjs +122 -0
  38. package/dist/data-branching-BzRFsCJu.js +6133 -0
  39. package/dist/data-branching-DahoQa4M.cjs +1 -0
  40. package/dist/data-branching.cjs +1 -1
  41. package/dist/data-branching.mjs +1 -1
  42. package/dist/data.cjs +1 -1
  43. package/dist/data.mjs +1 -1
  44. package/dist/devops-C9gdQxuU.cjs +17 -0
  45. package/dist/devops-CaO_4qGz.js +7684 -0
  46. package/dist/devops.cjs +1 -1
  47. package/dist/devops.mjs +1 -1
  48. package/dist/editors.cjs +1 -1
  49. package/dist/editors.mjs +3 -3
  50. package/dist/feedback.cjs +1 -1
  51. package/dist/feedback.mjs +3 -3
  52. package/dist/index-BK_Uwmz0.js +67774 -0
  53. package/dist/index-CTbp81RF.cjs +5517 -0
  54. package/dist/index.cjs +1 -1
  55. package/dist/index.css +1 -1
  56. package/dist/index.d.ts +437 -400
  57. package/dist/index.mjs +983 -980
  58. package/dist/lazy.cjs +1 -1
  59. package/dist/lazy.mjs +24 -24
  60. package/dist/navigation.cjs +1 -1
  61. package/dist/navigation.mjs +18 -18
  62. package/dist/no-code-B0mG7OQc.cjs +332 -0
  63. package/dist/no-code-CikRvKeJ.js +7133 -0
  64. package/dist/no-code.cjs +1 -1
  65. package/dist/no-code.mjs +1 -1
  66. package/dist/overlays.cjs +1 -1
  67. package/dist/overlays.mjs +2 -2
  68. package/dist/pickerCommons-CqhXp4QL.js +2043 -0
  69. package/dist/pickerCommons-OsYJhnFE.cjs +1 -0
  70. package/dist/style.css +1 -1
  71. package/package.json +2 -2
@@ -0,0 +1,23 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", s = "NicePoll", t = 'Poll preset of NiceAssessment (mode="poll"): one / few questions with live aggregate results. Accepts every NiceAssessmentProps except `mode`.', o = "survey", n = "1.0.29", i = "stable", r = "NiceToDev Team", c = [{ name: "questions", type: "AssessmentQuestion[]", required: !1, description: "Poll question(s)." }, { name: "results", type: "AssessmentAggregateResults", required: !1, description: "Aggregate vote results." }, { name: "showAggregate", type: "boolean", required: !1, description: "Show aggregate after voting.", default: !0 }, { name: "onSubmit", type: "(submission: AssessmentSubmission) => void", required: !1, description: "Vote submission." }], a = ["NicePollLive is the same preset with aggregate shown by default.", "See NiceAssessment for the full prop surface."], l = {
2
+ $schema: e,
3
+ name: s,
4
+ description: t,
5
+ category: o,
6
+ since: n,
7
+ status: i,
8
+ author: r,
9
+ props: c,
10
+ tips: a
11
+ };
12
+ export {
13
+ e as $schema,
14
+ r as author,
15
+ o as category,
16
+ l as default,
17
+ t as description,
18
+ s as name,
19
+ c as props,
20
+ n as since,
21
+ i as status,
22
+ a as tips
23
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NicePoll",t='Poll preset of NiceAssessment (mode="poll"): one / few questions with live aggregate results. Accepts every NiceAssessmentProps except `mode`.',o="survey",i="1.0.29",n="stable",r="NiceToDev Team",c=[{name:"questions",type:"AssessmentQuestion[]",required:!1,description:"Poll question(s)."},{name:"results",type:"AssessmentAggregateResults",required:!1,description:"Aggregate vote results."},{name:"showAggregate",type:"boolean",required:!1,description:"Show aggregate after voting.",default:!0},{name:"onSubmit",type:"(submission: AssessmentSubmission) => void",required:!1,description:"Vote submission."}],a=["NicePollLive is the same preset with aggregate shown by default.","See NiceAssessment for the full prop surface."],l={$schema:e,name:s,description:t,category:o,since:i,status:n,author:r,props:c,tips:a};exports.$schema=e;exports.author=r;exports.category=o;exports.default=l;exports.description=t;exports.name=s;exports.props=c;exports.since=i;exports.status=n;exports.tips=a;
@@ -0,0 +1,23 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", s = "NicePollLive", t = 'Poll preset of NiceAssessment (mode="poll") with aggregate results shown by default — kept for ergonomic naming. Accepts every NiceAssessmentProps except `mode`.', o = "survey", n = "1.0.29", i = "stable", c = "NiceToDev Team", r = [{ name: "questions", type: "AssessmentQuestion[]", required: !1, description: "Poll question(s)." }, { name: "results", type: "AssessmentAggregateResults", required: !1, description: "Aggregate vote results." }, { name: "fetchAggregateResults", type: "(submission) => Promise<AssessmentAggregateResults>", required: !1, description: "Async aggregate fetch after voting." }, { name: "onSubmit", type: "(submission: AssessmentSubmission) => void", required: !1, description: "Vote submission." }], a = ["See NiceAssessment for the full prop surface."], m = {
2
+ $schema: e,
3
+ name: s,
4
+ description: t,
5
+ category: o,
6
+ since: n,
7
+ status: i,
8
+ author: c,
9
+ props: r,
10
+ tips: a
11
+ };
12
+ export {
13
+ e as $schema,
14
+ c as author,
15
+ o as category,
16
+ m as default,
17
+ t as description,
18
+ s as name,
19
+ r as props,
20
+ n as since,
21
+ i as status,
22
+ a as tips
23
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NicePollLive",t='Poll preset of NiceAssessment (mode="poll") with aggregate results shown by default — kept for ergonomic naming. Accepts every NiceAssessmentProps except `mode`.',o="survey",n="1.0.29",i="stable",c="NiceToDev Team",r=[{name:"questions",type:"AssessmentQuestion[]",required:!1,description:"Poll question(s)."},{name:"results",type:"AssessmentAggregateResults",required:!1,description:"Aggregate vote results."},{name:"fetchAggregateResults",type:"(submission) => Promise<AssessmentAggregateResults>",required:!1,description:"Async aggregate fetch after voting."},{name:"onSubmit",type:"(submission: AssessmentSubmission) => void",required:!1,description:"Vote submission."}],a=["See NiceAssessment for the full prop surface."],m={$schema:e,name:s,description:t,category:o,since:n,status:i,author:c,props:r,tips:a};exports.$schema=e;exports.author=c;exports.category=o;exports.default=m;exports.description=t;exports.name=s;exports.props=r;exports.since=n;exports.status=i;exports.tips=a;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceQuiz",t='Quiz preset of NiceAssessment (mode="quiz"): correct answers + scoring with immediate feedback and optional gamification (lives, lifelines, difficulty). Pages can embed arbitrary content. Accepts every NiceAssessmentProps except `mode`.',i="survey",n="1.0.29",o="stable",r="NiceToDev Team",a=[{name:"pages",type:"AssessmentPage[]",required:!1,description:"Pages with content + questions (correct answers + points)."},{name:"questions",type:"AssessmentQuestion[]",required:!1,description:"Flat shorthand (one question per page)."},{name:"scoring",type:"AssessmentScoringConfig",required:!1,description:"{ passThreshold, weighted, partialCredit, negativeMarking }."},{name:"feedback",type:"'immediate' | 'after-page' | 'at-end' | 'none'",required:!1,description:"Default 'immediate'."},{name:"lives",type:"number",required:!1,description:"Lives (0 = unlimited)."},{name:"lifelines",type:"AssessmentLifeline[]",required:!1,description:"fiftyFifty | hint | skipQuestion | extraTime."},{name:"onComplete",type:"(result: AssessmentResult) => void",required:!1,description:"Scored result on completion."}],c=["See NiceAssessment for the full prop surface."],p={$schema:e,name:s,description:t,category:i,since:n,status:o,author:r,props:a,tips:c};exports.$schema=e;exports.author=r;exports.category=i;exports.default=p;exports.description=t;exports.name=s;exports.props=a;exports.since=n;exports.status=o;exports.tips=c;
@@ -0,0 +1,23 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", s = "NiceQuiz", t = 'Quiz preset of NiceAssessment (mode="quiz"): correct answers + scoring with immediate feedback and optional gamification (lives, lifelines, difficulty). Pages can embed arbitrary content. Accepts every NiceAssessmentProps except `mode`.', i = "survey", n = "1.0.29", o = "stable", r = "NiceToDev Team", a = [{ name: "pages", type: "AssessmentPage[]", required: !1, description: "Pages with content + questions (correct answers + points)." }, { name: "questions", type: "AssessmentQuestion[]", required: !1, description: "Flat shorthand (one question per page)." }, { name: "scoring", type: "AssessmentScoringConfig", required: !1, description: "{ passThreshold, weighted, partialCredit, negativeMarking }." }, { name: "feedback", type: "'immediate' | 'after-page' | 'at-end' | 'none'", required: !1, description: "Default 'immediate'." }, { name: "lives", type: "number", required: !1, description: "Lives (0 = unlimited)." }, { name: "lifelines", type: "AssessmentLifeline[]", required: !1, description: "fiftyFifty | hint | skipQuestion | extraTime." }, { name: "onComplete", type: "(result: AssessmentResult) => void", required: !1, description: "Scored result on completion." }], c = ["See NiceAssessment for the full prop surface."], p = {
2
+ $schema: e,
3
+ name: s,
4
+ description: t,
5
+ category: i,
6
+ since: n,
7
+ status: o,
8
+ author: r,
9
+ props: a,
10
+ tips: c
11
+ };
12
+ export {
13
+ e as $schema,
14
+ r as author,
15
+ i as category,
16
+ p as default,
17
+ t as description,
18
+ s as name,
19
+ a as props,
20
+ n as since,
21
+ o as status,
22
+ c as tips
23
+ };