@nldd/design-system 0.8.80 → 0.8.83
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/custom-elements.json +1138 -71
- package/dist/components/actions/button/button.d.ts +5 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +8 -0
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -0
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +1 -1
- package/dist/components/actions/icon-button/icon-button.js +1 -1
- package/dist/components/actions/menu/menu.d.ts +25 -2
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +31 -8
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +7 -3
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +20 -0
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +54 -0
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/breakpoints-CkxsiRgH.js +10 -0
- package/dist/components/components.js +52643 -117
- package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +5 -1
- package/dist/components/content/avatar/avatar.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +78 -6
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +63 -92
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +44 -6
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +8 -2
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +17 -2
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +8 -0
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/text/text.d.ts +50 -0
- package/dist/components/content/text/text.d.ts.map +1 -0
- package/dist/components/content/text/text.js +81 -0
- package/dist/components/content/text/text.js.map +1 -0
- package/dist/components/content/text/text.styles.d.ts +2 -0
- package/dist/components/content/text/text.styles.d.ts.map +1 -0
- package/dist/components/content/text/text.styles.js +116 -0
- package/dist/components/content/text/text.styles.js.map +1 -0
- package/dist/components/content/text/text.template.d.ts +3 -0
- package/dist/components/content/text/text.template.d.ts.map +1 -0
- package/dist/components/content/text/text.template.js +7 -0
- package/dist/components/content/text/text.template.js.map +1 -0
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +9 -13
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/decorate-BKn10QQi.js +9 -0
- package/dist/components/dist-BYVOPNHp.js +381 -0
- package/dist/components/dist-Bq4xc7Bm.js +624 -0
- package/dist/components/dist-C0PiB1dr.js +870 -0
- package/dist/components/dist-C400RcFU.js +1498 -0
- package/dist/components/dist-CCg5Mso_.js +390 -0
- package/dist/components/dist-CJR_Rwhh.js +464 -0
- package/dist/components/dist-Ccw7ZfsU.js +18481 -0
- package/dist/components/dist-OBifyiJS.js +887 -0
- package/dist/components/dist-TpIL8G4G.js +1480 -0
- package/dist/components/dist-afrAoubg.js +1181 -0
- package/dist/components/dist-bO14jlsr.js +78 -0
- package/dist/components/forms/form-field/form-field.d.ts +59 -2
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +120 -35
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/gherkin-uCVRxsGf.js +108 -0
- package/dist/components/icon-C1Kikpol.js +841 -0
- package/dist/components/icon-button-BYy6hnAY.js +1676 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-modality-DhTeUxKi.js +43 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts +8 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +10 -0
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +9 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +11 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +3 -0
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +3 -0
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +8 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +36 -0
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +5 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +23 -20
- package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +6 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -0
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +7 -1
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +3 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +4 -1
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +29 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +44 -1
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +3 -0
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +3 -0
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +11 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +11 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +9 -0
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +12 -0
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +1 -0
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +9 -0
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +12 -0
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +1 -0
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +8 -0
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +10 -0
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +9 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +11 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +16 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +33 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +6 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +6 -0
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +16 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +26 -7
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +17 -0
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +22 -0
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +1 -1
- package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +3 -0
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +3 -0
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -0
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +3 -0
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +4 -1
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +30 -0
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +60 -0
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.js +3 -0
- package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +6 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +11 -0
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +7 -1
- package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +3 -0
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +4 -1
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +10 -0
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +14 -0
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +11 -0
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +16 -6
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +6 -0
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +13 -0
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +3 -3
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +3 -3
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +3 -6
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +10 -3
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +60 -45
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +94 -80
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +94 -21
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +275 -48
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +116 -34
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +5 -2
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +116 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -0
- package/dist/components/lists-and-tables/{list-item-action/list-item-action.js → list-item-segment/list-item-segment.js} +77 -52
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +179 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +3 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/{list-item-action/list-item-action.template.js → list-item-segment/list-item-segment.template.js} +5 -4
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -0
- package/dist/components/reflect-non-default-OLaK60rT.js +37 -0
- package/dist/components/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/components/shadow-resets-aG-rgyNQ.js +61 -0
- package/dist/components/shell-C61GCsJA.js +223 -0
- package/dist/components/status-and-feedback/badge/badge.d.ts +8 -2
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +17 -1
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +35 -6
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +7 -0
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/toml-C2HBbPgG.js +59 -0
- package/dist/components/visibility-mixin-GxbwkBb1.js +104 -0
- package/dist/components/with-translations-DzAdFTK8.js +48 -0
- package/dist/css/variables.css +25 -1
- package/dist/nldd.min.js +2797 -2355
- package/dist/types/vue.d.ts +106 -48
- package/dist/utilities/implicit-submission.d.ts +31 -0
- package/dist/utilities/implicit-submission.d.ts.map +1 -0
- package/dist/utilities/implicit-submission.js +65 -0
- package/dist/utilities/implicit-submission.js.map +1 -0
- package/dist/utilities/owned-attribute.d.ts +19 -0
- package/dist/utilities/owned-attribute.d.ts.map +1 -0
- package/dist/utilities/owned-attribute.js +32 -0
- package/dist/utilities/owned-attribute.js.map +1 -0
- package/dist/utilities/scroll-mode-controller.d.ts +9 -1
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +10 -2
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/package.json +10 -6
- package/dist/components/gherkin-DhZlEZiy.js +0 -115
- package/dist/components/index-8pDDdMeW.js +0 -384
- package/dist/components/index-C7QocEcT.js +0 -81
- package/dist/components/index-CDz7-C9c.js +0 -177
- package/dist/components/index-CWQunWUb.js +0 -75039
- package/dist/components/index-CoY3JfIy.js +0 -688
- package/dist/components/index-DP9dl7P7.js +0 -703
- package/dist/components/index-DV_2YpaH.js +0 -405
- package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts +0 -108
- package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.js.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js +0 -145
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts +0 -3
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.js.map +0 -1
- package/dist/components/shell-BlsXDxCn.js +0 -222
- package/dist/components/toml-BOuWGMcf.js +0 -76
|
@@ -0,0 +1,1181 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags$1, P as IterMode, R as NodeWeakMap, i as LocalTokenGroup, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-Ccw7ZfsU.js";
|
|
3
|
+
//#region node_modules/@lezer/css/dist/index.js
|
|
4
|
+
var descendantOp = 145;
|
|
5
|
+
var Unit = 1;
|
|
6
|
+
var identifier$1 = 146;
|
|
7
|
+
var callee = 147;
|
|
8
|
+
var VariableName = 2;
|
|
9
|
+
var queryIdentifier = 148;
|
|
10
|
+
var queryVariableName = 3;
|
|
11
|
+
var QueryCallee = 4;
|
|
12
|
+
var space = [
|
|
13
|
+
9,
|
|
14
|
+
10,
|
|
15
|
+
11,
|
|
16
|
+
12,
|
|
17
|
+
13,
|
|
18
|
+
32,
|
|
19
|
+
133,
|
|
20
|
+
160,
|
|
21
|
+
5760,
|
|
22
|
+
8192,
|
|
23
|
+
8193,
|
|
24
|
+
8194,
|
|
25
|
+
8195,
|
|
26
|
+
8196,
|
|
27
|
+
8197,
|
|
28
|
+
8198,
|
|
29
|
+
8199,
|
|
30
|
+
8200,
|
|
31
|
+
8201,
|
|
32
|
+
8202,
|
|
33
|
+
8232,
|
|
34
|
+
8233,
|
|
35
|
+
8239,
|
|
36
|
+
8287,
|
|
37
|
+
12288
|
|
38
|
+
];
|
|
39
|
+
var colon = 58;
|
|
40
|
+
var parenL = 40;
|
|
41
|
+
var underscore = 95;
|
|
42
|
+
var bracketL = 91;
|
|
43
|
+
var dash = 45;
|
|
44
|
+
var period = 46;
|
|
45
|
+
var hash = 35;
|
|
46
|
+
var percent = 37;
|
|
47
|
+
var ampersand = 38;
|
|
48
|
+
var backslash = 92;
|
|
49
|
+
var newline = 10;
|
|
50
|
+
var asterisk = 42;
|
|
51
|
+
function isAlpha(ch) {
|
|
52
|
+
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 161;
|
|
53
|
+
}
|
|
54
|
+
function isDigit(ch) {
|
|
55
|
+
return ch >= 48 && ch <= 57;
|
|
56
|
+
}
|
|
57
|
+
function isHex(ch) {
|
|
58
|
+
return isDigit(ch) || ch >= 97 && ch <= 102 || ch >= 65 && ch <= 70;
|
|
59
|
+
}
|
|
60
|
+
var identifierTokens = (id, varName, callee) => (input, stack) => {
|
|
61
|
+
for (let inside = false, dashes = 0, i = 0;; i++) {
|
|
62
|
+
let { next } = input;
|
|
63
|
+
if (isAlpha(next) || next == dash || next == underscore || inside && isDigit(next)) {
|
|
64
|
+
if (!inside && (next != dash || i > 0)) inside = true;
|
|
65
|
+
if (dashes === i && next == dash) dashes++;
|
|
66
|
+
input.advance();
|
|
67
|
+
} else if (next == backslash && input.peek(1) != newline) {
|
|
68
|
+
input.advance();
|
|
69
|
+
if (isHex(input.next)) {
|
|
70
|
+
do
|
|
71
|
+
input.advance();
|
|
72
|
+
while (isHex(input.next));
|
|
73
|
+
if (input.next == 32) input.advance();
|
|
74
|
+
} else if (input.next > -1) input.advance();
|
|
75
|
+
inside = true;
|
|
76
|
+
} else {
|
|
77
|
+
if (inside) input.acceptToken(dashes == 2 && stack.canShift(VariableName) ? varName : next == parenL ? callee : id);
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
var identifiers = new ExternalTokenizer(identifierTokens(identifier$1, VariableName, callee), { contextual: true });
|
|
83
|
+
var queryIdentifiers = new ExternalTokenizer(identifierTokens(queryIdentifier, queryVariableName, QueryCallee), { contextual: true });
|
|
84
|
+
var descendant = new ExternalTokenizer((input) => {
|
|
85
|
+
if (space.includes(input.peek(-1))) {
|
|
86
|
+
let { next } = input;
|
|
87
|
+
if (isAlpha(next) || next == underscore || next == hash || next == period || next == asterisk || next == bracketL || next == colon && isAlpha(input.peek(1)) || next == dash || next == ampersand) input.acceptToken(descendantOp);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
var unitToken = new ExternalTokenizer((input) => {
|
|
91
|
+
if (!space.includes(input.peek(-1))) {
|
|
92
|
+
let { next } = input;
|
|
93
|
+
if (next == percent) {
|
|
94
|
+
input.advance();
|
|
95
|
+
input.acceptToken(Unit);
|
|
96
|
+
}
|
|
97
|
+
if (isAlpha(next)) {
|
|
98
|
+
do
|
|
99
|
+
input.advance();
|
|
100
|
+
while (isAlpha(input.next) || isDigit(input.next));
|
|
101
|
+
input.acceptToken(Unit);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
var cssHighlighting = styleTags({
|
|
106
|
+
"AtKeyword import charset namespace keyframes media supports font-feature-values": tags$1.definitionKeyword,
|
|
107
|
+
"from to selector scope MatchFlag": tags$1.keyword,
|
|
108
|
+
NamespaceName: tags$1.namespace,
|
|
109
|
+
KeyframeName: tags$1.labelName,
|
|
110
|
+
KeyframeRangeName: tags$1.operatorKeyword,
|
|
111
|
+
TagName: tags$1.tagName,
|
|
112
|
+
ClassName: tags$1.className,
|
|
113
|
+
PseudoClassName: tags$1.constant(tags$1.className),
|
|
114
|
+
IdName: tags$1.labelName,
|
|
115
|
+
"FeatureName PropertyName": tags$1.propertyName,
|
|
116
|
+
AttributeName: tags$1.attributeName,
|
|
117
|
+
NumberLiteral: tags$1.number,
|
|
118
|
+
KeywordQuery: tags$1.keyword,
|
|
119
|
+
UnaryQueryOp: tags$1.operatorKeyword,
|
|
120
|
+
"CallTag ValueName FontName": tags$1.atom,
|
|
121
|
+
VariableName: tags$1.variableName,
|
|
122
|
+
Callee: tags$1.operatorKeyword,
|
|
123
|
+
Unit: tags$1.unit,
|
|
124
|
+
"UniversalSelector NestingSelector": tags$1.definitionOperator,
|
|
125
|
+
"MatchOp CompareOp": tags$1.compareOperator,
|
|
126
|
+
"ChildOp SiblingOp, LogicOp": tags$1.logicOperator,
|
|
127
|
+
BinOp: tags$1.arithmeticOperator,
|
|
128
|
+
Important: tags$1.modifier,
|
|
129
|
+
Comment: tags$1.blockComment,
|
|
130
|
+
ColorLiteral: tags$1.color,
|
|
131
|
+
"ParenthesizedContent StringLiteral": tags$1.string,
|
|
132
|
+
":": tags$1.punctuation,
|
|
133
|
+
"PseudoOp #": tags$1.derefOperator,
|
|
134
|
+
"; , |": tags$1.separator,
|
|
135
|
+
"( )": tags$1.paren,
|
|
136
|
+
"[ ]": tags$1.squareBracket,
|
|
137
|
+
"{ }": tags$1.brace
|
|
138
|
+
});
|
|
139
|
+
var spec_callee = {
|
|
140
|
+
__proto__: null,
|
|
141
|
+
lang: 44,
|
|
142
|
+
"nth-child": 44,
|
|
143
|
+
"nth-last-child": 44,
|
|
144
|
+
"nth-of-type": 44,
|
|
145
|
+
"nth-last-of-type": 44,
|
|
146
|
+
dir: 44,
|
|
147
|
+
"host-context": 44,
|
|
148
|
+
if: 90,
|
|
149
|
+
url: 152,
|
|
150
|
+
"url-prefix": 152,
|
|
151
|
+
domain: 152,
|
|
152
|
+
regexp: 152
|
|
153
|
+
};
|
|
154
|
+
var spec_queryIdentifier = {
|
|
155
|
+
__proto__: null,
|
|
156
|
+
or: 104,
|
|
157
|
+
and: 104,
|
|
158
|
+
not: 112,
|
|
159
|
+
only: 112,
|
|
160
|
+
layer: 206
|
|
161
|
+
};
|
|
162
|
+
var spec_QueryCallee = {
|
|
163
|
+
__proto__: null,
|
|
164
|
+
selector: 118,
|
|
165
|
+
style: 124,
|
|
166
|
+
layer: 202
|
|
167
|
+
};
|
|
168
|
+
var spec_AtKeyword = {
|
|
169
|
+
__proto__: null,
|
|
170
|
+
"@import": 198,
|
|
171
|
+
"@media": 210,
|
|
172
|
+
"@charset": 214,
|
|
173
|
+
"@namespace": 218,
|
|
174
|
+
"@keyframes": 224,
|
|
175
|
+
"@supports": 236,
|
|
176
|
+
"@scope": 240,
|
|
177
|
+
"@font-feature-values": 246
|
|
178
|
+
};
|
|
179
|
+
var spec_identifier = {
|
|
180
|
+
__proto__: null,
|
|
181
|
+
to: 243
|
|
182
|
+
};
|
|
183
|
+
var parser = LRParser.deserialize({
|
|
184
|
+
version: 14,
|
|
185
|
+
states: "MlQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FnO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#EOO'dQdO'#EQO'oQdO'#EXO'oQdO'#E[OOQP'#Fn'#FnO)RQhO'#E}OOQS'#Fm'#FmOOQS'#FQ'#FQQYQdOOO)YQdO'#EbO*iQhO'#EhO)YQdO'#EjO*pQdO'#ElO*{QdO'#EoO)}QhO'#EuO+TQdO'#EwO+`QdO'#EzO+eQaO'#CfO+lQ`O'#E_O+qQ`O'#F{O+|QdO'#F{QOQ`OOP,WO&jO'#CaPOOO)CA])CA]OOQP'#Ci'#CiOOQP,59R,59RO%VQdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&XQdO,59VO,cQdO,59YO'_QdO,5:jO'dQdO,5:lO'oQdO,5:sO'oQdO,5:uO'oQdO,5:vO'oQdO'#FXO,nQ`O,58}O,vQdO'#E^OOQS,58},58}OOQP'#Cq'#CqOOQO'#D|'#D|OOQP,59Y,59YO,}Q`O,59YO-SQ`O,59YOOQP'#EP'#EPOOQP,5:j,5:jO-XQpO'#ERO-dQdO'#ESO-iQ`O'#ESO-nQpO,5:lO.XQaO,5:sO.oQaO,5:vOOQW'#D^'#D^O/nQhO'#DgO0RQhO,5;iO)}QhO'#DeO0`Q`O'#DnO0eQhO'#DxOOQW'#Ft'#FtOOQS,5;i,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SR%Z#pQpPR#o!RQ!zeQ$f!rR%}$g",
|
|
188
|
+
nodeNames: "⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector StyleQuery style ParenthesedQuery CallQuery ArgList , UnaryQuery ParenthesedQuery BinaryQuery ParenthesedQuery ParenthesedQuery StyleFeature StyleRange PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",
|
|
189
|
+
maxTerm: 172,
|
|
190
|
+
nodeProps: [
|
|
191
|
+
[
|
|
192
|
+
"isolate",
|
|
193
|
+
-2,
|
|
194
|
+
5,
|
|
195
|
+
39,
|
|
196
|
+
""
|
|
197
|
+
],
|
|
198
|
+
[
|
|
199
|
+
"openedBy",
|
|
200
|
+
23,
|
|
201
|
+
"(",
|
|
202
|
+
31,
|
|
203
|
+
"[",
|
|
204
|
+
34,
|
|
205
|
+
"{"
|
|
206
|
+
],
|
|
207
|
+
[
|
|
208
|
+
"closedBy",
|
|
209
|
+
24,
|
|
210
|
+
")",
|
|
211
|
+
32,
|
|
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new LocalTokenGroup("m~RRYZ[z{a~~g~aO$_~~dP!P!Qg~lO$`~~", 28, 152)
|
|
235
|
+
],
|
|
236
|
+
topRules: {
|
|
237
|
+
"StyleSheet": [0, 6],
|
|
238
|
+
"Styles": [1, 126]
|
|
239
|
+
},
|
|
240
|
+
dynamicPrecedences: { "94": 1 },
|
|
241
|
+
specialized: [
|
|
242
|
+
{
|
|
243
|
+
term: 147,
|
|
244
|
+
get: (value) => spec_callee[value] || -1
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
term: 148,
|
|
248
|
+
get: (value) => spec_queryIdentifier[value] || -1
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
term: 4,
|
|
252
|
+
get: (value) => spec_QueryCallee[value] || -1
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
term: 28,
|
|
256
|
+
get: (value) => spec_AtKeyword[value] || -1
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
term: 146,
|
|
260
|
+
get: (value) => spec_identifier[value] || -1
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
tokenPrec: 2405
|
|
264
|
+
});
|
|
265
|
+
//#endregion
|
|
266
|
+
//#region node_modules/@codemirror/lang-css/dist/index.js
|
|
267
|
+
var dist_exports = /* @__PURE__ */ __exportAll({
|
|
268
|
+
css: () => css,
|
|
269
|
+
cssCompletionSource: () => cssCompletionSource,
|
|
270
|
+
cssLanguage: () => cssLanguage,
|
|
271
|
+
defineCSSCompletionSource: () => defineCSSCompletionSource
|
|
272
|
+
});
|
|
273
|
+
var _properties = null;
|
|
274
|
+
function properties() {
|
|
275
|
+
if (!_properties && typeof document == "object" && document.body) {
|
|
276
|
+
let { style } = document.body, names = [], seen = /* @__PURE__ */ new Set();
|
|
277
|
+
for (let prop in style) if (prop != "cssText" && prop != "cssFloat") {
|
|
278
|
+
if (typeof style[prop] == "string") {
|
|
279
|
+
if (/[A-Z]/.test(prop)) prop = prop.replace(/[A-Z]/g, (ch) => "-" + ch.toLowerCase());
|
|
280
|
+
if (!seen.has(prop)) {
|
|
281
|
+
names.push(prop);
|
|
282
|
+
seen.add(prop);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
_properties = names.sort().map((name) => ({
|
|
287
|
+
type: "property",
|
|
288
|
+
label: name,
|
|
289
|
+
apply: name + ": "
|
|
290
|
+
}));
|
|
291
|
+
}
|
|
292
|
+
return _properties || [];
|
|
293
|
+
}
|
|
294
|
+
var pseudoClasses = /*@__PURE__*/ [
|
|
295
|
+
"active",
|
|
296
|
+
"after",
|
|
297
|
+
"any-link",
|
|
298
|
+
"autofill",
|
|
299
|
+
"backdrop",
|
|
300
|
+
"before",
|
|
301
|
+
"checked",
|
|
302
|
+
"cue",
|
|
303
|
+
"default",
|
|
304
|
+
"defined",
|
|
305
|
+
"disabled",
|
|
306
|
+
"empty",
|
|
307
|
+
"enabled",
|
|
308
|
+
"file-selector-button",
|
|
309
|
+
"first",
|
|
310
|
+
"first-child",
|
|
311
|
+
"first-letter",
|
|
312
|
+
"first-line",
|
|
313
|
+
"first-of-type",
|
|
314
|
+
"focus",
|
|
315
|
+
"focus-visible",
|
|
316
|
+
"focus-within",
|
|
317
|
+
"fullscreen",
|
|
318
|
+
"has",
|
|
319
|
+
"host",
|
|
320
|
+
"host-context",
|
|
321
|
+
"hover",
|
|
322
|
+
"in-range",
|
|
323
|
+
"indeterminate",
|
|
324
|
+
"invalid",
|
|
325
|
+
"is",
|
|
326
|
+
"lang",
|
|
327
|
+
"last-child",
|
|
328
|
+
"last-of-type",
|
|
329
|
+
"left",
|
|
330
|
+
"link",
|
|
331
|
+
"marker",
|
|
332
|
+
"modal",
|
|
333
|
+
"not",
|
|
334
|
+
"nth-child",
|
|
335
|
+
"nth-last-child",
|
|
336
|
+
"nth-last-of-type",
|
|
337
|
+
"nth-of-type",
|
|
338
|
+
"only-child",
|
|
339
|
+
"only-of-type",
|
|
340
|
+
"optional",
|
|
341
|
+
"out-of-range",
|
|
342
|
+
"part",
|
|
343
|
+
"placeholder",
|
|
344
|
+
"placeholder-shown",
|
|
345
|
+
"read-only",
|
|
346
|
+
"read-write",
|
|
347
|
+
"required",
|
|
348
|
+
"right",
|
|
349
|
+
"root",
|
|
350
|
+
"scope",
|
|
351
|
+
"selection",
|
|
352
|
+
"slotted",
|
|
353
|
+
"target",
|
|
354
|
+
"target-text",
|
|
355
|
+
"valid",
|
|
356
|
+
"visited",
|
|
357
|
+
"where"
|
|
358
|
+
].map((name) => ({
|
|
359
|
+
type: "class",
|
|
360
|
+
label: name
|
|
361
|
+
}));
|
|
362
|
+
var values = /*@__PURE__*/ [
|
|
363
|
+
"above",
|
|
364
|
+
"absolute",
|
|
365
|
+
"activeborder",
|
|
366
|
+
"additive",
|
|
367
|
+
"activecaption",
|
|
368
|
+
"after-white-space",
|
|
369
|
+
"ahead",
|
|
370
|
+
"alias",
|
|
371
|
+
"all",
|
|
372
|
+
"all-scroll",
|
|
373
|
+
"alphabetic",
|
|
374
|
+
"alternate",
|
|
375
|
+
"always",
|
|
376
|
+
"antialiased",
|
|
377
|
+
"appworkspace",
|
|
378
|
+
"asterisks",
|
|
379
|
+
"attr",
|
|
380
|
+
"auto",
|
|
381
|
+
"auto-flow",
|
|
382
|
+
"avoid",
|
|
383
|
+
"avoid-column",
|
|
384
|
+
"avoid-page",
|
|
385
|
+
"avoid-region",
|
|
386
|
+
"axis-pan",
|
|
387
|
+
"background",
|
|
388
|
+
"backwards",
|
|
389
|
+
"baseline",
|
|
390
|
+
"below",
|
|
391
|
+
"bidi-override",
|
|
392
|
+
"blink",
|
|
393
|
+
"block",
|
|
394
|
+
"block-axis",
|
|
395
|
+
"bold",
|
|
396
|
+
"bolder",
|
|
397
|
+
"border",
|
|
398
|
+
"border-box",
|
|
399
|
+
"both",
|
|
400
|
+
"bottom",
|
|
401
|
+
"break",
|
|
402
|
+
"break-all",
|
|
403
|
+
"break-word",
|
|
404
|
+
"bullets",
|
|
405
|
+
"button",
|
|
406
|
+
"button-bevel",
|
|
407
|
+
"buttonface",
|
|
408
|
+
"buttonhighlight",
|
|
409
|
+
"buttonshadow",
|
|
410
|
+
"buttontext",
|
|
411
|
+
"calc",
|
|
412
|
+
"capitalize",
|
|
413
|
+
"caps-lock-indicator",
|
|
414
|
+
"caption",
|
|
415
|
+
"captiontext",
|
|
416
|
+
"caret",
|
|
417
|
+
"cell",
|
|
418
|
+
"center",
|
|
419
|
+
"checkbox",
|
|
420
|
+
"circle",
|
|
421
|
+
"cjk-decimal",
|
|
422
|
+
"clear",
|
|
423
|
+
"clip",
|
|
424
|
+
"close-quote",
|
|
425
|
+
"col-resize",
|
|
426
|
+
"collapse",
|
|
427
|
+
"color",
|
|
428
|
+
"color-burn",
|
|
429
|
+
"color-dodge",
|
|
430
|
+
"column",
|
|
431
|
+
"column-reverse",
|
|
432
|
+
"compact",
|
|
433
|
+
"condensed",
|
|
434
|
+
"contain",
|
|
435
|
+
"content",
|
|
436
|
+
"contents",
|
|
437
|
+
"content-box",
|
|
438
|
+
"context-menu",
|
|
439
|
+
"continuous",
|
|
440
|
+
"copy",
|
|
441
|
+
"counter",
|
|
442
|
+
"counters",
|
|
443
|
+
"cover",
|
|
444
|
+
"crop",
|
|
445
|
+
"cross",
|
|
446
|
+
"crosshair",
|
|
447
|
+
"currentcolor",
|
|
448
|
+
"cursive",
|
|
449
|
+
"cyclic",
|
|
450
|
+
"darken",
|
|
451
|
+
"dashed",
|
|
452
|
+
"decimal",
|
|
453
|
+
"decimal-leading-zero",
|
|
454
|
+
"default",
|
|
455
|
+
"default-button",
|
|
456
|
+
"dense",
|
|
457
|
+
"destination-atop",
|
|
458
|
+
"destination-in",
|
|
459
|
+
"destination-out",
|
|
460
|
+
"destination-over",
|
|
461
|
+
"difference",
|
|
462
|
+
"disc",
|
|
463
|
+
"discard",
|
|
464
|
+
"disclosure-closed",
|
|
465
|
+
"disclosure-open",
|
|
466
|
+
"document",
|
|
467
|
+
"dot-dash",
|
|
468
|
+
"dot-dot-dash",
|
|
469
|
+
"dotted",
|
|
470
|
+
"double",
|
|
471
|
+
"down",
|
|
472
|
+
"e-resize",
|
|
473
|
+
"ease",
|
|
474
|
+
"ease-in",
|
|
475
|
+
"ease-in-out",
|
|
476
|
+
"ease-out",
|
|
477
|
+
"element",
|
|
478
|
+
"ellipse",
|
|
479
|
+
"ellipsis",
|
|
480
|
+
"embed",
|
|
481
|
+
"end",
|
|
482
|
+
"ethiopic-abegede-gez",
|
|
483
|
+
"ethiopic-halehame-aa-er",
|
|
484
|
+
"ethiopic-halehame-gez",
|
|
485
|
+
"ew-resize",
|
|
486
|
+
"exclusion",
|
|
487
|
+
"expanded",
|
|
488
|
+
"extends",
|
|
489
|
+
"extra-condensed",
|
|
490
|
+
"extra-expanded",
|
|
491
|
+
"fantasy",
|
|
492
|
+
"fast",
|
|
493
|
+
"fill",
|
|
494
|
+
"fill-box",
|
|
495
|
+
"fixed",
|
|
496
|
+
"flat",
|
|
497
|
+
"flex",
|
|
498
|
+
"flex-end",
|
|
499
|
+
"flex-start",
|
|
500
|
+
"footnotes",
|
|
501
|
+
"forwards",
|
|
502
|
+
"from",
|
|
503
|
+
"geometricPrecision",
|
|
504
|
+
"graytext",
|
|
505
|
+
"grid",
|
|
506
|
+
"groove",
|
|
507
|
+
"hand",
|
|
508
|
+
"hard-light",
|
|
509
|
+
"help",
|
|
510
|
+
"hidden",
|
|
511
|
+
"hide",
|
|
512
|
+
"higher",
|
|
513
|
+
"highlight",
|
|
514
|
+
"highlighttext",
|
|
515
|
+
"horizontal",
|
|
516
|
+
"hsl",
|
|
517
|
+
"hsla",
|
|
518
|
+
"hue",
|
|
519
|
+
"icon",
|
|
520
|
+
"ignore",
|
|
521
|
+
"inactiveborder",
|
|
522
|
+
"inactivecaption",
|
|
523
|
+
"inactivecaptiontext",
|
|
524
|
+
"infinite",
|
|
525
|
+
"infobackground",
|
|
526
|
+
"infotext",
|
|
527
|
+
"inherit",
|
|
528
|
+
"initial",
|
|
529
|
+
"inline",
|
|
530
|
+
"inline-axis",
|
|
531
|
+
"inline-block",
|
|
532
|
+
"inline-flex",
|
|
533
|
+
"inline-grid",
|
|
534
|
+
"inline-table",
|
|
535
|
+
"inset",
|
|
536
|
+
"inside",
|
|
537
|
+
"intrinsic",
|
|
538
|
+
"invert",
|
|
539
|
+
"italic",
|
|
540
|
+
"justify",
|
|
541
|
+
"keep-all",
|
|
542
|
+
"landscape",
|
|
543
|
+
"large",
|
|
544
|
+
"larger",
|
|
545
|
+
"left",
|
|
546
|
+
"level",
|
|
547
|
+
"lighter",
|
|
548
|
+
"lighten",
|
|
549
|
+
"line-through",
|
|
550
|
+
"linear",
|
|
551
|
+
"linear-gradient",
|
|
552
|
+
"lines",
|
|
553
|
+
"list-item",
|
|
554
|
+
"listbox",
|
|
555
|
+
"listitem",
|
|
556
|
+
"local",
|
|
557
|
+
"logical",
|
|
558
|
+
"loud",
|
|
559
|
+
"lower",
|
|
560
|
+
"lower-hexadecimal",
|
|
561
|
+
"lower-latin",
|
|
562
|
+
"lower-norwegian",
|
|
563
|
+
"lowercase",
|
|
564
|
+
"ltr",
|
|
565
|
+
"luminosity",
|
|
566
|
+
"manipulation",
|
|
567
|
+
"match",
|
|
568
|
+
"matrix",
|
|
569
|
+
"matrix3d",
|
|
570
|
+
"medium",
|
|
571
|
+
"menu",
|
|
572
|
+
"menutext",
|
|
573
|
+
"message-box",
|
|
574
|
+
"middle",
|
|
575
|
+
"min-intrinsic",
|
|
576
|
+
"mix",
|
|
577
|
+
"monospace",
|
|
578
|
+
"move",
|
|
579
|
+
"multiple",
|
|
580
|
+
"multiple_mask_images",
|
|
581
|
+
"multiply",
|
|
582
|
+
"n-resize",
|
|
583
|
+
"narrower",
|
|
584
|
+
"ne-resize",
|
|
585
|
+
"nesw-resize",
|
|
586
|
+
"no-close-quote",
|
|
587
|
+
"no-drop",
|
|
588
|
+
"no-open-quote",
|
|
589
|
+
"no-repeat",
|
|
590
|
+
"none",
|
|
591
|
+
"normal",
|
|
592
|
+
"not-allowed",
|
|
593
|
+
"nowrap",
|
|
594
|
+
"ns-resize",
|
|
595
|
+
"numbers",
|
|
596
|
+
"numeric",
|
|
597
|
+
"nw-resize",
|
|
598
|
+
"nwse-resize",
|
|
599
|
+
"oblique",
|
|
600
|
+
"opacity",
|
|
601
|
+
"open-quote",
|
|
602
|
+
"optimizeLegibility",
|
|
603
|
+
"optimizeSpeed",
|
|
604
|
+
"outset",
|
|
605
|
+
"outside",
|
|
606
|
+
"outside-shape",
|
|
607
|
+
"overlay",
|
|
608
|
+
"overline",
|
|
609
|
+
"padding",
|
|
610
|
+
"padding-box",
|
|
611
|
+
"painted",
|
|
612
|
+
"page",
|
|
613
|
+
"paused",
|
|
614
|
+
"perspective",
|
|
615
|
+
"pinch-zoom",
|
|
616
|
+
"plus-darker",
|
|
617
|
+
"plus-lighter",
|
|
618
|
+
"pointer",
|
|
619
|
+
"polygon",
|
|
620
|
+
"portrait",
|
|
621
|
+
"pre",
|
|
622
|
+
"pre-line",
|
|
623
|
+
"pre-wrap",
|
|
624
|
+
"preserve-3d",
|
|
625
|
+
"progress",
|
|
626
|
+
"push-button",
|
|
627
|
+
"radial-gradient",
|
|
628
|
+
"radio",
|
|
629
|
+
"read-only",
|
|
630
|
+
"read-write",
|
|
631
|
+
"read-write-plaintext-only",
|
|
632
|
+
"rectangle",
|
|
633
|
+
"region",
|
|
634
|
+
"relative",
|
|
635
|
+
"repeat",
|
|
636
|
+
"repeating-linear-gradient",
|
|
637
|
+
"repeating-radial-gradient",
|
|
638
|
+
"repeat-x",
|
|
639
|
+
"repeat-y",
|
|
640
|
+
"reset",
|
|
641
|
+
"reverse",
|
|
642
|
+
"rgb",
|
|
643
|
+
"rgba",
|
|
644
|
+
"ridge",
|
|
645
|
+
"right",
|
|
646
|
+
"rotate",
|
|
647
|
+
"rotate3d",
|
|
648
|
+
"rotateX",
|
|
649
|
+
"rotateY",
|
|
650
|
+
"rotateZ",
|
|
651
|
+
"round",
|
|
652
|
+
"row",
|
|
653
|
+
"row-resize",
|
|
654
|
+
"row-reverse",
|
|
655
|
+
"rtl",
|
|
656
|
+
"run-in",
|
|
657
|
+
"running",
|
|
658
|
+
"s-resize",
|
|
659
|
+
"sans-serif",
|
|
660
|
+
"saturation",
|
|
661
|
+
"scale",
|
|
662
|
+
"scale3d",
|
|
663
|
+
"scaleX",
|
|
664
|
+
"scaleY",
|
|
665
|
+
"scaleZ",
|
|
666
|
+
"screen",
|
|
667
|
+
"scroll",
|
|
668
|
+
"scrollbar",
|
|
669
|
+
"scroll-position",
|
|
670
|
+
"se-resize",
|
|
671
|
+
"self-start",
|
|
672
|
+
"self-end",
|
|
673
|
+
"semi-condensed",
|
|
674
|
+
"semi-expanded",
|
|
675
|
+
"separate",
|
|
676
|
+
"serif",
|
|
677
|
+
"show",
|
|
678
|
+
"single",
|
|
679
|
+
"skew",
|
|
680
|
+
"skewX",
|
|
681
|
+
"skewY",
|
|
682
|
+
"skip-white-space",
|
|
683
|
+
"slide",
|
|
684
|
+
"slider-horizontal",
|
|
685
|
+
"slider-vertical",
|
|
686
|
+
"sliderthumb-horizontal",
|
|
687
|
+
"sliderthumb-vertical",
|
|
688
|
+
"slow",
|
|
689
|
+
"small",
|
|
690
|
+
"small-caps",
|
|
691
|
+
"small-caption",
|
|
692
|
+
"smaller",
|
|
693
|
+
"soft-light",
|
|
694
|
+
"solid",
|
|
695
|
+
"source-atop",
|
|
696
|
+
"source-in",
|
|
697
|
+
"source-out",
|
|
698
|
+
"source-over",
|
|
699
|
+
"space",
|
|
700
|
+
"space-around",
|
|
701
|
+
"space-between",
|
|
702
|
+
"space-evenly",
|
|
703
|
+
"spell-out",
|
|
704
|
+
"square",
|
|
705
|
+
"start",
|
|
706
|
+
"static",
|
|
707
|
+
"status-bar",
|
|
708
|
+
"stretch",
|
|
709
|
+
"stroke",
|
|
710
|
+
"stroke-box",
|
|
711
|
+
"sub",
|
|
712
|
+
"subpixel-antialiased",
|
|
713
|
+
"svg_masks",
|
|
714
|
+
"super",
|
|
715
|
+
"sw-resize",
|
|
716
|
+
"symbolic",
|
|
717
|
+
"symbols",
|
|
718
|
+
"system-ui",
|
|
719
|
+
"table",
|
|
720
|
+
"table-caption",
|
|
721
|
+
"table-cell",
|
|
722
|
+
"table-column",
|
|
723
|
+
"table-column-group",
|
|
724
|
+
"table-footer-group",
|
|
725
|
+
"table-header-group",
|
|
726
|
+
"table-row",
|
|
727
|
+
"table-row-group",
|
|
728
|
+
"text",
|
|
729
|
+
"text-bottom",
|
|
730
|
+
"text-top",
|
|
731
|
+
"textarea",
|
|
732
|
+
"textfield",
|
|
733
|
+
"thick",
|
|
734
|
+
"thin",
|
|
735
|
+
"threeddarkshadow",
|
|
736
|
+
"threedface",
|
|
737
|
+
"threedhighlight",
|
|
738
|
+
"threedlightshadow",
|
|
739
|
+
"threedshadow",
|
|
740
|
+
"to",
|
|
741
|
+
"top",
|
|
742
|
+
"transform",
|
|
743
|
+
"translate",
|
|
744
|
+
"translate3d",
|
|
745
|
+
"translateX",
|
|
746
|
+
"translateY",
|
|
747
|
+
"translateZ",
|
|
748
|
+
"transparent",
|
|
749
|
+
"ultra-condensed",
|
|
750
|
+
"ultra-expanded",
|
|
751
|
+
"underline",
|
|
752
|
+
"unidirectional-pan",
|
|
753
|
+
"unset",
|
|
754
|
+
"up",
|
|
755
|
+
"upper-latin",
|
|
756
|
+
"uppercase",
|
|
757
|
+
"url",
|
|
758
|
+
"var",
|
|
759
|
+
"vertical",
|
|
760
|
+
"vertical-text",
|
|
761
|
+
"view-box",
|
|
762
|
+
"visible",
|
|
763
|
+
"visibleFill",
|
|
764
|
+
"visiblePainted",
|
|
765
|
+
"visibleStroke",
|
|
766
|
+
"visual",
|
|
767
|
+
"w-resize",
|
|
768
|
+
"wait",
|
|
769
|
+
"wave",
|
|
770
|
+
"wider",
|
|
771
|
+
"window",
|
|
772
|
+
"windowframe",
|
|
773
|
+
"windowtext",
|
|
774
|
+
"words",
|
|
775
|
+
"wrap",
|
|
776
|
+
"wrap-reverse",
|
|
777
|
+
"x-large",
|
|
778
|
+
"x-small",
|
|
779
|
+
"xor",
|
|
780
|
+
"xx-large",
|
|
781
|
+
"xx-small"
|
|
782
|
+
].map((name) => ({
|
|
783
|
+
type: "keyword",
|
|
784
|
+
label: name
|
|
785
|
+
})).concat(/*@__PURE__*/ [
|
|
786
|
+
"aliceblue",
|
|
787
|
+
"antiquewhite",
|
|
788
|
+
"aqua",
|
|
789
|
+
"aquamarine",
|
|
790
|
+
"azure",
|
|
791
|
+
"beige",
|
|
792
|
+
"bisque",
|
|
793
|
+
"black",
|
|
794
|
+
"blanchedalmond",
|
|
795
|
+
"blue",
|
|
796
|
+
"blueviolet",
|
|
797
|
+
"brown",
|
|
798
|
+
"burlywood",
|
|
799
|
+
"cadetblue",
|
|
800
|
+
"chartreuse",
|
|
801
|
+
"chocolate",
|
|
802
|
+
"coral",
|
|
803
|
+
"cornflowerblue",
|
|
804
|
+
"cornsilk",
|
|
805
|
+
"crimson",
|
|
806
|
+
"cyan",
|
|
807
|
+
"darkblue",
|
|
808
|
+
"darkcyan",
|
|
809
|
+
"darkgoldenrod",
|
|
810
|
+
"darkgray",
|
|
811
|
+
"darkgreen",
|
|
812
|
+
"darkkhaki",
|
|
813
|
+
"darkmagenta",
|
|
814
|
+
"darkolivegreen",
|
|
815
|
+
"darkorange",
|
|
816
|
+
"darkorchid",
|
|
817
|
+
"darkred",
|
|
818
|
+
"darksalmon",
|
|
819
|
+
"darkseagreen",
|
|
820
|
+
"darkslateblue",
|
|
821
|
+
"darkslategray",
|
|
822
|
+
"darkturquoise",
|
|
823
|
+
"darkviolet",
|
|
824
|
+
"deeppink",
|
|
825
|
+
"deepskyblue",
|
|
826
|
+
"dimgray",
|
|
827
|
+
"dodgerblue",
|
|
828
|
+
"firebrick",
|
|
829
|
+
"floralwhite",
|
|
830
|
+
"forestgreen",
|
|
831
|
+
"fuchsia",
|
|
832
|
+
"gainsboro",
|
|
833
|
+
"ghostwhite",
|
|
834
|
+
"gold",
|
|
835
|
+
"goldenrod",
|
|
836
|
+
"gray",
|
|
837
|
+
"grey",
|
|
838
|
+
"green",
|
|
839
|
+
"greenyellow",
|
|
840
|
+
"honeydew",
|
|
841
|
+
"hotpink",
|
|
842
|
+
"indianred",
|
|
843
|
+
"indigo",
|
|
844
|
+
"ivory",
|
|
845
|
+
"khaki",
|
|
846
|
+
"lavender",
|
|
847
|
+
"lavenderblush",
|
|
848
|
+
"lawngreen",
|
|
849
|
+
"lemonchiffon",
|
|
850
|
+
"lightblue",
|
|
851
|
+
"lightcoral",
|
|
852
|
+
"lightcyan",
|
|
853
|
+
"lightgoldenrodyellow",
|
|
854
|
+
"lightgray",
|
|
855
|
+
"lightgreen",
|
|
856
|
+
"lightpink",
|
|
857
|
+
"lightsalmon",
|
|
858
|
+
"lightseagreen",
|
|
859
|
+
"lightskyblue",
|
|
860
|
+
"lightslategray",
|
|
861
|
+
"lightsteelblue",
|
|
862
|
+
"lightyellow",
|
|
863
|
+
"lime",
|
|
864
|
+
"limegreen",
|
|
865
|
+
"linen",
|
|
866
|
+
"magenta",
|
|
867
|
+
"maroon",
|
|
868
|
+
"mediumaquamarine",
|
|
869
|
+
"mediumblue",
|
|
870
|
+
"mediumorchid",
|
|
871
|
+
"mediumpurple",
|
|
872
|
+
"mediumseagreen",
|
|
873
|
+
"mediumslateblue",
|
|
874
|
+
"mediumspringgreen",
|
|
875
|
+
"mediumturquoise",
|
|
876
|
+
"mediumvioletred",
|
|
877
|
+
"midnightblue",
|
|
878
|
+
"mintcream",
|
|
879
|
+
"mistyrose",
|
|
880
|
+
"moccasin",
|
|
881
|
+
"navajowhite",
|
|
882
|
+
"navy",
|
|
883
|
+
"oldlace",
|
|
884
|
+
"olive",
|
|
885
|
+
"olivedrab",
|
|
886
|
+
"orange",
|
|
887
|
+
"orangered",
|
|
888
|
+
"orchid",
|
|
889
|
+
"palegoldenrod",
|
|
890
|
+
"palegreen",
|
|
891
|
+
"paleturquoise",
|
|
892
|
+
"palevioletred",
|
|
893
|
+
"papayawhip",
|
|
894
|
+
"peachpuff",
|
|
895
|
+
"peru",
|
|
896
|
+
"pink",
|
|
897
|
+
"plum",
|
|
898
|
+
"powderblue",
|
|
899
|
+
"purple",
|
|
900
|
+
"rebeccapurple",
|
|
901
|
+
"red",
|
|
902
|
+
"rosybrown",
|
|
903
|
+
"royalblue",
|
|
904
|
+
"saddlebrown",
|
|
905
|
+
"salmon",
|
|
906
|
+
"sandybrown",
|
|
907
|
+
"seagreen",
|
|
908
|
+
"seashell",
|
|
909
|
+
"sienna",
|
|
910
|
+
"silver",
|
|
911
|
+
"skyblue",
|
|
912
|
+
"slateblue",
|
|
913
|
+
"slategray",
|
|
914
|
+
"snow",
|
|
915
|
+
"springgreen",
|
|
916
|
+
"steelblue",
|
|
917
|
+
"tan",
|
|
918
|
+
"teal",
|
|
919
|
+
"thistle",
|
|
920
|
+
"tomato",
|
|
921
|
+
"turquoise",
|
|
922
|
+
"violet",
|
|
923
|
+
"wheat",
|
|
924
|
+
"white",
|
|
925
|
+
"whitesmoke",
|
|
926
|
+
"yellow",
|
|
927
|
+
"yellowgreen"
|
|
928
|
+
].map((name) => ({
|
|
929
|
+
type: "constant",
|
|
930
|
+
label: name
|
|
931
|
+
})));
|
|
932
|
+
var tags = /*@__PURE__*/ [
|
|
933
|
+
"a",
|
|
934
|
+
"abbr",
|
|
935
|
+
"address",
|
|
936
|
+
"article",
|
|
937
|
+
"aside",
|
|
938
|
+
"b",
|
|
939
|
+
"bdi",
|
|
940
|
+
"bdo",
|
|
941
|
+
"blockquote",
|
|
942
|
+
"body",
|
|
943
|
+
"br",
|
|
944
|
+
"button",
|
|
945
|
+
"canvas",
|
|
946
|
+
"caption",
|
|
947
|
+
"cite",
|
|
948
|
+
"code",
|
|
949
|
+
"col",
|
|
950
|
+
"colgroup",
|
|
951
|
+
"dd",
|
|
952
|
+
"del",
|
|
953
|
+
"details",
|
|
954
|
+
"dfn",
|
|
955
|
+
"dialog",
|
|
956
|
+
"div",
|
|
957
|
+
"dl",
|
|
958
|
+
"dt",
|
|
959
|
+
"em",
|
|
960
|
+
"figcaption",
|
|
961
|
+
"figure",
|
|
962
|
+
"footer",
|
|
963
|
+
"form",
|
|
964
|
+
"header",
|
|
965
|
+
"hgroup",
|
|
966
|
+
"h1",
|
|
967
|
+
"h2",
|
|
968
|
+
"h3",
|
|
969
|
+
"h4",
|
|
970
|
+
"h5",
|
|
971
|
+
"h6",
|
|
972
|
+
"hr",
|
|
973
|
+
"html",
|
|
974
|
+
"i",
|
|
975
|
+
"iframe",
|
|
976
|
+
"img",
|
|
977
|
+
"input",
|
|
978
|
+
"ins",
|
|
979
|
+
"kbd",
|
|
980
|
+
"label",
|
|
981
|
+
"legend",
|
|
982
|
+
"li",
|
|
983
|
+
"main",
|
|
984
|
+
"meter",
|
|
985
|
+
"nav",
|
|
986
|
+
"ol",
|
|
987
|
+
"output",
|
|
988
|
+
"p",
|
|
989
|
+
"pre",
|
|
990
|
+
"ruby",
|
|
991
|
+
"section",
|
|
992
|
+
"select",
|
|
993
|
+
"small",
|
|
994
|
+
"source",
|
|
995
|
+
"span",
|
|
996
|
+
"strong",
|
|
997
|
+
"sub",
|
|
998
|
+
"summary",
|
|
999
|
+
"sup",
|
|
1000
|
+
"table",
|
|
1001
|
+
"tbody",
|
|
1002
|
+
"td",
|
|
1003
|
+
"template",
|
|
1004
|
+
"textarea",
|
|
1005
|
+
"tfoot",
|
|
1006
|
+
"th",
|
|
1007
|
+
"thead",
|
|
1008
|
+
"tr",
|
|
1009
|
+
"u",
|
|
1010
|
+
"ul"
|
|
1011
|
+
].map((name) => ({
|
|
1012
|
+
type: "type",
|
|
1013
|
+
label: name
|
|
1014
|
+
}));
|
|
1015
|
+
var atRules = /*@__PURE__*/ [
|
|
1016
|
+
"@charset",
|
|
1017
|
+
"@color-profile",
|
|
1018
|
+
"@container",
|
|
1019
|
+
"@counter-style",
|
|
1020
|
+
"@font-face",
|
|
1021
|
+
"@font-feature-values",
|
|
1022
|
+
"@font-palette-values",
|
|
1023
|
+
"@import",
|
|
1024
|
+
"@keyframes",
|
|
1025
|
+
"@layer",
|
|
1026
|
+
"@media",
|
|
1027
|
+
"@namespace",
|
|
1028
|
+
"@page",
|
|
1029
|
+
"@position-try",
|
|
1030
|
+
"@property",
|
|
1031
|
+
"@scope",
|
|
1032
|
+
"@starting-style",
|
|
1033
|
+
"@supports",
|
|
1034
|
+
"@view-transition"
|
|
1035
|
+
].map((label) => ({
|
|
1036
|
+
type: "keyword",
|
|
1037
|
+
label
|
|
1038
|
+
}));
|
|
1039
|
+
var identifier = /^(\w[\w-]*|-\w[\w-]*|)$/;
|
|
1040
|
+
var variable = /^-(-[\w-]*)?$/;
|
|
1041
|
+
function isVarArg(node, doc) {
|
|
1042
|
+
var _a;
|
|
1043
|
+
if (node.name == "(" || node.type.isError) node = node.parent || node;
|
|
1044
|
+
if (node.name != "ArgList") return false;
|
|
1045
|
+
let callee = (_a = node.parent) === null || _a === void 0 ? void 0 : _a.firstChild;
|
|
1046
|
+
if ((callee === null || callee === void 0 ? void 0 : callee.name) != "Callee") return false;
|
|
1047
|
+
return doc.sliceString(callee.from, callee.to) == "var";
|
|
1048
|
+
}
|
|
1049
|
+
var VariablesByNode = /*@__PURE__*/ new NodeWeakMap();
|
|
1050
|
+
var declSelector = ["Declaration"];
|
|
1051
|
+
function astTop(node) {
|
|
1052
|
+
for (let cur = node;;) {
|
|
1053
|
+
if (cur.type.isTop) return cur;
|
|
1054
|
+
if (!(cur = cur.parent)) return node;
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
function variableNames(doc, node, isVariable) {
|
|
1058
|
+
if (node.to - node.from > 4096) {
|
|
1059
|
+
let known = VariablesByNode.get(node);
|
|
1060
|
+
if (known) return known;
|
|
1061
|
+
let result = [], seen = /* @__PURE__ */ new Set(), cursor = node.cursor(IterMode.IncludeAnonymous);
|
|
1062
|
+
if (cursor.firstChild()) do
|
|
1063
|
+
for (let option of variableNames(doc, cursor.node, isVariable)) if (!seen.has(option.label)) {
|
|
1064
|
+
seen.add(option.label);
|
|
1065
|
+
result.push(option);
|
|
1066
|
+
}
|
|
1067
|
+
while (cursor.nextSibling());
|
|
1068
|
+
VariablesByNode.set(node, result);
|
|
1069
|
+
return result;
|
|
1070
|
+
} else {
|
|
1071
|
+
let result = [], seen = /* @__PURE__ */ new Set();
|
|
1072
|
+
node.cursor().iterate((node) => {
|
|
1073
|
+
var _a;
|
|
1074
|
+
if (isVariable(node) && node.matchContext(declSelector) && ((_a = node.node.nextSibling) === null || _a === void 0 ? void 0 : _a.name) == ":") {
|
|
1075
|
+
let name = doc.sliceString(node.from, node.to);
|
|
1076
|
+
if (!seen.has(name)) {
|
|
1077
|
+
seen.add(name);
|
|
1078
|
+
result.push({
|
|
1079
|
+
label: name,
|
|
1080
|
+
type: "variable"
|
|
1081
|
+
});
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
});
|
|
1085
|
+
return result;
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
/**
|
|
1089
|
+
Create a completion source for a CSS dialect, providing a
|
|
1090
|
+
predicate for determining what kind of syntax node can act as a
|
|
1091
|
+
completable variable. This is used by language modes like Sass and
|
|
1092
|
+
Less to reuse this package's completion logic.
|
|
1093
|
+
*/
|
|
1094
|
+
var defineCSSCompletionSource = (isVariable) => (context) => {
|
|
1095
|
+
let { state, pos } = context, node = syntaxTree(state).resolveInner(pos, -1);
|
|
1096
|
+
let isDash = node.type.isError && node.from == node.to - 1 && state.doc.sliceString(node.from, node.to) == "-";
|
|
1097
|
+
if (node.name == "PropertyName" || (isDash || node.name == "TagName") && /^(Block|Styles)$/.test(node.resolve(node.to).name)) return {
|
|
1098
|
+
from: node.from,
|
|
1099
|
+
options: properties(),
|
|
1100
|
+
validFor: identifier
|
|
1101
|
+
};
|
|
1102
|
+
if (node.name == "ValueName") return {
|
|
1103
|
+
from: node.from,
|
|
1104
|
+
options: values,
|
|
1105
|
+
validFor: identifier
|
|
1106
|
+
};
|
|
1107
|
+
if (node.name == "PseudoClassName") return {
|
|
1108
|
+
from: node.from,
|
|
1109
|
+
options: pseudoClasses,
|
|
1110
|
+
validFor: identifier
|
|
1111
|
+
};
|
|
1112
|
+
if (isVariable(node) || (context.explicit || isDash) && isVarArg(node, state.doc)) return {
|
|
1113
|
+
from: isVariable(node) || isDash ? node.from : pos,
|
|
1114
|
+
options: variableNames(state.doc, astTop(node), isVariable),
|
|
1115
|
+
validFor: variable
|
|
1116
|
+
};
|
|
1117
|
+
if (node.name == "TagName") {
|
|
1118
|
+
for (let { parent } = node; parent; parent = parent.parent) if (parent.name == "Block") return {
|
|
1119
|
+
from: node.from,
|
|
1120
|
+
options: properties(),
|
|
1121
|
+
validFor: identifier
|
|
1122
|
+
};
|
|
1123
|
+
return {
|
|
1124
|
+
from: node.from,
|
|
1125
|
+
options: tags,
|
|
1126
|
+
validFor: identifier
|
|
1127
|
+
};
|
|
1128
|
+
}
|
|
1129
|
+
if (node.name == "AtKeyword") return {
|
|
1130
|
+
from: node.from,
|
|
1131
|
+
options: atRules,
|
|
1132
|
+
validFor: identifier
|
|
1133
|
+
};
|
|
1134
|
+
if (!context.explicit) return null;
|
|
1135
|
+
let above = node.resolve(pos), before = above.childBefore(pos);
|
|
1136
|
+
if (before && before.name == ":" && above.name == "PseudoClassSelector") return {
|
|
1137
|
+
from: pos,
|
|
1138
|
+
options: pseudoClasses,
|
|
1139
|
+
validFor: identifier
|
|
1140
|
+
};
|
|
1141
|
+
if (before && before.name == ":" && above.name == "Declaration" || above.name == "ArgList") return {
|
|
1142
|
+
from: pos,
|
|
1143
|
+
options: values,
|
|
1144
|
+
validFor: identifier
|
|
1145
|
+
};
|
|
1146
|
+
if (above.name == "Block" || above.name == "Styles") return {
|
|
1147
|
+
from: pos,
|
|
1148
|
+
options: properties(),
|
|
1149
|
+
validFor: identifier
|
|
1150
|
+
};
|
|
1151
|
+
return null;
|
|
1152
|
+
};
|
|
1153
|
+
/**
|
|
1154
|
+
CSS property, variable, and value keyword completion source.
|
|
1155
|
+
*/
|
|
1156
|
+
var cssCompletionSource = /*@__PURE__*/ defineCSSCompletionSource((n) => n.name == "VariableName");
|
|
1157
|
+
/**
|
|
1158
|
+
A language provider based on the [Lezer CSS
|
|
1159
|
+
parser](https://github.com/lezer-parser/css), extended with
|
|
1160
|
+
highlighting and indentation information.
|
|
1161
|
+
*/
|
|
1162
|
+
var cssLanguage = /*@__PURE__*/ LRLanguage.define({
|
|
1163
|
+
name: "css",
|
|
1164
|
+
parser: /*@__PURE__*/ parser.configure({ props: [/*@__PURE__*/ indentNodeProp.add({ Declaration: /*@__PURE__*/ continuedIndent() }), /*@__PURE__*/ foldNodeProp.add({ "Block KeyframeList": foldInside })] }),
|
|
1165
|
+
languageData: {
|
|
1166
|
+
commentTokens: { block: {
|
|
1167
|
+
open: "/*",
|
|
1168
|
+
close: "*/"
|
|
1169
|
+
} },
|
|
1170
|
+
indentOnInput: /^\s*\}$/,
|
|
1171
|
+
wordChars: "-"
|
|
1172
|
+
}
|
|
1173
|
+
});
|
|
1174
|
+
/**
|
|
1175
|
+
Language support for CSS.
|
|
1176
|
+
*/
|
|
1177
|
+
function css() {
|
|
1178
|
+
return new LanguageSupport(cssLanguage, cssLanguage.data.of({ autocomplete: cssCompletionSource }));
|
|
1179
|
+
}
|
|
1180
|
+
//#endregion
|
|
1181
|
+
export { cssLanguage as n, dist_exports as r, css as t };
|