@bikdotai/bik-component-library 0.0.824-beta.0 → 0.0.824
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/cjs/components/agent-builder/components/CreateSubAgentPanel.js +1 -1
- package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
- package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js +1 -1
- package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
- package/dist/cjs/components/agent-builder/utils/mentionSerialization.js +2 -2
- package/dist/cjs/components/agent-builder/utils/mentionSerialization.js.map +1 -1
- package/dist/cjs/editor/BikEditor.js +1 -1
- package/dist/cjs/editor/BikEditor.js.map +1 -1
- package/dist/cjs/editor/BikEditor.styles.js +47 -29
- package/dist/cjs/editor/BikEditor.styles.js.map +1 -1
- package/dist/cjs/editor/extensions/jsonHighlight/JsonHighlightExtension.js +3 -2
- package/dist/cjs/editor/extensions/jsonHighlight/JsonHighlightExtension.js.map +1 -1
- package/dist/cjs/icons/Actions/Common actions/ProductTour.js +2 -0
- package/dist/cjs/icons/Actions/Common actions/ProductTour.js.map +1 -0
- package/dist/cjs/icons/Actions/Common actions/RestApi.js +2 -0
- package/dist/cjs/icons/Actions/Common actions/RestApi.js.map +1 -0
- package/dist/cjs/icons/Actions/Common actions/Save.js +2 -0
- package/dist/cjs/icons/Actions/Common actions/Save.js.map +1 -0
- package/dist/cjs/icons/Actions/Common actions/Shortcut.js +2 -0
- package/dist/cjs/icons/Actions/Common actions/Shortcut.js.map +1 -0
- package/dist/cjs/icons/BIK AI specific/Webhook.js +2 -0
- package/dist/cjs/icons/BIK AI specific/Webhook.js.map +1 -0
- package/dist/cjs/icons/Informational/Store related/TicketForm.js +2 -0
- package/dist/cjs/icons/Informational/Store related/TicketForm.js.map +1 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/LoudSpeaker.js +2 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/LoudSpeaker.js.map +1 -0
- package/dist/cjs/icons/index.js +1 -1
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js +24 -24
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
- package/dist/esm/components/agent-builder/context/AgentBuilderContext.js +98 -101
- package/dist/esm/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
- package/dist/esm/components/agent-builder/utils/mentionSerialization.d.ts +5 -7
- package/dist/esm/components/agent-builder/utils/mentionSerialization.js +40 -37
- package/dist/esm/components/agent-builder/utils/mentionSerialization.js.map +1 -1
- package/dist/esm/editor/BikEditor.js +72 -79
- package/dist/esm/editor/BikEditor.js.map +1 -1
- package/dist/esm/editor/BikEditor.styles.d.ts +4 -4
- package/dist/esm/editor/BikEditor.styles.js +44 -26
- package/dist/esm/editor/BikEditor.styles.js.map +1 -1
- package/dist/esm/editor/extensions/jsonHighlight/JsonHighlightExtension.js +100 -32
- package/dist/esm/editor/extensions/jsonHighlight/JsonHighlightExtension.js.map +1 -1
- package/dist/esm/icons/Actions/Common actions/ProductTour.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/ProductTour.js +51 -0
- package/dist/esm/icons/Actions/Common actions/ProductTour.js.map +1 -0
- package/dist/esm/icons/Actions/Common actions/RestApi.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/RestApi.js +29 -0
- package/dist/esm/icons/Actions/Common actions/RestApi.js.map +1 -0
- package/dist/esm/icons/Actions/Common actions/Save.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Save.js +40 -0
- package/dist/esm/icons/Actions/Common actions/Save.js.map +1 -0
- package/dist/esm/icons/Actions/Common actions/Shortcut.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Shortcut.js +40 -0
- package/dist/esm/icons/Actions/Common actions/Shortcut.js.map +1 -0
- package/dist/esm/icons/Actions/Common actions/index.d.ts +4 -0
- package/dist/esm/icons/BIK AI specific/Webhook.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Webhook.js +32 -0
- package/dist/esm/icons/BIK AI specific/Webhook.js.map +1 -0
- package/dist/esm/icons/BIK AI specific/index.d.ts +1 -0
- package/dist/esm/icons/Informational/Store related/TicketForm.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/TicketForm.js +65 -0
- package/dist/esm/icons/Informational/Store related/TicketForm.js.map +1 -0
- package/dist/esm/icons/Informational/Store related/index.d.ts +1 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/LoudSpeaker.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/LoudSpeaker.js +35 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/LoudSpeaker.js.map +1 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/index.d.ts +1 -0
- package/dist/esm/icons/index.d.ts +4 -4
- package/dist/esm/icons/index.js +284 -270
- package/dist/esm/icons/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BikEditor.styles.js","sources":["../../../src/editor/BikEditor.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components';\nimport { COLORS } from '../constants/Theme';\n\nexport const BikEditorShell = styled.div<{\n\tminHeight?: string;\n\tmaxHeight?: string;\n\ttightParagraphs?: boolean;\n\tjsonMode?: boolean;\n}>`\n\tposition: relative;\n\twidth: 100%;\n\n\t.ProseMirror {\n\t\tmin-height: ${({ minHeight }) => minHeight ?? '
|
|
1
|
+
{"version":3,"file":"BikEditor.styles.js","sources":["../../../src/editor/BikEditor.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components';\nimport { COLORS } from '../constants/Theme';\n\nexport const BikEditorShell = styled.div<{\n\tminHeight?: string;\n\tmaxHeight?: string;\n\ttightParagraphs?: boolean;\n\tjsonMode?: boolean;\n}>`\n\tposition: relative;\n\twidth: 100%;\n\n\t.ProseMirror {\n\t\tmin-height: ${({ minHeight }) => minHeight ?? '60px'};\n\t\tmax-height: ${({ maxHeight }) => maxHeight ?? 'none'};\n\t\toverflow-y: auto;\n\t\toutline: none;\n\t\tpadding: 8px 12px;\n\t\tfont-size: 14px;\n\t\tline-height: 1.5;\n\t\tword-break: break-word;\n\n\t\t/* Paragraph spacing.\n\t\t Email/signature (rich): paragraphs carry the browser-default 1em block\n\t\t margin — the SAME spacing the sent HTML gets (we emit plain <p>, which\n\t\t renders against the default <p> margin in Gmail and our email viewer),\n\t\t so editor view == emitted HTML == Gmail. A single Enter = a new\n\t\t paragraph with a visible gap, like pasted Gmail/ChatGPT/Docs content.\n\t\t Other channels (WhatsApp/IG/FB/comments) are plain-text messaging, with\n\t\t no paragraph-gap concept — paragraphs are tight (margin:0) regardless of\n\t\t typed vs pasted. (A margin:0 attr still overrides to tight either way.) */\n\t\tp {\n\t\t\tmargin: ${({ tightParagraphs }) => (tightParagraphs ? '0' : '1em 0')};\n\t\t\tpadding: 0;\n\t\t}\n\n\t\tul,\n\t\tol {\n\t\t\tmargin: 0;\n\t\t\tpadding-left: 1.5em;\n\t\t}\n\n\t\tli + li {\n\t\t\tmargin-top: 2px;\n\t\t}\n\n\t\tp.is-editor-empty:first-child::before {\n\t\t\tcontent: attr(data-placeholder);\n\t\t\tfloat: left;\n\t\t\tcolor: #adb5bd;\n\t\t\tpointer-events: none;\n\t\t\theight: 0;\n\t\t}\n\t}\n\n\t.bik-mention {\n\t\tcolor: ${COLORS.content.brand};\n\t\tpadding: 1px 4px;\n\t}\n\t.bik-mention--team {\n\t\tcolor: ${COLORS.content.brand};\n\t}\n\t/* Typed mention chips (agent-builder): distinct colour per reference kind. */\n\t.bik-mention[data-kind='tool'] {\n\t\tcolor: #1570ef;\n\t\tbackground: #eff8ff;\n\t\tborder-radius: 4px;\n\t\tfont-weight: 500;\n\t}\n\t.bik-mention[data-kind='subagent'] {\n\t\tcolor: #6938ef;\n\t\tbackground: #f4f3ff;\n\t\tborder-radius: 4px;\n\t\tfont-weight: 500;\n\t}\n\t.bik-variable {\n\t}\n\n\t/* JSON body mode — scoped so normal-mode code blocks keep their default look\n\t (no reserved gutter, no monospace override). */\n\t${({ jsonMode }) =>\n\t\tjsonMode &&\n\t\tcss`\n\t\t\t/* Self-framed card: the header bar and the code area share one rounded\n\t\t\t border, so the component renders as a complete panel without the\n\t\t\t consumer having to wrap it. */\n\t\t\tborder: 1px solid #e1e4e8;\n\t\t\tborder-radius: 8px;\n\t\t\toverflow: hidden;\n\n\t\t\t/* The code block IS the editor surface, sitting below the header bar.\n\t\t\t White fills the scroller down to the min-height (no blank strip below\n\t\t\t short JSON); the header owns the grey. */\n\t\t\t.ProseMirror {\n\t\t\t\tpadding: 0;\n\t\t\t\tbackground: #ffffff;\n\t\t\t}\n\t\t\t/* ProseMirror appends an empty trailing paragraph AFTER the code block\n\t\t\t (a <p><br class=\"ProseMirror-trailingBreak\"></p> caret-escape node).\n\t\t\t In JSON mode there's nothing to escape to — it only renders as a blank\n\t\t\t line under the JSON, which is the \"extra space at the bottom\". Hide it. */\n\t\t\t.ProseMirror pre + p {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t.ProseMirror pre {\n\t\t\t\tposition: relative;\n\t\t\t\tmargin: 0;\n\t\t\t\tbackground: transparent;\n\t\t\t\t/* Left padding reserves the line-number gutter; each .bik-json-lineno\n\t\t\t\t widget hangs back into it with a matching negative margin. */\n\t\t\t\tpadding: 12px 12px 12px 3.5em;\n\t\t\t\tfont-family: 'SFMono-Regular', ui-monospace, 'JetBrains Mono', Menlo,\n\t\t\t\t\tConsolas, 'Liberation Mono', monospace;\n\t\t\t\tfont-size: 13px;\n\t\t\t\tline-height: 1.6;\n\t\t\t\twhite-space: pre;\n\t\t\t\toverflow-x: auto;\n\t\t\t\ttab-size: 2;\n\t\t\t}\n\t\t\t.ProseMirror pre code {\n\t\t\t\tbackground: none;\n\t\t\t\tpadding: 0;\n\t\t\t\tfont-size: inherit;\n\t\t\t\tcolor: #1f2328;\n\t\t\t}\n\t\t\t/* Line-number gutter. Numbers hang into the code block's left padding via\n\t\t\t a negative margin (width + margin-right == the reserved padding, so the\n\t\t\t code text still starts at the padding edge). Stacked right borders form\n\t\t\t one continuous divider line. */\n\t\t\t.bik-json-lineno {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 2.5em;\n\t\t\t\tmargin-left: -3.5em;\n\t\t\t\tmargin-right: 1em;\n\t\t\t\tpadding-right: 0.7em;\n\t\t\t\ttext-align: right;\n\t\t\t\tcolor: #8c959f;\n\t\t\t\tborder-right: 1px solid #e1e4e8;\n\t\t\t\tuser-select: none;\n\t\t\t\t-webkit-user-select: none;\n\t\t\t}\n\t\t\t.bik-json-key {\n\t\t\t\tcolor: #0550ae;\n\t\t\t}\n\t\t\t.bik-json-string {\n\t\t\t\tcolor: #0a7d33;\n\t\t\t}\n\t\t\t.bik-json-number {\n\t\t\t\tcolor: #b5590a;\n\t\t\t}\n\t\t\t.bik-json-boolean,\n\t\t\t.bik-json-null {\n\t\t\t\tcolor: #8250df;\n\t\t\t\tfont-weight: 500;\n\t\t\t}\n\t\t\t.bik-json-punct {\n\t\t\t\tcolor: #57606a;\n\t\t\t}\n\t\t`}\n\n\ta,\n\t.bik-link {\n\t\tcolor: #4f46e5;\n\t\ttext-decoration: underline;\n\t\ttext-decoration-color: #a5b4fc;\n\t\ttext-underline-offset: 2px;\n\t\tcursor: pointer;\n\t\t&:hover {\n\t\t\tcolor: #3730a3;\n\t\t\ttext-decoration-color: #6366f1;\n\t\t}\n\t}\n`;\n\n/**\n * jsonMode header bar: a \"JSON\" label on the left and the Beautify / Copy actions\n * on the right, sitting above the code area with a bottom divider. Grey fill sets\n * it apart from the white code surface below (see the jsonMode block above).\n */\nexport const BikJsonHeader = styled.div`\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tgap: 8px;\n\tpadding: 8px 12px;\n\tbackground: #f6f8fa;\n\tborder-bottom: 1px solid #e1e4e8;\n\n\t.bik-json-header-label {\n\t\tfont-family: inherit;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tcolor: #3c4149;\n\t\tuser-select: none;\n\t}\n\n\t.bik-json-header-actions {\n\t\tdisplay: flex;\n\t\tgap: 6px;\n\t}\n\n\tbutton {\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tgap: 6px;\n\t\tpadding: 6px 10px;\n\t\tfont-family: inherit;\n\t\tfont-size: 13px;\n\t\tline-height: 1.4;\n\t\tcolor: #3c4149;\n\t\tbackground: #ffffff;\n\t\tborder: 1px solid #d0d7de;\n\t\tborder-radius: 6px;\n\t\tcursor: pointer;\n\n\t\t&:hover:not(:disabled) {\n\t\t\tbackground: #f3f4f6;\n\t\t\tborder-color: #adb5bd;\n\t\t}\n\t\t&:disabled {\n\t\t\topacity: 0.5;\n\t\t\tcursor: not-allowed;\n\t\t}\n\t}\n`;\n\n/** Inline JSON parse-error banner rendered by BikEditor in jsonMode. */\nexport const BikJsonError = styled.div`\n\tpadding: 6px 12px;\n\tfont-size: 12px;\n\tline-height: 1.5;\n\tcolor: #d1242f;\n\tbackground: #fff0f0;\n\tborder-top: 1px solid #ffd7d5;\n\tword-break: break-word;\n\n\tstrong {\n\t\tfont-weight: 600;\n\t}\n`;\n"],"names":["BikEditorShell","styled","minHeight","maxHeight","tightParagraphs","COLORS","jsonMode","css","BikJsonHeader","BikJsonError"],"mappings":";;AAGO,MAAMA,IAAiBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,gBAUrB,CAAC,EAAE,WAAAC,QAAgBA,KAAa,MAAM;AAAA,gBACtC,CAAC,EAAE,WAAAC,QAAgBA,KAAa,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAkBzC,CAAC,EAAE,iBAAAC,EAAA,MAAuBA,IAAkB,MAAM,OAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAwB5DC,EAAO,QAAQ,KAAK;AAAA;AAAA;AAAA;AAAA,WAIpBA,EAAO,QAAQ,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAoB5B,CAAC,EAAE,UAAAC,QACJA,KACAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GA6EC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAqBUC,IAAgBP,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgDvBQ,IAAeR,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Extension as
|
|
2
|
-
import { Plugin as
|
|
3
|
-
import { Decoration as
|
|
4
|
-
import { tokenizeJson as
|
|
5
|
-
const
|
|
1
|
+
import { Extension as h } from "../../../node_modules/@tiptap/core/dist/index.js";
|
|
2
|
+
import { Plugin as d, PluginKey as p, TextSelection as m } from "@tiptap/pm/state";
|
|
3
|
+
import { Decoration as u, DecorationSet as g } from "@tiptap/pm/view";
|
|
4
|
+
import { tokenizeJson as k } from "./tokenizeJson.js";
|
|
5
|
+
const y = {
|
|
6
6
|
key: "bik-json-key",
|
|
7
7
|
string: "bik-json-string",
|
|
8
8
|
number: "bik-json-number",
|
|
@@ -10,48 +10,116 @@ const k = {
|
|
|
10
10
|
null: "bik-json-null",
|
|
11
11
|
punctuation: "bik-json-punct"
|
|
12
12
|
};
|
|
13
|
-
function
|
|
14
|
-
const
|
|
15
|
-
return
|
|
13
|
+
function f(s) {
|
|
14
|
+
const t = document.createElement("span");
|
|
15
|
+
return t.className = "bik-json-lineno", t.textContent = String(s), t.setAttribute("contenteditable", "false"), t;
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const w = h.create({
|
|
18
18
|
name: "jsonHighlight",
|
|
19
|
+
// Above CodeBlock (default 100) so our Backspace handler runs first and can
|
|
20
|
+
// veto CodeBlock's own "clearNodes at start" shortcut (which would lift the
|
|
21
|
+
// block to a paragraph).
|
|
22
|
+
priority: 1e3,
|
|
23
|
+
addKeyboardShortcuts() {
|
|
24
|
+
return {
|
|
25
|
+
// In JSON mode the document is a single code block. A Backspace at its very
|
|
26
|
+
// start would lift it to a plain paragraph (killing the highlight, the
|
|
27
|
+
// line-number gutter and the monospace font). There's nothing to delete
|
|
28
|
+
// before the caret there anyway, so swallow it. Mid-text Backspace (and
|
|
29
|
+
// deleting a leading `\n` from line 2+) still works — those have
|
|
30
|
+
// parentOffset > 0.
|
|
31
|
+
Backspace: () => {
|
|
32
|
+
const { selection: s } = this.editor.state, { empty: t, $from: e } = s;
|
|
33
|
+
return t && e.parent.type.name === "codeBlock" && e.parentOffset === 0;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
},
|
|
19
37
|
addProseMirrorPlugins() {
|
|
20
38
|
return [
|
|
21
|
-
new
|
|
22
|
-
key: new
|
|
39
|
+
new d({
|
|
40
|
+
key: new p("jsonHighlightGuard"),
|
|
41
|
+
// jsonMode invariant: the whole document is ONE codeBlock. Several
|
|
42
|
+
// default Backspace paths can lift it to a plain paragraph — and one
|
|
43
|
+
// of them, TipTap core's `clearDocument` appendTransaction (fired when
|
|
44
|
+
// the whole doc is selected then deleted, e.g. Cmd-A → Backspace),
|
|
45
|
+
// runs AFTER our Backspace shortcut, so a keymap veto can't stop it.
|
|
46
|
+
// A paragraph has no gutter and no monospace rule, so the line numbers
|
|
47
|
+
// and font vanish. Re-wrap the content back into a codeBlock whenever
|
|
48
|
+
// something lifts it, restoring the invariant.
|
|
49
|
+
appendTransaction(s, t, e) {
|
|
50
|
+
if (!s.some((a) => a.docChanged))
|
|
51
|
+
return null;
|
|
52
|
+
const { doc: r, schema: i } = e, o = i.nodes.codeBlock;
|
|
53
|
+
if (!o || r.childCount === 1 && r.firstChild?.type === o)
|
|
54
|
+
return null;
|
|
55
|
+
let l = !1;
|
|
56
|
+
if (r.forEach((a) => {
|
|
57
|
+
a.type === o && (l = !0);
|
|
58
|
+
}), l)
|
|
59
|
+
return null;
|
|
60
|
+
const n = r.textBetween(0, r.content.size, `
|
|
61
|
+
`), c = e.tr;
|
|
62
|
+
return c.replaceWith(
|
|
63
|
+
0,
|
|
64
|
+
r.content.size,
|
|
65
|
+
o.create(null, n ? i.text(n) : null)
|
|
66
|
+
), c.setSelection(m.create(c.doc, 1)), c;
|
|
67
|
+
}
|
|
68
|
+
}),
|
|
69
|
+
new d({
|
|
70
|
+
key: new p("jsonHighlight"),
|
|
23
71
|
props: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
72
|
+
// Paste beautify: if the clipboard text is valid JSON, drop in a
|
|
73
|
+
// pretty-printed version (2-space indent, matching the Beautify
|
|
74
|
+
// button) instead of the raw blob. Non-JSON pastes fall through to
|
|
75
|
+
// the default handler untouched.
|
|
76
|
+
handlePaste(s, t) {
|
|
77
|
+
const e = t.clipboardData?.getData("text/plain");
|
|
78
|
+
if (!e || !e.trim())
|
|
79
|
+
return !1;
|
|
80
|
+
let r;
|
|
81
|
+
try {
|
|
82
|
+
r = JSON.parse(e);
|
|
83
|
+
} catch {
|
|
84
|
+
return !1;
|
|
85
|
+
}
|
|
86
|
+
const i = JSON.stringify(r, null, 2);
|
|
87
|
+
if (i === e)
|
|
88
|
+
return !1;
|
|
89
|
+
const { state: o, dispatch: l } = s, { from: n, to: c } = o.selection;
|
|
90
|
+
return l(o.tr.insertText(i, n, c).scrollIntoView()), !0;
|
|
91
|
+
},
|
|
92
|
+
decorations(s) {
|
|
93
|
+
const t = [];
|
|
94
|
+
return s.doc.descendants((e, r) => {
|
|
95
|
+
if (e.type.name !== "codeBlock") return;
|
|
96
|
+
const i = e.textContent, o = r + 1;
|
|
97
|
+
for (const n of k(i))
|
|
98
|
+
t.push(
|
|
99
|
+
u.inline(o + n.start, o + n.end, {
|
|
100
|
+
class: y[n.type]
|
|
33
101
|
})
|
|
34
102
|
);
|
|
35
|
-
let
|
|
36
|
-
|
|
37
|
-
|
|
103
|
+
let l = 1;
|
|
104
|
+
t.push(
|
|
105
|
+
u.widget(o, () => f(1), {
|
|
38
106
|
side: -1,
|
|
39
107
|
key: "ln-1"
|
|
40
108
|
})
|
|
41
109
|
);
|
|
42
|
-
for (let
|
|
43
|
-
if (i[
|
|
110
|
+
for (let n = 0; n < i.length; n++) {
|
|
111
|
+
if (i[n] !== `
|
|
44
112
|
`) continue;
|
|
45
|
-
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
113
|
+
l += 1;
|
|
114
|
+
const c = l;
|
|
115
|
+
t.push(
|
|
116
|
+
u.widget(o + n + 1, () => f(c), {
|
|
49
117
|
side: -1,
|
|
50
|
-
key: `ln-${
|
|
118
|
+
key: `ln-${c}`
|
|
51
119
|
})
|
|
52
120
|
);
|
|
53
121
|
}
|
|
54
|
-
}),
|
|
122
|
+
}), g.create(s.doc, t);
|
|
55
123
|
}
|
|
56
124
|
}
|
|
57
125
|
})
|
|
@@ -59,6 +127,6 @@ const x = d.create({
|
|
|
59
127
|
}
|
|
60
128
|
});
|
|
61
129
|
export {
|
|
62
|
-
|
|
130
|
+
w as JsonHighlightExtension
|
|
63
131
|
};
|
|
64
132
|
//# sourceMappingURL=JsonHighlightExtension.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonHighlightExtension.js","sources":["../../../../../src/editor/extensions/jsonHighlight/JsonHighlightExtension.ts"],"sourcesContent":["import { Extension } from '@tiptap/core';\nimport { Plugin, PluginKey } from '@tiptap/pm/state';\nimport { Decoration, DecorationSet } from '@tiptap/pm/view';\nimport { JsonTokenType, tokenizeJson } from './tokenizeJson';\n\nconst CLASS_BY_TYPE: Record<JsonTokenType, string> = {\n\tkey: 'bik-json-key',\n\tstring: 'bik-json-string',\n\tnumber: 'bik-json-number',\n\tboolean: 'bik-json-boolean',\n\tnull: 'bik-json-null',\n\tpunctuation: 'bik-json-punct',\n};\n\n/** Line-number widget rendered in the hanging gutter at each line start. */\nfunction lineNumberWidget(n: number): HTMLElement {\n\tconst span = document.createElement('span');\n\tspan.className = 'bik-json-lineno';\n\tspan.textContent = String(n);\n\tspan.setAttribute('contenteditable', 'false');\n\treturn span;\n}\n\n/**\n * Colours JSON tokens inside `codeBlock` nodes and renders a line-number gutter.\n * A code block stores its whole multi-line body in a single text node, so token\n * offsets map 1:1 onto document positions (`nodeStart + offset`) — no cross-node\n * bookkeeping needed, and lines are just the `\\n`-separated runs of that text.\n *\n * Purely decorative: the document text is never rewritten, so undo/redo,\n * character count and the cursor all behave exactly as with plain text. The\n * gutter numbers are `side: -1` widgets that hang into the code block's left\n * padding (see `.bik-json-lineno` in BikEditor.styles.ts), so they never enter\n * the document text or shift character offsets.\n */\nexport const JsonHighlightExtension = Extension.create({\n\tname: 'jsonHighlight',\n\taddProseMirrorPlugins() {\n\t\treturn [\n\t\t\tnew Plugin({\n\t\t\t\tkey: new PluginKey('jsonHighlight'),\n\t\t\t\tprops: {\n\t\t\t\t\tdecorations(state) {\n\t\t\t\t\t\tconst decorations: Decoration[] = [];\n\t\t\t\t\t\tstate.doc.descendants((node, pos) => {\n\t\t\t\t\t\t\tif (node.type.name !== 'codeBlock') return;\n\t\t\t\t\t\t\tconst text = node.textContent;\n\t\t\t\t\t\t\t// +1: step past the code-block node boundary into its text.\n\t\t\t\t\t\t\tconst base = pos + 1;\n\n\t\t\t\t\t\t\tfor (const tok of tokenizeJson(text)) {\n\t\t\t\t\t\t\t\tdecorations.push(\n\t\t\t\t\t\t\t\t\tDecoration.inline(base + tok.start, base + tok.end, {\n\t\t\t\t\t\t\t\t\t\tclass: CLASS_BY_TYPE[tok.type],\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// One line number per `\\n`-separated line (line 1 at offset 0,\n\t\t\t\t\t\t\t// then one after every newline). `white-space: pre` on the block\n\t\t\t\t\t\t\t// disables wrapping, so logical lines == visual lines.\n\t\t\t\t\t\t\tlet line = 1;\n\t\t\t\t\t\t\tdecorations.push(\n\t\t\t\t\t\t\t\tDecoration.widget(base, () => lineNumberWidget(1), {\n\t\t\t\t\t\t\t\t\tside: -1,\n\t\t\t\t\t\t\t\t\tkey: 'ln-1',\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tfor (let i = 0; i < text.length; i++) {\n\t\t\t\t\t\t\t\tif (text[i] !== '\\n') continue;\n\t\t\t\t\t\t\t\tline += 1;\n\t\t\t\t\t\t\t\tconst n = line;\n\t\t\t\t\t\t\t\tdecorations.push(\n\t\t\t\t\t\t\t\t\tDecoration.widget(base + i + 1, () => lineNumberWidget(n), {\n\t\t\t\t\t\t\t\t\t\tside: -1,\n\t\t\t\t\t\t\t\t\t\tkey: `ln-${n}`,\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\treturn DecorationSet.create(state.doc, decorations);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t];\n\t},\n});\n"],"names":["CLASS_BY_TYPE","lineNumberWidget","n","span","JsonHighlightExtension","Extension","Plugin","PluginKey","state","decorations","node","pos","text","base","tok","tokenizeJson","Decoration","line","i","DecorationSet"],"mappings":";;;;AAKA,MAAMA,IAA+C;AAAA,EACpD,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,MAAM;AAAA,EACN,aAAa;AACd;AAGA,SAASC,EAAiBC,GAAwB;AACjD,QAAMC,IAAO,SAAS,cAAc,MAAM;AAC1C,SAAAA,EAAK,YAAY,mBACjBA,EAAK,cAAc,OAAOD,CAAC,GAC3BC,EAAK,aAAa,mBAAmB,OAAO,GACrCA;AACR;AAcO,MAAMC,IAAyBC,EAAU,OAAO;AAAA,EACtD,MAAM;AAAA,EACN,wBAAwB;AACvB,WAAO;AAAA,MACN,IAAIC,EAAO;AAAA,QACV,KAAK,IAAIC,EAAU,eAAe;AAAA,QAClC,OAAO;AAAA,UACN,YAAYC,GAAO;AAClB,kBAAMC,IAA4B,CAAA;AAClC,mBAAAD,EAAM,IAAI,YAAY,CAACE,GAAMC,MAAQ;AACpC,kBAAID,EAAK,KAAK,SAAS,YAAa;AACpC,oBAAME,IAAOF,EAAK,aAEZG,IAAOF,IAAM;AAEnB,yBAAWG,KAAOC,EAAaH,CAAI;AAClC,gBAAAH,EAAY;AAAA,kBACXO,EAAW,OAAOH,IAAOC,EAAI,OAAOD,IAAOC,EAAI,KAAK;AAAA,oBACnD,OAAOd,EAAcc,EAAI,IAAI;AAAA,kBAAA,CAC7B;AAAA,gBAAA;AAOH,kBAAIG,IAAO;AACX,cAAAR,EAAY;AAAA,gBACXO,EAAW,OAAOH,GAAM,MAAMZ,EAAiB,CAAC,GAAG;AAAA,kBAClD,MAAM;AAAA,kBACN,KAAK;AAAA,gBAAA,CACL;AAAA,cAAA;AAEF,uBAASiB,IAAI,GAAGA,IAAIN,EAAK,QAAQM,KAAK;AACrC,oBAAIN,EAAKM,CAAC,MAAM;AAAA,EAAM;AACtB,gBAAAD,KAAQ;AACR,sBAAMf,IAAIe;AACV,gBAAAR,EAAY;AAAA,kBACXO,EAAW,OAAOH,IAAOK,IAAI,GAAG,MAAMjB,EAAiBC,CAAC,GAAG;AAAA,oBAC1D,MAAM;AAAA,oBACN,KAAK,MAAMA,CAAC;AAAA,kBAAA,CACZ;AAAA,gBAAA;AAAA,cAEH;AAAA,YACD,CAAC,GACMiB,EAAc,OAAOX,EAAM,KAAKC,CAAW;AAAA,UACnD;AAAA,QAAA;AAAA,MACD,CACA;AAAA,IAAA;AAAA,EAEH;AACD,CAAC;"}
|
|
1
|
+
{"version":3,"file":"JsonHighlightExtension.js","sources":["../../../../../src/editor/extensions/jsonHighlight/JsonHighlightExtension.ts"],"sourcesContent":["import { Extension } from '@tiptap/core';\nimport { Plugin, PluginKey, TextSelection } from '@tiptap/pm/state';\nimport { Decoration, DecorationSet } from '@tiptap/pm/view';\nimport { JsonTokenType, tokenizeJson } from './tokenizeJson';\n\nconst CLASS_BY_TYPE: Record<JsonTokenType, string> = {\n\tkey: 'bik-json-key',\n\tstring: 'bik-json-string',\n\tnumber: 'bik-json-number',\n\tboolean: 'bik-json-boolean',\n\tnull: 'bik-json-null',\n\tpunctuation: 'bik-json-punct',\n};\n\n/** Line-number widget rendered in the hanging gutter at each line start. */\nfunction lineNumberWidget(n: number): HTMLElement {\n\tconst span = document.createElement('span');\n\tspan.className = 'bik-json-lineno';\n\tspan.textContent = String(n);\n\tspan.setAttribute('contenteditable', 'false');\n\treturn span;\n}\n\n/**\n * Colours JSON tokens inside `codeBlock` nodes and renders a line-number gutter.\n * A code block stores its whole multi-line body in a single text node, so token\n * offsets map 1:1 onto document positions (`nodeStart + offset`) — no cross-node\n * bookkeeping needed, and lines are just the `\\n`-separated runs of that text.\n *\n * Purely decorative: the document text is never rewritten, so undo/redo,\n * character count and the cursor all behave exactly as with plain text. The\n * gutter numbers are `side: -1` widgets that hang into the code block's left\n * padding (see `.bik-json-lineno` in BikEditor.styles.ts), so they never enter\n * the document text or shift character offsets.\n */\nexport const JsonHighlightExtension = Extension.create({\n\tname: 'jsonHighlight',\n\t// Above CodeBlock (default 100) so our Backspace handler runs first and can\n\t// veto CodeBlock's own \"clearNodes at start\" shortcut (which would lift the\n\t// block to a paragraph).\n\tpriority: 1000,\n\taddKeyboardShortcuts() {\n\t\treturn {\n\t\t\t// In JSON mode the document is a single code block. A Backspace at its very\n\t\t\t// start would lift it to a plain paragraph (killing the highlight, the\n\t\t\t// line-number gutter and the monospace font). There's nothing to delete\n\t\t\t// before the caret there anyway, so swallow it. Mid-text Backspace (and\n\t\t\t// deleting a leading `\\n` from line 2+) still works — those have\n\t\t\t// parentOffset > 0.\n\t\t\tBackspace: () => {\n\t\t\t\tconst { selection } = this.editor.state;\n\t\t\t\tconst { empty, $from } = selection;\n\t\t\t\treturn (\n\t\t\t\t\tempty &&\n\t\t\t\t\t$from.parent.type.name === 'codeBlock' &&\n\t\t\t\t\t$from.parentOffset === 0\n\t\t\t\t);\n\t\t\t},\n\t\t};\n\t},\n\taddProseMirrorPlugins() {\n\t\treturn [\n\t\t\tnew Plugin({\n\t\t\t\tkey: new PluginKey('jsonHighlightGuard'),\n\t\t\t\t// jsonMode invariant: the whole document is ONE codeBlock. Several\n\t\t\t\t// default Backspace paths can lift it to a plain paragraph — and one\n\t\t\t\t// of them, TipTap core's `clearDocument` appendTransaction (fired when\n\t\t\t\t// the whole doc is selected then deleted, e.g. Cmd-A → Backspace),\n\t\t\t\t// runs AFTER our Backspace shortcut, so a keymap veto can't stop it.\n\t\t\t\t// A paragraph has no gutter and no monospace rule, so the line numbers\n\t\t\t\t// and font vanish. Re-wrap the content back into a codeBlock whenever\n\t\t\t\t// something lifts it, restoring the invariant.\n\t\t\t\tappendTransaction(transactions, _oldState, newState) {\n\t\t\t\t\tif (!transactions.some((tr) => tr.docChanged)) {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tconst { doc, schema } = newState;\n\t\t\t\t\tconst codeBlock = schema.nodes['codeBlock'];\n\t\t\t\t\tif (!codeBlock) {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\t// Common case: already a single codeBlock → nothing to do.\n\t\t\t\t\tif (doc.childCount === 1 && doc.firstChild?.type === codeBlock) {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\t// If a codeBlock survives anywhere, leave it alone (don't fight\n\t\t\t\t\t// legitimate multi-node edits that shouldn't happen in jsonMode).\n\t\t\t\t\tlet hasCodeBlock = false;\n\t\t\t\t\tdoc.forEach((node) => {\n\t\t\t\t\t\tif (node.type === codeBlock) {\n\t\t\t\t\t\t\thasCodeBlock = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tif (hasCodeBlock) {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\t// A lift happened: rebuild a single codeBlock from the text\n\t\t\t\t\t// (block boundaries preserved as newlines, matching JSON lines).\n\t\t\t\t\tconst text = doc.textBetween(0, doc.content.size, '\\n');\n\t\t\t\t\tconst tr = newState.tr;\n\t\t\t\t\ttr.replaceWith(\n\t\t\t\t\t\t0,\n\t\t\t\t\t\tdoc.content.size,\n\t\t\t\t\t\tcodeBlock.create(null, text ? schema.text(text) : null),\n\t\t\t\t\t);\n\t\t\t\t\ttr.setSelection(TextSelection.create(tr.doc, 1));\n\t\t\t\t\treturn tr;\n\t\t\t\t},\n\t\t\t}),\n\t\t\tnew Plugin({\n\t\t\t\tkey: new PluginKey('jsonHighlight'),\n\t\t\t\tprops: {\n\t\t\t\t\t// Paste beautify: if the clipboard text is valid JSON, drop in a\n\t\t\t\t\t// pretty-printed version (2-space indent, matching the Beautify\n\t\t\t\t\t// button) instead of the raw blob. Non-JSON pastes fall through to\n\t\t\t\t\t// the default handler untouched.\n\t\t\t\t\thandlePaste(view, event) {\n\t\t\t\t\t\tconst raw = event.clipboardData?.getData('text/plain');\n\t\t\t\t\t\tif (!raw || !raw.trim()) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlet value: unknown;\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tvalue = JSON.parse(raw);\n\t\t\t\t\t\t} catch {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst pretty = JSON.stringify(value, null, 2);\n\t\t\t\t\t\t// No-op if it was already beautified (avoids a redundant tx).\n\t\t\t\t\t\tif (pretty === raw) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst { state, dispatch } = view;\n\t\t\t\t\t\tconst { from, to } = state.selection;\n\t\t\t\t\t\tdispatch(state.tr.insertText(pretty, from, to).scrollIntoView());\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t},\n\t\t\t\t\tdecorations(state) {\n\t\t\t\t\t\tconst decorations: Decoration[] = [];\n\t\t\t\t\t\tstate.doc.descendants((node, pos) => {\n\t\t\t\t\t\t\tif (node.type.name !== 'codeBlock') return;\n\t\t\t\t\t\t\tconst text = node.textContent;\n\t\t\t\t\t\t\t// +1: step past the code-block node boundary into its text.\n\t\t\t\t\t\t\tconst base = pos + 1;\n\n\t\t\t\t\t\t\tfor (const tok of tokenizeJson(text)) {\n\t\t\t\t\t\t\t\tdecorations.push(\n\t\t\t\t\t\t\t\t\tDecoration.inline(base + tok.start, base + tok.end, {\n\t\t\t\t\t\t\t\t\t\tclass: CLASS_BY_TYPE[tok.type],\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// One line number per `\\n`-separated line (line 1 at offset 0,\n\t\t\t\t\t\t\t// then one after every newline). `white-space: pre` on the block\n\t\t\t\t\t\t\t// disables wrapping, so logical lines == visual lines.\n\t\t\t\t\t\t\tlet line = 1;\n\t\t\t\t\t\t\tdecorations.push(\n\t\t\t\t\t\t\t\tDecoration.widget(base, () => lineNumberWidget(1), {\n\t\t\t\t\t\t\t\t\tside: -1,\n\t\t\t\t\t\t\t\t\tkey: 'ln-1',\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tfor (let i = 0; i < text.length; i++) {\n\t\t\t\t\t\t\t\tif (text[i] !== '\\n') continue;\n\t\t\t\t\t\t\t\tline += 1;\n\t\t\t\t\t\t\t\tconst n = line;\n\t\t\t\t\t\t\t\tdecorations.push(\n\t\t\t\t\t\t\t\t\tDecoration.widget(base + i + 1, () => lineNumberWidget(n), {\n\t\t\t\t\t\t\t\t\t\tside: -1,\n\t\t\t\t\t\t\t\t\t\tkey: `ln-${n}`,\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\treturn DecorationSet.create(state.doc, decorations);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t];\n\t},\n});\n"],"names":["CLASS_BY_TYPE","lineNumberWidget","n","span","JsonHighlightExtension","Extension","selection","empty","$from","Plugin","PluginKey","transactions","_oldState","newState","tr","doc","schema","codeBlock","hasCodeBlock","node","text","TextSelection","view","event","raw","value","pretty","state","dispatch","from","to","decorations","pos","base","tok","tokenizeJson","Decoration","line","i","DecorationSet"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface Props extends SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgProductTour: ({ size, color, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgProductTour;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsxs as e, jsx as C } from "react/jsx-runtime";
|
|
2
|
+
const d = ({
|
|
3
|
+
size: r = 24,
|
|
4
|
+
color: o = "currentColor",
|
|
5
|
+
...l
|
|
6
|
+
}) => {
|
|
7
|
+
const t = {
|
|
8
|
+
width: r,
|
|
9
|
+
height: r,
|
|
10
|
+
color: o,
|
|
11
|
+
...l
|
|
12
|
+
};
|
|
13
|
+
return /* @__PURE__ */ e(
|
|
14
|
+
"svg",
|
|
15
|
+
{
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
...t,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ C(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M22 20C22.5523 20 23 20.4477 23 21C23 21.5523 22.5523 22 22 22H2C1.44772 22 1 21.5523 1 21C1 20.4477 1.44772 20 2 20H22Z",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ C(
|
|
29
|
+
"path",
|
|
30
|
+
{
|
|
31
|
+
d: "M13.4697 5.46973C13.7626 5.17684 14.2374 5.17684 14.5303 5.46973C14.8232 5.76262 14.8232 6.23738 14.5303 6.53027L11.8633 9.19727C11.5704 9.48983 11.0955 9.49004 10.8027 9.19727L9.46973 7.86328C9.177 7.57037 9.17689 7.09557 9.46973 6.80273C9.76258 6.51007 10.2374 6.51006 10.5303 6.80273L11.333 7.60547L13.4697 5.46973Z",
|
|
32
|
+
fill: "currentColor"
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ C(
|
|
36
|
+
"path",
|
|
37
|
+
{
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M12 1C14.953 1 17.373 3.17087 17.8945 6H19C20.4784 6 22 7.03126 22 8.66699V15.333C22 16.9687 20.4784 18 19 18H5C3.52161 18 2 16.9687 2 15.333V8.66699C2 7.03126 3.52161 6 5 6H6C6.03527 6 6.07017 6.00132 6.10449 6.00488C6.62417 3.17336 9.04531 1 12 1ZM6 8H5C4.26926 8 4 8.46177 4 8.66699V15.333C4 15.5382 4.26926 16 5 16H19C19.7307 16 20 15.5382 20 15.333V8.66699C20 8.46177 19.7307 8 19 8H17.9414C17.6538 10.1053 16.3225 11.8773 14.4844 12.7344C14.4676 12.7529 14.4492 12.7742 14.4287 12.7969C14.3191 12.918 14.1734 13.0804 14.0127 13.2588C13.6911 13.6156 13.3122 14.0366 13.0527 14.3252C12.4798 14.9624 11.4782 14.9378 10.9346 14.2832L9.72754 12.8281C7.77915 12.0113 6.35629 10.1834 6.05859 7.99707C6.03918 7.99819 6.01969 8 6 8ZM12 3C9.81732 3 8.00015 4.82793 8 7.14258C8 8.8488 8.99284 10.299 10.3906 10.9365L10.6748 11.0537L10.9297 11.1455L11.1025 11.3545L12.0303 12.4717C12.531 11.9152 13.1114 11.2712 13.1709 11.21L13.3125 11.0635L13.501 10.9844C14.956 10.3736 16 8.89206 16 7.14258C15.9999 4.82793 14.1827 3 12 3Z",
|
|
41
|
+
fill: "currentColor"
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
d as default
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=ProductTour.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductTour.js","sources":["../../../../../src/icons/Actions/Common actions/ProductTour.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\n\ninterface Props extends SVGProps<SVGSVGElement> {\n\tsize?: number | string;\n\tcolor?: string;\n}\nconst SvgProductTour = ({\n\tsize = 24,\n\tcolor = 'currentColor',\n\t...rest\n}: Props) => {\n\tconst props = {\n\t\twidth: size,\n\t\theight: size,\n\t\tcolor,\n\t\t...rest,\n\t};\n\treturn (\n\t\t<svg\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M22 20C22.5523 20 23 20.4477 23 21C23 21.5523 22.5523 22 22 22H2C1.44772 22 1 21.5523 1 21C1 20.4477 1.44772 20 2 20H22Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\td=\"M13.4697 5.46973C13.7626 5.17684 14.2374 5.17684 14.5303 5.46973C14.8232 5.76262 14.8232 6.23738 14.5303 6.53027L11.8633 9.19727C11.5704 9.48983 11.0955 9.49004 10.8027 9.19727L9.46973 7.86328C9.177 7.57037 9.17689 7.09557 9.46973 6.80273C9.76258 6.51007 10.2374 6.51006 10.5303 6.80273L11.333 7.60547L13.4697 5.46973Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tfillRule=\"evenodd\"\n\t\t\t\tclipRule=\"evenodd\"\n\t\t\t\td=\"M12 1C14.953 1 17.373 3.17087 17.8945 6H19C20.4784 6 22 7.03126 22 8.66699V15.333C22 16.9687 20.4784 18 19 18H5C3.52161 18 2 16.9687 2 15.333V8.66699C2 7.03126 3.52161 6 5 6H6C6.03527 6 6.07017 6.00132 6.10449 6.00488C6.62417 3.17336 9.04531 1 12 1ZM6 8H5C4.26926 8 4 8.46177 4 8.66699V15.333C4 15.5382 4.26926 16 5 16H19C19.7307 16 20 15.5382 20 15.333V8.66699C20 8.46177 19.7307 8 19 8H17.9414C17.6538 10.1053 16.3225 11.8773 14.4844 12.7344C14.4676 12.7529 14.4492 12.7742 14.4287 12.7969C14.3191 12.918 14.1734 13.0804 14.0127 13.2588C13.6911 13.6156 13.3122 14.0366 13.0527 14.3252C12.4798 14.9624 11.4782 14.9378 10.9346 14.2832L9.72754 12.8281C7.77915 12.0113 6.35629 10.1834 6.05859 7.99707C6.03918 7.99819 6.01969 8 6 8ZM12 3C9.81732 3 8.00015 4.82793 8 7.14258C8 8.8488 8.99284 10.299 10.3906 10.9365L10.6748 11.0537L10.9297 11.1455L11.1025 11.3545L12.0303 12.4717C12.531 11.9152 13.1114 11.2712 13.1709 11.21L13.3125 11.0635L13.501 10.9844C14.956 10.3736 16 8.89206 16 7.14258C15.9999 4.82793 14.1827 3 12 3Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\nexport default SvgProductTour;\n"],"names":["SvgProductTour","size","color","rest","props","jsxs","jsx"],"mappings":";AAMA,MAAMA,IAAiB,CAAC;AAAA,EACvB,MAAAC,IAAO;AAAA,EACP,OAAAC,IAAQ;AAAA,EACR,GAAGC;AACJ,MAAa;AACZ,QAAMC,IAAQ;AAAA,IACb,OAAOH;AAAA,IACP,QAAQA;AAAA,IACR,OAAAC;AAAA,IACA,GAAGC;AAAA,EAAA;AAEJ,SACC,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAGD;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAE;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,QAEN,gBAAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,QAEN,gBAAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,UAAS;AAAA,YACT,UAAS;AAAA,YACT,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACN;AAAA,IAAA;AAAA,EAAA;AAGH;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface Props extends SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgRestApi: ({ size, color, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgRestApi;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
const n = ({ size: C = 24, color: t = "currentColor", ...o }) => {
|
|
3
|
+
const e = {
|
|
4
|
+
width: C,
|
|
5
|
+
height: C,
|
|
6
|
+
color: t,
|
|
7
|
+
...o
|
|
8
|
+
};
|
|
9
|
+
return /* @__PURE__ */ r(
|
|
10
|
+
"svg",
|
|
11
|
+
{
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...e,
|
|
16
|
+
children: /* @__PURE__ */ r(
|
|
17
|
+
"path",
|
|
18
|
+
{
|
|
19
|
+
d: "M21 17.0003C21 16.2047 20.6837 15.4409 20.1211 14.8783C19.5585 14.3159 18.7955 14.0003 18 14.0003C16.8352 14.0003 15.0663 13.6977 14.253 12.2093H14.252L11.1221 6.47983C10.8574 5.99517 11.0359 5.38719 11.5205 5.12241C12.0052 4.85765 12.6132 5.03616 12.878 5.52084L16.0078 11.2503C16.2546 11.7019 16.9648 12.0003 18 12.0003C19.326 12.0003 20.5975 12.5267 21.5352 13.4642C22.4729 14.4019 23 15.6743 23 17.0003C22.9999 18.3263 22.4728 19.5979 21.5352 20.5355C20.5975 21.4731 19.326 22.0003 18 22.0003C17.4478 22.0003 17.0002 21.5525 17 21.0003C17 20.4481 17.4477 20.0003 18 20.0003C18.7956 20.0003 19.5585 19.6839 20.1211 19.1214C20.6837 18.5589 20.9999 17.7959 21 17.0003ZM1.71878 14.4749C2.00866 14.005 2.62472 13.859 3.09476 14.1488C3.56485 14.4387 3.71082 15.0547 3.42093 15.5248C3.15352 15.9584 3.00898 16.4768 3.00003 17.0062C3.00168 17.673 3.2252 18.3205 3.63577 18.846C4.04767 19.3732 4.62438 19.7475 5.27347 19.9095C5.92255 20.0715 6.60745 20.0123 7.21878 19.7406C7.83011 19.4688 8.33285 18.9999 8.64749 18.4095C8.64975 18.4053 8.65201 18.401 8.65433 18.3968C9.21258 17.3856 10.3185 15.98 12.0098 15.9798H18C18.5522 15.9798 18.9999 16.4276 19 16.9798C19 17.5321 18.5523 17.9798 18 17.9798H12.0098C11.5013 17.98 10.9069 18.455 10.4053 19.3636L10.4043 19.3626C9.87953 20.3404 9.04557 21.1168 8.03128 21.5677C7.01239 22.0206 5.87089 22.12 4.78909 21.8499C3.70726 21.5798 2.7461 20.9561 2.0596 20.0775C1.3731 19.1988 1.00038 18.1154 1.00003 17.0003C1.00003 16.9955 0.999962 16.9906 1.00003 16.9857C1.01244 16.1179 1.24757 15.2391 1.71878 14.4749ZM11.3575 1.04331C12.0191 0.954644 12.6919 0.999662 13.336 1.17514C13.9802 1.3507 14.5832 1.65358 15.1084 2.06577C15.6337 2.47794 16.0709 2.9916 16.3946 3.57553C16.6621 4.05853 16.4879 4.66718 16.0049 4.93491C15.522 5.20255 14.9134 5.028 14.6455 4.54526C14.4513 4.19494 14.1891 3.8863 13.8741 3.63901C13.5589 3.39172 13.197 3.21017 12.8106 3.10483C12.4241 2.99949 12.0201 2.97252 11.6231 3.02573C11.2262 3.07891 10.8441 3.21119 10.4991 3.4144C10.1539 3.61778 9.85224 3.88874 9.61331 4.2103C9.37448 4.53179 9.20256 4.8984 9.10745 5.28745C9.01242 5.67646 8.99599 6.08055 9.0596 6.47592C9.12264 6.86772 9.26263 7.24321 9.47171 7.58041C9.81393 8.10643 10.1323 8.75044 10.2813 9.44077C10.4318 10.1388 10.4188 10.9429 10.0088 11.6956L6.87894 17.4759C6.61595 17.9616 6.00912 18.1422 5.52347 17.8792C5.03808 17.6162 4.8582 17.0093 5.12112 16.5238L8.25101 10.7435L8.25296 10.7406C8.37091 10.5246 8.40769 10.2406 8.3262 9.86264C8.24328 9.47833 8.04819 9.05914 7.79202 8.66635C7.78858 8.66107 7.7856 8.6551 7.78226 8.64975C7.42837 8.0837 7.19103 7.45241 7.08499 6.79331C6.97899 6.13419 7.00654 5.46035 7.16507 4.81186C7.32364 4.16337 7.60968 3.5528 8.00784 3.01694C8.40606 2.48101 8.9082 2.0307 9.48343 1.69174C10.0586 1.35282 10.6957 1.13198 11.3575 1.04331Z",
|
|
20
|
+
fill: "currentColor"
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
n as default
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=RestApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestApi.js","sources":["../../../../../src/icons/Actions/Common actions/RestApi.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\n\ninterface Props extends SVGProps<SVGSVGElement> {\n\tsize?: number | string;\n\tcolor?: string;\n}\nconst SvgRestApi = ({ size = 24, color = 'currentColor', ...rest }: Props) => {\n\tconst props = {\n\t\twidth: size,\n\t\theight: size,\n\t\tcolor,\n\t\t...rest,\n\t};\n\treturn (\n\t\t<svg\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M21 17.0003C21 16.2047 20.6837 15.4409 20.1211 14.8783C19.5585 14.3159 18.7955 14.0003 18 14.0003C16.8352 14.0003 15.0663 13.6977 14.253 12.2093H14.252L11.1221 6.47983C10.8574 5.99517 11.0359 5.38719 11.5205 5.12241C12.0052 4.85765 12.6132 5.03616 12.878 5.52084L16.0078 11.2503C16.2546 11.7019 16.9648 12.0003 18 12.0003C19.326 12.0003 20.5975 12.5267 21.5352 13.4642C22.4729 14.4019 23 15.6743 23 17.0003C22.9999 18.3263 22.4728 19.5979 21.5352 20.5355C20.5975 21.4731 19.326 22.0003 18 22.0003C17.4478 22.0003 17.0002 21.5525 17 21.0003C17 20.4481 17.4477 20.0003 18 20.0003C18.7956 20.0003 19.5585 19.6839 20.1211 19.1214C20.6837 18.5589 20.9999 17.7959 21 17.0003ZM1.71878 14.4749C2.00866 14.005 2.62472 13.859 3.09476 14.1488C3.56485 14.4387 3.71082 15.0547 3.42093 15.5248C3.15352 15.9584 3.00898 16.4768 3.00003 17.0062C3.00168 17.673 3.2252 18.3205 3.63577 18.846C4.04767 19.3732 4.62438 19.7475 5.27347 19.9095C5.92255 20.0715 6.60745 20.0123 7.21878 19.7406C7.83011 19.4688 8.33285 18.9999 8.64749 18.4095C8.64975 18.4053 8.65201 18.401 8.65433 18.3968C9.21258 17.3856 10.3185 15.98 12.0098 15.9798H18C18.5522 15.9798 18.9999 16.4276 19 16.9798C19 17.5321 18.5523 17.9798 18 17.9798H12.0098C11.5013 17.98 10.9069 18.455 10.4053 19.3636L10.4043 19.3626C9.87953 20.3404 9.04557 21.1168 8.03128 21.5677C7.01239 22.0206 5.87089 22.12 4.78909 21.8499C3.70726 21.5798 2.7461 20.9561 2.0596 20.0775C1.3731 19.1988 1.00038 18.1154 1.00003 17.0003C1.00003 16.9955 0.999962 16.9906 1.00003 16.9857C1.01244 16.1179 1.24757 15.2391 1.71878 14.4749ZM11.3575 1.04331C12.0191 0.954644 12.6919 0.999662 13.336 1.17514C13.9802 1.3507 14.5832 1.65358 15.1084 2.06577C15.6337 2.47794 16.0709 2.9916 16.3946 3.57553C16.6621 4.05853 16.4879 4.66718 16.0049 4.93491C15.522 5.20255 14.9134 5.028 14.6455 4.54526C14.4513 4.19494 14.1891 3.8863 13.8741 3.63901C13.5589 3.39172 13.197 3.21017 12.8106 3.10483C12.4241 2.99949 12.0201 2.97252 11.6231 3.02573C11.2262 3.07891 10.8441 3.21119 10.4991 3.4144C10.1539 3.61778 9.85224 3.88874 9.61331 4.2103C9.37448 4.53179 9.20256 4.8984 9.10745 5.28745C9.01242 5.67646 8.99599 6.08055 9.0596 6.47592C9.12264 6.86772 9.26263 7.24321 9.47171 7.58041C9.81393 8.10643 10.1323 8.75044 10.2813 9.44077C10.4318 10.1388 10.4188 10.9429 10.0088 11.6956L6.87894 17.4759C6.61595 17.9616 6.00912 18.1422 5.52347 17.8792C5.03808 17.6162 4.8582 17.0093 5.12112 16.5238L8.25101 10.7435L8.25296 10.7406C8.37091 10.5246 8.40769 10.2406 8.3262 9.86264C8.24328 9.47833 8.04819 9.05914 7.79202 8.66635C7.78858 8.66107 7.7856 8.6551 7.78226 8.64975C7.42837 8.0837 7.19103 7.45241 7.08499 6.79331C6.97899 6.13419 7.00654 5.46035 7.16507 4.81186C7.32364 4.16337 7.60968 3.5528 8.00784 3.01694C8.40606 2.48101 8.9082 2.0307 9.48343 1.69174C10.0586 1.35282 10.6957 1.13198 11.3575 1.04331Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\nexport default SvgRestApi;\n"],"names":["SvgRestApi","size","color","rest","props","jsx"],"mappings":";AAMA,MAAMA,IAAa,CAAC,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,gBAAgB,GAAGC,QAAkB;AAC7E,QAAMC,IAAQ;AAAA,IACb,OAAOH;AAAA,IACP,QAAQA;AAAA,IACR,OAAAC;AAAA,IACA,GAAGC;AAAA,EAAA;AAEJ,SACC,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAGD;AAAA,MAEJ,UAAA,gBAAAC;AAAA,QAAC;AAAA,QAAA;AAAA,UACA,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAGH;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsxs as t, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
const H = ({ size: C = 24, color: o = "currentColor", ...r }) => {
|
|
3
|
+
const e = {
|
|
4
|
+
width: C,
|
|
5
|
+
height: C,
|
|
6
|
+
color: o,
|
|
7
|
+
...r
|
|
8
|
+
};
|
|
9
|
+
return /* @__PURE__ */ t(
|
|
10
|
+
"svg",
|
|
11
|
+
{
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...e,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ l(
|
|
18
|
+
"path",
|
|
19
|
+
{
|
|
20
|
+
d: "M14.25 5.75C14.8023 5.75 15.25 6.19772 15.25 6.75C15.25 7.30228 14.8023 7.75 14.25 7.75H9C8.44772 7.75 8 7.30228 8 6.75C8 6.19772 8.44772 5.75 9 5.75H14.25Z",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ l(
|
|
25
|
+
"path",
|
|
26
|
+
{
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M16.3633 2.75879C16.706 2.79301 17.0313 2.92737 17.2979 3.14551L17.4258 3.26172L20.7383 6.57422C21.0656 6.90206 21.2497 7.34627 21.25 7.80957V19.5C21.25 19.9641 21.0655 20.4091 20.7373 20.7373C20.4091 21.0655 19.9641 21.25 19.5 21.25H4.5C4.03587 21.25 3.59089 21.0655 3.2627 20.7373C2.93451 20.4091 2.75 19.9641 2.75 19.5V4.5C2.75 4.03587 2.93451 3.59088 3.2627 3.2627C3.59088 2.93451 4.03587 2.75 4.5 2.75H16.1904L16.3633 2.75879ZM4.75 19.25H6.5V14.25C6.5 13.7859 6.68451 13.3409 7.0127 13.0127C7.34089 12.6845 7.78587 12.5 8.25 12.5H15.75C16.2141 12.5 16.6591 12.6845 16.9873 13.0127C17.3155 13.3409 17.5 13.7859 17.5 14.25V19.25H19.25V7.91406L16.0859 4.75H4.75V19.25ZM8.5 19.25H15.5V14.5H8.5V19.25Z",
|
|
30
|
+
fill: "currentColor"
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
H as default
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=Save.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Save.js","sources":["../../../../../src/icons/Actions/Common actions/Save.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\n\ninterface Props extends SVGProps<SVGSVGElement> {\n\tsize?: number | string;\n\tcolor?: string;\n}\nconst SvgSave = ({ size = 24, color = 'currentColor', ...rest }: Props) => {\n\tconst props = {\n\t\twidth: size,\n\t\theight: size,\n\t\tcolor,\n\t\t...rest,\n\t};\n\treturn (\n\t\t<svg\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M14.25 5.75C14.8023 5.75 15.25 6.19772 15.25 6.75C15.25 7.30228 14.8023 7.75 14.25 7.75H9C8.44772 7.75 8 7.30228 8 6.75C8 6.19772 8.44772 5.75 9 5.75H14.25Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tfillRule=\"evenodd\"\n\t\t\t\tclipRule=\"evenodd\"\n\t\t\t\td=\"M16.3633 2.75879C16.706 2.79301 17.0313 2.92737 17.2979 3.14551L17.4258 3.26172L20.7383 6.57422C21.0656 6.90206 21.2497 7.34627 21.25 7.80957V19.5C21.25 19.9641 21.0655 20.4091 20.7373 20.7373C20.4091 21.0655 19.9641 21.25 19.5 21.25H4.5C4.03587 21.25 3.59089 21.0655 3.2627 20.7373C2.93451 20.4091 2.75 19.9641 2.75 19.5V4.5C2.75 4.03587 2.93451 3.59088 3.2627 3.2627C3.59088 2.93451 4.03587 2.75 4.5 2.75H16.1904L16.3633 2.75879ZM4.75 19.25H6.5V14.25C6.5 13.7859 6.68451 13.3409 7.0127 13.0127C7.34089 12.6845 7.78587 12.5 8.25 12.5H15.75C16.2141 12.5 16.6591 12.6845 16.9873 13.0127C17.3155 13.3409 17.5 13.7859 17.5 14.25V19.25H19.25V7.91406L16.0859 4.75H4.75V19.25ZM8.5 19.25H15.5V14.5H8.5V19.25Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\nexport default SvgSave;\n"],"names":["SvgSave","size","color","rest","props","jsxs","jsx"],"mappings":";AAMA,MAAMA,IAAU,CAAC,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,gBAAgB,GAAGC,QAAkB;AAC1E,QAAMC,IAAQ;AAAA,IACb,OAAOH;AAAA,IACP,QAAQA;AAAA,IACR,OAAAC;AAAA,IACA,GAAGC;AAAA,EAAA;AAEJ,SACC,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAGD;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAE;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,QAEN,gBAAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,UAAS;AAAA,YACT,UAAS;AAAA,YACT,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACN;AAAA,IAAA;AAAA,EAAA;AAGH;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface Props extends SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgShortcut: ({ size, color, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgShortcut;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsxs as t, jsx as C } from "react/jsx-runtime";
|
|
2
|
+
const n = ({ size: L = 24, color: o = "currentColor", ...r }) => {
|
|
3
|
+
const l = {
|
|
4
|
+
width: L,
|
|
5
|
+
height: L,
|
|
6
|
+
color: o,
|
|
7
|
+
...r
|
|
8
|
+
};
|
|
9
|
+
return /* @__PURE__ */ t(
|
|
10
|
+
"svg",
|
|
11
|
+
{
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...l,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ C(
|
|
18
|
+
"path",
|
|
19
|
+
{
|
|
20
|
+
d: "M18.3242 13.5635C18.5955 13.083 19.2047 12.9129 19.6855 13.1836L21.0352 13.9434L21.0371 13.9443C21.2927 14.0892 21.511 14.2917 21.6748 14.5342L21.7422 14.6406L21.8018 14.752C21.9319 15.0138 21.9999 15.3032 22 15.5967C22 15.9326 21.9112 16.2635 21.7422 16.5537C21.5731 16.8439 21.3293 17.0844 21.0371 17.25L21.0361 17.249L13.3984 21.625C12.9731 21.8705 12.4911 22.001 12 22.001C11.5088 22.001 11.026 21.8716 10.6006 21.626L2.96387 17.249L2.96289 17.25C2.67067 17.0843 2.42694 16.8439 2.25781 16.5537C2.08876 16.2635 2 15.9326 2 15.5967C2.00015 15.261 2.08881 14.9307 2.25781 14.6406L2.3252 14.5342C2.48902 14.2916 2.70727 14.0892 2.96289 13.9443L2.96484 13.9434L4.31445 13.1836C4.79533 12.9129 5.40454 13.083 5.67578 13.5635C5.94679 14.0446 5.77685 14.6546 5.2959 14.9258L4.10254 15.5967L11.5977 19.8916L11.6006 19.8936C11.722 19.9637 11.8598 20.001 12 20.001C12.1402 20.001 12.278 19.9637 12.3994 19.8936L12.4023 19.8916L19.8965 15.5967L18.7041 14.9258C18.2232 14.6546 18.0532 14.0446 18.3242 13.5635Z",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ C(
|
|
25
|
+
"path",
|
|
26
|
+
{
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M12 1.99902C12.49 1.99902 12.9709 2.12866 13.3955 2.37305L13.3965 2.37207L21.041 6.75195C21.2955 6.89678 21.5116 7.09807 21.6748 7.33984L21.7422 7.44629L21.8018 7.55664C21.9321 7.81883 22 8.10841 22 8.40234C22 8.73815 21.9112 9.06821 21.7422 9.3584C21.5737 9.64752 21.3308 9.88617 21.04 10.0518L21.041 10.0527L13.3965 14.4326L13.3955 14.4316C12.9708 14.6761 12.49 14.8057 12 14.8057C11.5097 14.8057 11.0284 14.6763 10.6035 14.4316L2.95898 10.0527L2.95996 10.0518C2.66925 9.88617 2.42628 9.64751 2.25781 9.3584C2.08883 9.06821 2 8.73815 2 8.40234C2.00003 8.06652 2.08879 7.73647 2.25781 7.44629L2.3252 7.33984C2.4884 7.09807 2.7055 6.89679 2.95996 6.75195L10.6035 2.37207C11.0283 2.1274 11.5097 1.99903 12 1.99902ZM12 3.99902C11.8598 3.99903 11.722 4.03635 11.6006 4.10645L11.5977 4.10742L4.10059 8.40234L11.5977 12.6973L11.6006 12.6992C11.722 12.7693 11.8598 12.8057 12 12.8057C12.1402 12.8057 12.278 12.7693 12.3994 12.6992L12.4023 12.6973L19.8984 8.40234L12.4023 4.10742L12.3994 4.10645C12.278 4.03635 12.1402 3.99902 12 3.99902Z",
|
|
30
|
+
fill: "currentColor"
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
n as default
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=Shortcut.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Shortcut.js","sources":["../../../../../src/icons/Actions/Common actions/Shortcut.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\n\ninterface Props extends SVGProps<SVGSVGElement> {\n\tsize?: number | string;\n\tcolor?: string;\n}\nconst SvgShortcut = ({ size = 24, color = 'currentColor', ...rest }: Props) => {\n\tconst props = {\n\t\twidth: size,\n\t\theight: size,\n\t\tcolor,\n\t\t...rest,\n\t};\n\treturn (\n\t\t<svg\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M18.3242 13.5635C18.5955 13.083 19.2047 12.9129 19.6855 13.1836L21.0352 13.9434L21.0371 13.9443C21.2927 14.0892 21.511 14.2917 21.6748 14.5342L21.7422 14.6406L21.8018 14.752C21.9319 15.0138 21.9999 15.3032 22 15.5967C22 15.9326 21.9112 16.2635 21.7422 16.5537C21.5731 16.8439 21.3293 17.0844 21.0371 17.25L21.0361 17.249L13.3984 21.625C12.9731 21.8705 12.4911 22.001 12 22.001C11.5088 22.001 11.026 21.8716 10.6006 21.626L2.96387 17.249L2.96289 17.25C2.67067 17.0843 2.42694 16.8439 2.25781 16.5537C2.08876 16.2635 2 15.9326 2 15.5967C2.00015 15.261 2.08881 14.9307 2.25781 14.6406L2.3252 14.5342C2.48902 14.2916 2.70727 14.0892 2.96289 13.9443L2.96484 13.9434L4.31445 13.1836C4.79533 12.9129 5.40454 13.083 5.67578 13.5635C5.94679 14.0446 5.77685 14.6546 5.2959 14.9258L4.10254 15.5967L11.5977 19.8916L11.6006 19.8936C11.722 19.9637 11.8598 20.001 12 20.001C12.1402 20.001 12.278 19.9637 12.3994 19.8936L12.4023 19.8916L19.8965 15.5967L18.7041 14.9258C18.2232 14.6546 18.0532 14.0446 18.3242 13.5635Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t\t<path\n\t\t\t\tfillRule=\"evenodd\"\n\t\t\t\tclipRule=\"evenodd\"\n\t\t\t\td=\"M12 1.99902C12.49 1.99902 12.9709 2.12866 13.3955 2.37305L13.3965 2.37207L21.041 6.75195C21.2955 6.89678 21.5116 7.09807 21.6748 7.33984L21.7422 7.44629L21.8018 7.55664C21.9321 7.81883 22 8.10841 22 8.40234C22 8.73815 21.9112 9.06821 21.7422 9.3584C21.5737 9.64752 21.3308 9.88617 21.04 10.0518L21.041 10.0527L13.3965 14.4326L13.3955 14.4316C12.9708 14.6761 12.49 14.8057 12 14.8057C11.5097 14.8057 11.0284 14.6763 10.6035 14.4316L2.95898 10.0527L2.95996 10.0518C2.66925 9.88617 2.42628 9.64751 2.25781 9.3584C2.08883 9.06821 2 8.73815 2 8.40234C2.00003 8.06652 2.08879 7.73647 2.25781 7.44629L2.3252 7.33984C2.4884 7.09807 2.7055 6.89679 2.95996 6.75195L10.6035 2.37207C11.0283 2.1274 11.5097 1.99903 12 1.99902ZM12 3.99902C11.8598 3.99903 11.722 4.03635 11.6006 4.10645L11.5977 4.10742L4.10059 8.40234L11.5977 12.6973L11.6006 12.6992C11.722 12.7693 11.8598 12.8057 12 12.8057C12.1402 12.8057 12.278 12.7693 12.3994 12.6992L12.4023 12.6973L19.8984 8.40234L12.4023 4.10742L12.3994 4.10645C12.278 4.03635 12.1402 3.99902 12 3.99902Z\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\nexport default SvgShortcut;\n"],"names":["SvgShortcut","size","color","rest","props","jsxs","jsx"],"mappings":";AAMA,MAAMA,IAAc,CAAC,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,gBAAgB,GAAGC,QAAkB;AAC9E,QAAMC,IAAQ;AAAA,IACb,OAAOH;AAAA,IACP,QAAQA;AAAA,IACR,OAAAC;AAAA,IACA,GAAGC;AAAA,EAAA;AAEJ,SACC,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAGD;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAE;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,QAEN,gBAAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,UAAS;AAAA,YACT,UAAS;AAAA,YACT,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACN;AAAA,IAAA;AAAA,EAAA;AAGH;"}
|
|
@@ -9,5 +9,9 @@ export { default as Fullscreen } from './Fullscreen';
|
|
|
9
9
|
export { default as LinkSimpleHorizontal } from './LinkSimpleHorizontal';
|
|
10
10
|
export { default as Minus } from './Minus';
|
|
11
11
|
export { default as Plus } from './Plus';
|
|
12
|
+
export { default as ProductTour } from './ProductTour';
|
|
13
|
+
export { default as RestApi } from './RestApi';
|
|
14
|
+
export { default as Save } from './Save';
|
|
12
15
|
export { default as SendAirplane } from './SendAirplane';
|
|
13
16
|
export { default as ShareAndroid } from './ShareAndroid';
|
|
17
|
+
export { default as Shortcut } from './Shortcut';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface Props extends SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgWebhook: ({ size, color, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgWebhook;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
const s = ({ size: C = 24, color: r = "currentColor", ...t }) => {
|
|
3
|
+
const e = {
|
|
4
|
+
width: C,
|
|
5
|
+
height: C,
|
|
6
|
+
color: r,
|
|
7
|
+
...t
|
|
8
|
+
};
|
|
9
|
+
return /* @__PURE__ */ o(
|
|
10
|
+
"svg",
|
|
11
|
+
{
|
|
12
|
+
viewBox: "0 0 19 18",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...e,
|
|
16
|
+
children: /* @__PURE__ */ o(
|
|
17
|
+
"path",
|
|
18
|
+
{
|
|
19
|
+
d: "M14.0833 13.2339H9.09167C8.175 13.2339 7.46667 14.0172 7.025 14.8172C6.67538 15.4733 6.11649 15.9936 5.43718 16.2955C4.75788 16.5975 3.99714 16.6636 3.27589 16.4836C2.55465 16.3035 1.91429 15.8875 1.45662 15.3017C0.998952 14.7159 0.750232 13.9939 0.75 13.2506C0.758333 12.6672 0.916667 12.0839 1.225 11.5839M4.08333 13.2506L6.69167 8.43389C7.13333 7.62556 6.775 6.61722 6.275 5.85056C6.03901 5.47314 5.881 5.05228 5.8103 4.61282C5.73959 4.17335 5.75762 3.72417 5.86332 3.29178C5.96903 2.85939 6.16026 2.45255 6.42574 2.09527C6.69122 1.73798 7.02557 1.43748 7.40906 1.21151C7.79255 0.985529 8.21742 0.838649 8.6586 0.77953C9.09977 0.720412 9.54832 0.750253 9.97778 0.867294C10.4072 0.984335 10.8089 1.1862 11.1591 1.46099C11.5093 1.73578 11.8009 2.07792 12.0167 2.46722M9.08333 4.08389L11.6917 8.85889C12.1333 9.66722 13.1667 9.91722 14.0833 9.91722C14.9674 9.91722 15.8152 10.2684 16.4404 10.8935C17.0655 11.5187 17.4167 12.3665 17.4167 13.2506C17.4167 14.1346 17.0655 14.9825 16.4404 15.6076C15.8152 16.2327 14.9674 16.5839 14.0833 16.5839",
|
|
20
|
+
stroke: "black",
|
|
21
|
+
strokeWidth: 1.5,
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round"
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
s as default
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Webhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Webhook.js","sources":["../../../../src/icons/BIK AI specific/Webhook.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\n\ninterface Props extends SVGProps<SVGSVGElement> {\n\tsize?: number | string;\n\tcolor?: string;\n}\nconst SvgWebhook = ({ size = 24, color = 'currentColor', ...rest }: Props) => {\n\tconst props = {\n\t\twidth: size,\n\t\theight: size,\n\t\tcolor,\n\t\t...rest,\n\t};\n\treturn (\n\t\t<svg\n\t\t\tviewBox=\"0 0 19 18\"\n\t\t\tfill=\"none\"\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<path\n\t\t\t\td=\"M14.0833 13.2339H9.09167C8.175 13.2339 7.46667 14.0172 7.025 14.8172C6.67538 15.4733 6.11649 15.9936 5.43718 16.2955C4.75788 16.5975 3.99714 16.6636 3.27589 16.4836C2.55465 16.3035 1.91429 15.8875 1.45662 15.3017C0.998952 14.7159 0.750232 13.9939 0.75 13.2506C0.758333 12.6672 0.916667 12.0839 1.225 11.5839M4.08333 13.2506L6.69167 8.43389C7.13333 7.62556 6.775 6.61722 6.275 5.85056C6.03901 5.47314 5.881 5.05228 5.8103 4.61282C5.73959 4.17335 5.75762 3.72417 5.86332 3.29178C5.96903 2.85939 6.16026 2.45255 6.42574 2.09527C6.69122 1.73798 7.02557 1.43748 7.40906 1.21151C7.79255 0.985529 8.21742 0.838649 8.6586 0.77953C9.09977 0.720412 9.54832 0.750253 9.97778 0.867294C10.4072 0.984335 10.8089 1.1862 11.1591 1.46099C11.5093 1.73578 11.8009 2.07792 12.0167 2.46722M9.08333 4.08389L11.6917 8.85889C12.1333 9.66722 13.1667 9.91722 14.0833 9.91722C14.9674 9.91722 15.8152 10.2684 16.4404 10.8935C17.0655 11.5187 17.4167 12.3665 17.4167 13.2506C17.4167 14.1346 17.0655 14.9825 16.4404 15.6076C15.8152 16.2327 14.9674 16.5839 14.0833 16.5839\"\n\t\t\t\tstroke=\"black\"\n\t\t\t\tstrokeWidth={1.5}\n\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t/>\n\t\t</svg>\n\t);\n};\nexport default SvgWebhook;\n"],"names":["SvgWebhook","size","color","rest","props","jsx"],"mappings":";AAMA,MAAMA,IAAa,CAAC,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,gBAAgB,GAAGC,QAAkB;AAC7E,QAAMC,IAAQ;AAAA,IACb,OAAOH;AAAA,IACP,QAAQA;AAAA,IACR,OAAAC;AAAA,IACA,GAAGC;AAAA,EAAA;AAEJ,SACC,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAGD;AAAA,MAEJ,UAAA,gBAAAC;AAAA,QAAC;AAAA,QAAA;AAAA,UACA,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAa;AAAA,UACb,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MAAA;AAAA,IAChB;AAAA,EAAA;AAGH;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface Props extends SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgTicketForm: ({ size, color, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgTicketForm;
|