@bigbinary/neeto-molecules 4.0.116 → 4.0.118-beta
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/AuditLogs.js +86 -28
- package/dist/AuditLogs.js.map +1 -1
- package/dist/Chevron-BWNdVGl_.js +268 -0
- package/dist/Chevron-BWNdVGl_.js.map +1 -0
- package/dist/ConfigurePageSidebar.js +1 -1
- package/dist/Schedule.js +1 -1
- package/dist/Schedule.js.map +1 -1
- package/dist/Sidebar.js +2 -1
- package/dist/Sidebar.js.map +1 -1
- package/dist/cjs/AuditLogs.js +83 -25
- package/dist/cjs/AuditLogs.js.map +1 -1
- package/dist/cjs/{Chevron-DzdbGPJI.js → Chevron-D5P-tT5m.js} +23 -21
- package/dist/cjs/Chevron-D5P-tT5m.js.map +1 -0
- package/dist/cjs/ConfigurePageSidebar.js +1 -1
- package/dist/cjs/Schedule.js +1 -1
- package/dist/cjs/Schedule.js.map +1 -1
- package/dist/cjs/Sidebar.js +2 -1
- package/dist/cjs/Sidebar.js.map +1 -1
- package/package.json +2 -2
- package/src/translations/ar.json +2 -2
- package/src/translations/bg.json +2 -2
- package/src/translations/ca.json +2 -2
- package/src/translations/cs.json +2 -2
- package/src/translations/da.json +2 -2
- package/src/translations/de.json +2 -2
- package/src/translations/en.json +2 -2
- package/src/translations/es-MX.json +2 -2
- package/src/translations/es.json +2 -2
- package/src/translations/et.json +2 -2
- package/src/translations/fi.json +2 -2
- package/src/translations/fil.json +2 -2
- package/src/translations/fr.json +2 -2
- package/src/translations/he.json +2 -2
- package/src/translations/hi.json +2 -2
- package/src/translations/hr.json +2 -2
- package/src/translations/id.json +2 -2
- package/src/translations/it.json +2 -2
- package/src/translations/ja.json +2 -2
- package/src/translations/ko.json +2 -2
- package/src/translations/nl.json +2 -2
- package/src/translations/pl.json +2 -2
- package/src/translations/pt-BR.json +2 -2
- package/src/translations/pt.json +2 -2
- package/src/translations/ro.json +2 -2
- package/src/translations/ru.json +2 -2
- package/src/translations/sk.json +2 -2
- package/src/translations/sl.json +2 -2
- package/src/translations/sv.json +2 -2
- package/src/translations/th.json +2 -2
- package/src/translations/tr.json +2 -2
- package/src/translations/uk.json +2 -2
- package/src/translations/vi.json +2 -2
- package/src/translations/zh-CN.json +2 -2
- package/src/translations/zh-TW.json +2 -2
- package/dist/Chevron-Dtxc2piW.js +0 -266
- package/dist/Chevron-Dtxc2piW.js.map +0 -1
- package/dist/cjs/Chevron-DzdbGPJI.js.map +0 -1
package/src/translations/nl.json
CHANGED
|
@@ -364,8 +364,8 @@
|
|
|
364
364
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>heeft bijgewerkt</Semibold> <Code>{{roleName}}</Code> rol met <Code>{{addedPermissionsText}}</Code> recht op {{productSuffix, anyCase}}",
|
|
365
365
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>heeft verwijderd</Semibold> <Code>{{roleName}}</Code> rol op {{productSuffix, anyCase}}",
|
|
366
366
|
"performedAction": "{{performedBy, anyCase}} <Semibold>heeft een actie uitgevoerd</Semibold> op {{productSuffix, anyCase}}",
|
|
367
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: van <Code>{{from}}</Code> naar <Code>{{to}}</Code>",
|
|
368
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: naar <Code>{{to}}</Code>",
|
|
367
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: van <Code>{{from, anyCase}}</Code> naar <Code>{{to, anyCase}}</Code>",
|
|
368
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: naar <Code>{{to, anyCase}}</Code>",
|
|
369
369
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>verbonden met Google Calendar</Semibold> met account <Code>{{emailAddress}}</Code> op {{productSuffix, anyCase}}",
|
|
370
370
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>verbroken Google Calendar integratie</Semibold> op {{productSuffix, anyCase}}",
|
|
371
371
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>verbonden met Stripe integratie</Semibold> met account ID: <Code>{{stripeAccountId}}</Code> op {{productSuffix, anyCase}}",
|
package/src/translations/pl.json
CHANGED
|
@@ -364,8 +364,8 @@
|
|
|
364
364
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>aktualizował</Semibold> <Code>{{roleName}}</Code> rolę z <Code>{{addedPermissionsText}}</Code> uprawnieniem na {{productSuffix, anyCase}}",
|
|
365
365
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>deletował</Semibold> <Code>{{roleName}}</Code> rolę na {{productSuffix, anyCase}}",
|
|
366
366
|
"performedAction": "{{performedBy, anyCase}} <Semibold>wykonał</Semibold> akcję na {{productSuffix, anyCase}}",
|
|
367
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: z <Code>{{from}}</Code>
|
|
368
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>:
|
|
367
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: z <Code>{{from, anyCase}}</Code> na <Code>{{to, anyCase}}</Code>",
|
|
368
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: na <Code>{{to, anyCase}}</Code>",
|
|
369
369
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>podłączył do Google Calendar</Semibold> za pomocą konta <Code>{{emailAddress}}</Code> na {{productSuffix, anyCase}}",
|
|
370
370
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>edłączył integrację Google Calendar</Semibold> na {{productSuffix, anyCase}}",
|
|
371
371
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>podłączył integrację Stripe</Semibold> z ID konta: <Code>{{stripeAccountId}}</Code> na {{productSuffix, anyCase}}",
|
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>atualizou</Semibold> <Code>{{roleName}}</Code> função com <Code>{{addedPermissionsText}}</Code> permissão em {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold> deletou</Semibold> <Code>{{roleName}}</Code> função em {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold>executou</Semibold> uma ação em {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: de <Code>{{from}}</Code> para <Code>{{to}}</Code>",
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: para <Code>{{to}}</Code>",
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: de <Code>{{from, anyCase}}</Code> para <Code>{{to, anyCase}}</Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: para <Code>{{to, anyCase}}</Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>conectou ao Google Calendar</Semibold> usando a conta <Code>{{emailAddress}}</Code> em {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>desconectou a integração do Google Calendar</Semibold> em {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>conectou à integração do Stripe</Semibold> com ID da conta: <Code>{{stripeAccountId}}</Code> em {{productSuffix, anyCase}}",
|
package/src/translations/pt.json
CHANGED
|
@@ -364,8 +364,8 @@
|
|
|
364
364
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>atualizou</Semibold> <Code>{{roleName}}</Code> função com <Code>{{addedPermissionsText}}</Code> permissão no {{productSuffix, anyCase}}",
|
|
365
365
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>excluiu</Semibold> <Code>{{roleName}}</Code> função no {{productSuffix, anyCase}}",
|
|
366
366
|
"performedAction": "{{performedBy, anyCase}} <Semibold>executou</Semibold> uma ação no {{productSuffix, anyCase}}",
|
|
367
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: de <Code>{{from}}</Code> para <Code>{{to}}</Code>",
|
|
368
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: para <Code>{{to}}</Code>",
|
|
367
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: de <Code>{{from, anyCase}}</Code> para <Code>{{to, anyCase}}</Code>",
|
|
368
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: para <Code>{{to, anyCase}}</Code>",
|
|
369
369
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>conectado ao Google Calendar</Semibold> usando a conta <Code>{{emailAddress}}</Code> no {{productSuffix, anyCase}}",
|
|
370
370
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>desconectou a integração do Google Calendar</Semibold> no {{productSuffix, anyCase}}",
|
|
371
371
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>conectado à integração do Stripe</Semibold> com ID da conta: <Code>{{stripeAccountId}}</Code> no {{productSuffix, anyCase}}",
|
package/src/translations/ro.json
CHANGED
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>actualizat</Semibold> <Code>{{roleName}}</Code> rol cu <Code>{{addedPermissionsText}}</Code> permisiune pe {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>deleted</Semibold> <Code>{{roleName}}</Code> rol pe {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold>efectuat</Semibold> o acțiune pe {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: de la <Code>{{from}}</Code> la <Code>{{to}}</Code>",
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: la <Code>{{to}}</Code>",
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: de la <Code>{{from, anyCase}}</Code> la <Code>{{to, anyCase}}</Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: la <Code>{{to, anyCase}}</Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>conectat la Google Calendar</Semibold> folosind contul <Code>{{emailAddress}}</Code> pe {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>deconectat integrarea Google Calendar</Semibold> pe {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>conectat la integrarea Stripe</Semibold> cu ID-ul contului: <Code>{{stripeAccountId}}</Code> pe {{productSuffix, anyCase}}",
|
package/src/translations/ru.json
CHANGED
|
@@ -515,8 +515,8 @@
|
|
|
515
515
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>обновил</Semibold> <Code>{{roleName}}</Code> роль с <Code>{{addedPermissionsText}}</Code> правом на {{productSuffix, anyCase}}",
|
|
516
516
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>удалил</Semibold> <Code>{{roleName}}</Code> роль на {{productSuffix, anyCase}}",
|
|
517
517
|
"performedAction": "{{performedBy, anyCase}} <Semibold>выполнил</Semibold> действие на {{productSuffix, anyCase}}",
|
|
518
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>:
|
|
519
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>:
|
|
518
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: из <Code>{{from, anyCase}}</Code> в <Code>{{to, anyCase}}</Code>",
|
|
519
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: в <Code>{{to, anyCase}}</Code>",
|
|
520
520
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>соединился с Google Календарем</Semibold> используя аккаунт <Code>{{emailAddress}}</Code> на {{productSuffix, anyCase}}",
|
|
521
521
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>отключил интеграцию Google Календаря</Semibold> на {{productSuffix, anyCase}}",
|
|
522
522
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>соединился с интеграцией Stripe</Semibold> с ID аккаунта: <Code>{{stripeAccountId}}</Code> на {{productSuffix, anyCase}}",
|
package/src/translations/sk.json
CHANGED
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>aktualizoval</Semibold> <Code>{{roleName}}</Code> rolu s <Code>{{addedPermissionsText}}</Code> oprávnením na {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>odstránil</Semibold> <Code>{{roleName}}</Code> rolu na {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold>vykonal</Semibold> akciu na {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: z <Code>{{from}}</Code> na <Code>{{to}}</Code>",
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: na <Code>{{to}}</Code>",
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: z <Code>{{from, anyCase}}</Code> na <Code>{{to, anyCase}}</Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: na <Code>{{to, anyCase}}</Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>pripojil sa k Google Kalendáru</Semibold> pomocou účtu <Code>{{emailAddress}}</Code> na {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>odpojil Google Kalendár</Semibold> na {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>pripojil sa k Stripe integrácii</Semibold> s ID účtu: <Code>{{stripeAccountId}}</Code> na {{productSuffix, anyCase}}",
|
package/src/translations/sl.json
CHANGED
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold> je posodobil </Semibold> <Code>{{roleName}}</Code> vlogo z <Code>{{addedPermissionsText}}</Code> dovoljenjem na {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold> je izbrisal </Semibold> <Code>{{roleName}}</Code> vlogo na {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold> je izvedel </Semibold> dejanje na {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>:
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>:
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: od <Code>{{from, anyCase}}</Code> do <Code>{{to, anyCase}}</Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: do <Code>{{to, anyCase}}</Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold> se je povezal z Google Koledarjem</Semibold> z računom <Code>{{emailAddress}}</Code> na {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold> je odklopil integracijo Google Koledarja</Semibold> na {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold> se je povezal z Stripe integracijo</Semibold> z ID-jem računa: <Code>{{stripeAccountId}}</Code> na {{productSuffix, anyCase}}",
|
package/src/translations/sv.json
CHANGED
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>uppdaterade</Semibold> <Code>{{roleName}}</Code> roll med <Code>{{addedPermissionsText}}</Code> behörighet på {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>ogiltigförklarade</Semibold> <Code>{{roleName}}</Code> roll på {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold>utförde</Semibold> en åtgärd på {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: från <Code>{{from}}</Code> till <Code>{{to}}</Code>",
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: till <Code>{{to}}</Code>",
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: från <Code>{{from, anyCase}}</Code> till <Code>{{to, anyCase}}</Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: till <Code>{{to, anyCase}}</Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>anslöt sig till Google Kalender</Semibold> med konto <Code>{{emailAddress}}</Code> på {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>bröt Google Kalender integration</Semibold> på {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>anslöt sig till Stripe integration</Semibold> med kontonummer: <Code>{{stripeAccountId}}</Code> på {{productSuffix, anyCase}}",
|
package/src/translations/th.json
CHANGED
|
@@ -805,8 +805,8 @@
|
|
|
805
805
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>อัปเดต</Semibold> <Code>{{roleName}}</Code> บทบาทด้วย <Code>{{addedPermissionsText}}</Code> สิทธิ์บน {{productSuffix, anyCase}}",
|
|
806
806
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>ได้ลบ</Semibold> <Code>{{roleName}}</Code> บทบาทบน {{productSuffix, anyCase}}",
|
|
807
807
|
"performedAction": "{{performedBy, anyCase}} <Semibold>ได้ดำเนินการ</Semibold> บน {{productSuffix, anyCase}}",
|
|
808
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: จาก <Code>{{from}}</Code>
|
|
809
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>:
|
|
808
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: จาก <Code>{{from, anyCase}}</Code> ไป <Code>{{to, anyCase}}</Code>",
|
|
809
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: ไป <Code>{{to, anyCase}}</Code>",
|
|
810
810
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>เชื่อมต่อกับ Google Calendar</Semibold> โดยใช้บัญชี <Code>{{emailAddress}}</Code> บน {{productSuffix, anyCase}}",
|
|
811
811
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>ได้ตัดการเชื่อมต่อ Google Calendar</Semibold> บน {{productSuffix, anyCase}}",
|
|
812
812
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>เชื่อมต่อกับ Stripe integration</Semibold> ด้วย ID บัญชี: <Code>{{stripeAccountId}}</Code> บน {{productSuffix, anyCase}}",
|
package/src/translations/tr.json
CHANGED
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>güncelledi</Semibold> <Code>{{roleName}}</Code> rolünü <Code>{{addedPermissionsText}}</Code> izniyle {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>sildi</Semibold> <Code>{{roleName}}</Code> rolünü {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold>bir işlem gerçekleştirdi</Semibold> {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: <Code>{{from}}</Code>
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: <Code>{{to}}</Code>",
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: <Code>{{from, anyCase}}</Code> olarak <Code>{{to, anyCase}}</Code> değiştirildi",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: <Code>{{to, anyCase}}</Code> olarak değiştirildi",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>Google Takvim'e bağlandı</Semibold> <Code>{{emailAddress}}</Code> hesabını kullanarak {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>Google Takvim entegrasyonunu kopardı</Semibold> {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>Stripe entegrasyonuna bağlandı</Semibold> hesap ID'si: <Code>{{stripeAccountId}}</Code> {{productSuffix, anyCase}}",
|
package/src/translations/uk.json
CHANGED
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} \"<Semibold>оновив</Semibold>\" <Code>{{roleName}}</Code> роль з <Code>{{addedPermissionsText}}</Code> правом на {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} \"<Semibold>видалив</Semibold>\" <Code>{{roleName}}</Code> роль на {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} \"<Semibold>виконав</Semibold>\" дію на {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: з <Code>{{from}}</Code> до <Code>{{to}}</Code>",
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: до <Code>{{to}}</Code>",
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: з <Code>{{from, anyCase}}</Code> до <Code>{{to, anyCase}}</Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: до <Code>{{to, anyCase}}</Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} \"<Semibold>підключився до Google Calendar</Semibold>\" з акаунтом <Code>{{emailAddress}}</Code> на {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} \"<Semibold>відключив інтеграцію Google Calendar</Semibold>\" на {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} \"<Semibold>підключився до інтеграції Stripe</Semibold>\" з ідентифікатором акаунта: <Code>{{stripeAccountId}}</Code> на {{productSuffix, anyCase}}",
|
package/src/translations/vi.json
CHANGED
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>đã cập nhật</Semibold> <Code>{{roleName}}</Code> vai trò với <Code>{{addedPermissionsText}}</Code> quyền trên {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>xóa</Semibold> <Code>{{roleName}}</Code> vai trò trên {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold>đã thực hiện</Semibold> một hành động trên {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}<\\/Semibold>: từ <Code>{{from, anyCase}}<\\/Code> đến <Code>{{to, anyCase}}<\\/Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}<\\/Semibold>: đến <Code>{{to, anyCase}}<\\/Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>kết nối với Google Calendar</Semibold> bằng tài khoản <Code>{{emailAddress}}</Code> trên {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>đã ngắt kết nối Google Calendar</Semibold> trên {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>kết nối với Stripe</Semibold> bằng ID tài khoản: <Code>{{stripeAccountId}}</Code> trên {{productSuffix, anyCase}}",
|
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>更新了</Semibold> <Code>{{roleName}}</Code> 角色,附加了 <Code>{{addedPermissionsText}}</Code> 权限 在 {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>删除了</Semibold> <Code>{{roleName}}</Code> 角色 在 {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold>执行了</Semibold> 一个操作 在 {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: 从 <Code>{{from}}</Code> 到 <Code>{{to}}</Code>",
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: 到 <Code>{{to}}</Code>",
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: 从 <Code>{{from, anyCase}}</Code> 到 <Code>{{to, anyCase}}</Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: 到 <Code>{{to, anyCase}}</Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>已连接到 Google 日历</Semibold> 使用账户 <Code>{{emailAddress}}</Code> 在 {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>断开了 Google 日历集成</Semibold> 在 {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>已连接到 Stripe 集成</Semibold>,账户 ID: <Code>{{stripeAccountId}}</Code> 在 {{productSuffix, anyCase}}",
|
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"updatedRole_one": "{{performedBy, anyCase}} <Semibold>更新</Semibold> <Code>{{roleName}}</Code> 角色與 <Code>{{addedPermissionsText}}</Code> 權限在 {{productSuffix, anyCase}}",
|
|
522
522
|
"deletedRole": "{{performedBy, anyCase}} <Semibold>刪除</Semibold> <Code>{{roleName}}</Code> 角色在 {{productSuffix, anyCase}}",
|
|
523
523
|
"performedAction": "{{performedBy, anyCase}} <Semibold>執行</Semibold> 一個操作在 {{productSuffix, anyCase}}",
|
|
524
|
-
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: 從 <Code>{{from}}</Code> 到 <Code>{{to}}</Code>",
|
|
525
|
-
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: 到 <Code>{{to}}</Code>",
|
|
524
|
+
"updatedFieldsWithPreviousValue": "<Semibold>{{field}}</Semibold>: 從 <Code>{{from, anyCase}}</Code> 到 <Code>{{to, anyCase}}</Code>",
|
|
525
|
+
"updatedFieldsWithNewValue": "<Semibold>{{field}}</Semibold>: 到 <Code>{{to, anyCase}}</Code>",
|
|
526
526
|
"connectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>已連接到 Google 日曆</Semibold> 使用賬戶 <Code>{{emailAddress}}</Code> 在 {{productSuffix, anyCase}}",
|
|
527
527
|
"disconnectedGoogleCalender": "{{performedBy, anyCase}} <Semibold>中斷了 Google 日曆整合</Semibold> 在 {{productSuffix, anyCase}}",
|
|
528
528
|
"connectedStripeAccount": "{{performedBy, anyCase}} <Semibold>已連接到 Stripe 整合</Semibold> 使用賬戶 ID: <Code>{{stripeAccountId}}</Code> 在 {{productSuffix, anyCase}}",
|
package/dist/Chevron-Dtxc2piW.js
DELETED
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import classnames from 'classnames';
|
|
4
|
-
import { handleMetaClick } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
5
|
-
import { hyphenize } from '@bigbinary/neeto-commons-frontend/utils/general';
|
|
6
|
-
import Home from '@bigbinary/neeto-icons/Home';
|
|
7
|
-
import Typography from '@bigbinary/neetoui/Typography';
|
|
8
|
-
import Button from '@bigbinary/neetoui/Button';
|
|
9
|
-
import { curry, is, includes, __, all, equals, omit } from 'ramda';
|
|
10
|
-
import { NavLink, useHistory } from 'react-router-dom';
|
|
11
|
-
import { Fragment } from 'react';
|
|
12
|
-
import { isNotEmpty, isPresent, hyphenate } from '@bigbinary/neeto-cist';
|
|
13
|
-
import Segments from '@bigbinary/neeto-filters-frontend/Segments';
|
|
14
|
-
import { useNavigationCheckpoints } from '@bigbinary/neeto-commons-frontend/react-utils/useRegisterNavigationCheckpoint';
|
|
15
|
-
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
16
|
-
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
17
|
-
import { n } from './inject-css-C2dztUxs.js';
|
|
18
|
-
|
|
19
|
-
var SUB_LINK_TYPES = {
|
|
20
|
-
SYSTEM_VIEW: "system_view",
|
|
21
|
-
SEGMENTS: "segments"
|
|
22
|
-
};
|
|
23
|
-
var SELECTED_NAV_LINK_ROUTE_STORAGE_KEY = "selectedNavLinkRoute";
|
|
24
|
-
var DEFAULT_HOME_PATH = "/admin";
|
|
25
|
-
var SIDEBAR_WIDTH_KEY = "neeto-molecules-sidebar-width";
|
|
26
|
-
var MIN_SIDEBAR_WIDTH = 12.5 * 16;
|
|
27
|
-
var MAX_SIDEBAR_WIDTH = 20 * 16;
|
|
28
|
-
var DEFAULT_SIDEBAR_WIDTH = 15 * 16;
|
|
29
|
-
var PINNED_MORE_NAV_LINKS_KEY = "pinnedMoreNavLinks";
|
|
30
|
-
var SPECIAL_APP_NAMES = {
|
|
31
|
-
bugwatch: "BugWatch"
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
var _excluded$1 = ["checkpointKey", "to", "href", "children"];
|
|
35
|
-
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
36
|
-
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37
|
-
var CheckPointNavLinks = function CheckPointNavLinks(_ref) {
|
|
38
|
-
var checkpointKey = _ref.checkpointKey,
|
|
39
|
-
to = _ref.to,
|
|
40
|
-
href = _ref.href,
|
|
41
|
-
children = _ref.children,
|
|
42
|
-
others = _objectWithoutProperties(_ref, _excluded$1);
|
|
43
|
-
var _useNavigationCheckpo = useNavigationCheckpoints(checkpointKey),
|
|
44
|
-
checkpoint = _useNavigationCheckpo[checkpointKey];
|
|
45
|
-
var LinkElement = href ? "a" : NavLink;
|
|
46
|
-
var linkProps = href ? _objectSpread$2({
|
|
47
|
-
href: href,
|
|
48
|
-
key: href
|
|
49
|
-
}, others) : _objectSpread$2({
|
|
50
|
-
to: checkpoint || to,
|
|
51
|
-
key: to
|
|
52
|
-
}, others);
|
|
53
|
-
return /*#__PURE__*/jsx(LinkElement, _objectSpread$2(_objectSpread$2({}, linkProps), {}, {
|
|
54
|
-
children: children
|
|
55
|
-
}));
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
var isSubRouteActive = function isSubRouteActive(subRoute, location) {
|
|
59
|
-
var currentBrowserUrl = new URL(location.pathname + location.search + location.hash, window.location.origin);
|
|
60
|
-
var targetUrl = new URL(subRoute, window.location.origin);
|
|
61
|
-
var targetSearchParams = targetUrl.searchParams;
|
|
62
|
-
var targetSearchKeys = Array.from(targetSearchParams.keys());
|
|
63
|
-
return all(function (key) {
|
|
64
|
-
return currentBrowserUrl.searchParams.get(key) === targetSearchParams.get(key);
|
|
65
|
-
}, targetSearchKeys) && equals(currentBrowserUrl.pathname, targetUrl.pathname);
|
|
66
|
-
};
|
|
67
|
-
var getSidebarStateLocalStorageKey = function getSidebarStateLocalStorageKey() {
|
|
68
|
-
var _globalProps$user, _globalProps$user2;
|
|
69
|
-
var user = ((_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.email) || ((_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.phoneNumber);
|
|
70
|
-
return "sidebarState-".concat(user);
|
|
71
|
-
};
|
|
72
|
-
var filterByPermissions = curry(function (_ref) {
|
|
73
|
-
var permissions = _ref.permissions;
|
|
74
|
-
if (permissions && isNotEmpty(permissions)) {
|
|
75
|
-
return is(Array, permissions) ? permissions.some(includes(__, globalProps.permissions)) : globalProps.permissions.includes(permissions);
|
|
76
|
-
}
|
|
77
|
-
return true;
|
|
78
|
-
});
|
|
79
|
-
var getActiveConfigurePageLink = function getActiveConfigurePageLink(_ref2) {
|
|
80
|
-
var navLinks = _ref2.navLinks,
|
|
81
|
-
location = _ref2.location;
|
|
82
|
-
return navLinks.find(function (link) {
|
|
83
|
-
var _link$to;
|
|
84
|
-
var _ref3 = ((_link$to = link.to) === null || _link$to === void 0 ? void 0 : _link$to.split("?")) || [],
|
|
85
|
-
_ref4 = _slicedToArray(_ref3, 1),
|
|
86
|
-
linkPathname = _ref4[0];
|
|
87
|
-
return isPresent(link.isConfigureNavLink) && link.isConfigureNavLink && location.pathname.startsWith(linkPathname);
|
|
88
|
-
});
|
|
89
|
-
};
|
|
90
|
-
var enableDraggingStyles = function enableDraggingStyles() {
|
|
91
|
-
document.body.classList.add("dragging-sidebar");
|
|
92
|
-
document.body.style.cursor = "col-resize";
|
|
93
|
-
document.body.style.userSelect = "none";
|
|
94
|
-
};
|
|
95
|
-
var disableDraggingStyles = function disableDraggingStyles() {
|
|
96
|
-
document.body.classList.remove("dragging-sidebar");
|
|
97
|
-
document.body.style.cursor = "";
|
|
98
|
-
document.body.style.userSelect = "";
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
var SubLink = function SubLink(_ref) {
|
|
102
|
-
var to = _ref.to,
|
|
103
|
-
href = _ref.href,
|
|
104
|
-
onClick = _ref.onClick,
|
|
105
|
-
label = _ref.label,
|
|
106
|
-
_ref$type = _ref.type,
|
|
107
|
-
type = _ref$type === void 0 ? SUB_LINK_TYPES.SYSTEM_VIEW : _ref$type,
|
|
108
|
-
count = _ref.count,
|
|
109
|
-
isSectionHeader = _ref.isSectionHeader,
|
|
110
|
-
isCountsLoading = _ref.isCountsLoading,
|
|
111
|
-
dataCy = _ref["data-cy"],
|
|
112
|
-
_ref$entity = _ref.entity,
|
|
113
|
-
entity = _ref$entity === void 0 ? "" : _ref$entity,
|
|
114
|
-
_ref$columns = _ref.columns,
|
|
115
|
-
columns = _ref$columns === void 0 ? [] : _ref$columns,
|
|
116
|
-
baseUrl = _ref.baseUrl,
|
|
117
|
-
isActive = _ref.isActive;
|
|
118
|
-
if (type === SUB_LINK_TYPES.SEGMENTS) {
|
|
119
|
-
return /*#__PURE__*/jsx(Segments, {
|
|
120
|
-
baseUrl: baseUrl,
|
|
121
|
-
columns: columns,
|
|
122
|
-
entity: entity,
|
|
123
|
-
isIndependent: false
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
var dataCyPrefix = dataCy || hyphenate(label);
|
|
127
|
-
var renderCount = function renderCount(count) {
|
|
128
|
-
return count > 999 ? "999+" : count;
|
|
129
|
-
};
|
|
130
|
-
var isSubLinkActive = function isSubLinkActive() {
|
|
131
|
-
return !isSectionHeader && (is(Function, isActive) ? isActive() : isSubRouteActive(to, location));
|
|
132
|
-
};
|
|
133
|
-
return /*#__PURE__*/jsxs(CheckPointNavLinks, {
|
|
134
|
-
href: href,
|
|
135
|
-
onClick: onClick,
|
|
136
|
-
to: to,
|
|
137
|
-
activeClassName: "active",
|
|
138
|
-
className: "neeto-molecules-sidebar__sublink neeto-ui-flex neeto-ui-items-center neeto-ui-select-none",
|
|
139
|
-
"data-cy": "".concat(dataCyPrefix, "-sub-link"),
|
|
140
|
-
isActive: isSubLinkActive,
|
|
141
|
-
children: [/*#__PURE__*/jsx(Typography, {
|
|
142
|
-
className: "neeto-molecules-sidebar__link-sub-label neeto-ui-flex-grow",
|
|
143
|
-
component: "span",
|
|
144
|
-
"data-cy": "".concat(dataCyPrefix, "-sub-link-label"),
|
|
145
|
-
style: "body2",
|
|
146
|
-
children: label
|
|
147
|
-
}), /*#__PURE__*/jsx(Typography, {
|
|
148
|
-
className: "neeto-molecules-sidebar__link-sub-count neeto-ui-flex-shrink-0",
|
|
149
|
-
component: "span",
|
|
150
|
-
"data-cy": "".concat(dataCyPrefix, "-sub-link-count"),
|
|
151
|
-
style: "body2",
|
|
152
|
-
children: isCountsLoading ? /*#__PURE__*/jsx("div", {
|
|
153
|
-
className: "neeto-ui-rounded neeto-ui-bg-gray-200 h-4 w-4 animate-pulse"
|
|
154
|
-
}) : renderCount(count)
|
|
155
|
-
})]
|
|
156
|
-
});
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
160
|
-
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
161
|
-
var _Items = function Items(_ref) {
|
|
162
|
-
var items = _ref.items,
|
|
163
|
-
_ref$isSettingsItems = _ref.isSettingsItems,
|
|
164
|
-
isSettingsItems = _ref$isSettingsItems === void 0 ? false : _ref$isSettingsItems,
|
|
165
|
-
isCountsLoading = _ref.isCountsLoading;
|
|
166
|
-
return /*#__PURE__*/jsx("div", {
|
|
167
|
-
className: "neeto-molecules-sidebar__sublink-wrapper",
|
|
168
|
-
"data-cy": "sidebar-sub-link-wrapper",
|
|
169
|
-
children: items.filter(filterByPermissions).map(function (subItem, subIndex) {
|
|
170
|
-
var _subItem$to;
|
|
171
|
-
return /*#__PURE__*/jsxs(Fragment, {
|
|
172
|
-
children: [/*#__PURE__*/jsx(SubLink, _objectSpread$1(_objectSpread$1({}, _objectSpread$1(_objectSpread$1({}, subItem), {}, {
|
|
173
|
-
isCountsLoading: isCountsLoading
|
|
174
|
-
})), {}, {
|
|
175
|
-
href: subItem.href,
|
|
176
|
-
isActive: subItem.isActive,
|
|
177
|
-
isSectionHeader: isPresent(subItem.item),
|
|
178
|
-
to: (_subItem$to = subItem.to) !== null && _subItem$to !== void 0 ? _subItem$to : subItem.path,
|
|
179
|
-
onClick: subItem.onClick
|
|
180
|
-
})), isSettingsItems && isPresent(subItem.items) && /*#__PURE__*/jsxs(Fragment$1, {
|
|
181
|
-
children: [/*#__PURE__*/jsx(_Items, {
|
|
182
|
-
isSettingsItems: isSettingsItems,
|
|
183
|
-
items: subItem.items
|
|
184
|
-
}), items.length - 1 !== subIndex && /*#__PURE__*/jsx("hr", {
|
|
185
|
-
className: "neeto-molecules-sidebar__separator neeto-ui-border-gray-200"
|
|
186
|
-
})]
|
|
187
|
-
})]
|
|
188
|
-
}, subIndex);
|
|
189
|
-
})
|
|
190
|
-
});
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
var _excluded = ["label", "items", "isConfigureNavLink"];
|
|
194
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
195
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
196
|
-
var SelectedLink = function SelectedLink(_ref) {
|
|
197
|
-
var _ref$navLink = _ref.navLink,
|
|
198
|
-
navLink = _ref$navLink === void 0 ? {
|
|
199
|
-
label: "",
|
|
200
|
-
items: [],
|
|
201
|
-
isConfigureNavLink: false
|
|
202
|
-
} : _ref$navLink,
|
|
203
|
-
handleGoBack = _ref.handleGoBack,
|
|
204
|
-
isConfigureSidebar = _ref.isConfigureSidebar;
|
|
205
|
-
var history = useHistory();
|
|
206
|
-
var label = navLink.label,
|
|
207
|
-
items = navLink.items,
|
|
208
|
-
isConfigureNavLink = navLink.isConfigureNavLink,
|
|
209
|
-
otherProps = _objectWithoutProperties(navLink, _excluded);
|
|
210
|
-
var handleHomeButtonClick = function handleHomeButtonClick(e) {
|
|
211
|
-
e.stopPropagation();
|
|
212
|
-
handleMetaClick(history, DEFAULT_HOME_PATH, e);
|
|
213
|
-
};
|
|
214
|
-
return /*#__PURE__*/jsxs("div", {
|
|
215
|
-
className: "neeto-molecules-sidebar__links neeto-molecules-sidebar__links--focus-mode neeto-molecules-sidebar__no-shrinkable",
|
|
216
|
-
"data-cy": "configure-nav-container",
|
|
217
|
-
children: [/*#__PURE__*/jsxs("div", _objectSpread(_objectSpread({
|
|
218
|
-
className: "neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-molecules-sidebar__link neeto-ui-border-b neeto-ui-border-gray-200",
|
|
219
|
-
onClick: handleGoBack
|
|
220
|
-
}, _objectSpread({}, omit(["icon"], otherProps))), {}, {
|
|
221
|
-
children: [isConfigureNavLink && /*#__PURE__*/jsxs("span", {
|
|
222
|
-
className: "neeto-molecules-sidebar__link-icon flex items-center pl-3",
|
|
223
|
-
children: [/*#__PURE__*/jsx(Button, {
|
|
224
|
-
"data-cy": "".concat(hyphenize(label), "-go-back-button"),
|
|
225
|
-
"data-testid": "".concat(label, "-go-home-button"),
|
|
226
|
-
icon: Home,
|
|
227
|
-
style: "text",
|
|
228
|
-
onClick: handleHomeButtonClick
|
|
229
|
-
}), /*#__PURE__*/jsx("span", {
|
|
230
|
-
className: "px-1 text-xs",
|
|
231
|
-
children: "/"
|
|
232
|
-
})]
|
|
233
|
-
}), /*#__PURE__*/jsx(Typography, {
|
|
234
|
-
component: "span",
|
|
235
|
-
style: "body1",
|
|
236
|
-
className: classnames("neeto-molecules-sidebar__link-label", _defineProperty({
|
|
237
|
-
"neeto-molecules-sidebar__configure-page-header": isConfigureNavLink
|
|
238
|
-
}, "pl-4", isConfigureSidebar)),
|
|
239
|
-
children: label
|
|
240
|
-
})]
|
|
241
|
-
})), items && /*#__PURE__*/jsx(_Items, {
|
|
242
|
-
items: items,
|
|
243
|
-
isSettingsItems: true
|
|
244
|
-
})]
|
|
245
|
-
});
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
var css = ":root{--neeto-molecules-sidebar-width:15rem;--neeto-molecules-sidebar-wrapper-z-index:99997;--neeto-molecules-sidebar-z-index:99998}@media screen and (min-width:1024px){:root{--neeto-molecules-sidebar-width:15rem}}.neeto-molecules-sidebar__wrapper{display:flex;max-width:15rem;max-width:var(--neeto-molecules-sidebar-width);position:relative;width:15rem;width:var(--neeto-molecules-sidebar-width)}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper{height:100%;inset-inline-start:0;max-width:100%;position:fixed;top:0;transition:none;width:100%;z-index:99997;z-index:var(--neeto-molecules-sidebar-wrapper-z-index)}.neeto-molecules-sidebar__wrapper .neeto-molecules-sidebar{inset-inline-start:0;max-width:15rem;max-width:var(--neeto-molecules-sidebar-width);position:fixed;top:0;transition:none;width:15rem;width:var(--neeto-molecules-sidebar-width)}}.neeto-molecules-sidebar__wrapper__configure-page .neeto-molecules-sidebar__toggler{inset-inline-end:1.25rem;top:.5rem}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper__configure-page .neeto-molecules-sidebar__toggler{inset-inline-end:auto;top:.5rem}}.neeto-molecules-sidebar__wrapper--collapsed{max-width:0;width:0}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{inset-inline-end:-2.25rem;transform:scale(-1)}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{inset-inline-end:auto;inset-inline-start:.5rem;top:.5rem}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar{inset-inline-start:-15rem;inset-inline-start:calc(var(--neeto-molecules-sidebar-width)*-1)}.neeto-molecules-sidebar__wrapper__configure-page.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{top:6.8125rem}}.neeto-molecules-sidebar{background-color:rgb(var(--neeto-ui-white));border-inline-end:1px solid rgb(var(--neeto-ui-gray-200));height:100vh;height:100dvh;padding:1.5rem 0;width:100%;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}.neeto-molecules-sidebar:not(.neeto-molecules-sidebar__configure-page) .neeto-molecules-sidebar__links:not(.neeto-molecules-sidebar__links--focus-mode){height:calc(100vh - 7.75rem)!important;height:calc(100dvh - 7.75rem)!important;overflow-y:auto;padding-block-end:4rem}.neeto-molecules-sidebar__no-shrinkable{max-width:15rem;max-width:var(--neeto-molecules-sidebar-width);width:15rem;width:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar__separator{margin:.375rem auto;width:100%}.neeto-molecules-sidebar__toggler{color:rgb(var(--neeto-ui-primary-500))!important;inset-inline-end:.5rem;position:absolute!important;top:2.125rem;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}@media screen and (max-width:768px){.neeto-molecules-sidebar__toggler{inset-inline-end:auto;inset-inline-start:12.625rem;inset-inline-start:calc(var(--neeto-molecules-sidebar-width) - 2.375rem);transition:none}}.neeto-molecules-sidebar__configure-page{border-inline-end:1px solid rgb(var(--neeto-ui-gray-200));height:auto}@media screen and (max-width:768px){.neeto-molecules-sidebar__configure-page{height:100%}}.neeto-molecules-sidebar__configure-page .neeto-molecules-sidebar__links{height:calc(100vh - 8.5rem)!important;height:calc(100dvh - 8.5rem)!important}@media screen and (max-width:768px){.neeto-molecules-sidebar__configure-page .neeto-molecules-sidebar__links{height:calc(100vh - 5rem)!important;height:calc(100dvh - 5rem)!important}}.neeto-molecules-sidebar__configure-page .neeto-molecules-sidebar__toggler{display:none}.neeto-molecules-sidebar__header{margin-block:.5rem 2rem;margin-inline:0;padding-block:0;padding-inline:1.5rem}.neeto-molecules-sidebar__logo svg{height:2.25rem;max-width:100%;width:auto}.neeto-molecules-sidebar__link{color:rgb(var(--neeto-ui-black));gap:.625rem;line-height:1.2;padding-block:.75rem;padding-inline:1.5rem;position:relative;text-decoration:none!important;transition:color .3s,background-color .3s;width:100%}.neeto-molecules-sidebar__link-icon{flex-shrink:0}.neeto-molecules-sidebar__link-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-sidebar__link-icon--caret{opacity:0;transition:opacity .3s ease-in-out}.neeto-molecules-sidebar__link-icon--rotate{opacity:1;transform:rotate(90deg)}.neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__link-sub-label{--neeto-ui-text-body2:0.9375rem;flex-grow:1;text-align:start}@media screen and (min-width:1536px){.neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__link-sub-label{--neeto-ui-text-body2:1rem}}.neeto-molecules-sidebar__link:hover{background-color:rgb(var(--neeto-ui-gray-100));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link:focus,.neeto-molecules-sidebar__link:focus-visible,.neeto-molecules-sidebar__link[aria-expanded=true]{color:rgb(var(--neeto-ui-black));outline:none}.neeto-molecules-sidebar__link--hover-active{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-molecules-sidebar__link.active{background-color:rgb(var(--neeto-ui-accent-100));color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-semibold)}.neeto-molecules-sidebar__link.active .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:hover .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link[aria-expanded=true] .neeto-molecules-sidebar__link-icon--caret{opacity:1}.neeto-molecules-sidebar__link--button:focus{background-color:transparent}.neeto-molecules-sidebar__link--button:focus-visible{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link--change-log{outline:none!important}.neeto-molecules-sidebar__sublink-wrapper{padding-block:.25rem;padding-inline:0}.neeto-molecules-sidebar__sublink{color:rgb(var(--neeto-ui-gray-700));cursor:pointer;gap:.5rem;margin-block-end:0;margin-inline:0;padding-block:.5rem;padding-inline-end:1.5rem;padding-inline-start:3.625rem;text-decoration:none;transition:color .3s,background-color .3s}.neeto-molecules-sidebar__sublink .neeto-molecules-sidebar__link-sub-count{--neeto-ui-text-body2:0.9375rem;opacity:.75}@media screen and (min-width:1536px){.neeto-molecules-sidebar__sublink .neeto-molecules-sidebar__link-sub-count{--neeto-ui-text-body2:1rem}}.neeto-molecules-sidebar__sublink:hover{color:rgb(var(--neeto-ui-black));text-decoration:none}.neeto-molecules-sidebar__sublink:hover .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink:focus,.neeto-molecules-sidebar__sublink:focus-visible{color:rgb(var(--neeto-ui-black));outline:none;text-decoration:none}.neeto-molecules-sidebar__sublink:focus .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:focus-visible .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink.active,.neeto-molecules-sidebar__sublink:active{color:rgb(var(--neeto-ui-accent-800));font-weight:500;text-decoration:none}.neeto-molecules-sidebar__sublink.active .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:active .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__footer{margin-block-start:auto}.sidebar-featured-tooltip__content{border-radius:.5rem!important;box-shadow:var(--neeto-ui-shadow-sm)!important}.sidebar-featured-tooltip__content .tippy-content{padding:0}.sidebar-featured-tooltip{padding:.75rem;width:9.375rem}.sidebar-featured-tooltip__icon-wrap{background-color:rgb(var(--neeto-ui-gray-100));border-radius:.5rem;height:2.5rem;margin-block-end:.5rem;margin-inline:auto;width:2.5rem}.sidebar-featured-tooltip__title{margin-block-end:.25rem}.neeto-molecules-help-popup-wrapper,.neeto-molecules-product-switcher-popup-wrapper,.neeto-molecules-profile-popup-wrapper{border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded)!important;min-width:15rem}.neeto-molecules-help-popup-wrapper .tippy-content,.neeto-molecules-product-switcher-popup-wrapper .tippy-content,.neeto-molecules-profile-popup-wrapper .tippy-content{padding:0}.neeto-molecules-help-popup-wrapper .tippy-svg-arrow,.neeto-molecules-product-switcher-popup-wrapper .tippy-svg-arrow,.neeto-molecules-profile-popup-wrapper .tippy-svg-arrow{display:none!important}.neeto-molecules-profile-popup__top-section{border-start-end-radius:var(--neeto-ui-rounded);border-start-start-radius:var(--neeto-ui-rounded)}.neeto-molecules-profile-sublist{border-block-start:1px solid rgb(var(--neeto-ui-gray-400))}.neeto-molecules-help-sublist,.neeto-molecules-profile-sublist{list-style:none;margin:0;padding-block:.25rem;padding-inline:0}.neeto-molecules-help-sublist__item,.neeto-molecules-profile-sublist__item{width:100%}.neeto-molecules-help-sublist__item-btn,.neeto-molecules-profile-sublist__item-btn{border-radius:0;justify-content:flex-end!important;min-height:2.5rem;text-align:start}.neeto-molecules-help-sublist__item-btn.active,.neeto-molecules-profile-sublist__item-btn.active{background-color:rgb(var(--neeto-ui-gray-800));color:rgb(var(--neeto-ui-white))}.neeto-molecules-help-sublist__item-btn-icon svg path,.neeto-molecules-profile-sublist__item-btn-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-help-sublist__item-btn span,.neeto-molecules-profile-sublist__item-btn span{align-items:center;display:flex;gap:.5rem}.neeto-molecules-sidebar__link-icon{position:relative}.neeto-molecules-sidebar__notif-count{inset-inline-end:-6px;position:absolute;top:-6px;z-index:1}.neeto-molecules-help-sublist__item-btn-count,.neeto-molecules-sidebar__notif-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;flex-shrink:0;font-size:var(--neeto-ui-text-xxs);height:.9375rem;justify-content:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:.9375rem}.neeto-molecules-product-switcher-popup-wrapper{height:calc(100vh - 1rem);height:calc(100dvh - 1rem);margin-block-end:.5rem;min-width:calc(100vw - 11rem);overflow-y:auto}@media screen and (max-width:768px){.neeto-molecules-product-switcher-popup-wrapper{width:calc(100vw - 11.5625rem)!important}}.neeto-molecules-sidebar__backdrop{background-color:rgba(var(--neeto-ui-black),.4);height:100%;inset-inline-start:0;position:absolute;top:0;width:100%}@media screen and (min-width:769px){.neeto-molecules-sidebar__backdrop{display:none;visibility:hidden}}.neeto-molecules-sidebar-segments-header{padding-inline-start:3.625rem}.neeto-molecules-sidebar-segment{margin-block-end:0!important;padding-block:.25rem;padding-inline-end:1.5rem;padding-inline-start:3.625rem}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode{padding-block-start:0}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode .neeto-molecules-sidebar__header{padding-block-start:1.5rem}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode .neeto-molecules-sidebar__links{display:flex;flex-direction:column;height:calc(100vh - 10rem);height:calc(100dvh - 10rem);margin-block-end:0}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper{flex-grow:1;margin-block-end:.625rem!important;margin-inline:0!important;min-height:0;overflow-y:auto;padding-block-end:.625rem!important;padding-inline:0!important}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink-wrapper{padding:0!important}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink{border-radius:0}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__link{--neeto-ui-text-body1:1.125rem;background-color:rgb(var(--neeto-ui-gray-100));color:rgb(var(--neeto-ui-black));cursor:pointer;font-weight:var(--neeto-ui-font-semibold);gap:.25rem;padding-block:.75rem;padding-inline:.25rem;position:sticky;top:0;z-index:1}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__link-sub-label{--neeto-ui-text-body2:0.9375rem}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink{color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin-block-end:0;padding-block:.625rem;padding-inline:.75rem}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink.active{font-weight:var(--neeto-ui-font-semibold)}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink{border-radius:0;padding-inline-start:2rem}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink{cursor:pointer;line-height:1.2;padding-block:.5rem;padding-inline-end:.75rem;padding-inline-start:1.5rem;position:relative}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink:hover{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink.active{background-color:rgb(var(--neeto-ui-accent-100))!important;color:rgb(var(--neeto-ui-black))!important;font-weight:var(--neeto-ui-font-medium)}.neeto-molecules-sidebar__link-unread-count{align-items:center;background-color:rgb(var(--neeto-ui-accent-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:flex;flex-shrink:0;font-size:var(--neeto-ui-text-xxs);height:1rem;inset-inline-end:-4px;justify-content:center;min-width:1rem;padding-inline:.25rem;position:absolute;top:-4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-ui-theme--dark .neeto-molecules-sidebar__logo [data-dark-mode-color=true]{fill:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__workspace-info{margin-block-end:1.5rem;padding-block:.5rem;padding-inline:1.5rem}.neeto-molecules-sidebar__resize-handle{bottom:0;cursor:col-resize;inset-inline-end:0;position:absolute;top:0;width:3px;z-index:99999;z-index:calc(var(--neeto-molecules-sidebar-z-index) + 1)}.neeto-molecules-sidebar__resize-handle:before{background-color:rgb(var(--neeto-ui-gray-200));bottom:0;content:\"\";inset-inline-start:0;position:absolute;top:0;transition:background-color .15s ease-in-out,width .15s ease-in-out;width:0}.neeto-molecules-sidebar__resize-handle:hover:before{background-color:rgb(var(--neeto-ui-gray-400));width:2px}.neeto-molecules-sidebar__resize-handle:active:before{background-color:rgb(var(--neeto-ui-primary-500));width:2px}.neeto-molecules-sidebar__wrapper:not(.neeto-molecules-sidebar__wrapper--collapsed)+.neeto-molecules-sidebar__resize-handle{display:block}.neeto-molecules-sidebar__wrapper+.neeto-molecules-sidebar__resize-handle{display:none;inset-inline-start:15rem;inset-inline-start:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar__wrapper--collapsed+.neeto-molecules-sidebar__resize-handle{display:none}body.dragging-sidebar,body.dragging-sidebar *{cursor:col-resize!important}body.dragging-sidebar *{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}[dir=rtl] .neeto-molecules-sidebar__toggler{transform:scaleX(-1);transition:none}[dir=rtl] .neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{transform:scaleX(1)}[dir=rtl] .neeto-molecules-sidebar__link-icon{transform:scaleX(-1)}[dir=rtl] .neeto-molecules-sidebar__link-icon--rotate{transform:scaleX(1) rotate(90deg)}";
|
|
249
|
-
n(css,{});
|
|
250
|
-
|
|
251
|
-
var Chevron = function Chevron(_ref) {
|
|
252
|
-
var style = _ref.style;
|
|
253
|
-
return /*#__PURE__*/jsx("svg", {
|
|
254
|
-
style: style,
|
|
255
|
-
height: "16",
|
|
256
|
-
viewBox: "0 0 16 16",
|
|
257
|
-
width: "16",
|
|
258
|
-
children: /*#__PURE__*/jsx("path", {
|
|
259
|
-
d: "M7.07031 13.8887C7.2207 14.0391 7.40527 14.1211 7.62402 14.1211C8.06836 14.1211 8.41699 13.7725 8.41699 13.3281C8.41699 13.1094 8.32812 12.9043 8.17773 12.7539L3.37207 8.05762L8.17773 3.375C8.32812 3.21777 8.41699 3.0127 8.41699 2.80078C8.41699 2.35645 8.06836 2.00781 7.62402 2.00781C7.40527 2.00781 7.2207 2.08984 7.07031 2.24023L1.73828 7.44922C1.56055 7.62012 1.46484 7.8252 1.46484 8.06445C1.46484 8.29688 1.55371 8.49512 1.73828 8.67969L7.07031 13.8887ZM13.1748 13.8887C13.3252 14.0391 13.5098 14.1211 13.7354 14.1211C14.1797 14.1211 14.5283 13.7725 14.5283 13.3281C14.5283 13.1094 14.4395 12.9043 14.2891 12.7539L9.4834 8.05762L14.2891 3.375C14.4395 3.21777 14.5283 3.0127 14.5283 2.80078C14.5283 2.35645 14.1797 2.00781 13.7354 2.00781C13.5098 2.00781 13.3252 2.08984 13.1748 2.24023L7.84961 7.44922C7.66504 7.62012 7.57617 7.8252 7.56934 8.06445C7.56934 8.29688 7.66504 8.49512 7.84961 8.67969L13.1748 13.8887Z",
|
|
260
|
-
fill: "currentColor"
|
|
261
|
-
})
|
|
262
|
-
});
|
|
263
|
-
};
|
|
264
|
-
|
|
265
|
-
export { Chevron as C, DEFAULT_HOME_PATH as D, MIN_SIDEBAR_WIDTH as M, PINNED_MORE_NAV_LINKS_KEY as P, SelectedLink as S, _Items as _, SPECIAL_APP_NAMES as a, CheckPointNavLinks as b, SELECTED_NAV_LINK_ROUTE_STORAGE_KEY as c, SIDEBAR_WIDTH_KEY as d, DEFAULT_SIDEBAR_WIDTH as e, filterByPermissions as f, getSidebarStateLocalStorageKey as g, enableDraggingStyles as h, disableDraggingStyles as i, getActiveConfigurePageLink as j, MAX_SIDEBAR_WIDTH as k };
|
|
266
|
-
//# sourceMappingURL=Chevron-Dtxc2piW.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chevron-Dtxc2piW.js","sources":["../src/components/Sidebar/constants.js","../src/components/Sidebar/Components/Links/CheckPointNavLink.jsx","../src/components/Sidebar/utils.js","../src/components/Sidebar/Components/Links/SubLink.jsx","../src/components/Sidebar/Components/Links/Items.jsx","../src/components/Sidebar/Components/Links/SelectedLink.jsx","../src/components/Sidebar/Components/Chevron.jsx"],"sourcesContent":["export const SUB_LINK_TYPES = {\n SYSTEM_VIEW: \"system_view\",\n SEGMENTS: \"segments\",\n};\n\nexport const SELECTED_NAV_LINK_ROUTE_STORAGE_KEY = \"selectedNavLinkRoute\";\n\nexport const DEFAULT_HOME_PATH = \"/admin\";\n\nexport const SIDEBAR_WIDTH_KEY = \"neeto-molecules-sidebar-width\";\nexport const MIN_SIDEBAR_WIDTH = 12.5 * 16;\nexport const MAX_SIDEBAR_WIDTH = 20 * 16;\nexport const DEFAULT_SIDEBAR_WIDTH = 15 * 16;\n\nexport const PINNED_MORE_NAV_LINKS_KEY = \"pinnedMoreNavLinks\";\n\nexport const SPECIAL_APP_NAMES = { bugwatch: \"BugWatch\" };\n","import { useNavigationCheckpoints } from \"neetocommons/react-utils/useRegisterNavigationCheckpoint\";\nimport { NavLink } from \"react-router-dom\";\n\nconst CheckPointNavLinks = ({\n checkpointKey,\n to,\n href,\n children,\n ...others\n}) => {\n const { [checkpointKey]: checkpoint } =\n useNavigationCheckpoints(checkpointKey);\n\n const LinkElement = href ? \"a\" : NavLink;\n const linkProps = href\n ? { href, key: href, ...others }\n : { to: checkpoint || to, key: to, ...others };\n\n return <LinkElement {...linkProps}>{children}</LinkElement>;\n};\n\nexport default CheckPointNavLinks;\n","import { isPresent, isNotEmpty } from \"neetocist\";\nimport { __, all, curry, equals, includes, is } from \"ramda\";\n\nexport const isSubRouteActive = (subRoute, location) => {\n const currentBrowserUrl = new URL(\n location.pathname + location.search + location.hash,\n window.location.origin\n );\n const targetUrl = new URL(subRoute, window.location.origin);\n\n const targetSearchParams = targetUrl.searchParams;\n const targetSearchKeys = Array.from(targetSearchParams.keys());\n\n return (\n all(\n key =>\n currentBrowserUrl.searchParams.get(key) === targetSearchParams.get(key),\n targetSearchKeys\n ) && equals(currentBrowserUrl.pathname, targetUrl.pathname)\n );\n};\n\nexport const getSidebarStateLocalStorageKey = () => {\n const user = globalProps.user?.email || globalProps.user?.phoneNumber;\n\n return `sidebarState-${user}`;\n};\n\nexport const filterByPermissions = curry(({ permissions }) => {\n if (permissions && isNotEmpty(permissions)) {\n return is(Array, permissions)\n ? permissions.some(includes(__, globalProps.permissions))\n : globalProps.permissions.includes(permissions);\n }\n\n return true;\n});\n\nexport const getActiveConfigurePageLink = ({ navLinks, location }) =>\n navLinks.find(link => {\n const [linkPathname] = link.to?.split(\"?\") || [];\n\n return (\n isPresent(link.isConfigureNavLink) &&\n link.isConfigureNavLink &&\n location.pathname.startsWith(linkPathname)\n );\n });\n\nexport const enableDraggingStyles = () => {\n document.body.classList.add(\"dragging-sidebar\");\n document.body.style.cursor = \"col-resize\";\n document.body.style.userSelect = \"none\";\n};\n\nexport const disableDraggingStyles = () => {\n document.body.classList.remove(\"dragging-sidebar\");\n document.body.style.cursor = \"\";\n document.body.style.userSelect = \"\";\n};\n","import { hyphenate } from \"neetocist\";\nimport { Segments } from \"neetofilters\";\nimport { Typography } from \"neetoui\";\nimport { is } from \"ramda\";\n\nimport CheckPointNavLinks from \"./CheckPointNavLink\";\n\nimport { SUB_LINK_TYPES } from \"../../constants\";\nimport { isSubRouteActive } from \"../../utils\";\n\nconst SubLink = ({\n to,\n href,\n onClick,\n label,\n type = SUB_LINK_TYPES.SYSTEM_VIEW,\n count,\n isSectionHeader,\n isCountsLoading,\n \"data-cy\": dataCy,\n entity = \"\",\n columns = [],\n baseUrl,\n isActive,\n}) => {\n if (type === SUB_LINK_TYPES.SEGMENTS) {\n return <Segments {...{ baseUrl, columns, entity }} isIndependent={false} />;\n }\n\n const dataCyPrefix = dataCy || hyphenate(label);\n\n const renderCount = count => (count > 999 ? \"999+\" : count);\n\n const isSubLinkActive = () =>\n !isSectionHeader &&\n (is(Function, isActive) ? isActive() : isSubRouteActive(to, location));\n\n return (\n <CheckPointNavLinks\n {...{ href, onClick, to }}\n activeClassName=\"active\"\n className=\"neeto-molecules-sidebar__sublink neeto-ui-flex neeto-ui-items-center neeto-ui-select-none\"\n data-cy={`${dataCyPrefix}-sub-link`}\n isActive={isSubLinkActive}\n >\n <Typography\n className=\"neeto-molecules-sidebar__link-sub-label neeto-ui-flex-grow\"\n component=\"span\"\n data-cy={`${dataCyPrefix}-sub-link-label`}\n style=\"body2\"\n >\n {label}\n </Typography>\n <Typography\n className=\"neeto-molecules-sidebar__link-sub-count neeto-ui-flex-shrink-0\"\n component=\"span\"\n data-cy={`${dataCyPrefix}-sub-link-count`}\n style=\"body2\"\n >\n {isCountsLoading ? (\n <div className=\"neeto-ui-rounded neeto-ui-bg-gray-200 h-4 w-4 animate-pulse\" />\n ) : (\n renderCount(count)\n )}\n </Typography>\n </CheckPointNavLinks>\n );\n};\n\nexport default SubLink;\n","import { Fragment } from \"react\";\n\nimport { isPresent } from \"neetocist\";\n\nimport SubLink from \"./SubLink\";\n\nimport { filterByPermissions } from \"../../utils\";\n\nconst Items = ({ items, isSettingsItems = false, isCountsLoading }) => (\n <div\n className=\"neeto-molecules-sidebar__sublink-wrapper\"\n data-cy=\"sidebar-sub-link-wrapper\"\n >\n {items.filter(filterByPermissions).map((subItem, subIndex) => (\n <Fragment key={subIndex}>\n <SubLink\n {...{ ...subItem, isCountsLoading }}\n href={subItem.href}\n isActive={subItem.isActive}\n isSectionHeader={isPresent(subItem.item)}\n to={subItem.to ?? subItem.path}\n onClick={subItem.onClick}\n />\n {isSettingsItems && isPresent(subItem.items) && (\n <>\n <Items {...{ isSettingsItems }} items={subItem.items} />\n {items.length - 1 !== subIndex && (\n <hr className=\"neeto-molecules-sidebar__separator neeto-ui-border-gray-200\" />\n )}\n </>\n )}\n </Fragment>\n ))}\n </div>\n);\n\nexport default Items;\n","import classNames from \"classnames\";\nimport { handleMetaClick } from \"neetocommons/react-utils\";\nimport { hyphenize } from \"neetocommons/utils/general\";\nimport { Home } from \"neetoicons\";\nimport { Typography, Button } from \"neetoui\";\nimport { omit } from \"ramda\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { DEFAULT_HOME_PATH } from \"components/Sidebar/constants\";\n\nimport Items from \"./Items\";\n\nconst SelectedLink = ({\n navLink = { label: \"\", items: [], isConfigureNavLink: false },\n handleGoBack,\n isConfigureSidebar,\n}) => {\n const history = useHistory();\n const { label, items, isConfigureNavLink, ...otherProps } = navLink;\n\n const handleHomeButtonClick = e => {\n e.stopPropagation();\n handleMetaClick(history, DEFAULT_HOME_PATH, e);\n };\n\n return (\n <div\n className=\"neeto-molecules-sidebar__links neeto-molecules-sidebar__links--focus-mode neeto-molecules-sidebar__no-shrinkable\"\n data-cy=\"configure-nav-container\"\n >\n <div\n className=\"neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-molecules-sidebar__link neeto-ui-border-b neeto-ui-border-gray-200\"\n onClick={handleGoBack}\n {...{ ...omit([\"icon\"], otherProps) }}\n >\n {isConfigureNavLink && (\n <span className=\"neeto-molecules-sidebar__link-icon flex items-center pl-3\">\n <Button\n data-cy={`${hyphenize(label)}-go-back-button`}\n data-testid={`${label}-go-home-button`}\n icon={Home}\n style=\"text\"\n onClick={handleHomeButtonClick}\n />\n <span className=\"px-1 text-xs\">/</span>\n </span>\n )}\n <Typography\n component=\"span\"\n style=\"body1\"\n className={classNames(\"neeto-molecules-sidebar__link-label\", {\n \"neeto-molecules-sidebar__configure-page-header\":\n isConfigureNavLink,\n [\"pl-4\"]: isConfigureSidebar,\n })}\n >\n {label}\n </Typography>\n </div>\n {items && <Items {...{ items }} isSettingsItems />}\n </div>\n );\n};\n\nexport default SelectedLink;\n","const Chevron = ({ style }) => (\n <svg {...{ style }} height=\"16\" viewBox=\"0 0 16 16\" width=\"16\">\n <path\n d=\"M7.07031 13.8887C7.2207 14.0391 7.40527 14.1211 7.62402 14.1211C8.06836 14.1211 8.41699 13.7725 8.41699 13.3281C8.41699 13.1094 8.32812 12.9043 8.17773 12.7539L3.37207 8.05762L8.17773 3.375C8.32812 3.21777 8.41699 3.0127 8.41699 2.80078C8.41699 2.35645 8.06836 2.00781 7.62402 2.00781C7.40527 2.00781 7.2207 2.08984 7.07031 2.24023L1.73828 7.44922C1.56055 7.62012 1.46484 7.8252 1.46484 8.06445C1.46484 8.29688 1.55371 8.49512 1.73828 8.67969L7.07031 13.8887ZM13.1748 13.8887C13.3252 14.0391 13.5098 14.1211 13.7354 14.1211C14.1797 14.1211 14.5283 13.7725 14.5283 13.3281C14.5283 13.1094 14.4395 12.9043 14.2891 12.7539L9.4834 8.05762L14.2891 3.375C14.4395 3.21777 14.5283 3.0127 14.5283 2.80078C14.5283 2.35645 14.1797 2.00781 13.7354 2.00781C13.5098 2.00781 13.3252 2.08984 13.1748 2.24023L7.84961 7.44922C7.66504 7.62012 7.57617 7.8252 7.56934 8.06445C7.56934 8.29688 7.66504 8.49512 7.84961 8.67969L13.1748 13.8887Z\"\n fill=\"currentColor\"\n />\n </svg>\n);\n\nexport default Chevron;\n"],"names":["SUB_LINK_TYPES","SYSTEM_VIEW","SEGMENTS","SELECTED_NAV_LINK_ROUTE_STORAGE_KEY","DEFAULT_HOME_PATH","SIDEBAR_WIDTH_KEY","MIN_SIDEBAR_WIDTH","MAX_SIDEBAR_WIDTH","DEFAULT_SIDEBAR_WIDTH","PINNED_MORE_NAV_LINKS_KEY","SPECIAL_APP_NAMES","bugwatch","CheckPointNavLinks","_ref","checkpointKey","to","href","children","others","_objectWithoutProperties","_excluded","_useNavigationCheckpo","useNavigationCheckpoints","checkpoint","LinkElement","NavLink","linkProps","_objectSpread","key","_jsx","isSubRouteActive","subRoute","location","currentBrowserUrl","URL","pathname","search","hash","window","origin","targetUrl","targetSearchParams","searchParams","targetSearchKeys","Array","from","keys","all","get","equals","getSidebarStateLocalStorageKey","_globalProps$user","_globalProps$user2","user","globalProps","email","phoneNumber","concat","filterByPermissions","curry","permissions","isNotEmpty","is","some","includes","__","getActiveConfigurePageLink","_ref2","navLinks","find","link","_link$to","_ref3","split","_ref4","_slicedToArray","linkPathname","isPresent","isConfigureNavLink","startsWith","enableDraggingStyles","document","body","classList","add","style","cursor","userSelect","disableDraggingStyles","remove","SubLink","onClick","label","_ref$type","type","count","isSectionHeader","isCountsLoading","dataCy","_ref$entity","entity","_ref$columns","columns","baseUrl","isActive","Segments","isIndependent","dataCyPrefix","hyphenate","renderCount","isSubLinkActive","Function","_jsxs","activeClassName","className","Typography","component","Items","items","_ref$isSettingsItems","isSettingsItems","filter","map","subItem","subIndex","_subItem$to","Fragment","item","path","_Fragment","_Items","length","SelectedLink","_ref$navLink","navLink","handleGoBack","isConfigureSidebar","history","useHistory","otherProps","handleHomeButtonClick","e","stopPropagation","handleMetaClick","omit","Button","hyphenize","icon","Home","classNames","_defineProperty","Chevron","height","viewBox","width","d","fill"],"m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