open-index/open-npm huggingface dataset:
npm package: @fireboom/wundersdk
Description: This folder serves as a development playground.
Latest version: 1.0.0-next.26

# Playground

This folder serves as a development playground.

1. Install dependencies `pnpm install`.
2. From this directory `testapp` run `wunderctl up --debug` to start WunderGraph using your local sdk.

_We use [pnpm](https://pnpm.io/installation) to handle both modules as a workspace. This avoids hoisting issues and module conflicts (e.g. with the graphql module)_

## Better type support for generated code

```json
{
  "compilerOptions": {
    "paths": {
      "@wundergraph/sdk": [
        "../src"
      ]
    }
  }
}
```
npm package: @firebug-wox/wox-admin-gtour-daterule
Description: basic react component
Author: taichiyi
Latest version: 1.0.9

# Gtour Daterule [![image](https://img.shields.io/npm/v/wox-admin-gtour-daterule.svg)](https://www.npmjs.com/package/wox-admin-gtour-daterule)

> 团队游后台日期规则组件

## API

| 属性 | 说明 | 类型 | 默认值 |
| ---- | ---- | ---- | ---- |
| disabled | 是否禁用 | Boolean | false |
| total | 用于判断是否显示关闭按钮，当数据大于1条时显示 `必填` | number | 传入初始数据数组的长度即可 |
| num | 序号 `必填` | number | 用map遍历时传入index即可 |
| dateRule | 初始数据 `必填` | Object | 格式 `{endDate: String, startDate: String, excludeDates: Array, id: String, includeDates: Array, type: Number, weekDays: Array}` |
| dateExpressions | 初始数据数组 | Array | 格式 `[dateRule...]` |
| handleCallBack | 用户操作数据后回调函数 `必填` | Function(value) return 新的dateExpressions | |

## Usage

```javascript
import WoxDateRule from '@firebug-wox/wox-admin-gtour-daterule';

{
  this.state.dateExpressions && this.state.dateExpressions.length ? this.state.dateExpressions.map((value, index) => (
    <WoxDateRule
      total={this.state.dateExpressions && this.state.dateExpressions.length}
      key={index}
      num={index}
      dateRule={ value }
      dateExpressions={this.state.dateExpressions}
      handleCallBack={this.handleCallBack}
      disabled={true}
    />
  )) : <p style={{margin: '20px 20px 0'}}>无任何日期规则信息</p>
}
```
npm package: @firebuzz/consent-manager
Description: Consent management for Firebuzz platform
Author: Firebuzz Team
Latest version: 0.2.16

# @firebuzz/consent-manager

GDPR-compliant consent management package for React applications.

## Features

- 🛡️ GDPR & CCPA compliant consent management
- 🎯 Granular cookie categories (Necessary, Functional, Analytics, Marketing)
- 🔄 Environment-aware behavior (dev/preview/production)
- 📱 Responsive design with accessibility features
- 🎨 Customizable UI components
- 🪝 React hooks for easy integration
- 🌐 GTM and Facebook Pixel integration
- 💾 Persistent consent storage across sessions

## Installation

```bash
npm install @firebuzz/consent-manager
# or
pnpm add @firebuzz/consent-manager
# or
yarn add @firebuzz/consent-manager
```

## Quick Start

```tsx
import { ConsentProvider, useConsent } from '@firebuzz/consent-manager';

// Wrap your app with ConsentProvider
function App() {
  return (
    <ConsentProvider
      config={{
        enableGTMIntegration: true,
        gtmContainerId: 'GTM-XXXXXX',
        enableFacebookPixel: true,
        facebookPixelId: '1234567890',
      }}
    >
      <YourApp />
    </ConsentProvider>
  );
}

// Use consent state in components
function YourComponent() {
  const { consentState, updateConsent } = useConsent();
  
  if (consentState?.preferences?.analytics) {
    // Initialize analytics only if user consented
    initializeAnalytics();
  }

  return (
    <div>
      <button onClick={() => updateConsent({ 
        necessary: true, 
        analytics: true, 
        marketing: false, 
        functional: true 
      })}>
        Accept Selected Cookies
      </button>
    </div>
  );
}
```

## API Reference

### ConsentProvider

Main provider component that manages consent state.

```tsx
<ConsentProvider config={config}>
  {children}
</ConsentProvider>
```

### useConsent Hook

```tsx
const { consentState, updateConsent, clearConsent } = useConsent();
```

### useSessionContext Hook

```tsx
const { sessionContext } = useSessionContext();
```

## Environment Support

- **Development**: Shows consent UI but doesn't set cookies
- **Preview**: Campaign-scoped cookies for testing
- **Production**: Global cookies for live sites

## License

MIT © Firebuzz Team